[gnome-remote-desktop] Add translation files



commit 74b427f5437a8b02b5fb6dd2e8a0a84ebebe5f31
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Apr 30 17:40:29 2021 +0200

    Add translation files

 meson.build    | 2 ++
 po/LINGUAS     | 2 ++
 po/POTFILES.in | 3 +++
 po/meson.build | 1 +
 4 files changed, 8 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7b29bfe..17948a5 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,7 @@ fuse_req = '>= 3.9.1'
 xkbcommon_req = '>= 1.0.0'
 
 gnome = import('gnome')
+i18n  = import('i18n')
 
 cairo_dep = dependency('cairo')
 glib_dep = dependency('glib-2.0', version: '>= 2.68')
@@ -81,6 +82,7 @@ schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
 
 subdir('src')
 subdir('tests')
+subdir('po')
 
 meson.add_install_script('meson_post_install.py')
 
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..bc8cbb0
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,2 @@
+# please keep this list sorted alphabetically
+#
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..efc6cf0
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,3 @@
+src/grd-daemon.c
+src/grd-prompt.c
+src/org.gnome.desktop.remote-desktop.gschema.xml.in
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..e9b77d7
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1 @@
+i18n.gettext(meson.project_name(), preset: 'glib')


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