summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
Diffstat (limited to 'po')
-rw-r--r--po/LINGUAS0
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/meson.build15
3 files changed, 16 insertions, 0 deletions
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/po/LINGUAS
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..657ea12
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1 @@
+@SOURCES@
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)
+ }),
+)