[v2,3/3] Fix translations and clean general-functions.pl

Message ID 20210928110906.1089-3-hofmann@leo-andres.de
State Accepted
Commit fa7735b68ecc6eba2d25e5d71f747644e220ea9c
Headers
Series [v2,1/3] webinterface: Add links to the configuration wiki |

Commit Message

Leo-Andres Hofmann Sept. 28, 2021, 11:09 a.m. UTC
  This patch fixes two wrong translations now used by the new
user manual links feature and removes an abandoned constant.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
---
 config/cfgroot/general-functions.pl | 1 -
 langs/de/cgi-bin/de.pl              | 2 +-
 langs/fr/cgi-bin/fr.pl              | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
  

Comments

Bernhard Bitsch Sept. 28, 2021, 12:56 p.m. UTC | #1
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>



Am 28.09.2021 um 13:09 schrieb Leo-Andres Hofmann:
> This patch fixes two wrong translations now used by the new
> user manual links feature and removes an abandoned constant.
> 
> Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
> ---
>   config/cfgroot/general-functions.pl | 1 -
>   langs/de/cgi-bin/de.pl              | 2 +-
>   langs/fr/cgi-bin/fr.pl              | 2 +-
>   3 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl
> index de608e38b..355f8d372 100644
> --- a/config/cfgroot/general-functions.pl
> +++ b/config/cfgroot/general-functions.pl
> @@ -24,7 +24,6 @@ $|=1; # line buffering
>   $General::version = 'VERSION';
>   $General::swroot = 'CONFIG_ROOT';
>   $General::noipprefix = 'noipg-';
> -$General::adminmanualurl = 'http://wiki.ipfire.org';
>   
>   require "${General::swroot}/network-functions.pl";
>   
> diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
> index 70dcb10a6..ba57698e7 100644
> --- a/langs/de/cgi-bin/de.pl
> +++ b/langs/de/cgi-bin/de.pl
> @@ -1828,7 +1828,7 @@
>   'one month' => 'Ein Monat',
>   'one week' => 'Eine Woche',
>   'one year' => 'Ein Jahr',
> -'online help en' => 'Online-Hilfe (auf Deutsch)',
> +'online help en' => 'Online-Hilfe (auf Englisch)',
>   'only digits allowed in holdoff field' => 'Im Holdoff-Feld sind nur Ziffern erlaubt',
>   'only digits allowed in max retries field' => 'Im Feld &quot;Maximale Wiederholversuche&quot; sind nur Ziffern erlaubt.',
>   'only digits allowed in the idle timeout' => 'Im Feld &quot;Leerlauf-Wartezeit&quot; sind nur Ziffern erlaubt.',
> diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl
> index 7f8239773..43dafe73d 100644
> --- a/langs/fr/cgi-bin/fr.pl
> +++ b/langs/fr/cgi-bin/fr.pl
> @@ -1869,7 +1869,7 @@
>   'one month' => 'Un mois',
>   'one week' => 'Une semaine',
>   'one year' => 'Un an',
> -'online help en' => 'Aide en ligne (en français)',
> +'online help en' => 'Aide en ligne (en anglais)',
>   'only digits allowed in holdoff field' => 'Seuls les chiffres sont autorisés dans le champ holdoff',
>   'only digits allowed in max retries field' => 'Seuls les chiffres sont autorisés dans le champ nombre d\'essais maximum.',
>   'only digits allowed in the idle timeout' => 'Seuls les chiffres sont autorisés pour le délai d\'inactivité.',
>
  

Patch

diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl
index de608e38b..355f8d372 100644
--- a/config/cfgroot/general-functions.pl
+++ b/config/cfgroot/general-functions.pl
@@ -24,7 +24,6 @@  $|=1; # line buffering
 $General::version = 'VERSION';
 $General::swroot = 'CONFIG_ROOT';
 $General::noipprefix = 'noipg-';
-$General::adminmanualurl = 'http://wiki.ipfire.org';
 
 require "${General::swroot}/network-functions.pl";
 
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
index 70dcb10a6..ba57698e7 100644
--- a/langs/de/cgi-bin/de.pl
+++ b/langs/de/cgi-bin/de.pl
@@ -1828,7 +1828,7 @@ 
 'one month' => 'Ein Monat',
 'one week' => 'Eine Woche',
 'one year' => 'Ein Jahr',
-'online help en' => 'Online-Hilfe (auf Deutsch)',
+'online help en' => 'Online-Hilfe (auf Englisch)',
 'only digits allowed in holdoff field' => 'Im Holdoff-Feld sind nur Ziffern erlaubt',
 'only digits allowed in max retries field' => 'Im Feld &quot;Maximale Wiederholversuche&quot; sind nur Ziffern erlaubt.',
 'only digits allowed in the idle timeout' => 'Im Feld &quot;Leerlauf-Wartezeit&quot; sind nur Ziffern erlaubt.',
diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl
index 7f8239773..43dafe73d 100644
--- a/langs/fr/cgi-bin/fr.pl
+++ b/langs/fr/cgi-bin/fr.pl
@@ -1869,7 +1869,7 @@ 
 'one month' => 'Un mois',
 'one week' => 'Une semaine',
 'one year' => 'Un an',
-'online help en' => 'Aide en ligne (en français)',
+'online help en' => 'Aide en ligne (en anglais)',
 'only digits allowed in holdoff field' => 'Seuls les chiffres sont autorisés dans le champ holdoff',
 'only digits allowed in max retries field' => 'Seuls les chiffres sont autorisés dans le champ nombre d\'essais maximum.',
 'only digits allowed in the idle timeout' => 'Seuls les chiffres sont autorisés pour le délai d\'inactivité.',