[gnote/meson] Add localization to build



commit 0d6efde7172f33f4f3c972adf4b4dad2c4f745b3
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Mar 28 13:24:18 2021 +0300

    Add localization to build

 meson.build    | 3 +++
 po/meson.build | 2 ++
 2 files changed, 5 insertions(+)
---
diff --git a/meson.build b/meson.build
index ffd0c9d4..3eddd9a6 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,7 @@
 project('gnote', 'cpp', version: '41.alpha')
 
+i18n = import('i18n')
+
 gnote_release = meson.project_version().split('.')[0]
 libgnote_version_info = '0.0.0'
 
@@ -34,4 +36,5 @@ root_include_dir = include_directories('.')
 
 subdir('data')
 subdir('src')
+subdir('po')
 
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 00000000..fe664e18
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,2 @@
+i18n.gettext(meson.project_name(), preset: 'glib')
+


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