From c565186ea87189b62c04db274299686ea33745c4 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Sat, 18 Jan 2020 14:04:16 +0100 Subject: [PATCH] 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 9f785e0b0..d0866ddf8 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); }