[gnome-shell] Distinguish translator comments for date formats
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Distinguish translator comments for date formats
- Date: Thu, 11 Feb 2010 19:53:56 +0000 (UTC)
commit 38b7904f922e8d4fde4da2631d2952abdce26335
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Feb 11 14:53:14 2010 -0500
Distinguish translator comments for date formats
Don't say 'This is a time format' for both time formats, but
label them as 24-hour and AM/PM.
js/ui/panel.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 91a1de1..1a989fe 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -556,10 +556,10 @@ Panel.prototype = {
/* If there is no am or pm, time format is 24h */
let isTime24h = displayDate.toLocaleFormat("x%p") == "x";
if (isTime24h) {
- /* Translators: This is a time format. */
+ /* Translators: This is the time format used in 24-hour mode. */
this._clock.set_text(displayDate.toLocaleFormat(_("%a %R")));
} else {
- /* Translators: This is a time format. */
+ /* Translators: This is a time format used for AM/PM. */
this._clock.set_text(displayDate.toLocaleFormat(_("%a %l:%M %p")));
}
Mainloop.timeout_add(msecRemaining, Lang.bind(this, this._updateClock));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]