[gnome-shell/wip/fmuellner/debacktickize-prefs: 7/7] extensionPrefs: Work around xgettext bug
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/debacktickize-prefs: 7/7] extensionPrefs: Work around xgettext bug
- Date: Sun, 3 Feb 2019 16:11:33 +0000 (UTC)
commit 5dbf09c0082cc75c498fd277929776adbecc7bca
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 1 20:11:39 2019 +0100
extensionPrefs: Work around xgettext bug
xgettext is thrown off by the combination of backticks and slashes,
which makes template string a fun trap to fall into. Just use
String.format() for now ...
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/383
js/extensionPrefs/main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js
index cb7d9edd6..bfa820b59 100644
--- a/js/extensionPrefs/main.js
+++ b/js/extensionPrefs/main.js
@@ -118,7 +118,7 @@ var Application = class {
scroll.add(box);
let label = new Gtk.Label({
- label: `<span size="x-large">${_("Something’s gone wrong")}</span>`,
+ label: '<span size="x-large">%s</span>'.format(_("Something’s gone wrong")),
use_markup: true
});
label.get_style_context().add_class(Gtk.STYLE_CLASS_DIM_LABEL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]