]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
connections.cgi: Fix Expires time Heading in Connections cgi page
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 9 Nov 2023 08:24:06 +0000 (09:24 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 24 Nov 2023 13:12:19 +0000 (13:12 +0000)
- The Expires time heading for the Connections WUI page has seconds listed. However the
   code is converting the seconds to hours:minutes:seconds.
- This patch is changing the heading to H:M:S in English and the equivalent in the other
   languages. I have basewd this on the initial letter for Hours, Minutes & Seconds in
   each of the languages.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
19 files changed:
doc/language_issues.en
doc/language_issues.es
doc/language_issues.fr
doc/language_issues.it
doc/language_issues.nl
doc/language_issues.pl
doc/language_issues.ru
doc/language_issues.tr
doc/language_missings
html/cgi-bin/connections.cgi
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl
langs/es/cgi-bin/es.pl
langs/fr/cgi-bin/fr.pl
langs/it/cgi-bin/it.pl
langs/nl/cgi-bin/nl.pl
langs/pl/cgi-bin/pl.pl
langs/ru/cgi-bin/ru.pl
langs/tr/cgi-bin/tr.pl

index c9d1117effa26072a0965dc98c786683de9b09cd..b4327cb78eb11dda86b3370eaab96293df65d1b8 100644 (file)
@@ -752,7 +752,7 @@ WARNING: untranslated string: exclude logfiles = Exclude logfiles
 WARNING: untranslated string: expires = Expires
 WARNING: untranslated string: export = Export
 WARNING: untranslated string: external aliases configuration = External aliases configuration
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd because there is already a device mounted = , because there is already a device mounted
 WARNING: untranslated string: extrahd cant umount = Can't umount
 WARNING: untranslated string: extrahd detected drives = detected drives
@@ -1047,6 +1047,7 @@ WARNING: untranslated string: hosts config added = Hosts config added
 WARNING: untranslated string: hosts config changed = Hosts config changed
 WARNING: untranslated string: hour = Hour
 WARNING: untranslated string: hours = Hours
+WARNING: untranslated string: hours:minutes:seconds = H:M:S
 WARNING: untranslated string: idle = Idle
 WARNING: untranslated string: idle timeout = Idle timeout (mins; 0 to disable):
 WARNING: untranslated string: idle timeout not set = Idle timeout not set.
@@ -1624,7 +1625,6 @@ WARNING: untranslated string: search = Search
 WARNING: untranslated string: secondary dns = Secondary DNS:
 WARNING: untranslated string: secondary ntp server = Secondary NTP server
 WARNING: untranslated string: secondary wins server address = Secondary WINS server address
-WARNING: untranslated string: seconds = Secs
 WARNING: untranslated string: secret = Secret
 WARNING: untranslated string: section = Section
 WARNING: untranslated string: secure shell server = Secure Shell Server
index 8bb0b56fb236fcaaff81c12caa33a77edc595f0f..45ffdf5d7a897b724933ef0d81765fb820601731 100644 (file)
@@ -952,7 +952,7 @@ WARNING: untranslated string: downfall gather data sampling = Downfall/Gather Da
 WARNING: untranslated string: enable disable client = unknown string
 WARNING: untranslated string: enable disable dyndns = unknown string
 WARNING: untranslated string: error message = unknown string
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd mounted = Mounted
 WARNING: untranslated string: extrahd no mount point given = No mount point given
 WARNING: untranslated string: extrahd not configured = Not configured
index 6805c1eb91f073822b232c34a1da41c6b3d12467..cacfb1ec6ab884a957b655f37988a4e4d56a031f 100644 (file)
@@ -911,7 +911,7 @@ WARNING: untranslated string: downfall gather data sampling = Downfall/Gather Da
 WARNING: untranslated string: enable disable client = unknown string
 WARNING: untranslated string: enable disable dyndns = unknown string
 WARNING: untranslated string: error message = unknown string
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd mounted = Mounted
 WARNING: untranslated string: extrahd no mount point given = No mount point given
 WARNING: untranslated string: extrahd not configured = Not configured
index bb1d5db9684ab27b3583e7b582fda7c7c2c487cc..68ff12c8695efebaa1276038138112fdbd8c9753 100644 (file)
@@ -1004,7 +1004,7 @@ WARNING: untranslated string: eol architecture warning = You are running an arch
 WARNING: untranslated string: error = Error
 WARNING: untranslated string: error message = unknown string
 WARNING: untranslated string: error the to date has to be later than the from date = The to date has to be later than the from date!
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd mounted = Mounted
 WARNING: untranslated string: extrahd no mount point given = No mount point given
 WARNING: untranslated string: extrahd not configured = Not configured
index b85619977234cbe6f9a4675cf22fafe6090d6bc2..d1a637215ead14876281d32e560c4cce8aa0559c 100644 (file)
@@ -1009,7 +1009,7 @@ WARNING: untranslated string: eol architecture warning = You are running an arch
 WARNING: untranslated string: error = Error
 WARNING: untranslated string: error message = unknown string
 WARNING: untranslated string: error the to date has to be later than the from date = The to date has to be later than the from date!
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd mounted = Mounted
 WARNING: untranslated string: extrahd no mount point given = No mount point given
 WARNING: untranslated string: extrahd not configured = Not configured
index d88e3fb8ec668989ed2ae43261330be0b9e69e2f..893f73211a1614e816e11a09a40977adf2616889 100644 (file)
@@ -997,7 +997,7 @@ WARNING: untranslated string: eol architecture warning = You are running an arch
 WARNING: untranslated string: error = Error
 WARNING: untranslated string: error message = unknown string
 WARNING: untranslated string: error the to date has to be later than the from date = The to date has to be later than the from date!
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd because there is already a device mounted = , because there is already a device mounted
 WARNING: untranslated string: extrahd cant umount = Can't umount
 WARNING: untranslated string: extrahd install or load driver = If your device isn't listed here, you need to install or load the driver.<br />If you can see your device but no partitions you have to create them first.
index 22e06460c2587bd5d8725d1710ac83f13f2c5e65..64c9b50954a343d22b7fd3be3a39b780096d97db 100644 (file)
@@ -994,7 +994,7 @@ WARNING: untranslated string: eol architecture warning = You are running an arch
 WARNING: untranslated string: error = Error
 WARNING: untranslated string: error message = unknown string
 WARNING: untranslated string: error the to date has to be later than the from date = The to date has to be later than the from date!
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd because there is already a device mounted = , because there is already a device mounted
 WARNING: untranslated string: extrahd cant umount = Can't umount
 WARNING: untranslated string: extrahd install or load driver = If your device isn't listed here, you need to install or load the driver.<br />If you can see your device but no partitions you have to create them first.
index 0d9514083a3d16197611c904dc3f9d13e51d597c..eadbd33c71d818d3dfd029bc65a5247df49365b1 100644 (file)
@@ -967,7 +967,7 @@ WARNING: untranslated string: eol architecture warning = You are running an arch
 WARNING: untranslated string: error = Error
 WARNING: untranslated string: error message = unknown string
 WARNING: untranslated string: error the to date has to be later than the from date = The to date has to be later than the from date!
-WARNING: untranslated string: extrahd because it is outside the allowed mount path = , because it is outside the allowed mount path
+WARNING: untranslated string: extrahd because it is outside the allowed mount path = unknown string
 WARNING: untranslated string: extrahd mounted = Mounted
 WARNING: untranslated string: extrahd no mount point given = No mount point given
 WARNING: untranslated string: extrahd not configured = Not configured
index 4d8f4a2a92966cad43add66725b89125340e9966..28ae29c2b64120268e77094d3b108d6931cb32fd 100644 (file)
@@ -55,6 +55,7 @@
 < download apple profile
 < enable
 < error the to date has to be later than the from date
+< extrahd because it it outside the allowed mount path
 < g.dtm
 < g.lite
 < ids automatic rules update
 < dhcp fixed ip address in dynamic range
 < dns servers
 < downfall gather data sampling
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd mounted
 < extrahd no mount point given
 < extrahd not configured
 < bewan adsl pci st
 < bewan adsl usb
 < downfall gather data sampling
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd mounted
 < extrahd no mount point given
 < extrahd not configured
 < eol architecture warning
 < error
 < error the to date has to be later than the from date
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd mounted
 < extrahd no mount point given
 < extrahd not configured
 < eol architecture warning
 < error
 < error the to date has to be later than the from date
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd mounted
 < extrahd no mount point given
 < extrahd not configured
 < eol architecture warning
 < error
 < error the to date has to be later than the from date
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd because there is already a device mounted
 < extrahd cant umount
 < extrahd install or load driver
 < eol architecture warning
 < error
 < error the to date has to be later than the from date
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd because there is already a device mounted
 < extrahd cant umount
 < extrahd install or load driver
 < eol architecture warning
 < error
 < error the to date has to be later than the from date
-< extrahd because it is outside the allowed mount path
+< extrahd because it it outside the allowed mount path
 < extrahd mounted
 < extrahd no mount point given
 < extrahd not configured
index 771728d883de93ff337ffefa849101c6d45ace57..a4cf7a7cf828ad57b1887a278fbef5ad64b2145c 100644 (file)
@@ -352,7 +352,7 @@ if ($SORT_FIELD and $SORT_ORDER) {
                $Lang::tr{'destination port'},
                $Lang::tr{'protocol'},
                $Lang::tr{'connection'}.' '.$Lang::tr{'status'},
-               $Lang::tr{'expires'}.' ('.$Lang::tr{'seconds'}.')',
+               $Lang::tr{'expires'}.' ('.$Lang::tr{'hours:minutes:seconds'}.')',
                $Lang::tr{'download'},
                $Lang::tr{'upload'}
        );
@@ -435,7 +435,7 @@ print <<END;
                                $Lang::tr{'connection'}<br>$Lang::tr{'status'}
                        </th>
                        <th style='text-align:center'>
-                               $Lang::tr{'expires'}<br>($Lang::tr{'seconds'})
+                               $Lang::tr{'expires'}<br>($Lang::tr{'hours:minutes:seconds'})
                        </th>
                </tr>
 END
index 14080613021d5e7b9ffe5e85fc31fe0a7de6fe02..49018f6a572692ebf6ed61ec619e8a4403592c6e 100644 (file)
 'hour-graph' => 'Stunde',
 'hours' => 'Stunden',
 'hours2' => 'Stunden',
+'hours:minutes:seconds' => 'S:M:S',
 'icmp selected but no type' => 'ICMP wurde zwar als Protokoll gewählt, es wurde aber kein ICMP-Typ angegeben.',
 'icmp type' => 'ICMP-Typ',
 'id' => 'ID',
 'secondary dns' => 'Sekundärer DNS-Server:',
 'secondary ntp server' => 'Sekundärer NTP-Server',
 'secondary wins server address' => 'Sekundärer WINS-Server',
-'seconds' => 'Sek.',
 'secret' => 'Geheimnis',
 'section' => 'Abschnitt',
 'secure shell server' => 'Secure Shell Server',
index 02cf1bf4b4cc179b4a49aa14d3e0f24447df0cd5..16a3061b4d58977ef8833e804131417677a79cab 100644 (file)
 'external access rule removed' => ' External access rule removed; restarting access controller',
 'external aliases configuration' => 'External aliases configuration',
 'extrahd' => 'ExtraHD',
-'extrahd because it is outside the allowed mount path' => ', because it is outside the allowed mount path',
+'extrahd because it it outside the allowed mount path' => ', because it is outside the allowed mount path',
 'extrahd because there is already a device mounted' => ', because there is already a device mounted',
 'extrahd cant umount' => 'Can\'t umount',
 'extrahd detected drives' => 'detected drives',
 'hour-graph' => 'Hour',
 'hours' => 'Hours',
 'hours2' => 'Hours',
+'hours:minutes:seconds' => 'H:M:S',
 'icmp selected but no type' => 'ICMP selected for protocol, but no ICMP type specified.',
 'icmp type' => 'ICMP Type',
 'id' => 'ID',
 'secondary dns' => 'Secondary DNS:',
 'secondary ntp server' => 'Secondary NTP server',
 'secondary wins server address' => 'Secondary WINS server address',
-'seconds' => 'Secs',
 'secret' => 'Secret',
 'section' => 'Section',
 'secure shell server' => 'Secure Shell Server',
index 2e85a5b2798a9b46ba5ad9515e47fc5acc6bdf4e..04549ba83cf429c5f5fc7e832295111e863dbe3b 100644 (file)
 'hour-graph' => 'Hora',
 'hours' => 'horas',
 'hours2' => 'Horas',
+'hours:minutes:seconds' => 'H:M:S',
 'icmp selected but no type' => 'ICMP seleccionado como protocolo, pero no se ha seleccionado tipo de ICMP.',
 'icmp type' => 'Tipo de  ICMP',
 'id' => 'ID',
 'secondary dns' => 'DNS Secundario:',
 'secondary ntp server' => 'Servidor NTP Secundario',
 'secondary wins server address' => 'Dirección de servidor WINS Secundario',
-'seconds' => 'Segs',
 'secret' => 'Secreto',
 'section' => 'Sección',
 'secure shell server' => 'Servidor Secure Shell',
index 0e746736e0373010e404a0bba916fa4d6a9cbfa7..87ec52e8b2f0e89a266f438abbc38470d644ec5f 100644 (file)
 'hour-graph' => 'Heure',
 'hours' => 'heure(s)',
 'hours2' => 'Heures',
+'hours:minutes:seconds' => 'H:M:S',
 'icmp selected but no type' => 'ICMP est le protocole sélectionné, mais il n\'y a aucun type ICMP spécifié.',
 'icmp type' => 'Type ICMP',
 'id' => 'ID',
 'secondary dns' => 'DNS secondaire :',
 'secondary ntp server' => 'Serveur NTP secondaire ',
 'secondary wins server address' => 'Serveur WINS secondaire ',
-'seconds' => 'Secondes',
 'secret' => 'Secret',
 'section' => 'Section ',
 'secure shell server' => 'Serveur Shell Sécurisé',
index 7526d67ad2626e8d034bf0accccc2e996a151e39..6e350880384b22a73db01ae620b520a84885b4dd 100644 (file)
 'hour-graph' => 'Ora',
 'hours' => 'Ore',
 'hours2' => 'Ore',
+'hours:minutes:seconds' => 'O:M:S',
 'icmp selected but no type' => 'ICMP selected for protocol, but no ICMP type specified.',
 'icmp type' => 'ICMP Type',
 'id' => 'ID',
 'secondary dns' => 'DNS Secondario:',
 'secondary ntp server' => 'NTP server secondario',
 'secondary wins server address' => 'WINS server secondario',
-'seconds' => 'Secondi',
 'section' => 'Sezione',
 'secure shell server' => 'Secure Shell Server',
 'security' => 'Sicurezza',
index 898d42d2826947d73571a04064796ae14293094f..a397680ceb1f91c57035d413cc40d267d5992df9 100644 (file)
 'hour-graph' => 'Uur',
 'hours' => 'uren',
 'hours2' => 'Uren',
+'hours:minutes:seconds' => 'U:M:S',
 'icmp selected but no type' => 'ICMP als protocol geselecteerd, maar er is geen ICMP type gespecificeerd.',
 'icmp type' => 'ICMP Type',
 'id' => 'ID',
 'secondary dns' => 'Secondaire DNS:',
 'secondary ntp server' => 'Secondaire NTP server',
 'secondary wins server address' => 'Secondaire WINS serveradres',
-'seconds' => 'Sec.',
 'section' => 'Sectie',
 'secure shell server' => 'Secure Shell Server',
 'security' => 'Beveiliging',
index 6ff2dab7b8aa6f3493d6251cdb2ac887e30f944a..86364a0a2df122667b1a4aa676bcf616e1cc89d2 100644 (file)
 'hour-graph' => 'Godzina',
 'hours' => 'Godziny',
 'hours2' => 'Godziny',
+'hours:minutes:seconds' => 'G:M:S',
 'icmp selected but no type' => 'Wybrano protokół ICMP, ale nie określono typu ICMP.',
 'icmp type' => 'Typ ICMP',
 'id' => 'ID',
 'secondary dns' => 'Zapasowy DNS:',
 'secondary ntp server' => 'Zapasowy serwer NTP',
 'secondary wins server address' => 'Adres zapasowego serwera WINS',
-'seconds' => 'Sek',
 'section' => 'Sekcja',
 'secure shell server' => 'Secure Shell Server',
 'security' => 'Bezpieczeństwo',
index 78a43c7d633c79cd0c0856746d167e9407ac73ec..32f0f2425d16f1391a6dc44be1064ae7d3e6674a 100644 (file)
 'hour' => 'Час',
 'hours' => 'Часы',
 'hours2' => 'Часы',
+'hours:minutes:seconds' => 'Ч:М:С',
 'icmp selected but no type' => 'ICMP selected for protocol, but no ICMP type specified.',
 'icmp type' => 'ICMP Type',
 'id' => 'ID',
 'secondary dns' => 'Второй DNS:',
 'secondary ntp server' => 'Второй NTP сервер',
 'secondary wins server address' => 'Второй WINS сервер',
-'seconds' => 'сек.',
 'section' => 'Раздел',
 'secure shell server' => 'Secure Shell Server',
 'security' => 'Безопасность',
index 45fc16144ab43aed576a294f0f87c692fba7b92a..d279309af67a42521e9a3de2c52e5c8071a04495 100644 (file)
 'hour-graph' => 'saat',
 'hours' => 'saat',
 'hours2' => 'saat',
+'hours:minutes:seconds' => 'S:D:S',
 'icmp selected but no type' => 'ICMP kuralı için seçildi ancak ICMP türü belirtildi.',
 'icmp type' => 'ICMP Türü',
 'id' => 'Kimlik Numarası (ID)',
 'secondary dns' => 'İkincil DNS:',
 'secondary ntp server' => 'İkincil NTP sunucusu',
 'secondary wins server address' => 'İkincil WINS sunucu adresi',
-'seconds' => 'Saniye',
 'section' => 'Bölüm',
 'secure shell server' => 'Güvenli Kabuk Sunucusu (SSH)',
 'security' => 'Güvenlik',