Add flag no-javascript-format for date string

This commit is contained in:
Marek Černocký 2015-12-25 11:36:26 +01:00
parent 5db38194dc
commit 0085a94706

View File

@ -725,6 +725,7 @@ const Calendar = new Lang.Class({
// nRows here means 6 weeks + one header + one navbar
let nRows = 8;
while (row < 8) {
// xgettext:no-javascript-format
let button = new St.Button({ label: iter.toLocaleFormat(C_("date day number format", "%d")),
can_focus: true });
let rtl = button.get_text_direction() == Clutter.TextDirection.RTL;