Module: check_mk
Branch: master
Commit: 563a9994b12d4680e12b2a43cc8df058a19a915e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=563a9994b12d46…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 20 11:00:46 2017 +0200
3921 MKP: Custom localizations can now be packed
Custom localization files below {{local/share/check_mk/locale}}
can now be packed into MKP files.
---
.werks/3921 | 11 +++++++++++
cmk_base/packaging.py | 1 +
2 files changed, 12 insertions(+)
diff --git a/.werks/3921 b/.werks/3921
new file mode 100644
index 0000000..ec86961
--- /dev/null
+++ b/.werks/3921
@@ -0,0 +1,11 @@
+Title: MKP: Custom localizations can now be packed
+Level: 1
+Component: core
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1505897971
+Class: feature
+
+Custom localization files below {{local/share/check_mk/locale}}
+can now be packed into MKP files.
diff --git a/cmk_base/packaging.py b/cmk_base/packaging.py
index e0d4f21..60e1b08 100644
--- a/cmk_base/packaging.py
+++ b/cmk_base/packaging.py
@@ -71,6 +71,7 @@ package_parts = [ (part, title, perm, ldir and ldir or dir) for part,
title, per
( "web", "Multisite extensions", 0644,
cmk.paths.web_dir, cmk.paths.local_web_dir ),
( "pnp-templates", "PNP4Nagios templates", 0644,
cmk.paths.pnp_templates_dir, cmk.paths.local_pnp_templates_dir ),
( "doc", "Documentation files", 0644,
cmk.paths.doc_dir, cmk.paths.local_doc_dir ),
+ ( "locales", "Localizations", 0644,
cmk.paths.locale_dir, cmk.paths.local_locale_dir ),
( "bin", "Binaries", 0755, None,
cmk.paths.local_bin_dir ),
( "lib", "Libraries", 0644, None,
cmk.paths.local_lib_dir),
( "mibs", "SNMP MIBs", 0644, None,
cmk.paths.local_mib_dir),