[gnome-builder] meson-templates: fix access to i18n
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson-templates: fix access to i18n
- Date: Sun, 18 Jul 2021 17:25:38 +0000 (UTC)
commit 9ee58b46063b6aec427656ecb04607a4d7f405da
Author: Christian Hergert <chergert redhat com>
Date: Sun Jul 18 10:25:11 2021 -0700
meson-templates: fix access to i18n
src/plugins/meson-templates/meson_templates.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/meson-templates/meson_templates.py b/src/plugins/meson-templates/meson_templates.py
index 106227267..f4be02cb3 100644
--- a/src/plugins/meson-templates/meson_templates.py
+++ b/src/plugins/meson-templates/meson_templates.py
@@ -147,7 +147,8 @@ class MesonTemplate(Ide.TemplateBase, Ide.ProjectTemplate):
scope.get('spaces').assign_string(" " * len(prefix_))
scope.get('Spaces').assign_string(" " * len(PreFix))
- enable_gnome = isinstance(self, GnomeProjectTemplate)
+ enable_gnome = (isinstance(self, GnomeProjectTemplate) or
+ isinstance(self, GnomeGTK4ProjectTemplate))
scope.get('project_version').assign_string('0.1.0')
scope.get('enable_i18n').assign_boolean(enable_gnome)
scope.get('enable_gnome').assign_boolean(enable_gnome)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]