[rhythmbox/piotrdrag/update-po-meson.build] build: add glib preset to i18n.gettext




commit bfbdc7612cb341aa34fbb7df8626a32564223a32
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Nov 18 11:21:02 2021 +0000

    build: add glib preset to i18n.gettext
    
    Otherwise the generated .pot file will be incomplete. Also removes
    duplicate i18n import that is already in the main meson.build file
    and replaces hardcoded project name.

 po/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/po/meson.build b/po/meson.build
index 19bded903..e9b77d79b 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,2 +1 @@
-i18n = import('i18n')
-i18n.gettext('rhythmbox')
+i18n.gettext(meson.project_name(), preset: 'glib')


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