[v2,3/3] Fix translations and clean general-functions.pl
Commit Message
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
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 "Maximale Wiederholversuche" sind nur Ziffern erlaubt.',
> 'only digits allowed in the idle timeout' => 'Im Feld "Leerlauf-Wartezeit" 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é.',
>
@@ -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";
@@ -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 "Maximale Wiederholversuche" sind nur Ziffern erlaubt.',
'only digits allowed in the idle timeout' => 'Im Feld "Leerlauf-Wartezeit" sind nur Ziffern erlaubt.',
@@ -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é.',