From 38b7904f922e8d4fde4da2631d2952abdce26335 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 11 Feb 2010 14:53:14 -0500 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index 91a1de1bd..1a989fe39 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));