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.
This commit is contained in:
parent
efd6be60e3
commit
c565186ea8
@ -863,12 +863,10 @@ class EventsSection extends MessageList.MessageListSection {
|
|||||||
let now = new Date();
|
let now = new Date();
|
||||||
if (sameYear(this._date, now)) {
|
if (sameYear(this._date, now)) {
|
||||||
/* Translators: Shown on calendar heading when selected day occurs on current year */
|
/* Translators: Shown on calendar heading when selected day occurs on current year */
|
||||||
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
|
dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d"));
|
||||||
"%A, %B %-d"));
|
|
||||||
} else {
|
} else {
|
||||||
/* Translators: Shown on calendar heading when selected day occurs on different year */
|
/* Translators: Shown on calendar heading when selected day occurs on different year */
|
||||||
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
|
dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d, %Y"));
|
||||||
"%A, %B %-d, %Y"));
|
|
||||||
}
|
}
|
||||||
this._title.label = this._date.toLocaleFormat(dayFormat);
|
this._title.label = this._date.toLocaleFormat(dayFormat);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user