[gimp] meson: Fix windows installer translations
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] meson: Fix windows installer translations
- Date: Fri, 8 Jul 2022 08:08:43 +0000 (UTC)
commit 1308df4dc160fe46f9133239659768c97cea7e5b
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri Jul 8 10:08:14 2022 +0200
meson: Fix windows installer translations
build/windows/installer/lang/meson.build | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/build/windows/installer/lang/meson.build b/build/windows/installer/lang/meson.build
index 87e7bdfd85..ae0b0d07e7 100644
--- a/build/windows/installer/lang/meson.build
+++ b/build/windows/installer/lang/meson.build
@@ -13,7 +13,7 @@ languages = [
{ 'code': 'da', },
{ 'code': 'de', },
{ 'code': 'el', },
- { 'code': 'en', 'prefix': '', },
+ { 'code': 'en', 'default': true, },
{ 'code': 'en_GB', },
{ 'code': 'eo', },
{ 'code': 'es', },
@@ -55,15 +55,15 @@ all_isl = []
foreach language : languages
lang_code = language.get('code')
- if 'prefix' in language
- lang_check = 'value[lang(\'@0@\')]'.format(lang_code)
+ if 'default' in language
+ lang_check = 'value[not(@xml:lang)]'
else
- lang_check = 'value'.format(lang_code)
+ lang_check = 'value[lang(\'@0@\')]'.format(lang_code)
endif
gimp_ms_installer_lang_xsl = configure_file(
input: 'gimp-ms-installer-config.xsl.in',
- output: '@BASENAME@',
+ output: 'gimp-ms-installer-config-@0@.xsl'.format(lang_code),
configuration: { 'LANG_CHECK': lang_check },
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]