[phodav] meson: fix gettext package name



commit 0e60f4af294f931eea77e31cf8e3e1d82a606a66
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Tue Feb 26 11:11:35 2019 +0100

    meson: fix gettext package name
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 meson.build    | 3 ++-
 po/meson.build | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8416ff4..5af3082 100644
--- a/meson.build
+++ b/meson.build
@@ -7,6 +7,7 @@ meson.add_dist_script('sh', '-c', 'echo @0@>"$MESON_DIST_ROOT/.tarball-version"'
 
 proj_version = meson.project_version()
 proj_name = meson.project_name()
+proj_gettext = 'phodav-2.0'
 proj_bugurl = 'https://gitlab.gnome.org/GNOME/phodav/issues/new'
 
 gnome = import('gnome')
@@ -69,7 +70,7 @@ config = {
   'VERSION' : proj_version,
   'PACKAGE_NAME' : proj_name,
   'PACKAGE_VERSION' : proj_version,
-  'GETTEXT_PACKAGE' : proj_name,
+  'GETTEXT_PACKAGE' : proj_gettext,
   'LOCALEDIR' : localedir,
   'PACKAGE_STRING' : '@0@ @1@'.format(proj_name, proj_version),
   'PACKAGE_BUGREPORT' : proj_bugurl
diff --git a/po/meson.build b/po/meson.build
index fb3c395..55cd16c 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,3 +1,3 @@
 i18n = import('i18n')
-i18n.gettext(meson.project_name(),
+i18n.gettext(proj_gettext,
              preset : 'glib')


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