From: Christian Schmidt Date: Sun, 25 May 2008 11:08:44 +0000 (+0200) Subject: Corrected 2 cgis not fully translated X-Git-Tag: v2.3-beta1~48^2~41 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=7722d5010db2180420bc98ec017ff80087773bc3 Corrected 2 cgis not fully translated --- diff --git a/config/rootfiles/core/15/files b/config/rootfiles/core/15/files index ba8bce191f..c35d91a8a7 100644 --- a/config/rootfiles/core/15/files +++ b/config/rootfiles/core/15/files @@ -2,3 +2,6 @@ etc/init.d/mISDN etc/modprobe.d/blacklist usr/bin/bc usr/bin/dc +srv/web/ipfire/cgi-bin/pakfire.cgi +srv/web/ipfire/cgi-bin/qos.cgi +var/ipfire/langs diff --git a/config/rootfiles/core/15/update.sh b/config/rootfiles/core/15/update.sh index 600ffd9514..3cb2d28a72 100644 --- a/config/rootfiles/core/15/update.sh +++ b/config/rootfiles/core/15/update.sh @@ -2,4 +2,5 @@ . /opt/pakfire/lib/functions.sh /usr/local/bin/backupctrl exclude >/dev/null 2>&1 extract_files +perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang" /etc/init.d/mISDN config diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi index 79bb3fb887..69bd11d3e2 100644 --- a/html/cgi-bin/pakfire.cgi +++ b/html/cgi-bin/pakfire.cgi @@ -231,7 +231,7 @@ print < -
+
diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index 70ec4286c5..d5da1fd912 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -578,7 +578,7 @@ END &General::writehash("${General::swroot}/qos/settings", \%qossettings); } -elsif ($qossettings{'ACTION'} eq 'Statusinformationen') +elsif ($qossettings{'ACTION'} eq "$Lang::tr{'status'}" ) { &Header::openbox('100%', 'left', 'QoS Status'); if ($qossettings{'ENABLED'} eq 'on'){ @@ -592,7 +592,7 @@ elsif ($qossettings{'ACTION'} eq 'Statusinformationen') &Header::closepage(); exit } -elsif ($qossettings{'ACTION'} eq 'Parentklasse hinzufuegen') +elsif ($qossettings{'ACTION'} eq "$Lang::tr{'parentclass add'}" ) { &parentclass(); &Header::closebigbox(); @@ -645,21 +645,21 @@ END &Header::closepage(); exit } -elsif ($qossettings{'ACTION'} eq 'Erweiterte Einstellungen') +elsif ($qossettings{'ACTION'} eq "$Lang::tr{'urlfilter advanced settings'}" ) { &expert(); &Header::closebigbox(); &Header::closepage(); exit } -if ($qossettings{'ACTIONBW'} eq 'Andern') +if ($qossettings{'ACTIONBW'} eq "$Lang::tr{'modify'}" ) { &changebandwidth(); &Header::closebigbox(); &Header::closepage(); exit } -if ($qossettings{'ACTIONDEF'} eq 'Andern') +if ($qossettings{'ACTIONDEF'} eq "$Lang::tr{'modify'}" ) { &changedefclasses(); &Header::closebigbox(); @@ -715,7 +715,7 @@ END
 
$Lang::tr{'downlink speed'}: $qossettings{'INC_SPD'} - +
$Lang::tr{'uplink speed'}: $qossettings{'OUT_SPD'}
END @@ -727,7 +727,7 @@ END

$Lang::tr{'downlink std class'}: $qossettings{'DEFCLASS_INC'} - +
$Lang::tr{'uplink std class'}: $qossettings{'DEFCLASS_OUT'}
ACKs: $qossettings{'ACK'}

@@ -736,9 +736,9 @@ END
-
- - +
+ +
END diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index b7cdc80c00..557242df63 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -31,6 +31,8 @@ 'Level7 Rule' => 'Level7-Regel', 'Local VPN IP' => 'Internes Netzwerk (GREEN)', 'MTU' => 'MTU Size', +'modify' => 'Ändern', +'parentclass add' => 'Parentklasse hinzufügen', 'Number of IPs for the pie chart' => 'Anzahl der angezeigten IPs im Diagramm', 'Number of Ports for the pie chart' => 'Anzahl der angezeigten Ports im Diagramm', 'OVPN' => 'OpenVPN', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b5708d8e82..0118b64b3b 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -19,6 +19,8 @@ 'ConnSched scheduled actions' => 'Scheduled actions', 'ConnSched scheduler' => 'Scheduler', 'ConnSched select profile' => 'Select profile', +'modify' => 'Modify', +'parentclass add' => 'Add parentclass', 'ConnSched time' => 'Time:', 'ConnSched up' => 'Up', 'ConnSched weekdays' => 'Days of the week:',