From patchwork Tue Nov 8 20:09:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robin Roevens X-Patchwork-Id: 6078 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4N6K2F2nBhz3wcM for ; Tue, 8 Nov 2022 20:09:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4N6K2C4QLqzmp; Tue, 8 Nov 2022 20:09:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4N6K2C3508z2y4C; Tue, 8 Nov 2022 20:09:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4N6K2B16tcz2xkm for ; Tue, 8 Nov 2022 20:09:38 +0000 (UTC) Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4N6K2910zszQS for ; Tue, 8 Nov 2022 20:09:37 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=evuVKTQK; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1667938177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=kSoucqitKxvPGd961FCY6z1FdxMbL29scdAlFcxwnAk=; b=bnYHRsNhXXEo2rEjiYSDrKvRr2teWcufWstrmdNp3CmeRLBbE0OK8u9PZttIVrHcJ1GECs Y/W51oPxVRCoCDkZvGiZVcXD/zBHzBx25KDHgF3A49qLMTpON6GEVYb/jgwk5kORwtEKcP /3cGojPe9Qgrtws4Oz26jcM9bkTO3EmZRQELvtkctzyH/Mq/r9TeKktnSX9+UMuasdjAc/ iJdHYHJP/oBXysFGqbVgVPbNrJMiDVVOUwk70XqCd4VA2lOv8no/+Y8aMKfpjt0hh40cpF vurIKOiUxDnMc5nJvLqDV9Nxu5J7ctiXFHRoz5Rx0wF6v2wDmI/1bsTUiFw9FQ== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=evuVKTQK; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1667938177; a=rsa-sha256; cv=none; b=giDRzh/h8HY6K9D3NRumVXBSpO6mZqG0Mhe4S5NMzxkek9lFDrDaQqcExbhY5vzawUShV9 jPMV7hu8gDzwP2zQLtJ870mxj0BId4IQokJtuGI+amVhmMnqnEfQn7s0SdTHeqP2Hoa3s2 CzzhHu2eCSdTeuChgTu093y5srOQNzPT69U1diLF2MlvE/yL9jdEPuajEQK0Bvs4sEVBa7 R8rD11HQIdyiKDVIQB6XOs+N3HJQ6G8ZAfn8Bp/wkA5jqBAfEOy5bWZEqdVnU+pss4eG5O SAGZ6qZ06stevyfCUsPWaIjkJmHwul0jTfPLqzK2XslkVRQQuvLs7NHC3nML3Q== Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BE44940BBA for ; Tue, 8 Nov 2022 21:09:36 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ybiogLAqejzh for ; Tue, 8 Nov 2022 21:09:35 +0100 (CET) Received: from chojin.sicho.home (amaterasu.sicho.home [192.168.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (no client certificate requested) (Authenticated sender) by hachiman (MailScanner Milter) with SMTP id 9C6517FEE4; Tue, 8 Nov 2022 21:09:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1667938175; bh=w3XG0ZPb9XsBOKLkVoKcGkJZKtg05jKFm8RGLMRnIY8=; h=From:To:Cc:Subject:Date:From; b=evuVKTQKD8rboYYTAlGNq604yKudvXDWFR22shAHjaXTks1ESiRTWbKFLMWOc+CTG I8sV6zBBIYvHmMj2bZjuXGafmE1RFGQVTBJtQApC3sMk5o4P/xBI3G9jnP2Lwpq+sY YHuPh49N51W03oHxUkiJbwXN5+cOcNFKiX9InX2O3KO5IYG+YYVsVZgWHBc8A6eK2P zmmjT3jTZxQ+MHXACbuDy9sl1u+PCpqdj2YTyki29c5cim3IZBzO2VBnPJSgszDjP7 pG1e+K883l6ZCESMikjC3UV4mnYA9oEDbbsIS21ZfvGBeGXbDujDmFvm38UuMiw5PE 54bM7DdVOiNgg== From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH v3] services.cgi: translate "Addon" Date: Tue, 8 Nov 2022 21:09:11 +0100 Message-Id: <20221108200911.11156-1-robin.roevens@disroot.org> MIME-Version: 1.0 X-sicho-MailScanner-ID: 9C6517FEE4.A8A80 X-sicho-MailScanner: Found to be clean X-sicho-MailScanner-From: robin.roevens@disroot.org X-sicho-MailScanner-Watermark: 1668542969.3994@1EsS37+H26WMBX0EMbQzmw X-Spamd-Result: default: False [-0.93 / 11.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.93)[-0.925]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+a:c]; MIME_GOOD(-0.10)[text/plain]; SPF_REPUTATION_SPAM(0.02)[0.0057915352168953]; MX_GOOD(-0.01)[]; IP_REPUTATION_HAM(-0.01)[asn: 50673(0.00), country: NL(-0.01), ip: 178.21.23.139(0.00)]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; DKIM_REPUTATION(0.00)[0]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4N6K2910zszQS X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" * Translate string "Addon" in services.cgi * Added EN/NL translations * Correct existing plural DE translation for singular "Add-on" * Fix usage of the incorrect strings "addon(s)" to correct hyphenated "add-on(s)" also in other translation strings for EN/NL/DE Signed-off-by: Robin Roevens --- html/cgi-bin/services.cgi | 4 ++-- langs/de/cgi-bin/de.pl | 10 +++++----- langs/en/cgi-bin/en.pl | 13 +++++++------ langs/nl/cgi-bin/nl.pl | 11 ++++++----- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 14ed01c50..3c0f27f99 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -138,7 +138,7 @@ END print "\n"; &Header::closebox(); - &Header::openbox('100%', 'left', "Addon - $Lang::tr{services}"); + &Header::openbox('100%', 'left', "$Lang::tr{addon} - $Lang::tr{services}"); my $paramstr=$ENV{QUERY_STRING}; my @param=split(/!/, $paramstr); # Make sure action parameter is actually one of the allowed service actions @@ -156,7 +156,7 @@ END
- + diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index db7d117b0..fd522c3b6 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -157,7 +157,7 @@ 'add xtaccess' => 'Externen Zugang hinzugefügt', 'add-route' => 'Zusätzlich zu propagierende Route', 'added from dhcp lease list' => 'hinzugefügt von der DHCP-Zuordnungsliste', -'addon' => 'Add-Ons', +'addon' => 'Add-On', 'addons' => 'Add-Ons', 'admin user password has been changed' => 'Passwort für Benutzer admin wurde geändert.', 'admin users' => 'Liste der Benutzer mit Super User Rechten', @@ -477,7 +477,7 @@ 'backupaddon' => 'Add-On-Sicherung', 'backupprofile' => 'Falls die Wiederverbindung scheitert, auf dieses Profil umschalten', 'backups' => 'Sicherungen', -'backupwarning' => 'Spielen Sie zuerst Ihre Hauptsicherung und anschließend die Sicherung(en) der Addon-Konfiguration(en) ein.
Es werden lediglich die gesicherten Konfigurationsdatei(en) der Addons, nicht die installierten Addons wiederhergestellt!
Achten Sie außerdem darauf, dass die Sicherungen ihre originalen Dateinamen behalten.', +'backupwarning' => 'Spielen Sie zuerst Ihre Hauptsicherung und anschließend die Sicherung(en) der Add-on-Konfiguration(en) ein.
Es werden lediglich die gesicherten Konfigurationsdatei(en) der Add-ons, nicht die installierten Add-ons wiederhergestellt!
Achten Sie außerdem darauf, dass die Sicherungen ihre originalen Dateinamen behalten.', 'bad characters in' => 'Ungültige Zeichen in ', 'bad characters in script field' => 'Nicht erlaubte Zeichen im Skriptnamen', 'bad characters in the telephone number field' => 'Nicht erlaubte(s) Zeichen im Feld Telefonnummer.', @@ -2019,16 +2019,16 @@ 'pakfire accept all' => 'Möchten Sie der Installation aller Pakete zustimmen?', 'pakfire ago' => 'her.', 'pakfire already busy' => 'Pakfire führt bereits eine Aufgabe aus. Bitte versuchen Sie es später erneut.', -'pakfire available addons' => 'Verfügbare Addons:', +'pakfire available addons' => 'Verfügbare Add-ons:', 'pakfire configuration' => 'Pakfire Konfiguration', -'pakfire core update auto' => 'Core- und Addon-Updates automatisch installieren:', +'pakfire core update auto' => 'Core- und Add-on-Updates automatisch installieren:', 'pakfire core update level' => 'Core-Update-Level', 'pakfire finished' => 'Pakfire ist fertig! Kehre zurück...', 'pakfire finished error' => 'Pakfire ist fertig! Fehler sind aufgetreten, bitte überprüfen Sie die Log-Ausgabe, bevor Sie fortfahren.', 'pakfire health check' => 'Mirrors auf Erreichbarkeit prüfen (Ping):', 'pakfire install description' => 'Wählen Sie ein oder mehrere Pakete zur Installation aus und drücken Sie auf das plus-Symbol.', 'pakfire install package' => 'Sie möchten folgende Pakete installieren: ', -'pakfire installed addons' => 'Installierte Addons:', +'pakfire installed addons' => 'Installierte Add-ons:', 'pakfire invalid tree' => '', 'pakfire last core list update' => 'Letztes Corelisten Update ist', 'pakfire last package update' => 'Letztes Paketlisten Update ist', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 60dca5be4..4bd1dc395 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -155,7 +155,8 @@ 'add xtaccess' => 'Add External Access', 'add-route' => 'Additional push route', 'added from dhcp lease list' => 'Added from DHCP lease list', -'addons' => 'Addons', +'addon' => 'Add-On', +'addons' => 'Add-Ons', 'admin user password has been changed' => 'Admin user password has been changed.', 'admin users' => 'User with superuser rights', 'administrator password' => 'Administrator password', @@ -489,10 +490,10 @@ 'backup protect key password' => 'Backup key password', 'backup sets' => 'Backup sets', 'backup to floppy' => 'Backup to floppy', -'backupaddon' => 'Addon Backup', +'backupaddon' => 'Add-on Backup', 'backupprofile' => 'In case reconnection fails, switch to profile', 'backups' => 'backups', -'backupwarning' => 'Import your main backup first and then the backup(s) of the addon configuration(s).
Only the backed up addon configuration file(s) will be restored, not the installed addons!
Also make sure that the backups keep their original file names.', +'backupwarning' => 'Import your main backup first and then the backup(s) of the add-on configuration(s).
Only the backed up add-on configuration file(s) will be restored, not the installed add-ons!
Also make sure that the backups keep their original file names.', 'bad characters in' => 'Bad characters in ', 'bad characters in script field' => 'Bad characters in script field', 'bad characters in the telephone number field' => 'Bad characters in the telephone number field.', @@ -2072,16 +2073,16 @@ 'pakfire accept all' => 'Do you want to install all packages?', 'pakfire ago' => 'ago.', 'pakfire already busy' => 'Pakfire is already performing a task. Please try again later.', -'pakfire available addons' => 'Available Addons:', +'pakfire available addons' => 'Available Add-ons:', 'pakfire configuration' => 'Pakfire Configuration', -'pakfire core update auto' => 'Install core and addon updates automatically:', +'pakfire core update auto' => 'Install core and add-on updates automatically:', 'pakfire core update level' => 'Core-Update-Level', 'pakfire finished' => 'Pakfire has finished! Returning...', 'pakfire finished error' => 'Pakfire has finished! Errors occurred, please check the log output before proceeding.', 'pakfire health check' => 'Check if mirror is reachable (ping):', 'pakfire install description' => 'Please choose one or more items from the list below and click the plus to install.', 'pakfire install package' => 'You want to install the following packages: ', -'pakfire installed addons' => 'Installed Addons:', +'pakfire installed addons' => 'Installed Add-ons:', 'pakfire invalid tree' => 'Invalid repository selected', 'pakfire last core list update' => 'Last core list update made', 'pakfire last package update' => 'Last packages list update made', diff --git a/langs/nl/cgi-bin/nl.pl b/langs/nl/cgi-bin/nl.pl index 4fd6955cc..d15634c2f 100644 --- a/langs/nl/cgi-bin/nl.pl +++ b/langs/nl/cgi-bin/nl.pl @@ -95,7 +95,8 @@ 'add xtaccess' => 'Voeg een externe toegang toe', 'add-route' => 'Extra push route', 'added from dhcp lease list' => 'Toegevoegd van DHCP lease-lijst.', -'addons' => 'Toevoegingen', +'addon' => 'Add-On', +'addons' => 'Add-Ons', 'admin user password has been changed' => 'Beheerderswachtwoord is gewijzigd.', 'admin users' => 'Gebruiker met beheerdersrechten.', 'administrator user password' => 'Beheerderswachtwoord:', @@ -400,10 +401,10 @@ 'backup protect key password' => 'Back-up sleutelwachtwoord', 'backup sets' => 'Back-up sets', 'backup to floppy' => 'Back-up naar floppy', -'backupaddon' => 'Back-up toevoeging', +'backupaddon' => 'Back-up add-on', 'backupprofile' => 'In geval het opnieuw verbinden mislukt, schakel dan over naar profiel', 'backups' => 'back-ups', -'backupwarning' => 'Importeer eerst uw hoofdback-up en dan de back-up(en) van de addon configuratie(s).
Alleen de configuratiebestanden van de addons waarvan een backup is gemaakt worden hersteld, niet de geïnstalleerde addons!
Zorg er ook voor dat de back-ups hun oorspronkelijke bestandsnamen behouden.', +'backupwarning' => 'Importeer eerst uw hoofdback-up en dan de back-up(en) van de add-on configuratie(s).
Alleen de configuratiebestanden van de add-ons waarvan een backup is gemaakt worden hersteld, niet de geïnstalleerde add-ons!
Zorg er ook voor dat de back-ups hun oorspronkelijke bestandsnamen behouden.', 'bad characters in' => 'Ongeldige tekens in ', 'bad characters in script field' => 'Ongeldige tekens in scriptveld', 'bad characters in the telephone number field' => 'Ongeldige tekens in telefoonnummerveld', @@ -1694,14 +1695,14 @@ 'pak update' => 'Opwaardering', 'pakfire accept all' => 'Wilt u alle pakketten installeren?', 'pakfire ago' => 'geleden.', -'pakfire available addons' => 'Beschikbare extensies:', +'pakfire available addons' => 'Beschikbare add-ons:', 'pakfire configuration' => 'Pakfire configuratie', 'pakfire core update auto' => 'Installeer core- en extensie-updates automatisch:', 'pakfire core update level' => 'Core-updateniveau', 'pakfire health check' => 'Controleer of de mirror bereikbaar is (ping):', 'pakfire install description' => 'Kies een of meer items uit de lijst hieronder en klik op de plus om te installeren.', 'pakfire install package' => 'U wilt de volgende pakketten installeren: ', -'pakfire installed addons' => 'Geïnstalleerde extensies:', +'pakfire installed addons' => 'Geïnstalleerde add-ons:', 'pakfire last core list update' => 'Laatste core-lijst update gemaakt', 'pakfire last package update' => 'Laatste pakketlijst update gemaakt', 'pakfire last serverlist update' => 'Laatste serverlijst update gemaakt',
Addon $Lang::tr{service}$Lang::tr{addon} $Lang::tr{service} Boot $Lang::tr{'action'} $Lang::tr{'status'}