[aisleriot/master: 7/22] i18n: Fix scheme string extraction
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot/master: 7/22] i18n: Fix scheme string extraction
- Date: Wed, 10 Aug 2022 17:11:14 +0000 (UTC)
commit 52d2bb4d79141e8f698c5457f3392f0197c8d545
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]