From ee71f34db54722e5d4be44870ed9148536487a27 Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Mon, 2 Oct 2023 09:42:29 +0600 Subject: Initial Commit Signed-off-by: Mubashshir --- po/LINGUAS | 0 po/POTFILES.in | 1 + po/meson.build | 15 +++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES.in create mode 100644 po/meson.build (limited to 'po') diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..e69de29 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) + }), +) -- cgit v1.2.3