Skip to content

Commit 3e81a7b

Browse files
committed
pve-yew-mobile-gui: fix i18n
1 parent dd57797 commit 3e81a7b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

pkgs/pve-http-server/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
fetchgit,
55
perl540,
6+
proxmox-i18n,
67
proxmox-widget-toolkit,
78
extjs,
89
font-awesome_4,
@@ -44,6 +45,7 @@ perl540.pkgs.toPerlModule (
4445
find $out -type f | xargs sed -i \
4546
-e "s|/usr/share/javascript|$out/share/javascript|"
4647
mkdir -p $out/share/javascript
48+
ln -s ${proxmox-i18n}/share/pve-yew-mobile-i18n $out/share
4749
ln -s ${proxmox-widget-toolkit}/share/javascript/proxmox-widget-toolkit $out/share/javascript
4850
ln -s ${extjs}/share/javascript/extjs $out/share/javascript
4951
ln -s ${pve-yew-mobile-gui}/share/pve-yew-mobile-gui $out/share

pkgs/pve-manager/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ perl540.pkgs.toPerlModule (
124124
-e "/ENV{'PATH'}/d" \
125125
-e "s|/usr/share/javascript|${pve-http-server}/share/javascript|" \
126126
-e "s|/usr/share/pve-yew-mobile-gui|${pve-yew-mobile-gui}/share/pve-yew-mobile-gui|" \
127+
-e "s|/usr/share/pve-yew-mobile-i18n|${proxmox-i18n}/share/pve-yew-mobile-i18n|" \
127128
-e "s|/usr/share/fonts-font-awesome|${pve-http-server}/share/fonts-font-awesome|" \
128129
-e "s|/usr/share/fonts-font-logos|${pve-http-server}/share/fonts-font-logos|" \
129130
-e "s|/usr/share/pve-i18n|${proxmox-i18n}/share/pve-i18n|" \

pkgs/pve-yew-mobile-gui/default.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ stdenv.mkDerivation (finalAttrs: {
9898
"PREFIX="
9999
];
100100

101-
preInstall = ''
102-
mkdir -p $out
103-
'';
104-
105101
passthru = {
106102
inherit registry;
107103

0 commit comments

Comments
 (0)