[pve-devel] [PATCH manager] use pve-i18n package
Dominik Csapak
d.csapak at proxmox.com
Mon Jan 22 13:41:20 CET 2018
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 ec1eb9a5..77dfaef1 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',
@@ -70,7 +71,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 c7d5a717..2ebfd94a 100644
--- a/debian/control
+++ b/debian/control
@@ -60,6 +60,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.11.0
More information about the pve-devel
mailing list