summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/po
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-10-13 18:45:35 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2020-10-13 18:45:35 +0300
commit3d1b6a12f61d876ccff246205b7a6440113116e3 (patch)
tree2ab7f92537d4cf3fc992b6e2aa42c7ae26bc26e9 /applications/luci-app-advanced-reboot/po
parentf583d47fc256eac3f187f0b5488777471e8e7bef (diff)
treewide: i18n - sync translations
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-advanced-reboot/po')
-rw-r--r--applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po199
-rw-r--r--applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po144
-rw-r--r--applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po179
-rw-r--r--applications/luci-app-advanced-reboot/po/de/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/el/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/en/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/es/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/he/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po190
-rw-r--r--applications/luci-app-advanced-reboot/po/it/advanced-reboot.po165
-rw-r--r--applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po214
-rw-r--r--applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po180
-rw-r--r--applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po189
-rw-r--r--applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po176
-rw-r--r--applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po166
-rw-r--r--applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po183
-rw-r--r--applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot143
-rw-r--r--applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po187
-rw-r--r--applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po161
-rw-r--r--applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po181
-rw-r--r--applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po183
-rw-r--r--applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po177
33 files changed, 2507 insertions, 3150 deletions
diff --git a/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
index d8426c1699..10cf0fc6ec 100644
--- a/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "إعادة تشغيل متقدمة"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "لبديل"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "إلغاء"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "تم تطبيق التغييرات."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "مضغوط"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "تؤكد"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "حالي"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "خطأ:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "البرامج الثابتة"
@@ -57,85 +46,68 @@ msgstr "البرامج الثابتة"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "امنح UCI والوصول إلى الملفات لإعادة تشغيل luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "جار التحميل"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "لا يمكن الوصول إلى fw_printenv أو fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "تقسيم"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "أقسام"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "أداء السلطة ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "ايقاف تشغيل الجهاز"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "تقدم"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "اعادة التشغيل"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "إعادة تشغيل الجهاز إلى قسم بديل"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "إعادة التشغيل إلى قسم بديل ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "إعادة التشغيل إلى القسم الحالي"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "جارٍ إعادة التشغيل ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "اغلاق..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "الحالة"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "نظام"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-#, fuzzy
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"يقوم النظام بإعادة التشغيل الآن. <br /> لا تقم بإيقاف تشغيل الجهاز! <br /> "
-"انتظر بضع دقائق قبل محاولة إعادة الاتصال. قد يكون من الضروري تجديد عنوان "
-"الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب إعداداتك."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +119,7 @@ msgstr ""
"الضروري تجديد عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب "
"إعداداتك."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,40 +128,31 @@ msgstr ""
"النظام مغلق الآن. <br /> لا تقذف الجهاز! <br /> قد يكون من الضروري تجديد "
"عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، بناءً على إعداداتك."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "تعذر العثور على قسم علامة التمهيد المزدوج."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "غير قادر على الحصول على متغير بيئة البرامج الثابتة:٪ s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "غير قادر على تعيين إدخال قسم إشارة التمهيد المزدوج للقسم:٪ s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "غير قادر على تعيين متغير بيئة البرامج الثابتة:٪ s إلى٪ s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "مجهول"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -203,44 +166,74 @@ msgstr ""
"تحذير: قد يحتوي القسم البديل على إعداداته الخاصة به والبرامج الثابتة "
"المختلفة تمامًا. <br /> <br /> نظرًا لاختلاف تكوين الشبكة و WiFi SSID / كلمة "
"المرور على القسم البديل ، قد تضطر إلى ضبط إعدادات الكمبيوتر حتى تتمكن من "
-"للوصول إلى جهازك بمجرد إعادة تشغيله. <br /> <br /> يُرجى أيضًا الانتباه إلى "
-"أن البرامج الثابتة للقسم البديل قد لا توفر طريقة سهلة لتحويل القسم النشط "
-"وإعادة التشغيل إلى القسم النشط حاليًا. <br /> <br / > انقر فوق \"متابعة\" "
-"أدناه لإعادة تشغيل الجهاز إلى قسم بديل."
+"للوصول إلى جهازك بمجرد إعادة تشغيله. <br /> <br /> يُرجى أيضًا الانتباه إلى أن "
+"البرامج الثابتة للقسم البديل قد لا توفر طريقة سهلة لتحويل القسم النشط وإعادة "
+"التشغيل إلى القسم النشط حاليًا. <br /> <br / > انقر فوق \"متابعة\" أدناه "
+"لإعادة تشغيل الجهاز إلى قسم بديل."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-"تحذير: قد يؤدي إيقاف التشغيل إلى إعادة تشغيل جهاز لا يدعم إيقاف التشغيل. <br "
-"/> <br /> انقر فوق \"متابعة\" أدناه لإيقاف تشغيل جهازك."
+"تحذير: قد يؤدي إيقاف التشغيل إلى إعادة تشغيل جهاز لا يدعم إيقاف التشغيل. "
+"<br /> <br /> انقر فوق \"متابعة\" أدناه لإيقاف تشغيل جهازك."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "في انتظار تطبيق التغييرات ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "تحذير: الجهاز (٪ s) غير معروف أو ليس جهازًا مزدوج القسم!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "تحذير: هناك تغييرات غير محفوظة ستضيع عند إعادة التشغيل!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "تحذير: هذا النظام لا يدعم إيقاف التشغيل!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "تحذير: تعذر الحصول على معلومات الجهاز!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "محاولة تحميل قسم بديل (mtd٪ s)"
+#~ msgid "Alternative"
+#~ msgstr "لبديل"
+
+#~ msgid "Changes applied."
+#~ msgstr "تم تطبيق التغييرات."
+
+#~ msgid "Current"
+#~ msgstr "حالي"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "محاولة إلغاء تحميل قسم بديل (mtd٪ s)"
+#~ msgid "Loading"
+#~ msgstr "جار التحميل"
+
+#~ msgid "Rebooting..."
+#~ msgstr "جارٍ إعادة التشغيل ..."
+
+#~ msgid "System"
+#~ msgstr "نظام"
+
+#, fuzzy
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "يقوم النظام بإعادة التشغيل الآن. <br /> لا تقم بإيقاف تشغيل الجهاز! <br /"
+#~ "> انتظر بضع دقائق قبل محاولة إعادة الاتصال. قد يكون من الضروري تجديد "
+#~ "عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب إعداداتك."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "في انتظار تطبيق التغييرات ..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "محاولة تحميل قسم بديل (mtd٪ s)"
+
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "محاولة إلغاء تحميل قسم بديل (mtd٪ s)"
diff --git a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
index a1b7efeca8..06ecd62c83 100644
--- a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
index 88228bb96b..9fb3a14ea7 100644
--- a/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
index 08ff494ded..fec6b30c10 100644
--- a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.9.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -56,81 +45,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "S’està carregant"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Estat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -138,47 +114,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +157,35 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Loading"
+#~ msgstr "S’està carregant"
#~ msgid "Action"
#~ msgstr "Acció"
diff --git a/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
index b1884c2df3..769392a398 100644
--- a/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.0-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Rozšířený restart"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativní"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Storno"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Změny byly provedeny."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Potvrdit"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Aktuální"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "CHYBA:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,69 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Načítání"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
"Není přístup k nástrojům /usr/sbin/fw_printenv nebo /usr/sbin/fw_setenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Oddíl"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Oddíly"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Proveďte vypnutí..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Vypnutí zařízení"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Pokračovat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Restartovat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Restartování zařízení do alternativního oddílu"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Restartovat do alternativního oddílu..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Restartovat do aktuálního oddílu"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Probíhá restartování…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Probíhá vypínání..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Stav"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Systém"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Systém se nyní znovu bootuje.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Počkejte několik "
-"minut, než se pokusíte znovu připojit. Může být nutné obnovit IP adresu "
-"počítače pro spojení se zařízením, a to v závislosti na nastavení."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +119,7 @@ msgstr ""
"obnovit IP adresu počítače pro spojení se zařízením, a to v závislosti na "
"nastavení."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -155,40 +128,31 @@ msgstr ""
"Systém se nyní vypíná.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Může být nutné obnovit "
"IP adresu počítače pro spojení se zařízením, a to v závislosti na nastavení."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Nelze najít druhý oddíl s příznakem pro bootovaní."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Neznámé"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -208,7 +172,7 @@ msgstr ""
"aktuálně aktivního oddílu. <br /> <br /> Klepnutím na 'Pokračovat' níže "
"restartujte zařízení do jiného oddílu."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -217,35 +181,58 @@ msgstr ""
"VAROVÁNÍ: Vypnutí může vést k restartu zařízení, které nepodporuje vypínání."
"<br /> <br /> Chcete-li zařízení vypnout, klepněte níže na 'Pokračovat'."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Čekání na provedení změn..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Varování: Zařízení (%s) je neznámé nebo se nejedná o zařízení se dvěma "
"oddíly!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Varování: Existují neuložené změny, které se po restartu ztratí!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Varování: Tento systém nepodporuje vypínání!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Varování: Nelze získat informace o zařízení!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativní"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Změny byly provedeny."
+
+#~ msgid "Current"
+#~ msgstr "Aktuální"
+
+#~ msgid "Loading"
+#~ msgstr "Načítání"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Probíhá restartování…"
+
+#~ msgid "System"
+#~ msgstr "Systém"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Systém se nyní znovu bootuje.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Počkejte "
+#~ "několik minut, než se pokusíte znovu připojit. Může být nutné obnovit IP "
+#~ "adresu počítače pro spojení se zařízením, a to v závislosti na nastavení."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Čekání na provedení změn..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nelze získat proměnnou prostředí firmwaru"
diff --git a/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
index 78a6252ca3..636f9b1364 100644
--- a/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Erweitertes Neustarten"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternative"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Abbrechen"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Änderungen angewendet."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Komprimiert"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Bestätigen"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Aktuell"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "FEHLER:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Gewähre UCI und Datei-Zugriff auf luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Lade"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Kein Zugriff auf fw_printenv oder fw_setenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partition"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partitionen"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Ausschalten durchführen....."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Gerät ausschalten"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Weiter"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Neu Starten"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Gerät von einer alternativen Partition neu starten"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Von alternativer Partition neu starten..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Von aktueller Partition neu starten"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Starte neu..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Fahre herunter..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Das System wird jetzt neu gestartet.<br /> DAS GERÄT NICHT AUSSCHALTEN!<br /"
-"> Einige Minuten warten, bevor versucht wird, die Verbindung "
-"wiederherzustellen. Es kann notwendig sein, die Adresse des Computers zu "
-"erneuern, um das Gerät je nach Einstellungen wieder zu erreichen."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +119,7 @@ msgstr ""
"Computers zu erneuern, um das Gerät je nach den Einstellungen wieder zu "
"erreichen."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -157,40 +129,31 @@ msgstr ""
"Es kann notwendig sein, die Adresse des Computers zu erneuern, um das Gerät "
"je nach den Einstellungen wieder zu erreichen."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Dual Boot Flag-Partition konnte nicht gefunden werden."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Konnte Firmware-Umgebungsvariable nicht finden: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Konnte Partition nicht mit Dualboot-Kennzeichnung markieren: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Konnte Firmware-Umgebungsvariable nicht setzen: %s = %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Unbekannt"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -211,7 +174,7 @@ msgstr ""
"wieder auf die aktuell aktive Partition zu booten.<br /><br /> Klicken Sie "
"unten auf \"Weiter\", um das Gerät neu zu starten."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -221,35 +184,65 @@ msgstr ""
"Ausschalten nicht unterstützt.<br /><br /> Auf \"Fortfahren\" klicken, um "
"das Gerät auszuschalten."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Änderungen werden angewandt..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "Warnung: Gerät (%s) ist unbekannt oder ist kein Dual-Partitionsgerät!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Achtung: Es gibt ungespeicherte Änderungen die bei einem Neustart verloren "
"gehen!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Warnung: Dieses System unterstützt kein Ausschalten!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Warnung: Geräteinformationen konnten nicht abgerufen werden!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "Versuche, alternative Partition einzuhängen (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternative"
+
+#~ msgid "Changes applied."
+#~ msgstr "Änderungen angewendet."
+
+#~ msgid "Current"
+#~ msgstr "Aktuell"
+
+#~ msgid "Loading"
+#~ msgstr "Lade"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Starte neu..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Das System wird jetzt neu gestartet.<br /> DAS GERÄT NICHT AUSSCHALTEN!"
+#~ "<br /> Einige Minuten warten, bevor versucht wird, die Verbindung "
+#~ "wiederherzustellen. Es kann notwendig sein, die Adresse des Computers zu "
+#~ "erneuern, um das Gerät je nach Einstellungen wieder zu erreichen."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Änderungen werden angewandt..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "Versuche, alternative Partition einzuhängen (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "versuche, alternative Partition einzuhängen (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "versuche, alternative Partition einzuhängen (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Firmware-Umgebungsvariable kann nicht abgerufen werden"
diff --git a/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
index 01070a6642..bda85e1d0b 100644
--- a/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Προχωρημένη Επανεκκίνηση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Εναλλακτικό"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Ακύρωση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Οι αλλαγές εφαρμόστηκαν."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Συμπιεσμένο"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Επιβεβαίωση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Τρέχων"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ΣΦΑΛΜΑ:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Υλικολογισμικό"
@@ -56,85 +45,68 @@ msgstr "Υλικολογισμικό"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Φόρτωση"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Δεν υπάρχει πρόσβαση στο fw_printenv ή fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Διαμέριση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Διαμερίσεις"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Εκτελέστε απενεργοποίηση ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Απενεργοποίηση Συσκευής"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Συνέχιση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Επανεκκίνηση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Επανεκκινήστε τη Συσκευή σε Εναλλακτικό Διαμερισμό"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Επανεκκίνηση σε εναλλακτικό διαμερισμό..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Επανεκκίνηση στον τρέχον διαμερισμό"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Επανεκκίνηση..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Απενεργοποίηση..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Κατάσταση"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Σύστημα"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Το σύστημα επανεκκινείται τώρα. <br /> ΜΗΝ ΑΠΕΝΕΡΓΟΠΟΙΗΣΕΤΕ ΤΗΝ ΣΥΣΚΕΥΗ! "
-"<br /> Περιμένετε λίγα λεπτά προτού προσπαθήσετε να επανασυνδεθείτε. Ίσως "
-"χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να συνδεθείται "
-"ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +119,7 @@ msgstr ""
"του υπολογιστή σας για να συνδεθείτε ξανά στη συσκευή, ανάλογα με τις "
"ρυθμίσεις σας."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -157,40 +129,31 @@ msgstr ""
"<br /> Ίσως χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να "
"συνδεθείτε ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Δεν είναι δυνατή η εύρεση Διπλής καταχώρησης Σημαίας Εκκίνησης."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Δεν είναι δυνατή η λήψη στοιχείων firmware: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Δεν μπορεί να ορισθεί το διαμέρισμα δίσκου ως διπλής εκκίνησης: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Δεν μπορεί να ρυθμιστούν στοιχεία του firmware: %s έως %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Άγνωστο"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -202,7 +165,7 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -212,34 +175,64 @@ msgstr ""
"συσκευής χωρίς υποστήριξη λειτουργίας απενεργοποίησης. <br /><br /> Κάντε "
"κλικ στην επιλογή \"Συνέχεια\" για να απενεργοποιήσετε τη συσκευή σας."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Περιμένετε να εφαρμοστούν οι αλλαγές..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Προσοχή: Άγνωστη συσκευή (%s) ή δεν είναι συσκευή διπλού διαμερίσματος!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Προσοχή: Οι μη αποθηκευμένες αλλαγές θα χαθούν με την επανεκκίνηση!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Προσοχή: Το σύστημα δεν υποστηρίζει λειτουργία τερματισμού!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Προσοχή: Δεν είναι δυνατή η λήψη πληροφοριών συσκευής!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "προσπάθεια προσάρτησης εναλλακτικού διαμερίσματος (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Εναλλακτικό"
+
+#~ msgid "Changes applied."
+#~ msgstr "Οι αλλαγές εφαρμόστηκαν."
+
+#~ msgid "Current"
+#~ msgstr "Τρέχων"
+
+#~ msgid "Loading"
+#~ msgstr "Φόρτωση"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Επανεκκίνηση..."
+
+#~ msgid "System"
+#~ msgstr "Σύστημα"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Το σύστημα επανεκκινείται τώρα. <br /> ΜΗΝ ΑΠΕΝΕΡΓΟΠΟΙΗΣΕΤΕ ΤΗΝ ΣΥΣΚΕΥΗ! "
+#~ "<br /> Περιμένετε λίγα λεπτά προτού προσπαθήσετε να επανασυνδεθείτε. Ίσως "
+#~ "χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να "
+#~ "συνδεθείται ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Περιμένετε να εφαρμοστούν οι αλλαγές..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "προσπάθεια προσάρτησης εναλλακτικού διαμερίσματος (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "προσπάθεια αποσύνδεσης εναλλακτικού διαμερίσματος (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "προσπάθεια αποσύνδεσης εναλλακτικού διαμερίσματος (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Αδύνατη λήψη μεταβλητής περιβάλλοντος υλικολογισμικού"
diff --git a/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
index f21e15e876..169789d316 100644
--- a/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
index 3541ac753c..cfd4f981cc 100644
--- a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
@@ -13,45 +13,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.1.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Reinicio avanzado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativo"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Cambios aplicados."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Comprimido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Confirmar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Actual"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ERROR:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -59,85 +48,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Conceder acceso a UCI y archivos para luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Cargando"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sin acceso a fw_printenv o fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partición"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Particiones"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Realizar apagado..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Apagar dispositivo"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Proceder"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Reiniciar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Reinicie el dispositivo a una partición alternativa"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Reiniciar a la partición alternativa ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Reiniciar a la partición actual"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Reiniciando..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Apagando..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Estado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"El sistema se está reiniciando ahora.<br /> ¡NO APAGUE EL DISPOSITIVO!<br /> "
-"Espere unos minutos antes de intentar volver a conectarse. Es posible que "
-"sea necesario renovar la dirección de su computadora para llegar al "
-"dispositivo nuevamente, dependiendo de su configuración."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -150,7 +122,7 @@ msgstr ""
"computadora para llegar al dispositivo nuevamente, dependiendo de su "
"configuración."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -160,42 +132,33 @@ msgstr ""
"Puede que sea necesario renovar la dirección de su computadora para llegar "
"al dispositivo nuevamente, dependiendo de la configuración."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "No se puede encontrar la partición de bandera de arranque dual."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "No se puede obtener la variable de entorno del firmware: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"No se puede establecer la entrada de Partición de indicador de arranque dual "
"para la partición: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "No se puede establecer la variable de entorno del firmware: %s a %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Desconocido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -217,7 +180,7 @@ msgstr ""
"\"Proceder\" a continuación para reiniciar el dispositivo a una partición "
"alternativa."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -227,35 +190,65 @@ msgstr ""
"es compatible con el apagado.<br /><br /> Haga clic en \"Continuar\" a "
"continuación para apagar su dispositivo."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Esperando a que se apliquen los cambios..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Advertencia: ¡El dispositivo (%s) es desconocido o no es un dispositivo de "
"doble partición!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Advertencia: ¡Hay cambios no guardados que se perderán al reiniciar!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Advertencia: ¡Este sistema no admite el apagado!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Advertencia: ¡No se puede obtener información del dispositivo!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "intentando montar una partición alternativa (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternativo"
+
+#~ msgid "Changes applied."
+#~ msgstr "Cambios aplicados."
+
+#~ msgid "Current"
+#~ msgstr "Actual"
+
+#~ msgid "Loading"
+#~ msgstr "Cargando"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reiniciando..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "El sistema se está reiniciando ahora.<br /> ¡NO APAGUE EL DISPOSITIVO!"
+#~ "<br /> Espere unos minutos antes de intentar volver a conectarse. Es "
+#~ "posible que sea necesario renovar la dirección de su computadora para "
+#~ "llegar al dispositivo nuevamente, dependiendo de su configuración."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Esperando a que se apliquen los cambios..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "intentando montar una partición alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "intentando desmontar una partición alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "intentando desmontar una partición alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "No se puede obtener la variable de entorno de firmware"
diff --git a/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
index 47ff1bc93f..506b9bf5cf 100644
--- a/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Monipuolinen uudelleenkäynnistys"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Vaihtoehto"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Peruuta"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Muutokset tehty."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Pakattu"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Vahvista"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Nykyinen"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "VIRHE:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Laiteohjelmisto"
@@ -56,85 +45,68 @@ msgstr "Laiteohjelmisto"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Myönnä UCI ja tiedostojen käyttö luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Ladataan"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Ei pääsyä fw_printenv tai fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Osio"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Osiot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Sammutetaan..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Sammuta laite"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Suorita"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Uudelleenkäynnistä"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Uudelleenkäynnistä vaihtoehtoisesta osiosta"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Uudelleenkäynnistys vaihtoehtoisesta osiosta..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Uudellenkäynnistys nykyisestä osiosta"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Uudelleenkäynnistetään..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Sammutetaan..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Tila"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Järjestelmä"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Laite uudelleenkäynnistyy.<br /> ÄLÄ SAMMUTA LAITETTA!<br /> Odota muutama "
-"minuutti ennen kuin yrität ottaa yhteyttä. Mahdollisesti sinun täytyy uusia "
-"tietokoneen IP-osoite ennen yhteyden saamista laitteeseen, riippuen "
-"asetuksistasi."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"Mahdollisesti sinun täytyy uusia tietokoneen IP-osoite ennen yhteyden "
"saamista laitteeseen, riippuen asetuksistasi."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,40 +128,31 @@ msgstr ""
"sinun täytyy uusia tietokoneen IP-osoite ennen yhteyden saamista "
"laitteeseen, riippuen asetuksistasi."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Dual boot -tilatiedon osiota ei löydy."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Ei voi noutaa käynnistysympäristön muuttujaa: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Ei voida asettaa kaksoiskäynnistyksen merkkiä partitiolle: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Ei voida asettaa käynnistysympäristön muuttujaa: %s arvoksi %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Tuntematon"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -209,7 +172,7 @@ msgstr ""
"vaihtaa aktiivista osiota ja palata nykyiseen osioon.<br /><br /> Paina "
"\"Suorita\" uudelleenkäynnistääksesi laite vaihtoehtoisesta osiosta."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -219,31 +182,61 @@ msgstr ""
"johtaa uudelleenkäynnistykseen.<br /><br /> Paina \"Suorita\" sammuttaaksesi "
"laite."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Odotetaan muutosten käyttöönottoa..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "Varoitus: Laite (%s) on tuntematon tai ei ole kaksoiskäynnistyslaite!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Varoitus: Tallentamattomat muutokset menetetään uudelleenkäynnistyksessä!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Varoitus: tämä järjestelmä ei tue samuttamista!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Varoitus: laitteen tietoja ei voida noutaa!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "Yritetään liittää vaihtoehtoinen levyosio (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Vaihtoehto"
+
+#~ msgid "Changes applied."
+#~ msgstr "Muutokset tehty."
+
+#~ msgid "Current"
+#~ msgstr "Nykyinen"
+
+#~ msgid "Loading"
+#~ msgstr "Ladataan"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Uudelleenkäynnistetään..."
+
+#~ msgid "System"
+#~ msgstr "Järjestelmä"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Laite uudelleenkäynnistyy.<br /> ÄLÄ SAMMUTA LAITETTA!<br /> Odota "
+#~ "muutama minuutti ennen kuin yrität ottaa yhteyttä. Mahdollisesti sinun "
+#~ "täytyy uusia tietokoneen IP-osoite ennen yhteyden saamista laitteeseen, "
+#~ "riippuen asetuksistasi."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Odotetaan muutosten käyttöönottoa..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "Yritetään liittää vaihtoehtoinen levyosio (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "Yritetään poistaa liitos: vaihtoehtoinen levyosio (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "Yritetään poistaa liitos: vaihtoehtoinen levyosio (mtd%s)"
diff --git a/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
index 40b3242378..d0c950110e 100644
--- a/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Redémarrage avancé"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternative"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Annuler"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Modifications appliquées."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Compressé"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Confirmer"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Courant"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ERREUR :"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Accorder l'accès à l'UCI et aux fichiers pour luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Chargement"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Pas d'accès à fw_printenv ou fw_printenv !"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partition"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partitions"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Éteindre…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Éteindre l'appareil"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Continuer"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Redémarrage"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Redémarrer l'appareil sur une autre partition"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Redémarrer sur une autre partition…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Redémarrer sur la partition courante"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Redémarrage…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Arrêt en cours…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "État"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Système"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Le système est en cours de redémarrage.<br />NE PAS ÉTEINDRE L'APPAREIL !"
-"<br />Attendez quelques minutes avant d'essayer de vous reconnecter. En "
-"fonction de vos paramètres, il peut être nécessaire de renouveler l'adresse "
-"IP de votre ordinateur pour accéder à nouveau à l'appareil."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"reconnecter. En fonction de vos paramètres, il peut être nécessaire de "
"renouveler votre adresse IP pour accéder à nouveau à votre appareil."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,45 +128,36 @@ msgstr ""
"fonction de vos paramètres, il peut être nécessaire de renouveler votre "
"adresse IP pour accéder à nouveau à votre appareil."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Impossible de trouver une partition en démarrage double."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
"Impossible d'obtenir la variable d'environnement du microprogramme : %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"Impossible de définir le drapeau Dual Boot Entrée de partition pour la "
"partition : %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
"Impossible de définir la variable d'environnement du microprogramme : %s à "
"%s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Inconnue"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -216,7 +179,7 @@ msgstr ""
"démarrer dessus.<br /><br />Cliquez sur « Continuer » ci-dessous pour "
"redémarrer l'appareil sur une partition alternative."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -226,39 +189,69 @@ msgstr ""
"prend pas en charge la mise hors-tension.<br /><br />Cliquez sur « Continuer "
"» ci-dessous pour éteindre votre appareil."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "En attente d'application des modifications…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Avertissement : L'appareil (%s) est inconnu ou n'est pas un appareil à "
"double partition !"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Avertissement : Il y a des modifications non sauvegardées qui seront perdues "
"au redémarrage !"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
"Avertissement : Ce système ne prend pas en charge la mise hors-tension !"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
"Avertissement : Impossible de récupérer les informations sur l'appareil !"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternative"
+
+#~ msgid "Changes applied."
+#~ msgstr "Modifications appliquées."
+
+#~ msgid "Current"
+#~ msgstr "Courant"
+
+#~ msgid "Loading"
+#~ msgstr "Chargement"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Redémarrage…"
+
+#~ msgid "System"
+#~ msgstr "Système"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Le système est en cours de redémarrage.<br />NE PAS ÉTEINDRE L'APPAREIL !"
+#~ "<br />Attendez quelques minutes avant d'essayer de vous reconnecter. En "
+#~ "fonction de vos paramètres, il peut être nécessaire de renouveler "
+#~ "l'adresse IP de votre ordinateur pour accéder à nouveau à l'appareil."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "En attente d'application des modifications…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
index 9a93c84f4c..beaffa535d 100644
--- a/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
index c905fe6404..92fd038f90 100644
--- a/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
index 93b4977409..294cfb8f45 100644
--- a/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
@@ -10,132 +10,105 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Speciális újraindítás"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternatív"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Mégse"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Változtatások alkalmazva."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Tömörített"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Megerősítés"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Jelenlegi"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "HIBA:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
#: applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json:3
msgid "Grant UCI and file access for luci-app-advanced-reboot"
-msgstr "UCI és fájlhozzáférés megadása a luci-app-advanced-reboot alkalmazásnak"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Betöltés"
+msgstr ""
+"UCI és fájlhozzáférés megadása a luci-app-advanced-reboot alkalmazásnak"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
"Nincs hozzáférés az fw_printenv vagy az fw_printenv környezeti változókhoz!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partíció"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partíciók"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Kikapcsolás végrehajtása…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Eszköz kikapcsolása"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Folytatás"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Újraindítás"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Eszköz újraindítása egy alternatív partíción"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Újraindítás alternatív partíción…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Újraindítás a jelenlegi partíción"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Újraindítás…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Leállítás…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Állapot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Rendszer"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"A rendszer most újraindul.<br /> NE KAPCSOLJA KI AZ ESZKÖZT!<br /> Várjon "
-"néhány percet, mielőtt megpróbál újrakacsolódni. A beállításoktól függően "
-"szükség lehet a számítógépe címének megújításához, hogy újra elérje az "
-"eszközt."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +120,7 @@ msgstr ""
"beállításoktól függően szükség lehet a számítógépe címének megújításához, "
"hogy újra elérje az eszközt."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -157,42 +130,33 @@ msgstr ""
"beállításoktól függően szükség lehet a számítógépe címének megújításához, "
"hogy újra elérje az eszközt."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Nem található kettős rendszerindítási jelző partíció."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Nem lehet megszerezni a firmware környezeti változóját: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"Nem lehet beállítani a kettős rendszerindítási jelző partíció bejegyzését a "
"partíciónál: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Nem lehet beállítani a firmware környezeti változóját: %s → %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Ismeretlen"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -213,7 +177,7 @@ msgstr ""
"><br /> Kattintson a lenti „Folytatás” gombra az eszköz újraindításához egy "
"alternatív partíción."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -223,36 +187,66 @@ msgstr ""
"nem támogatja a kikapcsolást.<br /><br /> Kattintson a lenti „Folytatás” "
"gombra az eszköz kikapcsolásához."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Várakozás a változtatások alkalmazására…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Figyelmeztetés: az eszköz (%s) ismeretlen vagy nem kettős partíciójú eszköz!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Figyelmeztetés: mentetlen változtatások vannak, amelyek elvesznek az "
"újraindításkor!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Figyelmeztetés: ez a rendszer nem támogatja a kikapcsolást!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Figyelmeztetés: nem lehet megszerezni az eszköz információit!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "kísérlet az alternatív partíció (mtd%s) csatolására"
+#~ msgid "Alternative"
+#~ msgstr "Alternatív"
+
+#~ msgid "Changes applied."
+#~ msgstr "Változtatások alkalmazva."
+
+#~ msgid "Current"
+#~ msgstr "Jelenlegi"
+
+#~ msgid "Loading"
+#~ msgstr "Betöltés"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Újraindítás…"
+
+#~ msgid "System"
+#~ msgstr "Rendszer"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "A rendszer most újraindul.<br /> NE KAPCSOLJA KI AZ ESZKÖZT!<br /> Várjon "
+#~ "néhány percet, mielőtt megpróbál újrakacsolódni. A beállításoktól függően "
+#~ "szükség lehet a számítógépe címének megújításához, hogy újra elérje az "
+#~ "eszközt."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Várakozás a változtatások alkalmazására…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "kísérlet az alternatív partíció (mtd%s) csatolására"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "kísérlet az alternatív partíció (mtd%s) leválasztására"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "kísérlet az alternatív partíció (mtd%s) leválasztására"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nem lehet megszerezni a firmware környezeti változóját"
diff --git a/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
index 6560fbd61e..b74b223f28 100644
--- a/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.0-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Riavvio Avanzato"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Annulla"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Conferma"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ERRORE:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Caricamento"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partizione"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partizioni"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Spegni il dispositivo"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Riavvia"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Riavvia il dispositivo in una partizione alternativa"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Riavvio in una partizione alternativa..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Riavvia nella partizione corrente"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Riavvio..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Arresto..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Stato"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Il sistema si sta riavviando ora.<br /> NON SPEGNERE IL DISPOSITIVO!<br /> "
-"Attendere alcuni minuti prima di provare a riconnettersi. Potrebbe essere "
-"necessario rinnovare l'indirizzo del computer per raggiungere nuovamente il "
-"dispositivo, a seconda delle impostazioni."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"ricollegarsi. Potrebbe essere necessario rinnovare l'indirizzo del computer "
"per raggiungere nuovamente il dispositivo, a seconda delle impostazioni."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,40 +128,31 @@ msgstr ""
"Potrebbe essere necessario rinnovare l'indirizzo del computer per "
"raggiungere nuovamente il dispositivo, a seconda delle impostazioni."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Sconosciuto"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -201,40 +164,52 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Loading"
+#~ msgstr "Caricamento"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Rebooting..."
+#~ msgstr "Riavvio..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Il sistema si sta riavviando ora.<br /> NON SPEGNERE IL DISPOSITIVO!<br /"
+#~ "> Attendere alcuni minuti prima di provare a riconnettersi. Potrebbe "
+#~ "essere necessario rinnovare l'indirizzo del computer per raggiungere "
+#~ "nuovamente il dispositivo, a seconda delle impostazioni."
#~ msgid "Action"
#~ msgstr "Azione"
diff --git a/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
index 632188d4ed..c501bd1307 100644
--- a/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.3-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "高度な再起動"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "代替案"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "キャンセル"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "変更が適用されました。"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "圧縮済"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "確認"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "現在"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "エラー:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "ファームウェア"
@@ -56,135 +45,113 @@ msgstr "ファームウェア"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "luci-app-advanced-reboot に UCI およびファイルアクセスを許可"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "読み込み中"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "fw_printenv または fw_printenv にアクセスできません!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "パーティション"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "パーティション"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "電源オフを実行..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "デバイスの電源オフ"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "続行"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "再起動"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "デバイスを代替パーティションへ再起動"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "代替パーティションへ再起動しています..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "現在のパーティションへ再起動"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "再起動中..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "シャットダウン中..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "ステータス"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "システム"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"再起動しています。<br />このデバイスの電源を切らないでください!<br "
-"/>再接続するまで数分お待ちください。設定によっては、デバイスに接続するためにコンピューターのアドレスを更新する必要があります。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-"代替パーティションへ再起動しています。<br />このデバイスの電源を切らないでください!<br "
-"/>再接続するまで数分お待ちください。設定によっては、デバイスに接続するためにコンピューターのアドレスを更新する必要があります。"
+"代替パーティションへ再起動しています。<br />このデバイスの電源を切らないでく"
+"ださい!<br />再接続するまで数分お待ちください。設定によっては、デバイスに接続"
+"するためにコンピューターのアドレスを更新する必要があります。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-"電源をオフにしています。<br />このデバイスの電源を切らないでください!<br "
-"/>再接続するまで数分お待ちください。設定によっては、デバイスに接続するためにコンピューターのアドレスを更新する必要があります。"
+"電源をオフにしています。<br />このデバイスの電源を切らないでください!<br />再"
+"接続するまで数分お待ちください。設定によっては、デバイスに接続するためにコン"
+"ピューターのアドレスを更新する必要があります。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "デュアルブートフラグパーティションが見つかりませんでした。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "ファームウェアの環境変数を取得できません: %s。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "次のパーティションにデュアルブートフラグを設定できませんでした: %s。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "ファームウェアの環境変数を設定できませんでした: %s から %s へ。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "不明"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -195,43 +162,78 @@ msgid ""
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
-"警告: 代替パーティションは別の設定を持ち、完全に異なったファームウェアである可能性があります。<br /><br />ネットワーク設定とWiFiの"
-"SSID/パスワードが代替パーティションでの設定と違う可能性があるので、再起動後にコンピューターの設定を変更してデバイスにアクセスできるようにする必要があ"
-"るでしょう。<br /><br />また、代替パーティションから現在アクティブなパーティションに簡単には戻れない可能性もあります。<br /><br "
-"/>下の「続行」ボタンを押して代替パーティションに再起動します。"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+"警告: 代替パーティションは別の設定を持ち、完全に異なったファームウェアである"
+"可能性があります。<br /><br />ネットワーク設定とWiFiのSSID/パスワードが代替"
+"パーティションでの設定と違う可能性があるので、再起動後にコンピューターの設定"
+"を変更してデバイスにアクセスできるようにする必要があるでしょう。<br /><br />"
+"また、代替パーティションから現在アクティブなパーティションに簡単には戻れない"
+"可能性もあります。<br /><br />下の「続行」ボタンを押して代替パーティションに"
+"再起動します。"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-"警告: 電源オフがサポートされていないデバイスでは再起動する場合があります。<br /><br />下の「続行」ボタンを押してデバイスの電源を切ります。"
+"警告: 電源オフがサポートされていないデバイスでは再起動する場合があります。"
+"<br /><br />下の「続行」ボタンを押してデバイスの電源を切ります。"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "変更の適用を待機中..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
-msgstr "警告: デバイス (%s) は不明であるか、デュアルパーティションのデバイスではありません!"
+msgstr ""
+"警告: デバイス (%s) は不明であるか、デュアルパーティションのデバイスではあり"
+"ません!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "警告: 再起動すると消えてしまう、保存されていない設定があります!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "警告: このシステムは電源オフをサポートしていません!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "警告: デバイス情報を取得できません!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "代替パーティションをマウントしようとしています (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "代替案"
+
+#~ msgid "Changes applied."
+#~ msgstr "変更が適用されました。"
+
+#~ msgid "Current"
+#~ msgstr "現在"
+
+#~ msgid "Loading"
+#~ msgstr "読み込み中"
+
+#~ msgid "Rebooting..."
+#~ msgstr "再起動中..."
+
+#~ msgid "System"
+#~ msgstr "システム"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "再起動しています。<br />このデバイスの電源を切らないでください!<br />再接"
+#~ "続するまで数分お待ちください。設定によっては、デバイスに接続するためにコン"
+#~ "ピューターのアドレスを更新する必要があります。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "変更の適用を待機中..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "代替パーティションをマウントしようとしています (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "代替パーティションをアンマウントしようとしています (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "代替パーティションをアンマウントしようとしています (mtd%s)"
diff --git a/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
index d023e29b12..52f253c2ca 100644
--- a/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "취소"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -56,81 +45,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -138,47 +114,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,37 +157,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
index 99d94228e3..b176cefa7a 100644
--- a/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.11-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "प्रगत रीबूट"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "वैकल्पिक"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "रद्द करा"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "बदल लागू केले."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "संकुचित"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "पुष्टी"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "वर्तमान"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "त्रुटी:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "फर्मवेअर"
@@ -56,84 +45,68 @@ msgstr "फर्मवेअर"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "लोड करीत आहे"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "fw_printenv किंवा fw_printenv मध्ये प्रवेश नाही!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "विभाजन"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "विभाजने"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "वीज बंद करा ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "डिव्हाइस बंद करा"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "पुढे जा"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "रीबूट करा"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "वैकल्पिक विभाजनावर डिव्हाइस रीबूट करा"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "वैकल्पिक विभाजनास रीबूट करा ..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "सध्याच्या विभाजनास रीबूट करा"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "रीबूट करीत आहे ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "बंद होत आहे..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "स्थिती"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "प्रणाली"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"सिस्टम आत्ता रीबूट होत आहे. <br /> डिव्हाईस ची पॉवर बंद करू नका ! <br /> आपण पुन्हा "
-"कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे डिव्हाइसवर "
-"पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू शकेल."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -145,7 +118,7 @@ msgstr ""
"आधारे डिव्हाइसवर पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू "
"शकेल."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -155,40 +128,31 @@ msgstr ""
"कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे डिव्हाइसवर "
"पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू शकेल."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "ड्युअल बूट ध्वज विभाजन शोधण्यात अक्षम."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "अज्ञात"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -200,7 +164,7 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -210,33 +174,57 @@ msgstr ""
"><br />\n"
"आपले डिव्हाइस बंद करण्यासाठी खालील \"Proceed\" वर क्लिक करा."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "बदल लागू होण्याची प्रतीक्षा करीत आहे ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "चेतावणी: डिव्हाइस (%s) अज्ञात आहे किंवा ड्युअल-विभाजन डिव्हाइस नाही!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "चेतावणी: जतन न केलेले बदल आहेत जे रीबूट केल्यावर गमावतील!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "चेतावणी: ही प्रणाली वीज बंद करण्यास समर्थन देत नाही!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "चेतावणी: डिव्हाइस माहिती प्राप्त करण्यात अक्षम!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "वैकल्पिक"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "बदल लागू केले."
+
+#~ msgid "Current"
+#~ msgstr "वर्तमान"
+
+#~ msgid "Loading"
+#~ msgstr "लोड करीत आहे"
+
+#~ msgid "Rebooting..."
+#~ msgstr "रीबूट करीत आहे ..."
+
+#~ msgid "System"
+#~ msgstr "प्रणाली"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "सिस्टम आत्ता रीबूट होत आहे. <br /> डिव्हाईस ची पॉवर बंद करू नका ! <br /> आपण "
+#~ "पुन्हा कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे "
+#~ "डिव्हाइसवर पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू "
+#~ "शकेल."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "बदल लागू होण्याची प्रतीक्षा करीत आहे ..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "फर्मवेअर एन्व्हायर्नमेंट व्हेरिएबल प्राप्त करण्यात अक्षम"
diff --git a/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
index fa4089de19..86ceb3784c 100644
--- a/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -50,81 +39,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -132,47 +108,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +151,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
index 684ff7dddb..a4d9ccaa11 100644
--- a/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.9.1\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -56,81 +45,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -138,47 +114,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +157,32 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
-
#~ msgid "Action"
#~ msgstr "Handling"
diff --git a/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
index be408bde9d..8b34c7102d 100644
--- a/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.1.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Zaawansowany restart"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternatywne"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Anuluj"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Zmiany zostały zastosowane."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Skompresowane"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Potwierdź"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Obecny"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "BŁĄD:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -57,85 +46,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Udziel dostępu UCI i plikom do luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Ładowanie"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Brak dostępu do fw_printenv lub fw_setenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partycja"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partycje"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Wyłącz zasilanie..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Wyłącz urządzenie"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Przejdź dalej"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Restart urządzenia"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Ponowne uruchomienie urządzenia do innej partycji"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Ponowne uruchomienie do innej partycji..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Ponowne uruchomienie na obecnej partycji"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Ponowne uruchamianie..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Zamykanie..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"System jest teraz ponownie uruchamiany.<br />NIE WYŁĄCZAJ ZASILANIA "
-"URZĄDZENIA!<br />Poczekaj kilka minut przed próbą ponownego nawiązania "
-"połączenia. W zależności od ustawień może być konieczne odnowienie adresu "
-"komputera, aby ponownie połączyć się z urządzeniem."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +119,7 @@ msgstr ""
"nawiązania połączenia. W zależności od ustawień może być konieczne "
"odnowienie adresu komputera, aby ponownie połączyć się z urządzeniem."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -158,42 +130,33 @@ msgstr ""
"zależności od ustawień może być konieczne odnowienie adresu komputera, aby "
"ponownie połączyć się z urządzeniem."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Nie można odnaleźć partycji z flagą Dual Boot."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
"Nie można uzyskać zmiennej środowiskowej oprogramowania układowego: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Nie można ustawić wpisu flagi podwójnego rozruchu dla partycji: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
"Nie można ustawić zmiennej środowiskowej oprogramowania układowego: %s na %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Nieznany"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -214,7 +177,7 @@ msgstr ""
"przycisk \"Kontynuuj\" poniżej, aby zrestartować urządzenie do innej "
"partycji."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -224,37 +187,67 @@ msgstr ""
"które nie obsługuje wyłączenia zasilania.<br /><br /> Kliknij \"Kontynuuj\" "
"poniżej, aby wyłączyć urządzenie."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Oczekiwanie na zastosowanie zmian..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Ostrzeżenie: Urządzenie (%s) jest nieznane lub nie jest urządzeniem z dwiema "
"partycjami!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Ostrzeżenie: Istnieją niezapisane zmiany, które zostaną utracone po ponownym "
"uruchomieniu urządzenia!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Ostrzeżenie: ten system nie obsługuje wyłączania zasilania!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Ostrzeżenie: Nie można uzyskać informacji o urządzeniu!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "próba zamontowania partycji alternatywnej (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternatywne"
+
+#~ msgid "Changes applied."
+#~ msgstr "Zmiany zostały zastosowane."
+
+#~ msgid "Current"
+#~ msgstr "Obecny"
+
+#~ msgid "Loading"
+#~ msgstr "Ładowanie"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Ponowne uruchamianie..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "System jest teraz ponownie uruchamiany.<br />NIE WYŁĄCZAJ ZASILANIA "
+#~ "URZĄDZENIA!<br />Poczekaj kilka minut przed próbą ponownego nawiązania "
+#~ "połączenia. W zależności od ustawień może być konieczne odnowienie adresu "
+#~ "komputera, aby ponownie połączyć się z urządzeniem."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Oczekiwanie na zastosowanie zmian..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "próba zamontowania partycji alternatywnej (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "próba odinstalowania partycji alternatywnej (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "próba odinstalowania partycji alternatywnej (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nie można uzyskać zmiennej środowiskowej firmware"
diff --git a/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
index e0aaa2d548..36e0ba3c2f 100644
--- a/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Reinicio Avançado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativa"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Configurações aplicadas."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Comprimido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Confirmar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Atual"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ERRO:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Conceda acesso ao ficheiro e ao UCI para o luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "A carregar"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sem acesso ao fw_printenv ou ao fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partição"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partições"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Iniciar o encerramento..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Encerrar Dispositivo"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Continuar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Reiniciar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Reiniciar o Dispositivo para uma Partição Alternativa"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Reiniciar para uma partição alternativa..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Reiniciar para a partição atual"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "A reiniciar..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "A encerrar..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Estado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"O sistema está agora a reiniciar.<br /> NÃO DESLIGUE O DISPOSITIVO!<br /> "
-"Espere alguns minutos antes de tentar uma nova ligação. Pode ser necessário "
-"renovar o endereço do seu computador para aceder ao dispositivo de novo, "
-"dependendo das suas definições."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"Pode ser necessário renovar o endereço do seu computador para aceder ao "
"dispositivo de novo, dependendo das suas definições."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -157,41 +129,32 @@ msgstr ""
"renovar o endereço do seu computador para aceder ao dispositivo de novo, "
"dependendo das suas definições."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Não foi encontrada a Flag Dual Boot Partition."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Não foi possível obter a variável de ambiente de firmware: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"Não foi possível definir a entrada Dual Boot Partition para a partição: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Incapaz de definir a variável de ambiente de firmware: %s a %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Desconhecido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -212,7 +175,7 @@ msgstr ""
"partição atual.<br /><br /> Selecione \"Continuar\" abaixo para reiniciar o "
"dispositivo para uma partição alternativa."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -222,36 +185,66 @@ msgstr ""
"encerramento.<br /><br /> Selecione \"Continuar\" abaixo para encerrar o seu "
"dispositivo."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "À espera que as definições sejam aplicadas..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Aviso: O Dispositivo (%s) é desconhecido ou não é um dispositivo com "
"partição dupla!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Aviso: Existem definições não gravadas que serão perdidas com o reinicio!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Aviso: Este sistema não suporta encerramento!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Aviso: Incapaz de obter informações do dispositivo!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentando montar a partição alternativa (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternativa"
+
+#~ msgid "Changes applied."
+#~ msgstr "Configurações aplicadas."
+
+#~ msgid "Current"
+#~ msgstr "Atual"
+
+#~ msgid "Loading"
+#~ msgstr "A carregar"
+
+#~ msgid "Rebooting..."
+#~ msgstr "A reiniciar..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "O sistema está agora a reiniciar.<br /> NÃO DESLIGUE O DISPOSITIVO!<br /> "
+#~ "Espere alguns minutos antes de tentar uma nova ligação. Pode ser "
+#~ "necessário renovar o endereço do seu computador para aceder ao "
+#~ "dispositivo de novo, dependendo das suas definições."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "À espera que as definições sejam aplicadas..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentando montar a partição alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentativa de desmontar a partição alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentativa de desmontar a partição alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Não foi possível obter a variável de ambiente do firmware"
diff --git a/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
index c2b4346971..c8faae70cc 100644
--- a/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.1.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Reinicio Avançado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativo"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "As modificações foram aplicadas."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Comprimido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Confirmar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Atual"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ERRO:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,86 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Conceda acesso ao arquivo e ao UCI para o luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Carregando"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sem acesso ao fw_printenv ou fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partição"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partições"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Desligando..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Desligar Dispositivo"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Proceguir"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Reiniciar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Reiniciar o Dispositivo em uma Partição Diferente"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Reiniciando em uma partição diferente..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Reiniciar na partição atual"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Reiniciando..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Desligando..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Condição Geral"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"O sistema está sendo reinicializado.<br /> NÃO DESLIGUE A FORÇA DO "
-"DISPOSITIVO!<br /> Aguarde alguns minutos antes de tentar se reconectar. "
-"Para ter acesso ao dispositivo novamente, pode ser necessário renovar ou "
-"trocar o endereço IP do seu computador dependendo das configurações "
-"realizadas."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -148,7 +119,7 @@ msgstr ""
"necessário renovar ou trocar o endereço IP do seu computador dependendo das "
"configurações realizadas."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -159,40 +130,31 @@ msgstr ""
"ou trocar o endereço IP do seu computador dependendo das configurações "
"realizadas."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Não foi possível encontrar a partição Dual Boot Flag."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Não foi possível obter a variável de ambiente do firmware: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Não foi possível definir a entrada Dual Boot Flag na partição: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Não é possível definir a variável de ambiente do firmware: %s para %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Desconhecido"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -214,7 +176,7 @@ msgstr ""
"Clique em \"Prosseguir\" para reiniciar o dispositivo em uma partição "
"diferente."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -224,35 +186,66 @@ msgstr ""
"compatível com o desligamento.<br /><br /> Clique em \"Prosseguir\" para "
"desligar seu dispositivo."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Aguardando as modificações serem aplicadas..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Atenção: O dispositivo (%s) é desconhecido ou não é um dispositivo com duas "
"partições!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Atenção: Existem mudanças não salvas que serão perdidas ao reiniciar!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Atenção: Este sistema não tem suporte para desligamento!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Atenção: Não foi possível obter as informações do dispositivo!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentando montar a partição alternativa (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternativo"
+
+#~ msgid "Changes applied."
+#~ msgstr "As modificações foram aplicadas."
+
+#~ msgid "Current"
+#~ msgstr "Atual"
+
+#~ msgid "Loading"
+#~ msgstr "Carregando"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reiniciando..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "O sistema está sendo reinicializado.<br /> NÃO DESLIGUE A FORÇA DO "
+#~ "DISPOSITIVO!<br /> Aguarde alguns minutos antes de tentar se reconectar. "
+#~ "Para ter acesso ao dispositivo novamente, pode ser necessário renovar ou "
+#~ "trocar o endereço IP do seu computador dependendo das configurações "
+#~ "realizadas."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Aguardando as modificações serem aplicadas..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentando montar a partição alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentando desmontar a partição alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentando desmontar a partição alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Não foi possível obter a variável de ambiente para o firmware"
diff --git a/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
index 452c8e734d..3df3c83e74 100644
--- a/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"20)) ? 1 : 2;\n"
"X-Generator: Weblate 3.10.1\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Repornire Avansata"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativ"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Anulare"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Modificari efectuate"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Confirmare"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Curent"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "Eroare"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -57,85 +46,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Încărcare"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Nu aveți acces la fw_printenv sau fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partitie"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partitii"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Efectuare oprire"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Oprire dispozitiv"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Continua"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Reporniți dispozitivul într-o partiție alternativă"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Reporniți in partiția alternativă"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Reporniți in partitia curenta"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Reporneste"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Oprire"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistem"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Sistemul se repornește acum. <br /> NU DECONECTATI DISPOZITIVUL! <br /> "
-"Așteptați câteva minute înainte de a încerca să vă reconectați. Poate fi "
-"necesar să reînoiți adresa computerului pentru a ajunge din nou la "
-"dispozitiv, în funcție de setările dvs."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -147,7 +119,7 @@ msgstr ""
"reconectați. Poate fi necesar să reînnoiți adresa computerului pentru a "
"ajunge din nou la dispozitiv, în funcție de setările dvs."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -157,40 +129,31 @@ msgstr ""
"putea fi necesar să reînnoiești adresa computerului pentru a ajunge din nou "
"la dispozitiv, în funcție de setările tale."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Imposibil de găsit partiția Dual Boot"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -202,40 +165,61 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativ"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Modificari efectuate"
+
+#~ msgid "Current"
+#~ msgstr "Curent"
+
+#~ msgid "Loading"
+#~ msgstr "Încărcare"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reporneste"
+
+#~ msgid "System"
+#~ msgstr "Sistem"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Sistemul se repornește acum. <br /> NU DECONECTATI DISPOZITIVUL! <br /> "
+#~ "Așteptați câteva minute înainte de a încerca să vă reconectați. Poate fi "
+#~ "necesar să reînoiți adresa computerului pentru a ajunge din nou la "
+#~ "dispozitiv, în funcție de setările dvs."
#~ msgid "Action"
#~ msgstr "Actiune"
diff --git a/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
index e75b65fa43..6cf9b093f3 100644
--- a/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
@@ -14,45 +14,34 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Дополнительная перезагрузка"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Альтернатива"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Отмена"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Изменения установлены."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Сжатый"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Подтвердить"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Текущий"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ОШИБКА:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Прошивка"
@@ -60,85 +49,68 @@ msgstr "Прошивка"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Предоставить доступ к UCI и файлам для luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Загрузка"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Нет доступа к fw_printenv или fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Раздел"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Разделы"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Выполнить отключение..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Отключить питание устройства"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Продолжить"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Перезагрузка"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Перезагрузить устройство в альтернативный раздел"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Перезагрузить до альтернативного раздела..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Перезагрузка к текущему разделу"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Перезагрузка..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Отключается..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Состояние"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Система"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Система перезагружается.<br /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Подождите "
-"несколько минут, прежде чем попытаться установить соединение снова. "
-"Возможно, потребуется обновить адрес компьютера для повторного доступа к "
-"устройству в зависимости от настроек."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -150,7 +122,7 @@ msgstr ""
"соединение. В зависимости от настроек может потребоваться обновить адрес "
"компьютера для доступа к устройству."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -160,40 +132,31 @@ msgstr ""
"потребуется обновить адрес компьютера для повторного доступа к устройству в "
"зависимости от настроек."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Невозможно найти Dual Boot раздел."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Невозможно получить переменную окружения прошивки: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Невозможно установить точку входа Dual Boot для раздела: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Невозможно установить переменную окружения прошивки: %s в %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Неизвестно"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -214,7 +177,7 @@ msgstr ""
"<br /><br /> Нажмите \"Продолжить\" ниже, чтобы перезагрузить устройство в "
"альтернативный раздел."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -224,36 +187,66 @@ msgstr ""
"которое не поддерживает выключение питания.<br /><br /> Нажмите \"Продолжить"
"\" ниже, чтобы выключить устройство."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Ждём установления изменений..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Внимание: Устройство (%s) не известно или не имеет двойной раздел памяти!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Внимание: Есть не сохраненные изменения, которые будут потеряны при "
"перезагрузке!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Внимание: Эта система не поддерживает отключение питания!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Внимание: Невозможно получить информацию об устройстве!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "попытка монтирования альтернативного раздела (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Альтернатива"
+
+#~ msgid "Changes applied."
+#~ msgstr "Изменения установлены."
+
+#~ msgid "Current"
+#~ msgstr "Текущий"
+
+#~ msgid "Loading"
+#~ msgstr "Загрузка"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Перезагрузка..."
+
+#~ msgid "System"
+#~ msgstr "Система"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Система перезагружается.<br /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Подождите "
+#~ "несколько минут, прежде чем попытаться установить соединение снова. "
+#~ "Возможно, потребуется обновить адрес компьютера для повторного доступа к "
+#~ "устройству в зависимости от настроек."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Ждём установления изменений..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "попытка монтирования альтернативного раздела (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "попытка размонтирования альтернативного раздела (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "попытка размонтирования альтернативного раздела (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Невозможно получить переменную среды прошивки"
diff --git a/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
index d63bbe0a7a..8818245bc3 100644
--- a/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.0-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Pokročilý reštart"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternatívny"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Zrušiť"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Zmeny boli aplikované."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Komprimované"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Potvrdiť"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Aktuálne"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "CHYBA:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmvér"
@@ -56,81 +45,68 @@ msgstr "Firmvér"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Načítava sa"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Oddiel"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Oddiely"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Prebieha vypínanie..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Vypnúť zariadenie"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Pokračovať"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Reštart"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Reštart na alternatívny oddiel..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Reštart na aktuálny oddiel"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Reštartuje sa..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Vypína sa..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Stav"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Systém"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -138,47 +114,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Neznáme"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +157,53 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Čaká sa na aplikovanie zmien..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Upozornenie: Existujú neuložené zmeny, ktoré sa pri reštarte stratia!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Upozornenie: Tento systém nepodporuje vypnutie!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Upozornenie: Nie je možné získať informácie o zariadení!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternatívny"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Zmeny boli aplikované."
+
+#~ msgid "Current"
+#~ msgstr "Aktuálne"
+
+#~ msgid "Loading"
+#~ msgstr "Načítava sa"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reštartuje sa..."
+
+#~ msgid "System"
+#~ msgstr "Systém"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Čaká sa na aplikovanie zmien..."
#~ msgid "attempting to mount alternative partition"
#~ msgstr "pokus o pripojenie alternatívneho oddielu"
diff --git a/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
index ab4b21cddf..c49338431b 100644
--- a/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.2.1-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Avancerad omstart"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternativ"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Avbryt"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Ändringar tillämpade. "
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Bekräfta"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Nuvarande"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "FEL:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Firmware"
@@ -56,84 +45,68 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Laddar"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Ingen åtkomst till fw_printenv eller fw_printenv! "
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Partition"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Partitioner"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Utför avstängning..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Stäng av enhet"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Fortsätt"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Starta om"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Starta om enheten till en alternativ partition"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Starta om till alternativ partition..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Starta om till nuvarande partition"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Startar om..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Stänger av..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Systemet startar om nu. <br /> STÄNG INTE AV ENHETEN!<br /> Vänta ett par "
-"minuter innan du försöker ansluta. Du kan behöva förnya adressen på din "
-"dator för att nå enheten igen, beroende på inställningarna."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -145,7 +118,7 @@ msgstr ""
"behöva förnya adressen på din dator för att nå enheten igen, beroende på "
"inställningarna. "
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -155,40 +128,31 @@ msgstr ""
"inställningar så kan det vara nödvändigt att förnya din dators adress för "
"att nå enheten igen."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Det gick inte att hitta Dual Boot Flag Partition."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -200,8 +164,8 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
"VARNING: En alternativ partition kan ha sina egna inställningar och helt "
-"annan firmware.<br /> <br />Eftersom din nätverkskonfiguration och WiFi SSID "
-"/ lösenord på alternativ partition kan vara annorlunda, kan du behöva "
+"annan firmware.<br /> <br />Eftersom din nätverkskonfiguration och WiFi "
+"SSID / lösenord på alternativ partition kan vara annorlunda, kan du behöva "
"justera dina datorinställningar för att kunna nå din enhet igen efter "
"omstart.\n"
"<br /> <br /> Tänk också på att en alternativ partition firmware kanske inte "
@@ -209,7 +173,7 @@ msgstr ""
"aktiva partitionen. <br /> <br / > Klicka på \"Fortsätt\" nedan för att "
"starta om enheten till en alternativ partition."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -219,36 +183,59 @@ msgstr ""
"stöd för avstängning.<br /><br /> Klicka på \"Fortsätt\" nedanför för att "
"stänga av din enhet."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Väntar på att ändringarna ska bli verkställda..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Varning: Enheten (% s) är okänd eller är inte en enhet med dubbla "
"partitioner!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Varning: Det finns osparade ändringar som kommer att förloras vid omstart!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Varning: Det här systemet har inte stöd för avstängning!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Varning: Det går inte att få information om enheten!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativ"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Ändringar tillämpade. "
+
+#~ msgid "Current"
+#~ msgstr "Nuvarande"
+
+#~ msgid "Loading"
+#~ msgstr "Laddar"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Startar om..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Systemet startar om nu. <br /> STÄNG INTE AV ENHETEN!<br /> Vänta ett par "
+#~ "minuter innan du försöker ansluta. Du kan behöva förnya adressen på din "
+#~ "dator för att nå enheten igen, beroende på inställningarna."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Väntar på att ändringarna ska bli verkställda..."
#~ msgid "Action"
#~ msgstr "Åtgärd"
diff --git a/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot b/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
index 888a909457..e55bce3ee5 100644
--- a/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
+++ b/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
@@ -1,45 +1,34 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -47,81 +36,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -129,47 +105,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -181,37 +148,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
index ee328d13f1..47548dd17a 100644
--- a/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Gelişmiş Yeniden Başlatma"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Alternatif"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "İptal"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Değişiklikler uygulandı."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "Sıkıştırılmış"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Onayla"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Geçerli"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "HATA:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "Cihaz yazılımı"
@@ -56,85 +45,68 @@ msgstr "Cihaz yazılımı"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "luci-app-advanced-reboot için UCI ve dosya erişimi izni ver"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Yükleniyor"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "fw_printenv e veya fw_printenv e erişim yok!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Bölüm"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Bölümler"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Güç kapat..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Cihazın Gücünü Kapat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "İlerle"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Yeniden başlat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Alternatif Bölüm için cihazı yeniden başlat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "alternatif bölüm için yeniden başlat..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Mevcut bölüm için yeniden başlat"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Yeniden Başlatılıyor..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Kapatılıyor..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Durum"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistem"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Sistem yeniden başlatılıyor.<br /> CİHAZ GÜCÜNÜ KAPATMAYIN!<br /> Yeniden "
-"bağlanmayı denemeden önce birkaç dakika bekleyin.Bu ayarlarınıza göre, "
-"yeniden cihaza erişebilmeniz için, bilgisayar adresinin yenilenmesinde "
-"gereklidir."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"Ayarlarınıza bağlı olarak, aygıta tekrar erişmek için bilgisayarınızın "
"adresini yenilemeniz gerekebilir."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,40 +128,31 @@ msgstr ""
"olarak, cihaza tekrar ulaşmak için bilgisayarınızın adresini yenilemeniz "
"gerekebilir."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Dual Boot Flag bölümü bulunamadı."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Yazılım ortam değişkeni alınamıyor: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Bölüm için Çift Önyükleme İşareti ayarlanamıyor: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Yazılım ortam değişkeni ayarlanamıyor: %s'ten %s'e."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Bilinmiyor"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -209,7 +172,7 @@ msgstr ""
"sağlamayabileceğini unutmayın.<br /> <br />Cihazı alternatif bir bölümde "
"yeniden başlatmak için lütfen aşağıdaki \"Devam Et\" seçeneğini tıklayın."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -219,36 +182,66 @@ msgstr ""
"yeniden başlatma işlemi yapmasına neden olabilir. <br /> <br /> Cihazınızı "
"kapatmak için aşağıdaki \"Devam et\" seçeneğine tıklayın."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Değişikliklerin uygulanması bekleniyor..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Uyarı: Cihaz (%s) bilinmiyor ya da çift önyükleme özelliğini desteklemiyor!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Uyarı: Yeniden başlatılınca kaybedilecek henüz kaydedilmemiş değişiklikler "
"var!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Uyarı: Bu sistem kapatma fonksiyonunu desteklemiyor!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Uyarı: Cihaz bilgisi alınamıyor!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "alternatif bölüm bağlanmaya çalışılıyor (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternatif"
+
+#~ msgid "Changes applied."
+#~ msgstr "Değişiklikler uygulandı."
+
+#~ msgid "Current"
+#~ msgstr "Geçerli"
+
+#~ msgid "Loading"
+#~ msgstr "Yükleniyor"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Yeniden Başlatılıyor..."
+
+#~ msgid "System"
+#~ msgstr "Sistem"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Sistem yeniden başlatılıyor.<br /> CİHAZ GÜCÜNÜ KAPATMAYIN!<br /> Yeniden "
+#~ "bağlanmayı denemeden önce birkaç dakika bekleyin.Bu ayarlarınıza göre, "
+#~ "yeniden cihaza erişebilmeniz için, bilgisayar adresinin yenilenmesinde "
+#~ "gereklidir."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Değişikliklerin uygulanması bekleniyor..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "alternatif bölüm bağlanmaya çalışılıyor (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "alternatif bölümün bağlantısı kesilmeye çalışılıyor (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "alternatif bölümün bağlantısı kesilmeye çalışılıyor (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Firmware ortam değişkenine ulaşılamıyor"
diff --git a/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
index 951c61f85d..71666f8792 100644
--- a/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.11-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Розширене перезавантаження"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Альтернатива"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Скасувати"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Зміни застосовано."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Підтвердити"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Поточний"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "ПОМИЛКА:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -57,81 +46,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Завантаження"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Розділ"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Розділи"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Вимкнути живлення пристрою"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Продовжити"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "Перезавантаження"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Перезавантаження..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Стан"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Система"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -139,47 +115,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "Невідомо"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -191,41 +158,51 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Застереження: Є незбережені зміни, які буде втрачено при перезавантаженні!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Альтернатива"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Зміни застосовано."
+
+#~ msgid "Current"
+#~ msgstr "Поточний"
+
+#~ msgid "Loading"
+#~ msgstr "Завантаження"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Перезавантаження..."
+
+#~ msgid "System"
+#~ msgstr "Система"
#~ msgid "Action"
#~ msgstr "Дія"
diff --git a/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
index 89b4a58ec0..0dc07c4ee4 100644
--- a/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 3.10-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Khởi động nâng cao"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "Thay thế"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "Hủy bỏ"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Các thay đổi đã được áp dụng."
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "Xác nhận"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "Hiện tại"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "Lỗi:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr ""
@@ -56,85 +45,68 @@ msgstr ""
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Đang tải"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Không thể truy cập tới fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "Phân vùng"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "Phân vùng"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "Thực hiện tắt nguồn..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "Tắt nguồn thiết bị"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "Tiến trình"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "Khởi động lại thiết bị vào phân vùng thay thế"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "Đang khởi động vào phân vùng thay thế..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "Khởi động lại vào phần vùng hiện tại"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "Đang khởi động lại..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "Đang tắt nguồn..."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "Trạng thái"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Hệ thống"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"Hệ thống sẽ được khởi động lại ngay.<br /> VUI LÒNG KHÔNG TẮT NGUỒN THIẾT BỊ!"
-"<br /> Vui lòng chờ một vài phút trước khi thử kết nối lại. Bạn có thể cần "
-"phải cập nhật lại địa chỉ máy tính để kết nối lại với thiết bị, phụ thuộc "
-"vào cài đặt máy tính."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -146,7 +118,7 @@ msgstr ""
"nối lại. Bạn có thể cần phải cập nhật lại địa chỉ máy tính để kết nối lại "
"với thiết bị, phụ thuộc vào cài đặt máy tính."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -156,40 +128,31 @@ msgstr ""
"<br /> Bạn có thể cần phải cập nhật lại địa chỉ máy tính để kết nối lại với "
"thiết bị, phụ thuộc vào cài đặt máy tính."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Không tìm thấy phân vùng khởi động kép."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -201,42 +164,66 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Vui lòng chờ để áp dụng các thay đổi..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Cảnh báo: Không thể nhận diện thiết bị (%s) hoặc không phải là thiết bị có "
"hai phân vùng!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Cảnh báo: Những thay đổi chưa được lưu sẽ bị xóa khi khởi động lại!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "Cảnh báo: Hệ thống không hỗ trợ việc tắt nguồn!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "Cảnh báo: Không lấy được thông tin thiết bị!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Thay thế"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Các thay đổi đã được áp dụng."
+
+#~ msgid "Current"
+#~ msgstr "Hiện tại"
+
+#~ msgid "Loading"
+#~ msgstr "Đang tải"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Đang khởi động lại..."
+
+#~ msgid "System"
+#~ msgstr "Hệ thống"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "Hệ thống sẽ được khởi động lại ngay.<br /> VUI LÒNG KHÔNG TẮT NGUỒN THIẾT "
+#~ "BỊ!<br /> Vui lòng chờ một vài phút trước khi thử kết nối lại. Bạn có thể "
+#~ "cần phải cập nhật lại địa chỉ máy tính để kết nối lại với thiết bị, phụ "
+#~ "thuộc vào cài đặt máy tính."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Vui lòng chờ để áp dụng các thay đổi..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Không thể lấy được biến bộ nạp khởi động"
diff --git a/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
index aec7360ea9..29658bf706 100644
--- a/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
@@ -16,45 +16,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.0.2-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "高级重启"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "备用"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "取消"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "更改已应用。"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "压缩"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "确认"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "当前"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "错误:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "固件"
@@ -62,83 +51,68 @@ msgstr "固件"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "加载中"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "无法访问 fw_printenv 或 fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "分区"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "分区"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "执行关机…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "设备关机"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "继续"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "重启"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "将设备重启至备用分区"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "重启到备用分区…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "重启到当前分区"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "正在重启…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "正在关机…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "状态"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "系统"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待数分"
-"钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -149,7 +123,7 @@ msgstr ""
"<br />等待数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重"
"新连接。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -158,40 +132,31 @@ msgstr ""
"系统现在正在关机。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待"
"数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "无法找到双引导标志分区。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr "无法获取固件环境变量: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "无法为分区设置双启动标志分区项: %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "无法设置固件环境变量: %s to %s."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "未知"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -207,7 +172,7 @@ msgstr ""
"问您的设备。<br /><br />请注意,备用分区固件可能无法提供切换活动分区和引导回"
"当前活动分区的简便方法。<br /><br />点击下方“继续”,使设备重启至备用分区。"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -216,33 +181,61 @@ msgstr ""
"警告:对于不支持关机的设备,关机可能会导致重新启动。<br /><br />点击下方“继"
"续”,使设备关机。"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "正在等待应用更改…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "警告:设备(%s)未知或不是双分区设备!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "警告:未保存的更改会在重启时丢失!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "警告:此系统不支持关闭电源!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "警告:无法获取设备信息!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "正在尝试挂载备用分区 (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "备用"
+
+#~ msgid "Changes applied."
+#~ msgstr "更改已应用。"
+
+#~ msgid "Current"
+#~ msgstr "当前"
+
+#~ msgid "Loading"
+#~ msgstr "加载中"
+
+#~ msgid "Rebooting..."
+#~ msgstr "正在重启…"
+
+#~ msgid "System"
+#~ msgstr "系统"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待"
+#~ "数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "正在等待应用更改…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "正在尝试挂载备用分区 (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "正在尝试卸载备用分区 (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "正在尝试卸载备用分区 (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "无法获取固件环境变量"
diff --git a/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
index cebed2cd96..325fbd2a29 100644
--- a/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
@@ -13,45 +13,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.0-dev\n"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "進階重啟"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "備用"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
msgid "Cancel"
msgstr "取消"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "變更已套用。"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Compressed"
msgstr "已壓縮"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Confirm"
msgstr "確認"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "目前"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
msgid "ERROR:"
msgstr "錯誤:"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
msgid "Firmware"
msgstr "韌體"
@@ -59,83 +48,68 @@ msgstr "韌體"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "載入中"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
msgid "No access to fw_printenv or fw_printenv!"
msgstr "無法訪問 fw_printenv 或 fw_printenv!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
msgid "Partition"
msgstr "分割槽"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
msgid "Partitions"
msgstr "分割區"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
msgid "Perform power off..."
msgstr "執行關機…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
msgid "Power Off Device"
msgstr "關閉裝置"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
msgid "Proceed"
msgstr "繼續"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
msgid "Reboot"
msgstr "重啟"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
msgid "Reboot Device to an Alternative Partition"
msgstr "重啟至備用分割區"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
msgid "Reboot to alternative partition..."
msgstr "重啟到備用分割區…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
msgid "Reboot to current partition"
msgstr "重啟到當前分割區"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
-msgstr "正在重啟…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting…"
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
msgid "Shutting down..."
msgstr "正在關機…"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Status"
msgstr "狀態"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "系統"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
msgstr ""
-"系統正在重啟。<br />切勿關閉電源!<br />等待數分鍾後即可嘗試重新連線。您可能"
-"需要更改電腦的 IP 位址以重新連線。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
msgid ""
"The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
"OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -145,7 +119,7 @@ msgstr ""
"系統現在正在重啟到備用分割槽。<br />切勿關閉電源! <br />等待數分鐘後即可嘗試"
"重新連線。您可能需要更改電腦的 IP 地址以重新連線。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid ""
"The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
"might be necessary to renew the address of your computer to reach the device "
@@ -154,40 +128,31 @@ msgstr ""
"系統現在正在關機。<br />切勿關閉電源! <br />等待數分鐘後即可嘗試重新連線。您"
"可能需要更改電腦的 IP 位址以重新連線。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "無法找到雙引導標誌分割槽。"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
msgid "Unknown"
msgstr "未知的"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -204,7 +169,7 @@ msgstr ""
"和引導回當前活動分割槽的簡便方法。<br /><br />點選下方「繼續」,使裝置重啟至"
"備用分割區。"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid ""
"WARNING: Power off might result in a reboot on a device which doesn't "
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -213,33 +178,55 @@ msgstr ""
"警告:對於不支援關機的裝置,關機可能會導致重新啟動。<br /><br />點選下方「繼"
"續」,使裝置關機。"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "正在等待設定套用..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "警告:裝置(%s)未知或不是雙分割區裝置!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "警告:未儲存的更改會在重啟時遺失!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
msgid "Warning: This system does not support powering off!"
msgstr "警告:此系統不支援關閉電源!"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Unable to obtain device information!"
msgstr "警告:無法獲取裝置資訊!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "備用"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "變更已套用。"
+
+#~ msgid "Current"
+#~ msgstr "目前"
+
+#~ msgid "Loading"
+#~ msgstr "載入中"
+
+#~ msgid "Rebooting..."
+#~ msgstr "正在重啟…"
+
+#~ msgid "System"
+#~ msgstr "系統"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "系統正在重啟。<br />切勿關閉電源!<br />等待數分鍾後即可嘗試重新連線。您可"
+#~ "能需要更改電腦的 IP 位址以重新連線。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "正在等待設定套用..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "無法獲取韌體環境變數"