summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/po/ro
diff options
context:
space:
mode:
authorDaniel Nilsson <daniel.nilsson94@outlook.com>2024-02-28 23:12:55 +0100
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-03-19 17:22:44 +0100
commitc608a15a9c53a19654f5a36ba2056a7a1eb561da (patch)
treef6aaa47d4dc22d6ac77d4322d9109b8c6bbdf6f9 /applications/luci-app-attendedsysupgrade/po/ro
parent374af8b522796424e2b915a4113ed37d22ae653c (diff)
luci-app-attendedsysupgrade: don't reassign data and firmware info
The reassignment of the variable that holds the package information once you get a response from the sysupgrade server caused the package list (which is only loaded once when entering the app) to become an array instead of an object (since that's how the response is structured), which gave the result of once cancelling the firmware upgrade, the package list is now an array, making the package list unusable. This commit updates the variables that shouldn't be changed (data and firmware) to constants and all handle methods to take these values as parameters instead, allowing us to avoid the possible reassignment which will otherwise result in unexpected control flows. Ref: #6284 Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/po/ro')
-rw-r--r--applications/luci-app-attendedsysupgrade/po/ro/attendedsysupgrade.po104
1 files changed, 52 insertions, 52 deletions
diff --git a/applications/luci-app-attendedsysupgrade/po/ro/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/ro/attendedsysupgrade.po
index 1f80b64726..0deb0f1a47 100644
--- a/applications/luci-app-attendedsysupgrade/po/ro/attendedsysupgrade.po
+++ b/applications/luci-app-attendedsysupgrade/po/ro/attendedsysupgrade.po
@@ -24,7 +24,7 @@ msgid "Advanced Mode"
msgstr "Modul avansat"
#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js:11
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:610
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:600
#: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3
msgid "Attended Sysupgrade"
msgstr "a participat Sysupgrade"
@@ -33,20 +33,20 @@ msgstr "a participat Sysupgrade"
msgid "Attendedsysupgrade Configuration."
msgstr "A participat la configurațiaysupgrade."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:521
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:511
msgid "Board Name / Profile"
msgstr "Numele Plăcii / Profil"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:132
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:116
msgid "Build Date"
msgstr "Data construirii"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:209
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:193
msgid "Building Firmware..."
msgstr "Se crează firmware-ul..."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:172
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:536
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:156
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:526
msgid "Cancel"
msgstr "Anulare"
@@ -54,10 +54,10 @@ msgstr "Anulare"
msgid "Client"
msgstr "Client"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:247
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:381
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:436
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:570
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:237
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:374
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:429
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:563
msgid "Close"
msgstr "Închideți"
@@ -65,21 +65,21 @@ msgstr "Închideți"
msgid "Configuration"
msgstr "Configurație"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:430
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:423
msgid "Could not reach API at \"%s\". Please try again later."
msgstr ""
"Nu s-a putut accesa API la \"%s\". Vă rugăm să încercați din nou mai târziu."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:529
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:625
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:519
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:615
msgid "Currently running: %s - %s"
msgstr "În prezent rulează: %s - %s"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:299
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:289
msgid "Download"
msgstr "Descărcați"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:143
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:127
msgid "Download firmware image"
msgstr "Descărcați imaginea firmware"
@@ -87,32 +87,32 @@ msgstr "Descărcați imaginea firmware"
msgid "Downloading ImageBuilder archive"
msgstr "Descărcarea arhivei ImageBuilder"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:342
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:335
msgid "Downloading firmware from server to browser"
msgstr "Descărcarea firmware-ului de pe server pe browser"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:338
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:331
msgid "Downloading..."
msgstr "Descărcare..."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:251
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:241
msgid "Error building the firmware image"
msgstr "Eroare la crearea imaginii firmware"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:426
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:419
msgid "Error connecting to upgrade server"
msgstr "Eroare de conectare la serverul de actualizare"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:379
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:372
msgid "Error during download of firmware. Please try again"
msgstr ""
"Eroare în timpul descărcării firmware-ului. Vă rugăm să încercați din nou"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:134
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:118
msgid "Filename"
msgstr "Numele fișierului"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:136
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:120
msgid "Filesystem"
msgstr "Sistem de fișiere"
@@ -124,27 +124,27 @@ msgstr "Generarea imaginii firmware"
msgid "Grant UCI access to LuCI app attendedsysupgrade"
msgstr "Acordarea accesului UCI la aplicația LuCI attendedsysupgrade"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:182
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:166
msgid "Install firmware image"
msgstr "Instalați imaginea firmware"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:388
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:381
msgid "Installing the sysupgrade. Do not unpower device!"
msgstr "Instalarea sysupgrade. Nu deconectați dispozitivul!"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:384
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:377
msgid "Installing..."
msgstr "Se instalează..."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:168
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:152
msgid "Keep settings and retain the current configuration"
msgstr "Păstrați setările și păstrați configurația curentă"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:526
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:516
msgid "New firmware upgrade available"
msgstr "Este disponibil un nou upgrade de firmware"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:561
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:554
msgid "No upgrade available"
msgstr "Niciun upgrade disponibil"
@@ -161,23 +161,23 @@ msgstr ""
msgid "Overview"
msgstr "Prezentare generală"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:522
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512
msgid "Packages"
msgstr "Pachete"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:229
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:219
msgid "Please report the error message and request"
msgstr "Vă rugăm să raportați mesajul de eroare și să solicitați"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:128
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:112
msgid "Profile"
msgstr "Profil"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:213
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:197
msgid "Progress: %s%% %s"
msgstr "Progres: %s%% %s"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:199
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:183
msgid "Queued..."
msgstr "În așteptare..."
@@ -185,7 +185,7 @@ msgstr "În așteptare..."
msgid "Rebuilders"
msgstr "Reconstructorii"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:146
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:130
msgid "Rebuilds"
msgstr "Reconstrucții"
@@ -193,23 +193,23 @@ msgstr "Reconstrucții"
msgid "Received build request"
msgstr "Cerere de construcție primită"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:231
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:221
msgid "Request Data:"
msgstr "Solicitați date:"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:555
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:548
msgid "Request firmware image"
msgstr "Solicitați imaginea firmware"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:203
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:187
msgid "Request in build queue position %s"
msgstr "Cerere aflată în coada de așteptare în poziția %s"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:122
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:106
msgid "SHA256"
msgstr "SHA256"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:636
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:626
msgid "Search for firmware upgrade"
msgstr "Căutați actualizări firmware"
@@ -221,11 +221,11 @@ msgstr "Căutați noi sysupgrades la deschiderea filei"
msgid "Search on opening"
msgstr "Căutare la deschidere"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:417
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:410
msgid "Searching for an available sysupgrade of %s - %s"
msgstr "Căutarea unui sysupgrade disponibil de %s - %s"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:413
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:406
msgid "Searching..."
msgstr "Căutare..."
@@ -233,7 +233,7 @@ msgstr "Căutare..."
msgid "Server"
msgstr "Serverul"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:225
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:215
msgid "Server response: %s"
msgstr "Răspunsul serverului: %s"
@@ -245,15 +245,15 @@ msgstr "Configurare ImageBuilder"
msgid "Show advanced options like package list modification"
msgstr "Afișați opțiunile avansate, cum ar fi modificarea listei de pachete"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:187
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:171
msgid "Successfully created firmware image"
msgstr "Imaginea firmware a fost creată cu succes"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:130
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:114
msgid "Target"
msgstr "Țintă"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:614
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:604
msgid ""
"The attended sysupgrade service allows to easily upgrade vanilla and custom "
"firmware images."
@@ -261,22 +261,22 @@ msgstr ""
"Serviciul sysupgrade permite actualizarea cu ușurință a imaginilor de "
"firmware vanilie și personalizate."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:564
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:557
msgid "The device runs the latest firmware version %s - %s"
msgstr "Dispozitivul rulează cea mai recentă versiune de firmware %s - %s"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:620
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:610
msgid ""
"This is done by building a new firmware on demand via an online service."
msgstr ""
"Acest lucru se face prin construirea unui nou firmware la cerere prin "
"intermediul unui serviciu online."
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:364
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:357
msgid "Uploading firmware from browser to device"
msgstr "Încărcarea firmware-ului din browser pe dispozitiv"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:360
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:353
msgid "Uploading..."
msgstr "Se încarcă..."
@@ -284,15 +284,15 @@ msgstr "Se încarcă..."
msgid "Validate package selection"
msgstr "Validarea selecției pachetului"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:120
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:104
msgid "Version"
msgstr "Versiune"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:376
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:369
msgid "Wrong checksum"
msgstr "Suma de control greșită"
-#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:506
+#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:496
msgid "[installed] %s"
msgstr "[installed] %s"