mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
mod Restore bootloader disk(lszrz)
This commit is contained in:
parent
e688fc4c5c
commit
fbe91a3c0c
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-09 07:43+0800\n"
|
||||
"POT-Creation-Date: 2023-05-11 00:57+0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -205,7 +205,7 @@ msgstr ""
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:191 menu.sh:240 menu.sh:359 menu.sh:473 menu.sh:586 menu.sh:1241
|
||||
#: menu.sh:191 menu.sh:240 menu.sh:359 menu.sh:473 menu.sh:586 menu.sh:1244
|
||||
msgid "Choose a option"
|
||||
msgstr ""
|
||||
|
||||
@ -221,7 +221,7 @@ msgstr ""
|
||||
msgid "Please enter a serial number "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:210 menu.sh:543 menu.sh:1188 menu.sh:1465
|
||||
#: menu.sh:210 menu.sh:543 menu.sh:1191 menu.sh:1468
|
||||
msgid "Alert"
|
||||
msgstr ""
|
||||
|
||||
@ -249,8 +249,8 @@ msgstr ""
|
||||
msgid "Download a external addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:246 menu.sh:365 menu.sh:470 menu.sh:582 menu.sh:900 menu.sh:1247
|
||||
#: menu.sh:1515
|
||||
#: menu.sh:246 menu.sh:365 menu.sh:470 menu.sh:582 menu.sh:900 menu.sh:1250
|
||||
#: menu.sh:1518
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
@ -318,7 +318,7 @@ msgstr ""
|
||||
msgid "File format not recognized!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:347 menu.sh:376 menu.sh:387 menu.sh:400 menu.sh:406 menu.sh:1495
|
||||
#: menu.sh:347 menu.sh:376 menu.sh:387 menu.sh:400 menu.sh:406 menu.sh:1498
|
||||
msgid "Modules"
|
||||
msgstr ""
|
||||
|
||||
@ -598,7 +598,7 @@ msgstr ""
|
||||
msgid "Addon %s not found!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:865 menu.sh:1534
|
||||
#: menu.sh:865 menu.sh:1537
|
||||
msgid "Cleaning"
|
||||
msgstr ""
|
||||
|
||||
@ -647,18 +647,18 @@ msgid "Custom dts file # Need rebuild"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:898
|
||||
msgid "Backup bootloader disk # dd"
|
||||
msgid "Backup bootloader disk # test"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:899
|
||||
msgid "Restore bootloader disk # dd"
|
||||
msgid "Restore bootloader disk # test"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:902 menu.sh:991
|
||||
msgid "Advanced"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:903 menu.sh:1518
|
||||
#: menu.sh:903 menu.sh:1521
|
||||
msgid "Choose the option"
|
||||
msgstr ""
|
||||
|
||||
@ -720,7 +720,7 @@ msgstr ""
|
||||
msgid "Formatting is complete."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1009 menu.sh:1060 menu.sh:1077
|
||||
#: menu.sh:1009 menu.sh:1060 menu.sh:1097
|
||||
msgid ""
|
||||
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the "
|
||||
"arpl. Do you want to continue?"
|
||||
@ -768,225 +768,231 @@ msgstr ""
|
||||
msgid "backup is complete."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1076 menu.sh:1093 menu.sh:1096 menu.sh:1104
|
||||
#: menu.sh:1076 menu.sh:1093 menu.sh:1096 menu.sh:1099 menu.sh:1107
|
||||
msgid "Restore bootloader disk"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1077
|
||||
msgid ""
|
||||
"Please upload the backup file.\\nCurrently, zip(github) and img.gz(backup) "
|
||||
"compressed file formats are supported."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1094
|
||||
msgid "Not a valid .zip/.img.gz file, please try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1097
|
||||
msgid "A valid file, Writing..."
|
||||
#: menu.sh:1100
|
||||
msgid "Writing..."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1105
|
||||
#: menu.sh:1108
|
||||
msgid "Restore bootloader disk with success to %s!\\nReboot?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1119 menu.sh:1147 menu.sh:1154
|
||||
#: menu.sh:1122 menu.sh:1150 menu.sh:1157
|
||||
msgid "Try recovery DSM"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1120
|
||||
#: menu.sh:1123
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1141
|
||||
#: menu.sh:1144
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1145
|
||||
#: menu.sh:1148
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1155
|
||||
#: menu.sh:1158
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1163
|
||||
#: menu.sh:1166
|
||||
msgid "Edit with caution"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1169
|
||||
#: menu.sh:1172
|
||||
msgid "Invalid YAML format"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1189
|
||||
#: menu.sh:1192
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1201 menu.sh:1509
|
||||
#: menu.sh:1204 menu.sh:1512
|
||||
msgid "Choose a language"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1214
|
||||
#: menu.sh:1217
|
||||
msgid "Choose a layout"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1224
|
||||
#: menu.sh:1227
|
||||
msgid "Choice a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1242 menu.sh:1252 menu.sh:1260 menu.sh:1266 menu.sh:1270
|
||||
#: menu.sh:1275 menu.sh:1281 menu.sh:1288 menu.sh:1297 menu.sh:1302
|
||||
#: menu.sh:1319
|
||||
#: menu.sh:1245 menu.sh:1255 menu.sh:1263 menu.sh:1269 menu.sh:1273
|
||||
#: menu.sh:1278 menu.sh:1284 menu.sh:1291 menu.sh:1300 menu.sh:1305
|
||||
#: menu.sh:1322
|
||||
msgid "Update arpl"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1243 menu.sh:1327 menu.sh:1335 menu.sh:1341 menu.sh:1345
|
||||
#: menu.sh:1349 menu.sh:1353 menu.sh:1358 menu.sh:1369
|
||||
#: menu.sh:1246 menu.sh:1330 menu.sh:1338 menu.sh:1344 menu.sh:1348
|
||||
#: menu.sh:1352 menu.sh:1356 menu.sh:1361 menu.sh:1372
|
||||
msgid "Update addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1244 menu.sh:1374 menu.sh:1382 menu.sh:1388 menu.sh:1392
|
||||
#: menu.sh:1396 menu.sh:1411
|
||||
#: menu.sh:1247 menu.sh:1377 menu.sh:1385 menu.sh:1391 menu.sh:1395
|
||||
#: menu.sh:1399 menu.sh:1414
|
||||
msgid "Update modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1245 menu.sh:1416 menu.sh:1424 menu.sh:1430 menu.sh:1434
|
||||
#: menu.sh:1438 menu.sh:1442 menu.sh:1447
|
||||
#: menu.sh:1248 menu.sh:1419 menu.sh:1427 menu.sh:1433 menu.sh:1437
|
||||
#: menu.sh:1441 menu.sh:1445 menu.sh:1450
|
||||
msgid "Update LKMs"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1246
|
||||
#: menu.sh:1249
|
||||
msgid "Set proxy server"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1253 menu.sh:1328 menu.sh:1375 menu.sh:1417
|
||||
#: menu.sh:1256 menu.sh:1331 menu.sh:1378 menu.sh:1420
|
||||
msgid "Checking last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1261 menu.sh:1336 menu.sh:1383 menu.sh:1425
|
||||
#: menu.sh:1264 menu.sh:1339 menu.sh:1386 menu.sh:1428
|
||||
msgid "Error checking new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1267 menu.sh:1342 menu.sh:1389 menu.sh:1431
|
||||
#: menu.sh:1270 menu.sh:1345 menu.sh:1392 menu.sh:1434
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1271
|
||||
#: menu.sh:1274
|
||||
msgid "Downloading last version %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1276
|
||||
#: menu.sh:1279
|
||||
msgid "Error downloading update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1282
|
||||
#: menu.sh:1285
|
||||
msgid "Error extracting update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1289
|
||||
#: menu.sh:1292
|
||||
msgid "Checksum do not match!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1298
|
||||
#: menu.sh:1301
|
||||
msgid ""
|
||||
"The current version does not support upgrading to the latest update.zip. "
|
||||
"Please remake the bootloader disk!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1303
|
||||
#: menu.sh:1306
|
||||
msgid "Installing new files"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1320
|
||||
#: menu.sh:1323
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1346 menu.sh:1393 menu.sh:1435
|
||||
#: menu.sh:1349 menu.sh:1396 menu.sh:1438
|
||||
msgid "Downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1350
|
||||
#: menu.sh:1353
|
||||
msgid "Error downloading new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1354 menu.sh:1443
|
||||
#: menu.sh:1357 menu.sh:1446
|
||||
msgid "Extracting last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1359
|
||||
#: menu.sh:1362
|
||||
msgid "Installing new addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1370
|
||||
#: menu.sh:1373
|
||||
msgid "Addons updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1397 menu.sh:1439
|
||||
#: menu.sh:1400 menu.sh:1442
|
||||
msgid "Error downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1412
|
||||
#: menu.sh:1415
|
||||
msgid "Modules updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1448
|
||||
#: menu.sh:1451
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1454
|
||||
#: menu.sh:1457
|
||||
msgid "Set Proxy Server"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1455
|
||||
#: menu.sh:1458
|
||||
msgid "Please enter a proxy server url"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1466
|
||||
#: menu.sh:1469
|
||||
msgid "Invalid proxy server url, continue?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1489
|
||||
#: menu.sh:1492
|
||||
msgid "Choose a model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1491
|
||||
#: menu.sh:1494
|
||||
msgid "Choose a Build Number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1492
|
||||
#: menu.sh:1495
|
||||
msgid "Choose a serial number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1494
|
||||
#: menu.sh:1497
|
||||
msgid "Addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1496
|
||||
#: menu.sh:1499
|
||||
msgid "Cmdline menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1497
|
||||
#: menu.sh:1500
|
||||
msgid "Synoinfo menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1500
|
||||
#: menu.sh:1503
|
||||
msgid "Advanced menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1503
|
||||
#: menu.sh:1506
|
||||
msgid "Build the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1507
|
||||
#: menu.sh:1510
|
||||
msgid "Boot the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1510
|
||||
#: menu.sh:1513
|
||||
msgid "Choose a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1512
|
||||
#: menu.sh:1515
|
||||
msgid "Clean disk cache"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1514
|
||||
#: menu.sh:1517
|
||||
msgid "Update menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1541
|
||||
#: menu.sh:1544
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||
msgstr ""
|
||||
|
Binary file not shown.
@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: arpl-i18n\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-09 07:43+0800\n"
|
||||
"PO-Revision-Date: 2023-05-09 07:43+0800\n"
|
||||
"POT-Creation-Date: 2023-05-11 00:57+0800\n"
|
||||
"PO-Revision-Date: 2023-05-11 00:58+0800\n"
|
||||
"Last-Translator: ing <wjz304@qq.com>\n"
|
||||
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
|
||||
"Language: zh_CN\n"
|
||||
@ -204,7 +204,7 @@ msgstr "该版本不支持UEFI启动, 请选择其他版本或者切换启动模
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr "重新配置 Syninfo, 插件和模块"
|
||||
|
||||
#: menu.sh:191 menu.sh:240 menu.sh:359 menu.sh:473 menu.sh:586 menu.sh:1241
|
||||
#: menu.sh:191 menu.sh:240 menu.sh:359 menu.sh:473 menu.sh:586 menu.sh:1244
|
||||
msgid "Choose a option"
|
||||
msgstr "设置"
|
||||
|
||||
@ -220,7 +220,7 @@ msgstr "输入SN"
|
||||
msgid "Please enter a serial number "
|
||||
msgstr "请输入SN "
|
||||
|
||||
#: menu.sh:210 menu.sh:543 menu.sh:1188 menu.sh:1465
|
||||
#: menu.sh:210 menu.sh:543 menu.sh:1191 menu.sh:1468
|
||||
msgid "Alert"
|
||||
msgstr "警告"
|
||||
|
||||
@ -248,8 +248,8 @@ msgstr "显示所有可用插件"
|
||||
msgid "Download a external addon"
|
||||
msgstr "下载外部插件"
|
||||
|
||||
#: menu.sh:246 menu.sh:365 menu.sh:470 menu.sh:582 menu.sh:900 menu.sh:1247
|
||||
#: menu.sh:1515
|
||||
#: menu.sh:246 menu.sh:365 menu.sh:470 menu.sh:582 menu.sh:900 menu.sh:1250
|
||||
#: menu.sh:1518
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
@ -317,7 +317,7 @@ msgstr "无效插件"
|
||||
msgid "File format not recognized!"
|
||||
msgstr "文件格式无法识别!"
|
||||
|
||||
#: menu.sh:347 menu.sh:376 menu.sh:387 menu.sh:400 menu.sh:406 menu.sh:1495
|
||||
#: menu.sh:347 menu.sh:376 menu.sh:387 menu.sh:400 menu.sh:406 menu.sh:1498
|
||||
msgid "Modules"
|
||||
msgstr "模块"
|
||||
|
||||
@ -597,7 +597,7 @@ msgstr "拷贝文件: "
|
||||
msgid "Addon %s not found!"
|
||||
msgstr "插件 %s 未找到!"
|
||||
|
||||
#: menu.sh:865 menu.sh:1534
|
||||
#: menu.sh:865 menu.sh:1537
|
||||
msgid "Cleaning"
|
||||
msgstr "清除中"
|
||||
|
||||
@ -646,18 +646,18 @@ msgid "Custom dts file # Need rebuild"
|
||||
msgstr "自定义 dts 文件 # 需要重新编译"
|
||||
|
||||
#: menu.sh:898
|
||||
msgid "Backup bootloader disk # dd"
|
||||
msgstr "备份启动盘 # dd"
|
||||
msgid "Backup bootloader disk # test"
|
||||
msgstr "备份启动盘 # 测试"
|
||||
|
||||
#: menu.sh:899
|
||||
msgid "Restore bootloader disk # dd"
|
||||
msgstr "恢复启动盘 # dd"
|
||||
msgid "Restore bootloader disk # test"
|
||||
msgstr "恢复启动盘 # 测试"
|
||||
|
||||
#: menu.sh:902 menu.sh:991
|
||||
msgid "Advanced"
|
||||
msgstr "高级"
|
||||
|
||||
#: menu.sh:903 menu.sh:1518
|
||||
#: menu.sh:903 menu.sh:1521
|
||||
msgid "Choose the option"
|
||||
msgstr "设置"
|
||||
|
||||
@ -719,7 +719,7 @@ msgstr "格式化中..."
|
||||
msgid "Formatting is complete."
|
||||
msgstr "格式化完成."
|
||||
|
||||
#: menu.sh:1009 menu.sh:1060 menu.sh:1077
|
||||
#: menu.sh:1009 menu.sh:1060 menu.sh:1097
|
||||
msgid ""
|
||||
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the "
|
||||
"arpl. Do you want to continue?"
|
||||
@ -767,225 +767,231 @@ msgstr "备份中..."
|
||||
msgid "backup is complete."
|
||||
msgstr "备份完成."
|
||||
|
||||
#: menu.sh:1076 menu.sh:1093 menu.sh:1096 menu.sh:1104
|
||||
#: menu.sh:1076 menu.sh:1093 menu.sh:1096 menu.sh:1099 menu.sh:1107
|
||||
msgid "Restore bootloader disk"
|
||||
msgstr "恢复启动盘"
|
||||
|
||||
#: menu.sh:1077
|
||||
msgid ""
|
||||
"Please upload the backup file.\\nCurrently, zip(github) and img.gz(backup) "
|
||||
"compressed file formats are supported."
|
||||
msgstr "请上传备份的文件\\n当前支持 zip(github) 和 img.gz(backup) 格式."
|
||||
|
||||
#: menu.sh:1094
|
||||
msgid "Not a valid .zip/.img.gz file, please try again!"
|
||||
msgstr "不是有效的.zip/.img.gz文件, 请重试!"
|
||||
|
||||
#: menu.sh:1097
|
||||
msgid "A valid file, Writing..."
|
||||
msgstr "有效的文件, 写入中..."
|
||||
#: menu.sh:1100
|
||||
msgid "Writing..."
|
||||
msgstr "写入中..."
|
||||
|
||||
#: menu.sh:1105
|
||||
#: menu.sh:1108
|
||||
msgid "Restore bootloader disk with success to %s!\\nReboot?"
|
||||
msgstr "成功恢复启动盘到 %s!\\n重启?"
|
||||
|
||||
#: menu.sh:1119 menu.sh:1147 menu.sh:1154
|
||||
#: menu.sh:1122 menu.sh:1150 menu.sh:1157
|
||||
msgid "Try recovery DSM"
|
||||
msgstr "尝试恢复DSM系统"
|
||||
|
||||
#: menu.sh:1120
|
||||
#: menu.sh:1123
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr "尝试恢复已安装的DSM系统中"
|
||||
|
||||
#: menu.sh:1141
|
||||
#: menu.sh:1144
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr "找到已安装:\\n型号: %s\\n版本: %s"
|
||||
|
||||
#: menu.sh:1145
|
||||
#: menu.sh:1148
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr "\\nSN: %s"
|
||||
|
||||
#: menu.sh:1155
|
||||
#: menu.sh:1158
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr "很遗憾, 我无法挂载DSM分区!"
|
||||
|
||||
#: menu.sh:1163
|
||||
#: menu.sh:1166
|
||||
msgid "Edit with caution"
|
||||
msgstr "请谨慎编辑"
|
||||
|
||||
#: menu.sh:1169
|
||||
#: menu.sh:1172
|
||||
msgid "Invalid YAML format"
|
||||
msgstr "无效的YAML格式"
|
||||
|
||||
#: menu.sh:1189
|
||||
#: menu.sh:1192
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr "配置已更改, 是否重新编译引导?"
|
||||
|
||||
#: menu.sh:1201 menu.sh:1509
|
||||
#: menu.sh:1204 menu.sh:1512
|
||||
msgid "Choose a language"
|
||||
msgstr "选择语言"
|
||||
|
||||
#: menu.sh:1214
|
||||
#: menu.sh:1217
|
||||
msgid "Choose a layout"
|
||||
msgstr "选择布局"
|
||||
|
||||
#: menu.sh:1224
|
||||
#: menu.sh:1227
|
||||
msgid "Choice a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:1242 menu.sh:1252 menu.sh:1260 menu.sh:1266 menu.sh:1270
|
||||
#: menu.sh:1275 menu.sh:1281 menu.sh:1288 menu.sh:1297 menu.sh:1302
|
||||
#: menu.sh:1319
|
||||
#: menu.sh:1245 menu.sh:1255 menu.sh:1263 menu.sh:1269 menu.sh:1273
|
||||
#: menu.sh:1278 menu.sh:1284 menu.sh:1291 menu.sh:1300 menu.sh:1305
|
||||
#: menu.sh:1322
|
||||
msgid "Update arpl"
|
||||
msgstr "更新arpl"
|
||||
|
||||
#: menu.sh:1243 menu.sh:1327 menu.sh:1335 menu.sh:1341 menu.sh:1345
|
||||
#: menu.sh:1349 menu.sh:1353 menu.sh:1358 menu.sh:1369
|
||||
#: menu.sh:1246 menu.sh:1330 menu.sh:1338 menu.sh:1344 menu.sh:1348
|
||||
#: menu.sh:1352 menu.sh:1356 menu.sh:1361 menu.sh:1372
|
||||
msgid "Update addons"
|
||||
msgstr "更新插件"
|
||||
|
||||
#: menu.sh:1244 menu.sh:1374 menu.sh:1382 menu.sh:1388 menu.sh:1392
|
||||
#: menu.sh:1396 menu.sh:1411
|
||||
#: menu.sh:1247 menu.sh:1377 menu.sh:1385 menu.sh:1391 menu.sh:1395
|
||||
#: menu.sh:1399 menu.sh:1414
|
||||
msgid "Update modules"
|
||||
msgstr "更新模块"
|
||||
|
||||
#: menu.sh:1245 menu.sh:1416 menu.sh:1424 menu.sh:1430 menu.sh:1434
|
||||
#: menu.sh:1438 menu.sh:1442 menu.sh:1447
|
||||
#: menu.sh:1248 menu.sh:1419 menu.sh:1427 menu.sh:1433 menu.sh:1437
|
||||
#: menu.sh:1441 menu.sh:1445 menu.sh:1450
|
||||
msgid "Update LKMs"
|
||||
msgstr "更新LKMs"
|
||||
|
||||
#: menu.sh:1246
|
||||
#: menu.sh:1249
|
||||
msgid "Set proxy server"
|
||||
msgstr "设置代理"
|
||||
|
||||
#: menu.sh:1253 menu.sh:1328 menu.sh:1375 menu.sh:1417
|
||||
#: menu.sh:1256 menu.sh:1331 menu.sh:1378 menu.sh:1420
|
||||
msgid "Checking last version"
|
||||
msgstr "检测新版本中"
|
||||
|
||||
#: menu.sh:1261 menu.sh:1336 menu.sh:1383 menu.sh:1425
|
||||
#: menu.sh:1264 menu.sh:1339 menu.sh:1386 menu.sh:1428
|
||||
msgid "Error checking new version"
|
||||
msgstr "检测新版本错误"
|
||||
|
||||
#: menu.sh:1267 menu.sh:1342 menu.sh:1389 menu.sh:1431
|
||||
#: menu.sh:1270 menu.sh:1345 menu.sh:1392 menu.sh:1434
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr "没有新版本. 实际版本为 %s\\n强制更新?"
|
||||
|
||||
#: menu.sh:1271
|
||||
#: menu.sh:1274
|
||||
msgid "Downloading last version %s"
|
||||
msgstr "下载新版本 %s 中"
|
||||
|
||||
#: menu.sh:1276
|
||||
#: menu.sh:1279
|
||||
msgid "Error downloading update file"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1282
|
||||
#: menu.sh:1285
|
||||
msgid "Error extracting update file"
|
||||
msgstr "更新文件解压错误"
|
||||
|
||||
#: menu.sh:1289
|
||||
#: menu.sh:1292
|
||||
msgid "Checksum do not match!"
|
||||
msgstr "Checksum不匹配!"
|
||||
|
||||
#: menu.sh:1298
|
||||
#: menu.sh:1301
|
||||
msgid ""
|
||||
"The current version does not support upgrading to the latest update.zip. "
|
||||
"Please remake the bootloader disk!"
|
||||
msgstr "当前版本不支持最新的update.zip升级, 请重新制作引导盘!"
|
||||
|
||||
#: menu.sh:1303
|
||||
#: menu.sh:1306
|
||||
msgid "Installing new files"
|
||||
msgstr "安装更新中"
|
||||
|
||||
#: menu.sh:1320
|
||||
#: menu.sh:1323
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr "Arpl更新成功 %s!\\n重启?"
|
||||
|
||||
#: menu.sh:1346 menu.sh:1393 menu.sh:1435
|
||||
#: menu.sh:1349 menu.sh:1396 menu.sh:1438
|
||||
msgid "Downloading last version"
|
||||
msgstr "下载新版本中"
|
||||
|
||||
#: menu.sh:1350
|
||||
#: menu.sh:1353
|
||||
msgid "Error downloading new version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1354 menu.sh:1443
|
||||
#: menu.sh:1357 menu.sh:1446
|
||||
msgid "Extracting last version"
|
||||
msgstr "解压新版本"
|
||||
|
||||
#: menu.sh:1359
|
||||
#: menu.sh:1362
|
||||
msgid "Installing new addons"
|
||||
msgstr "安装新插件中"
|
||||
|
||||
#: menu.sh:1370
|
||||
#: menu.sh:1373
|
||||
msgid "Addons updated with success!"
|
||||
msgstr "插件更新成功!"
|
||||
|
||||
#: menu.sh:1397 menu.sh:1439
|
||||
#: menu.sh:1400 menu.sh:1442
|
||||
msgid "Error downloading last version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1412
|
||||
#: menu.sh:1415
|
||||
msgid "Modules updated with success!"
|
||||
msgstr "模块更新成功!"
|
||||
|
||||
#: menu.sh:1448
|
||||
#: menu.sh:1451
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr "LKMs更新成功!"
|
||||
|
||||
#: menu.sh:1454
|
||||
#: menu.sh:1457
|
||||
msgid "Set Proxy Server"
|
||||
msgstr "设置代理"
|
||||
|
||||
#: menu.sh:1455
|
||||
#: menu.sh:1458
|
||||
msgid "Please enter a proxy server url"
|
||||
msgstr "请输入代理服务器url"
|
||||
|
||||
#: menu.sh:1466
|
||||
#: menu.sh:1469
|
||||
msgid "Invalid proxy server url, continue?"
|
||||
msgstr "无效的代理服务器url,是否继续?"
|
||||
|
||||
#: menu.sh:1489
|
||||
#: menu.sh:1492
|
||||
msgid "Choose a model"
|
||||
msgstr "选择型号"
|
||||
|
||||
#: menu.sh:1491
|
||||
#: menu.sh:1494
|
||||
msgid "Choose a Build Number"
|
||||
msgstr "选择版本"
|
||||
|
||||
#: menu.sh:1492
|
||||
#: menu.sh:1495
|
||||
msgid "Choose a serial number"
|
||||
msgstr "选择SN"
|
||||
|
||||
#: menu.sh:1494
|
||||
#: menu.sh:1497
|
||||
msgid "Addons"
|
||||
msgstr "插件"
|
||||
|
||||
#: menu.sh:1496
|
||||
#: menu.sh:1499
|
||||
msgid "Cmdline menu"
|
||||
msgstr "设置Cmdline"
|
||||
|
||||
#: menu.sh:1497
|
||||
#: menu.sh:1500
|
||||
msgid "Synoinfo menu"
|
||||
msgstr "设置Synoinfo"
|
||||
|
||||
#: menu.sh:1500
|
||||
#: menu.sh:1503
|
||||
msgid "Advanced menu"
|
||||
msgstr "高级设置"
|
||||
|
||||
#: menu.sh:1503
|
||||
#: menu.sh:1506
|
||||
msgid "Build the loader"
|
||||
msgstr "编译引导"
|
||||
|
||||
#: menu.sh:1507
|
||||
#: menu.sh:1510
|
||||
msgid "Boot the loader"
|
||||
msgstr "启动"
|
||||
|
||||
#: menu.sh:1510
|
||||
#: menu.sh:1513
|
||||
msgid "Choose a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:1512
|
||||
#: menu.sh:1515
|
||||
msgid "Clean disk cache"
|
||||
msgstr "清除磁盘缓存"
|
||||
|
||||
#: menu.sh:1514
|
||||
#: menu.sh:1517
|
||||
msgid "Update menu"
|
||||
msgstr "更新"
|
||||
|
||||
#: menu.sh:1541
|
||||
#: menu.sh:1544
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||
msgstr "执行 \\033[1;32mmenu.sh\\033[0m 重新进入设置菜单"
|
||||
|
@ -895,8 +895,8 @@ function advancedMenu() {
|
||||
if [ -n "${MODEL}" -a "true" = "`readModelKey "${MODEL}" "dt"`" ]; then
|
||||
echo "d \"$(TEXT "Custom dts file # Need rebuild")\"" >> "${TMP_PATH}/menu"
|
||||
fi
|
||||
echo "b \"$(TEXT "Backup bootloader disk # dd")\"" >> "${TMP_PATH}/menu"
|
||||
echo "r \"$(TEXT "Restore bootloader disk # dd")\"" >> "${TMP_PATH}/menu"
|
||||
echo "b \"$(TEXT "Backup bootloader disk # test")\"" >> "${TMP_PATH}/menu"
|
||||
echo "r \"$(TEXT "Restore bootloader disk # test")\"" >> "${TMP_PATH}/menu"
|
||||
echo "e \"$(TEXT "Exit")\"" >> "${TMP_PATH}/menu"
|
||||
|
||||
dialog --default-item ${NEXT} --backtitle "`backtitle`" --title "$(TEXT "Advanced")" \
|
||||
@ -1032,7 +1032,7 @@ function advancedMenu() {
|
||||
rm -rf ${TMP_PATH}
|
||||
mkdir -p ${TMP_PATH}
|
||||
pushd ${TMP_PATH}
|
||||
rz -q
|
||||
rz -be
|
||||
for F in `ls -A`; do
|
||||
USER_FILE=${TMP_PATH}/${F}
|
||||
dtc -q -I dts -O dtb ${F} > test.dtb
|
||||
@ -1073,36 +1073,39 @@ function advancedMenu() {
|
||||
--msgbox "$(TEXT "This feature is only available when accessed via web/ssh.")" 0 0
|
||||
return
|
||||
fi
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" \
|
||||
--yesno "$(TEXT "Warning:\nDo not terminate midway, otherwise it may cause damage to the arpl. Do you want to continue?")" 0 0
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" --aspect 18 \
|
||||
--yesno "$(TEXT "Please upload the backup file.\nCurrently, zip(github) and img.gz(backup) compressed file formats are supported.")" 0 0
|
||||
[ $? -ne 0 ] && return
|
||||
IFTOOL=""
|
||||
TMP_PATH=/tmp/users
|
||||
rm -rf ${TMP_PATH}
|
||||
mkdir -p ${TMP_PATH}
|
||||
pushd ${TMP_PATH}
|
||||
rz -byeq
|
||||
rz -be
|
||||
for F in `ls -A`; do
|
||||
USER_FILE=${TMP_PATH}/${F}
|
||||
[ "${F##*.}" = "zip" -a `unzip -l ${USER_FILE} | grep -c "\.img$"` -eq 1 ] && IFTOOL="zip"
|
||||
USER_FILE="${F}"
|
||||
[ "${F##*.}" = "zip" -a `unzip -l "${TMP_PATH}/${USER_FILE}" | grep -c "\.img$"` -eq 1 ] && IFTOOL="zip"
|
||||
[ "${F##*.}" = "gz" -a "${F#*.}" = "img.gz" ] && IFTOOL="gzip"
|
||||
break
|
||||
done
|
||||
popd
|
||||
if [ -z "${IFTOOL}" -o -z "${USER_FILE}" ]; then
|
||||
if [ -z "${IFTOOL}" -o -z "${TMP_PATH}/${USER_FILE}" ]; then
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" --aspect 18 \
|
||||
--msgbox "$(TEXT "Not a valid .zip/.img.gz file, please try again!")" 0 0
|
||||
--msgbox "`printf "$(TEXT "Not a valid .zip/.img.gz file, please try again!")" "${USER_FILE}"`" 0 0
|
||||
else
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" \
|
||||
--yesno "$(TEXT "Warning:\nDo not terminate midway, otherwise it may cause damage to the arpl. Do you want to continue?")" 0 0
|
||||
[ $? -ne 0 ] && ( rm -f ${LOADER_DISK}; return )
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" --aspect 18 \
|
||||
--infobox "$(TEXT "A valid file, Writing...")" 0 0
|
||||
--infobox "$(TEXT "Writing...")" 0 0
|
||||
umount /mnt/p1 /mnt/p2 /mnt/p3
|
||||
if [ "${IFTOOL}" = "zip" ]; then
|
||||
unzip -p ${USER_FILE} | dd of="${LOADER_DISK}" bs=1M conv=fsync
|
||||
unzip -p "${TMP_PATH}/${USER_FILE}" | dd of="${LOADER_DISK}" bs=1M conv=fsync
|
||||
elif [ "${IFTOOL}" = "gzip" ]; then
|
||||
gzip -dc ${USER_FILE} | dd of="${LOADER_DISK}" bs=1M conv=fsync
|
||||
gzip -dc "${TMP_PATH}/${USER_FILE}" | dd of="${LOADER_DISK}" bs=1M conv=fsync
|
||||
fi
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Restore bootloader disk")" --aspect 18 \
|
||||
--yesno "`printf "$(TEXT "Restore bootloader disk with success to %s!\nReboot?")" "`basename ${USER_FILE}`"`" 0 0
|
||||
--yesno "`printf "$(TEXT "Restore bootloader disk with success to %s!\nReboot?")" "${USER_FILE}"`" 0 0
|
||||
[ $? -ne 0 ] && continue
|
||||
reboot
|
||||
exit
|
||||
|
Loading…
x
Reference in New Issue
Block a user