[gnome-shell] Remove two line breaks to make comments for translators get displayed
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Remove two line breaks to make comments for translators get displayed
- Date: Sat, 18 Jan 2020 13:08:10 +0000 (UTC)
commit c565186ea87189b62c04db274299686ea33745c4
Author: Andre Klapper <a9016009 gmx de>
Date: Sat Jan 18 14:04:16 2020 +0100
Remove two line breaks to make comments for translators get displayed
A comment for translators must *immediately* precede a message:
https://wiki.gnome.org/TranslationProject/DevGuidelines/Use%20comments
These two comments were previously not displayed in any po files.
js/ui/calendar.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 9f785e0b09..d0866ddf8d 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -863,12 +863,10 @@ class EventsSection extends MessageList.MessageListSection {
let now = new Date();
if (sameYear(this._date, now)) {
/* Translators: Shown on calendar heading when selected day occurs on current year */
- dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
- "%A, %B %-d"));
+ dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d"));
} else {
/* Translators: Shown on calendar heading when selected day occurs on different year */
- dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
- "%A, %B %-d, %Y"));
+ dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d, %Y"));
}
this._title.label = this._date.toLocaleFormat(dayFormat);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]