[gnote/meson] Use custom translation for tableofcontents



commit 9fe668883f123c123e560fe4fcd1c4d237c1b99c
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 4 14:58:15 2021 +0300

    Use custom translation for tableofcontents

 src/addins/tableofcontents/meson.build | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/addins/tableofcontents/meson.build b/src/addins/tableofcontents/meson.build
index 537e7a94..9892fea9 100644
--- a/src/addins/tableofcontents/meson.build
+++ b/src/addins/tableofcontents/meson.build
@@ -6,12 +6,11 @@ configured_desktop_file = configure_file(
   configuration: addin_conf,
 )
 
-i18n.merge_file(
+custom_target(
   desktop_file,
-  type: 'desktop',
   input: configured_desktop_file,
   output: desktop_file,
-  po_dir: '../../../po',
+  command: msgfmt_plugin_cmd,
   install: true,
   install_dir: addins_install_dir,
 )


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