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>
This commit is contained in:
Marek Černocký 2022-02-14 10:18:52 +01:00 committed by Marge Bot
parent 68379e7116
commit 172a8febe7

View File

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