[gnome-bluetooth/wip/alatiera/parallel-install: 3/3] meson: bump gettext package suffix




commit a96473dc5848ddeb50ab64cdc048338441f74c61
Author: Jordan Petridis <jordan centricular com>
Date:   Thu Dec 16 22:43:27 2021 +0200

    meson: bump gettext package suffix
    
    Currently, both gnome-bluetooth-1.0 and 2.0 are using "2"
    as a suffix for the gettext locale files which causes them to
    overalp. Looks like 2 has been used since the initial commit
    of the meson port, back in 3.20 cycle, although not sure if
    there is any special meaning to the number. Bump it anyway
    so that translations won't overlap between the two versions.

 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 58bc869e..510f255d 100644
--- a/meson.build
+++ b/meson.build
@@ -15,7 +15,10 @@ gnomebt_api_name = '@0@-@1@'.format(meson.project_name(), gnomebt_api_version)
 
 gnomebt_gir_ns = 'GnomeBluetooth'
 
-gnomebt_gettext_package = meson.project_name() + '2'
+# The number at the end a suffix of the files and should
+# be bumped along the api_version so that translations
+# can be installed in parallel with older versions.
+gnomebt_gettext_package = meson.project_name() + '3'
 
 gnomebt_prefix = get_option('prefix')
 gnomebt_datadir = get_option('datadir')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]