summaryrefslogtreecommitdiffstats
path: root/wizards/Package_wizards_properties.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-23 12:36:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-24 16:38:31 +0200
commita95def1aed681bbb664ff24470e0da7c5a5530ac (patch)
treebe2faa5bea4f931e4ac84ec3c1523a4fb60c7ab1 /wizards/Package_wizards_properties.mk
parenttdf#36019: Dynamically enable/disable extension installation via GUI (diff)
downloadcore-a95def1aed681bbb664ff24470e0da7c5a5530ac.tar.gz
core-a95def1aed681bbb664ff24470e0da7c5a5530ac.zip
convert java wizards to .properties for translations
like LibreOffice java extensions, and nlpsolver and librelogo, do, removes the magic number problem Change-Id: I561249ccebe41c787cd8cdaa80e1d035f27052cc Reviewed-on: https://gerrit.libreoffice.org/37986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'wizards/Package_wizards_properties.mk')
-rw-r--r--wizards/Package_wizards_properties.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/wizards/Package_wizards_properties.mk b/wizards/Package_wizards_properties.mk
new file mode 100644
index 000000000000..7be797877a8e
--- /dev/null
+++ b/wizards/Package_wizards_properties.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Package_Package,wizards_properties,$(call gb_CustomTarget_get_workdir,wizards/locproperties)))
+
+$(eval $(call gb_Package_add_files,wizards_properties,$(LIBO_SHARE_FOLDER)/wizards,\
+ $(foreach lang,$(subst -,_,$(gb_TRANS_LANGS)),resources_$(lang).properties) \
+))
+
+# vim:set noet sw=4 ts=4: