From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] Fixed missing 'Captive' localization string for 'logs.dat'
Date: Tue, 09 Jan 2018 14:59:04 +0000 [thread overview]
Message-ID: <1515509944.3685.103.camel@ipfire.org> (raw)
In-Reply-To: <20180109131133.7947-1-matthias.fischer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 3188 bytes --]
Thank you.
On Tue, 2018-01-09 at 14:11 +0100, Matthias Fischer wrote:
> Added 'Captive' localization string in 'de/en.pl'.
>
> After a fresh install of Core 117, the system log shows a blank line
> for 'Captive Portal' entries.
There should be a list with all missing strings that should find things like
this:
https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=doc/language_issues.en;h=48a85d0036ab5d5346e8a8a34ef25d018bef2dfd;hb=HEAD
> Deleted translation for 'Captive menu' and changed '30-network.menu'
> accordingly
> to avoid duplicate translation strings.
>
> Best,
> Matthias
>
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> config/menu/30-network.menu | 4 ++--
> langs/de/cgi-bin/de.pl | 2 +-
> langs/en/cgi-bin/en.pl | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/config/menu/30-network.menu b/config/menu/30-network.menu
> index 137fd686c..9b27de872 100644
> --- a/config/menu/30-network.menu
> +++ b/config/menu/30-network.menu
> @@ -23,9 +23,9 @@
> 'title' => "$Lang::tr{'dhcp server'}",
> 'enabled' => 1,
> };
> - $subnetwork->{'32.captive'} = {'caption' => $Lang::tr{'Captive
> menu'},
> + $subnetwork->{'32.captive'} = {'caption' => $Lang::tr{'Captive'},
> 'uri' => '/cgi-bin/captive.cgi',
> - 'title' => $Lang::tr{'Captive menu'},
> + 'title' => $Lang::tr{'Captive'},
> 'enabled' => 1,
> };
> $subnetwork->{'40.scheduler'} = {
> diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
> index 7c1074edd..07bef906b 100644
> --- a/langs/de/cgi-bin/de.pl
> +++ b/langs/de/cgi-bin/de.pl
> @@ -8,6 +8,7 @@
> 'Add Rule' => 'Regel hinzufügen',
> 'Add a route' => 'Eine Route hinzufügen',
> 'Async logging enabled' => 'Aktiviere asynchrones Schreiben des Syslogs',
> +'Captive' => 'Captive-Portal',
> 'Captive 1day' => '1 Tag',
> 'Captive 1month' => '1 Monat',
> 'Captive 1week' => '1 Woche',
> @@ -43,7 +44,6 @@
> 'Captive logo_upload' => 'Logo hochladen',
> 'Captive logo_upload1' => '(PNG, min. 1280x400, max. 1920x800)',
> 'Captive mac' => 'MAC-Adresse',
> -'Captive menu' => 'Captive-Portal',
> 'Captive noexpiretime' => 'Es wurde kein gültiger Verbindungszeitraum
> angegeben',
> 'Captive nolimit' => 'Unbegrenzt',
> 'Captive nr' => 'Nummer',
> diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
> index 3940d7b7c..a22c4b566 100644
> --- a/langs/en/cgi-bin/en.pl
> +++ b/langs/en/cgi-bin/en.pl
> @@ -8,6 +8,7 @@
> 'Add Rule' => 'Add rule',
> 'Add a route' => 'Add a route',
> 'Async logging enabled' => 'Enable asynchronous writing of the syslog file',
> +'Captive' => 'Captive Portal',
> 'Captive 1day' => '1 day',
> 'Captive 1month' => '1 month',
> 'Captive 1week' => '1 week',
> @@ -42,7 +43,6 @@
> 'Captive logo uploaded' => 'Logo uploaded',
> 'Captive logo_set' => 'Current Logo',
> 'Captive mac' => 'MAC Address',
> -'Captive menu' => 'Captive Portal',
> 'Captive noexpiretime' => 'No valid connection time range given',
> 'Captive nolimit' => 'unlimited',
> 'Captive nr' => 'Number',
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-01-09 14:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-09 13:11 Matthias Fischer
2018-01-09 14:59 ` Michael Tremer [this message]
2018-01-12 10:19 ` Matthias Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515509944.3685.103.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox