[dia] Make desktop file translatable



commit 4d32f503ac46341f297a29089b284761d346b8e0
Author: Zander Brown <zbrown gnome org>
Date:   Sat May 25 13:35:40 2019 +0100

    Make desktop file translatable

 data/meson.build | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index 6bfdff37..bb085ebb 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,5 +1,12 @@
 
-install_data('dia.desktop', install_dir: datadir / 'applications')
+desktop_file = i18n.merge_file(
+  input: 'dia.desktop',
+  output: 'dia.desktop',
+  type: 'desktop',
+  po_dir: po_dir,
+  install: true,
+  install_dir: join_paths(datadir, 'applications')
+)
 
 subdir('icons')
 subdir('ui')


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