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:
Andre Klapper 2020-01-18 14:04:16 +01:00
parent efd6be60e3
commit c565186ea8

View File

@ -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);
} }