summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2021-12-16 22:43:27 +0200
committerBastien Nocera <hadess@hadess.net>2022-01-04 16:14:52 +0100
commit0a569266c4015d70c4247fa4a1391fada55d288b (patch)
tree09ce5fdfef42f4b9e74d24260e30f4272f8db8ac /meson.build
parentf829ccf73b0c876cba3b2df935119b9ad1dfdf5c (diff)
downloadgnome-bluetooth-0a569266c4015d70c4247fa4a1391fada55d288b.tar.gz
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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
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')