[aisleriot] i18n: Fix scheme string extraction



commit a3674246bbd1b6667c2c1657f0c8d199f2ac67ba
Author: Christian Persch <chpe src gnome org>
Date:   Sat May 14 20:41:23 2022 +0200

    i18n: Fix scheme string extraction
    
    Commit 5b04e58ba5f8df8223a3830d2c61325527d52237 changed the gettext function
    name from '_' to 'G_', leading to xgettext failing to extract any strings
    from the scheme files.  Add 'G_' to the xgettext keywords to fix this.
    
    Fixes: https://gitlab.gnome.org/GNOME/aisleriot/-/issues/932

 po/meson.build | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/po/meson.build b/po/meson.build
index 4da2cdae..c808c284 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -15,5 +15,9 @@
 
 i18n.gettext(
   ar_gettext_domain,
+  args: [
+    '--keyword=G_',
+    '--flag=G_:1:pass-scheme-format',
+  ],
   preset: 'glib',
 )


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