[pve-devel] [PATCH manager 02/49] use pve-i18n package

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 23 11:05:19 CET 2018


From: Dominik Csapak <d.csapak at proxmox.com>

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/Service/pveproxy.pm | 3 ++-
 debian/control          | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index 628e734a..6369a4c2 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -49,6 +49,7 @@ my $basedirs = {
     novnc => '/usr/share/novnc-pve',
     extjs => '/usr/share/javascript/extjs',
     manager => '/usr/share/pve-manager',
+    i18n => '/usr/share/pve-i18n',
     docs => '/usr/share/pve-docs',
     fontawesome => '/usr/share/fonts-font-awesome',
     xtermjs => '/usr/share/pve-xtermjs',
@@ -71,7 +72,7 @@ sub init {
 
     my $dirs = {};
 
-    add_dirs($dirs, '/pve2/locale/', "$basedirs->{manager}/locale/");
+    add_dirs($dirs, '/pve2/locale/', "$basedirs->{i18n}/");
     add_dirs($dirs, '/pve2/touch/', "$basedirs->{manager}/touch/");
     add_dirs($dirs, '/pve2/ext6/', "$basedirs->{extjs}/");
     add_dirs($dirs, '/pve2/images/' =>  "$basedirs->{manager}/images/");
diff --git a/debian/control b/debian/control
index 0c344cc0..8b186e34 100644
--- a/debian/control
+++ b/debian/control
@@ -61,6 +61,7 @@ Depends: apt-transport-https,
          pve-docs,
          pve-firewall,
          pve-ha-manager,
+         pve-i18n (>= 1.0-3),
          pve-xtermjs (>= 0.1-1),
          qemu-server (>= 1.1-1),
          rsync,
-- 
2.14.2





More information about the pve-devel mailing list