summaryrefslogtreecommitdiff
path: root/po/meson.build
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-10-02 09:42:29 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-10-02 09:42:29 +0600
commitee71f34db54722e5d4be44870ed9148536487a27 (patch)
treee69adfe3a94114ada03d44da3f26b9c2d6821979 /po/meson.build
downloadjadupc-remote-support-console-ee71f34db54722e5d4be44870ed9148536487a27.tar.gz
jadupc-remote-support-console-ee71f34db54722e5d4be44870ed9148536487a27.zip
Initial Commit
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to '')
-rw-r--r--po/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..cf61bee
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,15 @@
+i18n.gettext(project_name, preset: 'glib')
+
+i18n_sources = []
+
+foreach file : srcs + ui_defs + i18n_data
+ i18n_sources += '@0@'.format(file)
+endforeach
+
+potfiles = configure_file(
+ input: 'POTFILES.in',
+ output: '@BASENAME@',
+ configuration: configuration_data({
+ 'SOURCES': '\n'.join(i18n_sources)
+ }),
+)