From 73819809f46fa949c081bd1f76ec86852a73cdde Mon Sep 17 00:00:00 2001 From: Stepan Henek Date: Thu, 17 Oct 2024 12:11:10 +0200 Subject: [PATCH 1/9] WiFi API update Deprecated option `hwmode=11g/11a` was replaced by `band=2g/5g/6g` --- src/common/WiFiSettings/WiFiForm.js | 42 +++++++++---------- .../__tests__/WiFiSettings.test.js | 10 ++--- .../__tests__/__fixtures__/wifiSettings.js | 22 +++++----- .../__snapshots__/WiFiSettings.test.js.snap | 22 +++++----- src/common/WiFiSettings/constants.js | 11 ++--- 5 files changed, 54 insertions(+), 53 deletions(-) diff --git a/src/common/WiFiSettings/WiFiForm.js b/src/common/WiFiSettings/WiFiForm.js index 074f133..8d821e6 100644 --- a/src/common/WiFiSettings/WiFiForm.js +++ b/src/common/WiFiSettings/WiFiForm.js @@ -9,7 +9,7 @@ import React from "react"; import PropTypes from "prop-types"; -import { HELP_TEXTS, HTMODES, HWMODES, ENCRYPTIONMODES } from "./constants"; +import { HELP_TEXTS, HTMODES, BANDS, ENCRYPTIONMODES } from "./constants"; import WifiGuestForm from "./WiFiGuestForm"; import WiFiQRCode from "./WiFiQRCode"; import PasswordInput from "../../bootstrap/PasswordInput"; @@ -60,7 +60,7 @@ DeviceForm.propTypes = { SSID: PropTypes.string.isRequired, password: PropTypes.string.isRequired, hidden: PropTypes.bool.isRequired, - hwmode: PropTypes.string.isRequired, + band: PropTypes.string.isRequired, htmode: PropTypes.string.isRequired, channel: PropTypes.string.isRequired, guest_wifi: PropTypes.object.isRequired, @@ -155,26 +155,26 @@ function DeviceForm({ /> { - // Get the last item in an array of available HT modes - const [best2] = bnds[0].available_htmodes.slice(-1); - const [best5] = bnds[1].available_htmodes.slice(-1); + // Find the selected band + const selectedBand = bnds.find( + (band) => band.band === value + ); + // Get the last item in the available HT modes for the selected band + const bestHtmode = + selectedBand.available_htmodes.slice(-1)[0]; return { devices: { [deviceIndex]: { - hwmode: { $set: value }, + band: { $set: value }, channel: { $set: "0" }, - htmode: { - $set: - // Set HT mode depending on checked frequency - value === "11a" ? best5 : best2, - }, + htmode: { $set: bestHtmode }, }, }, }; @@ -263,7 +263,7 @@ function getChannelChoices(device) { }; device.available_bands.forEach((availableBand) => { - if (availableBand.hwmode !== device.hwmode) return; + if (availableBand.band !== device.band) return; availableBand.available_channels.forEach((availableChannel) => { channelChoices[availableChannel.number.toString()] = ` @@ -282,7 +282,7 @@ function getHtmodeChoices(device) { const htmodeChoices = {}; device.available_bands.forEach((availableBand) => { - if (availableBand.hwmode !== device.hwmode) return; + if (availableBand.band !== device.band) return; availableBand.available_htmodes.forEach((availableHtmod) => { htmodeChoices[availableHtmod] = HTMODES[availableHtmod]; @@ -291,10 +291,10 @@ function getHtmodeChoices(device) { return htmodeChoices; } -function getHwmodeChoices(device) { +function getBandChoices(device) { return device.available_bands.map((availableBand) => ({ - label: HWMODES[availableBand.hwmode], - value: availableBand.hwmode, + label: `${BANDS[availableBand.band]} GHz`, + value: availableBand.band, })); } diff --git a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js index f06c152..9bd4471 100644 --- a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js +++ b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js @@ -77,7 +77,7 @@ describe("", () => { it("Snapshot 2.4 GHz", () => { fireEvent.click(getByText("Wi-Fi 1")); const enabledRender = asFragment(); - fireEvent.click(getAllByText("2.4")[0]); + fireEvent.click(getAllByText(/2.4/)[0]); expect(diffSnapshot(enabledRender, asFragment())).toMatchSnapshot(); }); @@ -118,7 +118,7 @@ describe("", () => { guest_wifi: { enabled: false }, hidden: false, htmode: "HT80", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", @@ -135,7 +135,7 @@ describe("", () => { it("Post form: 2.4 GHz", () => { fireEvent.click(getByText("Wi-Fi 1")); - fireEvent.click(getAllByText("2.4")[0]); + fireEvent.click(getAllByText(/2.4/)[0]); fireEvent.click(getByText("Save")); expect(mockAxios.post).toBeCalled(); @@ -148,7 +148,7 @@ describe("", () => { guest_wifi: { enabled: false }, hidden: false, htmode: "VHT80", - hwmode: "11g", + band: "2g", id: 0, password: "TestPass", encryption: "WPA3", @@ -185,7 +185,7 @@ describe("", () => { }, hidden: false, htmode: "HT80", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", diff --git a/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js b/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js index 7110c42..928e1dd 100644 --- a/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js +++ b/src/common/WiFiSettings/__tests__/__fixtures__/wifiSettings.js @@ -77,7 +77,7 @@ export function wifiSettingsFixture() { "VHT40", "VHT80", ], - hwmode: "11g", + band: "2g", }, { available_channels: [ @@ -215,7 +215,7 @@ export function wifiSettingsFixture() { "VHT40", "VHT80", ], - hwmode: "11a", + band: "5g", }, ], channel: 60, @@ -227,7 +227,7 @@ export function wifiSettingsFixture() { }, hidden: false, htmode: "HT80", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", @@ -294,7 +294,7 @@ export function wifiSettingsFixture() { }, ], available_htmodes: ["NOHT", "HT20", "HT40"], - hwmode: "11g", + band: "2g", }, ], channel: 11, @@ -306,7 +306,7 @@ export function wifiSettingsFixture() { }, hidden: false, htmode: "HT40", - hwmode: "11g", + band: "2g", id: 1, password: "TestPass", encryption: "WPA3", @@ -323,7 +323,7 @@ const oneDevice = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", @@ -340,7 +340,7 @@ const twoDevices = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", @@ -352,7 +352,7 @@ const twoDevices = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 1, password: "TestPass", encryption: "WPA3", @@ -369,7 +369,7 @@ const threeDevices = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 0, password: "TestPass", encryption: "WPA3", @@ -381,7 +381,7 @@ const threeDevices = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 1, password: "TestPass", encryption: "WPA3", @@ -393,7 +393,7 @@ const threeDevices = { guest_wifi: { enabled: false }, hidden: false, htmode: "HT40", - hwmode: "11a", + band: "5g", id: 2, password: "", encryption: "WPA3", diff --git a/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap b/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap index 8b14453..72f0225 100644 --- a/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap +++ b/src/common/WiFiSettings/__tests__/__snapshots__/WiFiSettings.test.js.snap @@ -555,23 +555,23 @@ exports[` Snapshot one module enabled. 1`] = ` + class="d-block" + for="6" + > -+ GHz ++ Band + +
+ + +
+
Snapshot one module enabled. 1`] = ` + + +
+
Date: Tue, 22 Oct 2024 01:25:53 +0000 Subject: [PATCH 2/9] Translated using Weblate (German) Currently translated at 100.0% (71 of 71 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/de/ --- translations/de/LC_MESSAGES/forisjs.po | 144 ++++++++++++------------- 1 file changed, 67 insertions(+), 77 deletions(-) diff --git a/translations/de/LC_MESSAGES/forisjs.po b/translations/de/LC_MESSAGES/forisjs.po index 118e373..4f18b68 100644 --- a/translations/de/LC_MESSAGES/forisjs.po +++ b/translations/de/LC_MESSAGES/forisjs.po @@ -11,8 +11,8 @@ msgstr "" "PO-Revision-Date: 2024-01-04 21:08+0000\n" "Last-Translator: Erik Pfannenstein \n" "Language: de\n" -"Language-Team: German \n" +"Language-Team: German \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -35,16 +35,16 @@ msgstr "Keine Antwort erhalten." msgid "An unknown API error occurred." msgstr "Ein unbekannter API-Fehler ist aufgetreten." -#: src/bootstrap/Alert.js:73 src/bootstrap/Modal.js:101 +#: src/bootstrap/Alert.js:57 src/bootstrap/Modal.js:101 #: src/common/WiFiSettings/WiFiQRCode.js:89 msgid "Close" -msgstr "" +msgstr "Schließen" -#: src/bootstrap/CopyInput.js:56 +#: src/bootstrap/CopyInput.js:56 src/bootstrap/CopyInput.js:57 msgid "Copied!" msgstr "Kopiert!" -#: src/bootstrap/CopyInput.js:56 +#: src/bootstrap/CopyInput.js:56 src/bootstrap/CopyInput.js:57 msgid "Copy" msgstr "Kopieren" @@ -58,6 +58,7 @@ msgid "Action failed." msgstr "" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:125 +#: src/common/RebootButton.js:71 msgid "Cancel" msgstr "Abbrechen" @@ -121,8 +122,7 @@ msgstr "" #: src/common/WiFiSettings/ResetWiFiSettings.js:39 msgid "An error occurred during resetting Wi-Fi settings." msgstr "" -"Ein Fehler ist während der Zurücksetzung der WLAN-Einstellungen " -"aufgetreten." +"Ein Fehler ist während der Zurücksetzung der WLAN-Einstellungen aufgetreten." #: src/common/WiFiSettings/ResetWiFiSettings.js:42 msgid "Wi-Fi settings are set to defaults." @@ -135,13 +135,13 @@ msgstr "WLAN-Einstellungen zurücksetzen" #: src/common/WiFiSettings/ResetWiFiSettings.js:58 msgid "" -"If a number of wireless cards doesn't match, you may try to reset the Wi-" -"Fi settings. Note that this will remove the current Wi-Fi configuration " -"and restore the default values." +"If a number of wireless cards doesn't match, you may try to reset the Wi-Fi " +"settings. Note that this will remove the current Wi-Fi configuration and " +"restore the default values." msgstr "" -"Falls die Anzahl der WLAN-Karten nicht korrekt ist, könnte es helfen, die" -" WLAN-Einstellungen zurückzusetzen. Beachten Sie, dass dabei die aktuelle" -" WLAN-Konfiguration mit den Werkseinstellungen überschrieben wird." +"Falls die Anzahl der WLAN-Karten nicht korrekt ist, könnte es helfen, die " +"WLAN-Einstellungen zurückzusetzen. Beachten Sie, dass dabei die aktuelle " +"WLAN-Konfiguration mit den Werkseinstellungen überschrieben wird." #: src/common/WiFiSettings/WiFiForm.js:97 msgid "Wi-Fi ${deviceID + 1}" @@ -177,8 +177,8 @@ msgid "" "In case you have trouble connecting to WiFi Access Point, try disabling " "Management Frame Protection." msgstr "" -"Falls Sie beim Verbinden mit dem WiFi-Access-Point Probleme haben, " -"schalten Sie testweise die Management Frame Protection ab." +"Falls Sie beim Verbinden mit dem WiFi-Access-Point Probleme haben, schalten " +"Sie testweise die Management Frame Protection ab." #: src/common/WiFiSettings/WiFiForm.js:262 msgid "auto" @@ -194,9 +194,8 @@ msgstr "Gast-WLAN aktivieren" #: src/common/WiFiSettings/WiFiQRCode.js:43 #: src/common/WiFiSettings/WiFiQRCode.js:44 -#, fuzzy msgid "Show QR code" -msgstr "WLAN QR-Code" +msgstr "QR-Code anzeigen" #: src/common/WiFiSettings/WiFiQRCode.js:70 msgid "Wi-Fi QR Code" @@ -297,7 +296,8 @@ msgstr "" #: src/common/WiFiSettings/constants.js:34 msgid "WPA2/3 pre-shared key, that is required to connect to the network." -msgstr "WPA2/3 Pre-Shard Key, der zum Verbinden mit dem Netzwerk notwendig ist." +msgstr "" +"WPA2/3 Pre-Shard Key, der zum Verbinden mit dem Netzwerk notwendig ist." #: src/common/WiFiSettings/constants.js:37 msgid "If set, network is not visible when scanning for available networks." @@ -307,55 +307,54 @@ msgstr "" #: src/common/WiFiSettings/constants.js:40 msgid "" -"The 2.4 GHz band is more widely supported by clients, but tends to have " -"more interference. The 5 GHz band is a newer standard and may not be " -"supported by all your devices. It usually has less interference, but the " -"signal does not carry so well indoors." +"The 2.4 GHz band is more widely supported by clients, but tends to have more " +"interference. The 5 GHz band is a newer standard and may not be supported by " +"all your devices. It usually has less interference, but the signal does not " +"carry so well indoors." msgstr "" -"Das 2,4 GHz-Band wird von allen Geräten unterstützt, ist aber tendenziell" -" stärker mit Interferenzen belastet. Das 5-GHz-Band ist ein neuerer " -"Standard, der möglicherweise nicht von allen Ihren Geräten unterstützt " -"wird. Es hat in der Regel weniger Interferenzen, aber das Signal trägt " -"nicht so gut in Innenräumen." +"Das 2,4 GHz-Band wird von allen Geräten unterstützt, ist aber tendenziell " +"stärker mit Interferenzen belastet. Das 5-GHz-Band ist ein neuerer Standard, " +"der möglicherweise nicht von allen Ihren Geräten unterstützt wird. Es hat in " +"der Regel weniger Interferenzen, aber das Signal trägt nicht so gut in " +"Innenräumen." #: src/common/WiFiSettings/constants.js:43 msgid "" -"Change this to adjust 802.11n/ac/ax mode of operation. 802.11n with 40 " -"MHz wide channels can yield higher throughput but can cause more " -"interference in the network. If you don't know what to choose, use the " -"default option with 20 MHz wide channel." +"Change this to adjust 802.11n/ac/ax mode of operation. 802.11n with 40 MHz " +"wide channels can yield higher throughput but can cause more interference in " +"the network. If you don't know what to choose, use the default option with " +"20 MHz wide channel." msgstr "" -"Ändern Sie diese Option, um den 802.11n/ac/ax-Betriebsmodus anzupassen. " -"40 MHz breite Kanäle können bei 802.11n mehr Daten transportieren, jedoch" -" zu mehr Interferenzen im Netzwerk führen. Wenn Sie nicht wissen, was Sie" -" wählen sollen, verwenden Sie die Voreinstellung mit 20 MHz Kanalbreite." +"Ändern Sie diese Option, um den 802.11n/ac/ax-Betriebsmodus anzupassen. 40 " +"MHz breite Kanäle können bei 802.11n mehr Daten transportieren, jedoch zu " +"mehr Interferenzen im Netzwerk führen. Wenn Sie nicht wissen, was Sie wählen " +"sollen, verwenden Sie die Voreinstellung mit 20 MHz Kanalbreite." #: src/common/WiFiSettings/constants.js:46 msgid "" "Enables Wi-Fi for guests, which is separated from LAN network. Devices " "connected to this network are allowed to access the internet, but aren't " "allowed to access other devices and the configuration interface of the " -"router. Parameters of the guest network can be set in the Guest network " -"tab." +"router. Parameters of the guest network can be set in the Guest network tab." msgstr "" -"Ermöglicht ein Wi-Fi für Gäste, das vom LAN-Netzwerk getrennt ist. " -"Geräte, die mit diesem Netzwerk verbunden sind, dürfen auf das Internet " -"zugreifen, nicht jedoch auf andere Geräte oder die " -"Konfigurationsschnittstelle des Routers. Die Parameter des Gastnetzwerks " -"können auf der Gastnetzwerk-Registerkarte eingestellt werden." +"Ermöglicht ein Wi-Fi für Gäste, das vom LAN-Netzwerk getrennt ist. Geräte, " +"die mit diesem Netzwerk verbunden sind, dürfen auf das Internet zugreifen, " +"nicht jedoch auf andere Geräte oder die Konfigurationsschnittstelle des " +"Routers. Die Parameter des Gastnetzwerks können auf der Gastnetzwerk-" +"Registerkarte eingestellt werden." #: src/common/WiFiSettings/constants.js:49 msgid "" -"The WPA3 standard is the new most secure encryption method that is " -"suggested to be used with any device that supports it. The older devices " -"without WPA3 support require older WPA2. If you experience issues with " -"connecting older devices, try to enable WPA2." +"The WPA3 standard is the new most secure encryption method that is suggested " +"to be used with any device that supports it. The older devices without WPA3 " +"support require older WPA2. If you experience issues with connecting older " +"devices, try to enable WPA2." msgstr "" "Der WPA3-Standard ist die neue Verschlüsselungsmethode mit der besten " "Sicherheit. Er empfiehlt sich für jedes Gerät, das ihn unterstützt, aber " -"ältere Geräte, bei denen das noch nicht der Fall ist, müssen auf das " -"ältere WPA2 ausweichen. Falls Sie Probleme dabei haben, ältere Geräte mit" -" dem WLAN zu verbinden, schalten Sie versuchsweise WPA2 ein." +"ältere Geräte, bei denen das noch nicht der Fall ist, müssen auf das ältere " +"WPA2 ausweichen. Falls Sie Probleme dabei haben, ältere Geräte mit dem WLAN " +"zu verbinden, schalten Sie versuchsweise WPA2 ein." #: src/form/components/ForisForm.js:121 msgid "Settings saved successfully" @@ -415,34 +414,25 @@ msgstr "Dies ist keine gültige MAC-Adresse." msgid "Doesn't contain a list of emails separated by commas." msgstr "Enthält keine Liste von E-Mails, die durch Kommas getrennt sind." -#~ msgid "An unknown error occurred. Check the console for more info." -#~ msgstr "" +#: src/common/RebootButton.js:27 +msgid "Reboot request failed." +msgstr "Neustart-Einleitung fehlgeschlagen." -#~ msgid "Reboot confirmation" -#~ msgstr "" +#: src/common/RebootButton.js:51 +msgid "Reboot" +msgstr "Systemneustart" + +#: src/common/RebootButton.js:66 +msgid "Warning!" +msgstr "Warnung!" + +#: src/common/RebootButton.js:68 +msgid "Are you sure you want to restart the router?" +msgstr "Sind Sie sicher, dass Sie den Router neu starten wollen?" + +#: src/common/RebootButton.js:73 +msgid "Confirm reboot" +msgstr "Neustart bestätigen" #~ msgid "Enable" #~ msgstr "Aktivieren" - -#~ msgid "" -#~ "\n" -#~ "If a number of wireless cards " -#~ "doesn't match, you may try to " -#~ "reset the Wi-Fi settings. Note " -#~ "that this will remove the\n" -#~ "current Wi-Fi configuration and restore the default values.\n" -#~ " " -#~ msgstr "" - -#~ msgid "Reboot request failed." -#~ msgstr "Neustart-Einleitung fehlgeschlagen." - -#~ msgid "Reboot" -#~ msgstr "Systemneustart" - -#~ msgid "Warning!" -#~ msgstr "Warnung!" - -#~ msgid "Are you sure you want to restart the router?" -#~ msgstr "Sind Sie sicher, dass Sie den Router neu starten wollen?" - From 53c7bb1a10a9de455118dd8fee3199f0c33d2a25 Mon Sep 17 00:00:00 2001 From: Pavel Borecki Date: Thu, 14 Nov 2024 13:25:12 +0000 Subject: [PATCH 3/9] Translated using Weblate (Czech) Currently translated at 100.0% (82 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/cs/ --- translations/cs/LC_MESSAGES/forisjs.po | 62 +++++++++++++------------- 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/translations/cs/LC_MESSAGES/forisjs.po b/translations/cs/LC_MESSAGES/forisjs.po index deb4e79..ad5ed54 100644 --- a/translations/cs/LC_MESSAGES/forisjs.po +++ b/translations/cs/LC_MESSAGES/forisjs.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2024-09-25 10:15+0000\n" -"Last-Translator: Lukas Jelinek \n" +"PO-Revision-Date: 2024-11-15 06:01+0000\n" +"Last-Translator: Pavel Borecki \n" +"Language-Team: Czech \n" "Language: cs\n" -"Language-Team: Czech \n" -"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" +"X-Generator: Weblate 5.9-dev\n" "Generated-By: Babel 2.16.0\n" #: src/api/utils.js:61 @@ -49,74 +50,72 @@ msgid "Copy" msgstr "Kopírovat" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:60 -#, fuzzy msgid "Action successful." -msgstr "Nastavení úspěšně uložena" +msgstr "Akce úspěšná." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:65 msgid "Action failed." -msgstr "" +msgstr "Akce se nezdařila." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:125 msgid "Cancel" msgstr "Zrušit" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:128 -#, fuzzy msgid "Confirm" -msgstr "Potvrdit restart" +msgstr "Potvrdit" #: src/common/RichTable/RichTableHeader.js:29 msgid "Sort ascending" -msgstr "" +msgstr "Seřadit vzestupně" #: src/common/RichTable/RichTableHeader.js:30 msgid "Sort descending" -msgstr "" +msgstr "Seřadit sestupně" #: src/common/RichTable/RichTableHeader.js:31 msgid "Clear sort" -msgstr "" +msgstr "Vyčistit řazení" #: src/common/RichTable/RichTablePagination.js:65 msgid "Pagination navigation bar" -msgstr "" +msgstr "Navigační pruh stránkování" #: src/common/RichTable/RichTablePagination.js:71 msgid "First page" -msgstr "" +msgstr "První stránka" #: src/common/RichTable/RichTablePagination.js:77 msgid "Previous page" -msgstr "" +msgstr "Předchozí stránka" #: src/common/RichTable/RichTablePagination.js:83 msgid "Next page" -msgstr "" +msgstr "Následující stránka" #: src/common/RichTable/RichTablePagination.js:89 msgid "Last page" -msgstr "" +msgstr "Poslední stránka" #: src/common/RichTable/RichTablePagination.js:95 msgid "Page" -msgstr "" +msgstr "Stránka" #: src/common/RichTable/RichTablePagination.js:98 msgid "of" -msgstr "" +msgstr "z" #: src/common/RichTable/RichTablePagination.js:106 msgid "Rows per page:" -msgstr "" +msgstr "Řádků na stránku:" #: src/common/RichTable/RichTablePagination.js:109 msgid "Select rows per page" -msgstr "" +msgstr "Vyberte řádky na stránku" #: src/common/RichTable/RichTablePagination.js:121 msgid "All" -msgstr "" +msgstr "Vše" #: src/common/WiFiSettings/ResetWiFiSettings.js:39 msgid "An error occurred during resetting Wi-Fi settings." @@ -137,9 +136,9 @@ msgid "" "Fi settings. Note that this will remove the current Wi-Fi configuration " "and restore the default values." msgstr "" -"Pokud se počet bezdrátových karet neshoduje, můžete zkusit obnovit " -"nastavení Wi-Fi. Je třeba upozornit, že se tím odstraní aktuální " -"konfigurace Wi-Fi a obnoví se výchozí hodnoty." +"Pokud se počet bezdrátových karet neshoduje, můžete zkusit obnovit nastavení " +"Wi-Fi. Je třeba upozornit, že se tím odstraní stávající nastavení Wi-Fi a " +"obnoví se výchozí hodnoty." #: src/common/WiFiSettings/WiFiForm.js:97 msgid "Wi-Fi ${deviceID + 1}" @@ -175,7 +174,7 @@ msgid "" "In case you have trouble connecting to WiFi Access Point, try disabling " "Management Frame Protection." msgstr "" -"Máte-li problémy při připojování k přístupovému bodu Wi-Fi, zkuste " +"Pokud máte problémy při připojování k přístupovému bodu Wi-Fi, zkuste " "vypnout Management Frame Protection." #: src/common/WiFiSettings/WiFiForm.js:262 @@ -226,7 +225,7 @@ msgstr "Je třeba, aby heslo obsahovalo alespoň 8 znaků" #: src/common/WiFiSettings/WiFiSettings.js:91 #: src/common/WiFiSettings/WiFiSettings.js:110 msgid "Password must not contain more than 63 symbols" -msgstr "Heslo nesmí obsahovat více než 63 znaků" +msgstr "Heslo nemůže obsahovat více než 63 znaků" #: src/common/WiFiSettings/constants.js:9 msgid "Disabled" @@ -363,11 +362,11 @@ msgstr "" #: src/form/components/SubmitButton.js:32 msgid "Updating" -msgstr "Aktualizuji" +msgstr "Aktualizuje se" #: src/form/components/SubmitButton.js:35 msgid "Load settings" -msgstr "Načítám nastavení" +msgstr "Načíst nastavení" #: src/form/components/SubmitButton.js:38 msgid "Save" @@ -399,7 +398,7 @@ msgstr "Toto není platné doménové jméno." #: src/utils/validations.js:18 msgid "This is not a valid DUID." -msgstr "Tohle není platné DUID." +msgstr "Toto není platné DUID." #: src/utils/validations.js:19 msgid "This is not a valid MAC address." @@ -446,4 +445,3 @@ msgstr "Neobsahuje seznam e-mailů oddělených čárkou." #~ msgid "Are you sure you want to restart the router?" #~ msgstr "Opravdu chcete router restartovat?" - From e8e81b36dc33e30b7c40dd0c9d88fb886cdc1e47 Mon Sep 17 00:00:00 2001 From: Moha684 Date: Tue, 3 Dec 2024 09:37:17 +0000 Subject: [PATCH 4/9] Translated using Weblate (French) Currently translated at 68.2% (56 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/fr/ --- translations/fr/LC_MESSAGES/forisjs.po | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/translations/fr/LC_MESSAGES/forisjs.po b/translations/fr/LC_MESSAGES/forisjs.po index eaeca53..e9b5c84 100644 --- a/translations/fr/LC_MESSAGES/forisjs.po +++ b/translations/fr/LC_MESSAGES/forisjs.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2024-07-27 01:09+0000\n" +"PO-Revision-Date: 2024-12-04 10:00+0000\n" "Last-Translator: Moha684 \n" +"Language-Team: French \n" "Language: fr\n" -"Language-Team: French \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.9-dev\n" "Generated-By: Babel 2.16.0\n" #: src/api/utils.js:61 @@ -38,7 +39,7 @@ msgstr "Une erreur d’API inconnue s’est produite." #: src/bootstrap/Alert.js:73 src/bootstrap/Modal.js:101 #: src/common/WiFiSettings/WiFiQRCode.js:89 msgid "Close" -msgstr "" +msgstr "Fermer" #: src/bootstrap/CopyInput.js:56 msgid "Copied!" @@ -49,13 +50,12 @@ msgid "Copy" msgstr "Copier" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:60 -#, fuzzy msgid "Action successful." -msgstr "Paramètres enregistrés avec succès" +msgstr "Paramètres enregistrés avec succès." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:65 msgid "Action failed." -msgstr "" +msgstr "L'enregistrement des paramètres a échoué." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:125 msgid "Cancel" @@ -116,7 +116,7 @@ msgstr "" #: src/common/RichTable/RichTablePagination.js:121 msgid "All" -msgstr "" +msgstr "Tout" #: src/common/WiFiSettings/ResetWiFiSettings.js:39 msgid "An error occurred during resetting Wi-Fi settings." @@ -473,4 +473,3 @@ msgstr "" #~ msgid "Are you sure you want to restart the router?" #~ msgstr "Voulez-vous vraiment redémarrer le routeur ?" - From 2feedec8d14705d8db8451923ceb2f1b4035d9e6 Mon Sep 17 00:00:00 2001 From: ButterflyOfFire Date: Fri, 13 Dec 2024 17:31:51 +0000 Subject: [PATCH 5/9] Translated using Weblate (French) Currently translated at 78.0% (64 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/fr/ --- translations/fr/LC_MESSAGES/forisjs.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/translations/fr/LC_MESSAGES/forisjs.po b/translations/fr/LC_MESSAGES/forisjs.po index e9b5c84..c06fcf2 100644 --- a/translations/fr/LC_MESSAGES/forisjs.po +++ b/translations/fr/LC_MESSAGES/forisjs.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2024-12-04 10:00+0000\n" -"Last-Translator: Moha684 \n" +"PO-Revision-Date: 2024-12-14 10:00+0000\n" +"Last-Translator: ButterflyOfFire \n" "Language-Team: French \n" "Language: fr\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 5.9-dev\n" +"X-Generator: Weblate 5.9-rc\n" "Generated-By: Babel 2.16.0\n" #: src/api/utils.js:61 @@ -84,35 +84,35 @@ msgstr "" #: src/common/RichTable/RichTablePagination.js:71 msgid "First page" -msgstr "" +msgstr "Première page" #: src/common/RichTable/RichTablePagination.js:77 msgid "Previous page" -msgstr "" +msgstr "Page précédente" #: src/common/RichTable/RichTablePagination.js:83 msgid "Next page" -msgstr "" +msgstr "Page suivante" #: src/common/RichTable/RichTablePagination.js:89 msgid "Last page" -msgstr "" +msgstr "Dernière page" #: src/common/RichTable/RichTablePagination.js:95 msgid "Page" -msgstr "" +msgstr "Page" #: src/common/RichTable/RichTablePagination.js:98 msgid "of" -msgstr "" +msgstr "de" #: src/common/RichTable/RichTablePagination.js:106 msgid "Rows per page:" -msgstr "" +msgstr "Lignes par page :" #: src/common/RichTable/RichTablePagination.js:109 msgid "Select rows per page" -msgstr "" +msgstr "Sélectionnez les lignes par page" #: src/common/RichTable/RichTablePagination.js:121 msgid "All" From b6312075d24f84e1acd84cf44474065e5abbb1a0 Mon Sep 17 00:00:00 2001 From: Atec Date: Fri, 13 Dec 2024 09:55:46 +0000 Subject: [PATCH 6/9] Translated using Weblate (Slovak) Currently translated at 100.0% (82 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/sk/ --- translations/sk/LC_MESSAGES/forisjs.po | 44 ++++++++++++-------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/translations/sk/LC_MESSAGES/forisjs.po b/translations/sk/LC_MESSAGES/forisjs.po index 2d12350..bde5757 100644 --- a/translations/sk/LC_MESSAGES/forisjs.po +++ b/translations/sk/LC_MESSAGES/forisjs.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2024-09-09 18:09+0000\n" +"PO-Revision-Date: 2024-12-14 10:00+0000\n" "Last-Translator: Atec \n" +"Language-Team: Slovak \n" "Language: sk\n" -"Language-Team: Slovak \n" -"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" +"X-Generator: Weblate 5.9-rc\n" "Generated-By: Babel 2.16.0\n" #: src/api/utils.js:61 @@ -49,74 +50,72 @@ msgid "Copy" msgstr "Kopírovať" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:60 -#, fuzzy msgid "Action successful." -msgstr "Nastavenia boli úspešne uložené" +msgstr "Akcia úspešná." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:65 msgid "Action failed." -msgstr "" +msgstr "Akcia neúspešná." #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:125 msgid "Cancel" msgstr "Zrušiť" #: src/common/ActionButtonWithModal/ActionButtonWithModal.js:128 -#, fuzzy msgid "Confirm" -msgstr "Potvrdiť reštart" +msgstr "Potvrdiť" #: src/common/RichTable/RichTableHeader.js:29 msgid "Sort ascending" -msgstr "" +msgstr "Zoradiť vzostupne" #: src/common/RichTable/RichTableHeader.js:30 msgid "Sort descending" -msgstr "" +msgstr "Zoradiť zostupne" #: src/common/RichTable/RichTableHeader.js:31 msgid "Clear sort" -msgstr "" +msgstr "Vymazať zoradenie" #: src/common/RichTable/RichTablePagination.js:65 msgid "Pagination navigation bar" -msgstr "" +msgstr "Navigačný pás stránkovania" #: src/common/RichTable/RichTablePagination.js:71 msgid "First page" -msgstr "" +msgstr "Prvá strana" #: src/common/RichTable/RichTablePagination.js:77 msgid "Previous page" -msgstr "" +msgstr "Predchádzajúca strana" #: src/common/RichTable/RichTablePagination.js:83 msgid "Next page" -msgstr "" +msgstr "Nasledujúca strana" #: src/common/RichTable/RichTablePagination.js:89 msgid "Last page" -msgstr "" +msgstr "Posledná strana" #: src/common/RichTable/RichTablePagination.js:95 msgid "Page" -msgstr "" +msgstr "Strana" #: src/common/RichTable/RichTablePagination.js:98 msgid "of" -msgstr "" +msgstr "z" #: src/common/RichTable/RichTablePagination.js:106 msgid "Rows per page:" -msgstr "" +msgstr "Počet riadkov na stranu:" #: src/common/RichTable/RichTablePagination.js:109 msgid "Select rows per page" -msgstr "" +msgstr "Vyberte počet riadkov na stranu" #: src/common/RichTable/RichTablePagination.js:121 msgid "All" -msgstr "" +msgstr "Všetky" #: src/common/WiFiSettings/ResetWiFiSettings.js:39 msgid "An error occurred during resetting Wi-Fi settings." @@ -447,4 +446,3 @@ msgstr "Neobsahuje zoznam e-mailov oddelených čiarkami." #~ msgid "Are you sure you want to restart the router?" #~ msgstr "Naozaj sa má router reštartovať?" - From 1c2a4518d3d1e106379d2a63e5ab8067631d2a83 Mon Sep 17 00:00:00 2001 From: Thanasis Date: Fri, 17 Jan 2025 09:51:05 +0000 Subject: [PATCH 7/9] Translated using Weblate (Greek) Currently translated at 6.0% (5 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/el/ --- translations/el/LC_MESSAGES/forisjs.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/translations/el/LC_MESSAGES/forisjs.po b/translations/el/LC_MESSAGES/forisjs.po index 84e41d3..1298de2 100644 --- a/translations/el/LC_MESSAGES/forisjs.po +++ b/translations/el/LC_MESSAGES/forisjs.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2021-02-09 16:50+0000\n" -"Last-Translator: Michalis \n" +"PO-Revision-Date: 2025-01-17 09:53+0000\n" +"Last-Translator: Thanasis \n" +"Language-Team: Greek \n" "Language: el\n" -"Language-Team: Greek \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10-dev\n" "Generated-By: Babel 2.16.0\n" #: src/api/utils.js:61 @@ -38,7 +39,7 @@ msgstr "" #: src/bootstrap/Alert.js:73 src/bootstrap/Modal.js:101 #: src/common/WiFiSettings/WiFiQRCode.js:89 msgid "Close" -msgstr "" +msgstr "Κλείσιμο" #: src/bootstrap/CopyInput.js:56 msgid "Copied!" @@ -483,4 +484,3 @@ msgstr "" #~ msgid "Are you sure you want to restart the router?" #~ msgstr "Είστε βέβαιοι ότι θέλετε να κάνετε επανεκκίνηση του δρομολογητή;" - From 8ddb590ba8621fe10f0caef96b34be5abed1b04d Mon Sep 17 00:00:00 2001 From: Thanasis Date: Fri, 17 Jan 2025 09:53:06 +0000 Subject: [PATCH 8/9] Translated using Weblate (Greek) Currently translated at 7.3% (6 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/el/ --- translations/el/LC_MESSAGES/forisjs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/el/LC_MESSAGES/forisjs.po b/translations/el/LC_MESSAGES/forisjs.po index 1298de2..b9ea1ab 100644 --- a/translations/el/LC_MESSAGES/forisjs.po +++ b/translations/el/LC_MESSAGES/forisjs.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2025-01-17 09:53+0000\n" +"PO-Revision-Date: 2025-01-17 10:02+0000\n" "Last-Translator: Thanasis \n" "Language-Team: Greek \n" @@ -180,7 +180,7 @@ msgstr "" #: src/common/WiFiSettings/WiFiForm.js:303 msgid "Custom" -msgstr "" +msgstr "Προσαρμοσμένο" #: src/common/WiFiSettings/WiFiGuestForm.js:43 msgid "Enable Guest Wi-Fi" From d46629a1bdf3e272efe53c8fb85487d1f23e0feb Mon Sep 17 00:00:00 2001 From: Thanasis Date: Fri, 17 Jan 2025 10:02:24 +0000 Subject: [PATCH 9/9] Translated using Weblate (Greek) Currently translated at 8.5% (7 of 82 strings) Translation: Turris/Foris JS Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/el/ --- translations/el/LC_MESSAGES/forisjs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/el/LC_MESSAGES/forisjs.po b/translations/el/LC_MESSAGES/forisjs.po index b9ea1ab..b4f9f7a 100644 --- a/translations/el/LC_MESSAGES/forisjs.po +++ b/translations/el/LC_MESSAGES/forisjs.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-13 14:06+0100\n" -"PO-Revision-Date: 2025-01-17 10:02+0000\n" +"PO-Revision-Date: 2025-01-18 11:00+0000\n" "Last-Translator: Thanasis \n" "Language-Team: Greek \n" @@ -226,7 +226,7 @@ msgstr "" #: src/common/WiFiSettings/constants.js:9 msgid "Disabled" -msgstr "" +msgstr "Απενεργοποιημένο" #: src/common/WiFiSettings/constants.js:10 msgid "802.11n - 20 MHz wide channel"