[gnome-shell] calendar: Fix xgettext comment for calendar date format



commit 172a8febe7ccdd561a5add708cb8b2802a9a27e9
Author: Marek Černocký <marek manet cz>
Date:   Mon Feb 14 10:18:52 2022 +0100

    calendar: Fix xgettext comment for calendar date format
    
    Gettext comments must be right next to the line with the extracted text,
    otherwise they aren't included in pot/po file.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2179>

 js/ui/calendar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 9535178188..7335c92942 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -637,8 +637,8 @@ var Calendar = GObject.registerClass({
         // nRows here means 6 weeks + one header + one navbar
         let nRows = 8;
         while (row < nRows) {
-            // xgettext:no-javascript-format
             let button = new St.Button({
+                // xgettext:no-javascript-format
                 label: iter.toLocaleFormat(C_('date day number format', '%d')),
                 can_focus: true,
             });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]