[gnome-tetravex/arnaudb/gnome-tetravex-cli: 4/4] Hack for Damned Lies.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/gnome-tetravex-cli: 4/4] Hack for Damned Lies.
- Date: Sat, 23 Nov 2019 15:27:43 +0000 (UTC)
commit 21ff7337f2874d956f3f45f20f977ed7b1843590
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Nov 19 08:14:16 2019 +0100
Hack for Damned Lies.
Infrastructure/damned-lies#150
data/org.gnome.Tetravex.appdata.xml.in | 2 +-
data/org.gnome.Tetravex.gschema.xml | 2 +-
po/meson.build | 5 ++++-
src/meson.build | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/data/org.gnome.Tetravex.appdata.xml.in b/data/org.gnome.Tetravex.appdata.xml.in
index a42dea4..fbf33e5 100644
--- a/data/org.gnome.Tetravex.appdata.xml.in
+++ b/data/org.gnome.Tetravex.appdata.xml.in
@@ -38,7 +38,7 @@
<kudo>ModernToolkit</kudo>
<kudo>UserDocs</kudo>
</kudos>
- <translation type="gettext">gnome-tetravex</translation>
+ <translation type="gettext">gnome-tetravex-gui</translation>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
diff --git a/data/org.gnome.Tetravex.gschema.xml b/data/org.gnome.Tetravex.gschema.xml
index 387a17c..3f22205 100644
--- a/data/org.gnome.Tetravex.gschema.xml
+++ b/data/org.gnome.Tetravex.gschema.xml
@@ -5,7 +5,7 @@
<value value="2" nick="nostalgia"/>
<value value="3" nick="synesthesia"/>
</enum>
- <schema id="org.gnome.Tetravex" path="/org/gnome/Tetravex/" gettext-domain="gnome-tetravex">
+ <schema id="org.gnome.Tetravex" path="/org/gnome/Tetravex/" gettext-domain="gnome-tetravex-gui">
<key name="grid-size" type="i">
<default>3</default>
<range min="2" max="6" />
diff --git a/po/meson.build b/po/meson.build
index f97b00f..cd3c197 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,5 +1,8 @@
+# https://gitlab.gnome.org/Infrastructure/damned-lies/issues/150
+i18n.gettext('gnome-tetravex', preset: 'glib', install: false)
+
if get_option('build_gui')
- i18n.gettext ('gnome-tetravex', preset: 'glib')
+ i18n.gettext ('gnome-tetravex-gui', preset: 'glib')
endif
if get_option('build_cli')
i18n.gettext ('gnome-tetravex-cli', preset: 'glib')
diff --git a/src/meson.build b/src/meson.build
index 0ce04e9..7b7a666 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -54,7 +54,7 @@ if get_option('build_gui')
vala_args: [ '--pkg=posix',
'--enable-experimental-non-null' ],
c_args: [ '-DVERSION="@0@"'.format (meson.project_version ()),
- '-DGETTEXT_PACKAGE="gnome-tetravex"',
+ '-DGETTEXT_PACKAGE="gnome-tetravex-gui"',
'-DLOCALEDIR="@0@"'.format (localedir) ],
install: true
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]