mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix update arpl and add set proxy.
This commit is contained in:
parent
e314dacd08
commit
96a833f69f
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-04-12 12:13+0800\n"
|
||||
"POT-Creation-Date: 2023-04-16 00:15+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"
|
||||
@ -33,12 +33,12 @@ msgstr ""
|
||||
msgid "DSM zImage changed"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:552 menu.sh:578 menu.sh:647 menu.sh:658
|
||||
#: menu.sh:687 menu.sh:697 menu.sh:704
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:567 menu.sh:593 menu.sh:662 menu.sh:673
|
||||
#: menu.sh:702 menu.sh:712 menu.sh:719
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:28 menu.sh:698
|
||||
#: boot.sh:28 menu.sh:713
|
||||
msgid "zImage not patched:\\n"
|
||||
msgstr ""
|
||||
|
||||
@ -46,7 +46,7 @@ msgstr ""
|
||||
msgid "DSM Ramdisk changed"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:40 menu.sh:705
|
||||
#: boot.sh:40 menu.sh:720
|
||||
msgid "Ramdisk not patched:\\n"
|
||||
msgstr ""
|
||||
|
||||
@ -194,7 +194,7 @@ msgstr ""
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:187 menu.sh:236 menu.sh:355 menu.sh:454 menu.sh:845 menu.sh:990
|
||||
#: menu.sh:187 menu.sh:236 menu.sh:355 menu.sh:458 menu.sh:860 menu.sh:1006
|
||||
msgid "Choose a option"
|
||||
msgstr ""
|
||||
|
||||
@ -210,7 +210,7 @@ msgstr ""
|
||||
msgid "Please enter a serial number "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:206 menu.sh:938
|
||||
#: menu.sh:206 menu.sh:953 menu.sh:1197
|
||||
msgid "Alert"
|
||||
msgstr ""
|
||||
|
||||
@ -238,8 +238,8 @@ msgstr ""
|
||||
msgid "Download a external addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:242 menu.sh:352 menu.sh:450 menu.sh:735 menu.sh:850 menu.sh:995
|
||||
#: menu.sh:1207
|
||||
#: menu.sh:242 menu.sh:352 menu.sh:454 menu.sh:750 menu.sh:865 menu.sh:1012
|
||||
#: menu.sh:1246
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
@ -279,11 +279,11 @@ msgstr ""
|
||||
msgid "please enter the complete URL to download.\\n"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:319 menu.sh:534
|
||||
#: menu.sh:319 menu.sh:549
|
||||
msgid "Downloading %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:322 menu.sh:544 menu.sh:607
|
||||
#: menu.sh:322 menu.sh:559 menu.sh:622
|
||||
msgid "Error downloading"
|
||||
msgstr ""
|
||||
|
||||
@ -327,8 +327,8 @@ msgstr ""
|
||||
msgid "Show model/build cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:360 menu.sh:366 menu.sh:396 menu.sh:404 menu.sh:412 menu.sh:414
|
||||
#: menu.sh:422
|
||||
#: menu.sh:360 menu.sh:366 menu.sh:397 menu.sh:406 menu.sh:415 menu.sh:417
|
||||
#: menu.sh:426
|
||||
msgid "User cmdline"
|
||||
msgstr ""
|
||||
|
||||
@ -348,429 +348,450 @@ msgstr ""
|
||||
msgid "Select cmdline to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:397
|
||||
#: menu.sh:398
|
||||
msgid "Type a custom MAC address"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:404
|
||||
#: menu.sh:406
|
||||
msgid "Invalid MAC"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:412
|
||||
#: menu.sh:415
|
||||
msgid "Changing MAC"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:414
|
||||
#: menu.sh:417
|
||||
msgid "Renewing IP"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:430
|
||||
#: menu.sh:434
|
||||
msgid "Model/build cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:447
|
||||
#: menu.sh:451
|
||||
msgid "Add/edit a synoinfo item"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:448
|
||||
#: menu.sh:452
|
||||
msgid "Delete synoinfo item(s)"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:449
|
||||
#: menu.sh:453
|
||||
msgid "Show synoinfo entries"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:459 menu.sh:465 menu.sh:500
|
||||
#: menu.sh:463 menu.sh:469 menu.sh:504
|
||||
msgid "Synoinfo entries"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:460
|
||||
#: menu.sh:464
|
||||
msgid "Type a name of synoinfo entry"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:466
|
||||
#: menu.sh:470
|
||||
msgid "Type a value of '%s' synoinfo entry"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:476
|
||||
#: menu.sh:480
|
||||
msgid "No synoinfo entries to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:484
|
||||
#: menu.sh:488
|
||||
msgid "Select synoinfo entry to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:525
|
||||
#: menu.sh:529
|
||||
msgid "%s cached."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:529
|
||||
#: menu.sh:533
|
||||
msgid "Cleaning cache"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:545 menu.sh:608
|
||||
#: menu.sh:545
|
||||
msgid ""
|
||||
"Based on the current network situation, switch to %s mirror to downloading."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:560 menu.sh:623
|
||||
msgid "Check internet or cache disk space"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:550
|
||||
#: menu.sh:565
|
||||
msgid "Checking hash of %s: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:553
|
||||
#: menu.sh:568
|
||||
msgid "Hash of pat not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:557 menu.sh:651 menu.sh:662 menu.sh:673
|
||||
#: menu.sh:572 menu.sh:666 menu.sh:677 menu.sh:688
|
||||
msgid "OK"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:561
|
||||
#: menu.sh:576
|
||||
msgid "Disassembling %s: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:566
|
||||
#: menu.sh:581
|
||||
msgid "Uncompressed tar"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:570
|
||||
#: menu.sh:585
|
||||
msgid "Compressed tar"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:574
|
||||
#: menu.sh:589
|
||||
msgid "Encrypted"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:579
|
||||
#: menu.sh:594
|
||||
msgid ""
|
||||
"Could not determine if pat file is encrypted or not, maybe corrupted, try "
|
||||
"again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:590
|
||||
#: menu.sh:605
|
||||
msgid "Extractor cached."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:597
|
||||
#: menu.sh:612
|
||||
msgid "Downloading old pat to extract synology .pat extractor..."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:619 menu.sh:639
|
||||
#: menu.sh:634 menu.sh:654
|
||||
msgid "Error extracting"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:633 menu.sh:636
|
||||
#: menu.sh:648 menu.sh:651
|
||||
msgid "Extracting..."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:643
|
||||
#: menu.sh:658
|
||||
msgid "Checking hash of zImage: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:648
|
||||
#: menu.sh:663
|
||||
msgid "Hash of zImage not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:654
|
||||
#: menu.sh:669
|
||||
msgid "Checking hash of ramdisk: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:659
|
||||
#: menu.sh:674
|
||||
msgid "Hash of ramdisk not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:665
|
||||
#: menu.sh:680
|
||||
msgid "Copying files: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:688
|
||||
#: menu.sh:703
|
||||
msgid "Addon %s not found!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:709 menu.sh:1225
|
||||
#: menu.sh:724 menu.sh:1264
|
||||
msgid "Cleaning"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:712
|
||||
#: menu.sh:727
|
||||
msgid "Ready!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:725
|
||||
#: menu.sh:740
|
||||
msgid "Switch LKM version:"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:726 menu.sh:835 menu.sh:861 menu.sh:872 menu.sh:885 menu.sh:891
|
||||
#: menu.sh:741 menu.sh:850 menu.sh:876 menu.sh:887 menu.sh:900 menu.sh:906
|
||||
msgid "Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:729
|
||||
#: menu.sh:744
|
||||
msgid "Switch direct boot:"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:731
|
||||
#: menu.sh:746
|
||||
msgid "Edit user config file manually"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:732
|
||||
#: menu.sh:747
|
||||
msgid "Try to recovery a DSM installed system"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:733
|
||||
#: menu.sh:748
|
||||
msgid "Show SATA(s) # ports and drives"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:734
|
||||
#: menu.sh:749
|
||||
msgid "Custom dts location:/mnt/p1/model.dts # Need rebuild"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:737
|
||||
#: menu.sh:752
|
||||
msgid "Advanced"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:738 menu.sh:1210
|
||||
#: menu.sh:753 menu.sh:1249
|
||||
msgid "Choose the option"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:777
|
||||
#: menu.sh:792
|
||||
msgid "\\nTotal of ports: %s\\n"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:778
|
||||
#: menu.sh:793
|
||||
msgid ""
|
||||
"\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive "
|
||||
"connected."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:790 menu.sh:818 menu.sh:825
|
||||
#: menu.sh:805 menu.sh:833 menu.sh:840
|
||||
msgid "Try recovery DSM"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:791
|
||||
#: menu.sh:806
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:812
|
||||
#: menu.sh:827
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:816
|
||||
#: menu.sh:831
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:826
|
||||
#: menu.sh:841
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:836
|
||||
#: menu.sh:851
|
||||
msgid "Reading modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:846
|
||||
#: menu.sh:861
|
||||
msgid "Show selected modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:847
|
||||
#: menu.sh:862
|
||||
msgid "Select all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:848
|
||||
#: menu.sh:863
|
||||
msgid "Deselect all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:849
|
||||
#: menu.sh:864
|
||||
msgid "Choose modules to include"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:858
|
||||
#: menu.sh:873
|
||||
msgid "User modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:862
|
||||
#: menu.sh:877
|
||||
msgid "Selecting all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:873
|
||||
#: menu.sh:888
|
||||
msgid "Deselecting all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:886
|
||||
#: menu.sh:901
|
||||
msgid "Select modules to include"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:892
|
||||
#: menu.sh:907
|
||||
msgid "Writing to user config"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:913
|
||||
#: menu.sh:928
|
||||
msgid "Edit with caution"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:919
|
||||
#: menu.sh:934
|
||||
msgid "Invalid YAML format"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:939
|
||||
#: menu.sh:954
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:951 menu.sh:1201
|
||||
#: menu.sh:966 menu.sh:1240
|
||||
msgid "Choose a language"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:964
|
||||
#: menu.sh:979
|
||||
msgid "Choose a layout"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:974
|
||||
#: menu.sh:989
|
||||
msgid "Choice a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:991 menu.sh:1000 menu.sh:1005 menu.sh:1010 menu.sh:1014 menu.sh:1020
|
||||
#: menu.sh:1026 menu.sh:1033 menu.sh:1037 menu.sh:1054
|
||||
#: menu.sh:1007 menu.sh:1017 menu.sh:1022 menu.sh:1028 menu.sh:1032
|
||||
#: menu.sh:1037 menu.sh:1043 menu.sh:1050 menu.sh:1054 menu.sh:1071
|
||||
msgid "Update arpl"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:992 menu.sh:1062 menu.sh:1066 menu.sh:1070 menu.sh:1074 menu.sh:1078
|
||||
#: menu.sh:1083 menu.sh:1093
|
||||
#: menu.sh:1008 menu.sh:1079 menu.sh:1083 menu.sh:1087 menu.sh:1091
|
||||
#: menu.sh:1095 menu.sh:1100 menu.sh:1110
|
||||
msgid "Update addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:993 menu.sh:1098 menu.sh:1102 menu.sh:1106 menu.sh:1110 menu.sh:1114
|
||||
#: menu.sh:1119
|
||||
#: menu.sh:1009 menu.sh:1115 menu.sh:1119 menu.sh:1123 menu.sh:1127
|
||||
#: menu.sh:1131 menu.sh:1136
|
||||
msgid "Update LKMs"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:994
|
||||
#: menu.sh:1010
|
||||
msgid "Update modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1001 menu.sh:1063 menu.sh:1099 menu.sh:1136
|
||||
#: menu.sh:1011
|
||||
msgid "Set proxy server"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1018 menu.sh:1080 menu.sh:1116 menu.sh:1153
|
||||
msgid "Checking last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1006 menu.sh:1067 menu.sh:1103 menu.sh:1140
|
||||
#: menu.sh:1023 menu.sh:1084 menu.sh:1120 menu.sh:1157
|
||||
msgid "Error checking new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1011
|
||||
#: menu.sh:1029
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1015
|
||||
#: menu.sh:1033
|
||||
msgid "Downloading last version %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1021
|
||||
#: menu.sh:1038
|
||||
msgid "Error downloading update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1027
|
||||
#: menu.sh:1044
|
||||
msgid "Error extracting update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1034
|
||||
#: menu.sh:1051
|
||||
msgid "Checksum do not match!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1038
|
||||
#: menu.sh:1055
|
||||
msgid "Installing new files"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1055
|
||||
#: menu.sh:1072
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1071 menu.sh:1107
|
||||
#: menu.sh:1088 menu.sh:1124
|
||||
msgid "Downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1075
|
||||
#: menu.sh:1092
|
||||
msgid "Error downloading new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1079 menu.sh:1115
|
||||
#: menu.sh:1096 menu.sh:1132
|
||||
msgid "Extracting last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1084
|
||||
#: menu.sh:1101
|
||||
msgid "Installing new addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1094
|
||||
#: menu.sh:1111
|
||||
msgid "Addons updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1111
|
||||
#: menu.sh:1128
|
||||
msgid "Error downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1120
|
||||
#: menu.sh:1137
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1135 menu.sh:1139 menu.sh:1144 menu.sh:1148 menu.sh:1163
|
||||
#: menu.sh:1152 menu.sh:1156 menu.sh:1161 menu.sh:1165 menu.sh:1180
|
||||
msgid "Update Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1145
|
||||
#: menu.sh:1162
|
||||
msgid "Downloading %s modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1149
|
||||
#: menu.sh:1166
|
||||
msgid "Error downloading %s.tgz"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1164
|
||||
#: menu.sh:1181
|
||||
msgid "Modules updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1182
|
||||
msgid "Choose a model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1184
|
||||
msgid "Choose a Build Number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1185
|
||||
msgid "Choose a serial number"
|
||||
#: menu.sh:1186
|
||||
msgid "Set Proxy Server"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1187
|
||||
msgid "Please enter a proxy server url"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1198
|
||||
msgid "Invalid proxy server url, continue?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1221
|
||||
msgid "Choose a model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1223
|
||||
msgid "Choose a Build Number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1224
|
||||
msgid "Choose a serial number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1226
|
||||
msgid "Addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1188
|
||||
#: menu.sh:1227
|
||||
msgid "Cmdline menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1189
|
||||
#: menu.sh:1228
|
||||
msgid "Synoinfo menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1192
|
||||
#: menu.sh:1231
|
||||
msgid "Advanced menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1195
|
||||
#: menu.sh:1234
|
||||
msgid "Build the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1199
|
||||
#: menu.sh:1238
|
||||
msgid "Boot the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1202
|
||||
#: menu.sh:1241
|
||||
msgid "Choose a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1204
|
||||
#: menu.sh:1243
|
||||
msgid "Clean disk cache"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1206
|
||||
#: menu.sh:1245
|
||||
msgid "Update menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1232
|
||||
#: menu.sh:1271
|
||||
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-04-10 21:25+0800\n"
|
||||
"PO-Revision-Date: 2023-04-10 21:26+0800\n"
|
||||
"POT-Creation-Date: 2023-04-16 00:15+0800\n"
|
||||
"PO-Revision-Date: 2023-04-16 00:16+0800\n"
|
||||
"Last-Translator: ing <wjz304@qq.com>\n"
|
||||
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
|
||||
"Language: zh_CN\n"
|
||||
@ -32,12 +32,12 @@ msgstr "引导"
|
||||
msgid "DSM zImage changed"
|
||||
msgstr "DSM zImage 已更改"
|
||||
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:552 menu.sh:578 menu.sh:647 menu.sh:658
|
||||
#: menu.sh:687 menu.sh:697 menu.sh:704
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:567 menu.sh:593 menu.sh:662 menu.sh:673
|
||||
#: menu.sh:702 menu.sh:712 menu.sh:719
|
||||
msgid "Error"
|
||||
msgstr "错误"
|
||||
|
||||
#: boot.sh:28 menu.sh:698
|
||||
#: boot.sh:28 menu.sh:713
|
||||
msgid "zImage not patched:\\n"
|
||||
msgstr "zImage打补丁失败:\\n"
|
||||
|
||||
@ -45,7 +45,7 @@ msgstr "zImage打补丁失败:\\n"
|
||||
msgid "DSM Ramdisk changed"
|
||||
msgstr "DSM Ramdisk 已更改"
|
||||
|
||||
#: boot.sh:40 menu.sh:705
|
||||
#: boot.sh:40 menu.sh:720
|
||||
msgid "Ramdisk not patched:\\n"
|
||||
msgstr "Ramdisk打补丁失败:\\n"
|
||||
|
||||
@ -193,7 +193,7 @@ msgstr "该版本不支持UEFI启动, 请选择其他版本或者切换启动模
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr "重新配置 Syninfo, 插件和模块"
|
||||
|
||||
#: menu.sh:187 menu.sh:236 menu.sh:355 menu.sh:454 menu.sh:845 menu.sh:990
|
||||
#: menu.sh:187 menu.sh:236 menu.sh:355 menu.sh:458 menu.sh:860 menu.sh:1006
|
||||
msgid "Choose a option"
|
||||
msgstr "设置"
|
||||
|
||||
@ -209,7 +209,7 @@ msgstr "输入SN"
|
||||
msgid "Please enter a serial number "
|
||||
msgstr "请输入SN "
|
||||
|
||||
#: menu.sh:206 menu.sh:938
|
||||
#: menu.sh:206 menu.sh:953 menu.sh:1197
|
||||
msgid "Alert"
|
||||
msgstr "警告"
|
||||
|
||||
@ -237,8 +237,8 @@ msgstr "显示所有可用插件"
|
||||
msgid "Download a external addon"
|
||||
msgstr "下载外部插件"
|
||||
|
||||
#: menu.sh:242 menu.sh:352 menu.sh:450 menu.sh:735 menu.sh:850 menu.sh:995
|
||||
#: menu.sh:1207
|
||||
#: menu.sh:242 menu.sh:352 menu.sh:454 menu.sh:750 menu.sh:865 menu.sh:1012
|
||||
#: menu.sh:1246
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
@ -278,11 +278,11 @@ msgstr "可用插件"
|
||||
msgid "please enter the complete URL to download.\\n"
|
||||
msgstr "请输入下载URL.\\n"
|
||||
|
||||
#: menu.sh:319 menu.sh:534
|
||||
#: menu.sh:319 menu.sh:549
|
||||
msgid "Downloading %s"
|
||||
msgstr "下载 %s 中"
|
||||
|
||||
#: menu.sh:322 menu.sh:544 menu.sh:607
|
||||
#: menu.sh:322 menu.sh:559 menu.sh:622
|
||||
msgid "Error downloading"
|
||||
msgstr "下载失败"
|
||||
|
||||
@ -326,8 +326,8 @@ msgstr "显示用户cmdline参数"
|
||||
msgid "Show model/build cmdline"
|
||||
msgstr "显示型号默认cmdline参数"
|
||||
|
||||
#: menu.sh:360 menu.sh:366 menu.sh:396 menu.sh:404 menu.sh:412 menu.sh:414
|
||||
#: menu.sh:422
|
||||
#: menu.sh:360 menu.sh:366 menu.sh:397 menu.sh:406 menu.sh:415 menu.sh:417
|
||||
#: menu.sh:426
|
||||
msgid "User cmdline"
|
||||
msgstr "用户cmdline参数"
|
||||
|
||||
@ -347,429 +347,450 @@ msgstr "没有用户参数被删除"
|
||||
msgid "Select cmdline to remove"
|
||||
msgstr "选择要删除的参数"
|
||||
|
||||
#: menu.sh:397
|
||||
#: menu.sh:398
|
||||
msgid "Type a custom MAC address"
|
||||
msgstr "输入自定义MAC地址"
|
||||
|
||||
#: menu.sh:404
|
||||
#: menu.sh:406
|
||||
msgid "Invalid MAC"
|
||||
msgstr "无效的MAC"
|
||||
|
||||
#: menu.sh:412
|
||||
#: menu.sh:415
|
||||
msgid "Changing MAC"
|
||||
msgstr "修改MAC"
|
||||
|
||||
#: menu.sh:414
|
||||
#: menu.sh:417
|
||||
msgid "Renewing IP"
|
||||
msgstr "刷新IP"
|
||||
|
||||
#: menu.sh:430
|
||||
#: menu.sh:434
|
||||
msgid "Model/build cmdline"
|
||||
msgstr "型号默认cmdline参数"
|
||||
|
||||
#: menu.sh:447
|
||||
#: menu.sh:451
|
||||
msgid "Add/edit a synoinfo item"
|
||||
msgstr "添加/编辑Synoinfo参数"
|
||||
|
||||
#: menu.sh:448
|
||||
#: menu.sh:452
|
||||
msgid "Delete synoinfo item(s)"
|
||||
msgstr "删除Synoinfo参数(s)"
|
||||
|
||||
#: menu.sh:449
|
||||
#: menu.sh:453
|
||||
msgid "Show synoinfo entries"
|
||||
msgstr "显示Synoinfo参数"
|
||||
|
||||
#: menu.sh:459 menu.sh:465 menu.sh:500
|
||||
#: menu.sh:463 menu.sh:469 menu.sh:504
|
||||
msgid "Synoinfo entries"
|
||||
msgstr "Synoinfo参数"
|
||||
|
||||
#: menu.sh:460
|
||||
#: menu.sh:464
|
||||
msgid "Type a name of synoinfo entry"
|
||||
msgstr "输入参数的名称"
|
||||
|
||||
#: menu.sh:466
|
||||
#: menu.sh:470
|
||||
msgid "Type a value of '%s' synoinfo entry"
|
||||
msgstr "输入 '%s' 参数的值"
|
||||
|
||||
#: menu.sh:476
|
||||
#: menu.sh:480
|
||||
msgid "No synoinfo entries to remove"
|
||||
msgstr "没有Synoinfo参数被删除"
|
||||
|
||||
#: menu.sh:484
|
||||
#: menu.sh:488
|
||||
msgid "Select synoinfo entry to remove"
|
||||
msgstr "选择要删除的参数"
|
||||
|
||||
#: menu.sh:525
|
||||
#: menu.sh:529
|
||||
msgid "%s cached."
|
||||
msgstr "%s 已缓存."
|
||||
|
||||
#: menu.sh:529
|
||||
#: menu.sh:533
|
||||
msgid "Cleaning cache"
|
||||
msgstr "清除缓存"
|
||||
|
||||
#: menu.sh:545 menu.sh:608
|
||||
#: menu.sh:545
|
||||
msgid ""
|
||||
"Based on the current network situation, switch to %s mirror to downloading."
|
||||
msgstr "根据当前的网络状况, 已切换到 %s 镜像服务器进行下载."
|
||||
|
||||
#: menu.sh:560 menu.sh:623
|
||||
msgid "Check internet or cache disk space"
|
||||
msgstr "请检查internet或磁盘空间"
|
||||
|
||||
#: menu.sh:550
|
||||
#: menu.sh:565
|
||||
msgid "Checking hash of %s: "
|
||||
msgstr "检查 %s 的 hash: "
|
||||
|
||||
#: menu.sh:553
|
||||
#: menu.sh:568
|
||||
msgid "Hash of pat not match, try again!"
|
||||
msgstr "pat的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:557 menu.sh:651 menu.sh:662 menu.sh:673
|
||||
#: menu.sh:572 menu.sh:666 menu.sh:677 menu.sh:688
|
||||
msgid "OK"
|
||||
msgstr "OK"
|
||||
|
||||
#: menu.sh:561
|
||||
#: menu.sh:576
|
||||
msgid "Disassembling %s: "
|
||||
msgstr "解压 %s: "
|
||||
|
||||
#: menu.sh:566
|
||||
#: menu.sh:581
|
||||
msgid "Uncompressed tar"
|
||||
msgstr "未压缩tar"
|
||||
|
||||
#: menu.sh:570
|
||||
#: menu.sh:585
|
||||
msgid "Compressed tar"
|
||||
msgstr "压缩tar"
|
||||
|
||||
#: menu.sh:574
|
||||
#: menu.sh:589
|
||||
msgid "Encrypted"
|
||||
msgstr "已加密"
|
||||
|
||||
#: menu.sh:579
|
||||
#: menu.sh:594
|
||||
msgid ""
|
||||
"Could not determine if pat file is encrypted or not, maybe corrupted, try "
|
||||
"again!"
|
||||
msgstr "无法确定pat文件是否加密, 可能已损坏, 请重试!"
|
||||
|
||||
#: menu.sh:590
|
||||
#: menu.sh:605
|
||||
msgid "Extractor cached."
|
||||
msgstr "已存在解密程序."
|
||||
|
||||
#: menu.sh:597
|
||||
#: menu.sh:612
|
||||
msgid "Downloading old pat to extract synology .pat extractor..."
|
||||
msgstr "下载旧 pat, 提取 .pat 解密程序中..."
|
||||
|
||||
#: menu.sh:619 menu.sh:639
|
||||
#: menu.sh:634 menu.sh:654
|
||||
msgid "Error extracting"
|
||||
msgstr "解压失败"
|
||||
|
||||
#: menu.sh:633 menu.sh:636
|
||||
#: menu.sh:648 menu.sh:651
|
||||
msgid "Extracting..."
|
||||
msgstr "解压中..."
|
||||
|
||||
#: menu.sh:643
|
||||
#: menu.sh:658
|
||||
msgid "Checking hash of zImage: "
|
||||
msgstr "检查 zImage 的 hash: "
|
||||
|
||||
#: menu.sh:648
|
||||
#: menu.sh:663
|
||||
msgid "Hash of zImage not match, try again!"
|
||||
msgstr "zImage的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:654
|
||||
#: menu.sh:669
|
||||
msgid "Checking hash of ramdisk: "
|
||||
msgstr "检查 ramdisk 的 hash: "
|
||||
|
||||
#: menu.sh:659
|
||||
#: menu.sh:674
|
||||
msgid "Hash of ramdisk not match, try again!"
|
||||
msgstr "ramdisk的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:665
|
||||
#: menu.sh:680
|
||||
msgid "Copying files: "
|
||||
msgstr "拷贝文件: "
|
||||
|
||||
#: menu.sh:688
|
||||
#: menu.sh:703
|
||||
msgid "Addon %s not found!"
|
||||
msgstr "插件 %s 未找到!"
|
||||
|
||||
#: menu.sh:709 menu.sh:1225
|
||||
#: menu.sh:724 menu.sh:1264
|
||||
msgid "Cleaning"
|
||||
msgstr "清除中"
|
||||
|
||||
#: menu.sh:712
|
||||
#: menu.sh:727
|
||||
msgid "Ready!"
|
||||
msgstr "已就绪!"
|
||||
|
||||
#: menu.sh:725
|
||||
#: menu.sh:740
|
||||
msgid "Switch LKM version:"
|
||||
msgstr "选择LKM版本:"
|
||||
|
||||
#: menu.sh:726 menu.sh:835 menu.sh:861 menu.sh:872 menu.sh:885 menu.sh:891
|
||||
#: menu.sh:741 menu.sh:850 menu.sh:876 menu.sh:887 menu.sh:900 menu.sh:906
|
||||
msgid "Modules"
|
||||
msgstr "模块"
|
||||
|
||||
#: menu.sh:729
|
||||
#: menu.sh:744
|
||||
msgid "Switch direct boot:"
|
||||
msgstr "切换直接启动:"
|
||||
|
||||
#: menu.sh:731
|
||||
#: menu.sh:746
|
||||
msgid "Edit user config file manually"
|
||||
msgstr "编辑用户配置文件"
|
||||
|
||||
#: menu.sh:732
|
||||
#: menu.sh:747
|
||||
msgid "Try to recovery a DSM installed system"
|
||||
msgstr "尝试恢复已安装DSM的系统"
|
||||
|
||||
#: menu.sh:733
|
||||
#: menu.sh:748
|
||||
msgid "Show SATA(s) # ports and drives"
|
||||
msgstr "显示SATA(s) # 端口和驱动器"
|
||||
|
||||
#: menu.sh:734
|
||||
#: menu.sh:749
|
||||
msgid "Custom dts location:/mnt/p1/model.dts # Need rebuild"
|
||||
msgstr "自定义 dts 文件位置:/mnt/p1/model.dts # 需要重新编译"
|
||||
|
||||
#: menu.sh:737
|
||||
#: menu.sh:752
|
||||
msgid "Advanced"
|
||||
msgstr "高级"
|
||||
|
||||
#: menu.sh:738 menu.sh:1210
|
||||
#: menu.sh:753 menu.sh:1249
|
||||
msgid "Choose the option"
|
||||
msgstr "设置"
|
||||
|
||||
#: menu.sh:777
|
||||
#: menu.sh:792
|
||||
msgid "\\nTotal of ports: %s\\n"
|
||||
msgstr "\\n端口总数: %s\\n"
|
||||
|
||||
#: menu.sh:778
|
||||
#: menu.sh:793
|
||||
msgid ""
|
||||
"\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive "
|
||||
"connected."
|
||||
msgstr "\\n\\Z1红色\\Zn 为模拟端口, \\Z2\\Zb绿色\\Zn 为已驱动的物理端口."
|
||||
|
||||
#: menu.sh:790 menu.sh:818 menu.sh:825
|
||||
#: menu.sh:805 menu.sh:833 menu.sh:840
|
||||
msgid "Try recovery DSM"
|
||||
msgstr "尝试恢复DSM系统"
|
||||
|
||||
#: menu.sh:791
|
||||
#: menu.sh:806
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr "尝试恢复已安装的DSM系统中"
|
||||
|
||||
#: menu.sh:812
|
||||
#: menu.sh:827
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr "找到已安装:\\n型号: %s\\n版本: %s"
|
||||
|
||||
#: menu.sh:816
|
||||
#: menu.sh:831
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr "\\nSN: %s"
|
||||
|
||||
#: menu.sh:826
|
||||
#: menu.sh:841
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr "很遗憾, 我无法挂载DSM分区!"
|
||||
|
||||
#: menu.sh:836
|
||||
#: menu.sh:851
|
||||
msgid "Reading modules"
|
||||
msgstr "读取模块中"
|
||||
|
||||
#: menu.sh:846
|
||||
#: menu.sh:861
|
||||
msgid "Show selected modules"
|
||||
msgstr "显示已加载的模块"
|
||||
|
||||
#: menu.sh:847
|
||||
#: menu.sh:862
|
||||
msgid "Select all modules"
|
||||
msgstr "选择所有模块"
|
||||
|
||||
#: menu.sh:848
|
||||
#: menu.sh:863
|
||||
msgid "Deselect all modules"
|
||||
msgstr "取消所有模块"
|
||||
|
||||
#: menu.sh:849
|
||||
#: menu.sh:864
|
||||
msgid "Choose modules to include"
|
||||
msgstr "选择要加载的模块"
|
||||
|
||||
#: menu.sh:858
|
||||
#: menu.sh:873
|
||||
msgid "User modules"
|
||||
msgstr "模块"
|
||||
|
||||
#: menu.sh:862
|
||||
#: menu.sh:877
|
||||
msgid "Selecting all modules"
|
||||
msgstr "全选所有模块"
|
||||
|
||||
#: menu.sh:873
|
||||
#: menu.sh:888
|
||||
msgid "Deselecting all modules"
|
||||
msgstr "取消所有模块"
|
||||
|
||||
#: menu.sh:886
|
||||
#: menu.sh:901
|
||||
msgid "Select modules to include"
|
||||
msgstr "选择要加载的插件"
|
||||
|
||||
#: menu.sh:892
|
||||
#: menu.sh:907
|
||||
msgid "Writing to user config"
|
||||
msgstr "写入用户配置"
|
||||
|
||||
#: menu.sh:913
|
||||
#: menu.sh:928
|
||||
msgid "Edit with caution"
|
||||
msgstr "请谨慎编辑"
|
||||
|
||||
#: menu.sh:919
|
||||
#: menu.sh:934
|
||||
msgid "Invalid YAML format"
|
||||
msgstr "无效的YAML格式"
|
||||
|
||||
#: menu.sh:939
|
||||
#: menu.sh:954
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr "配置已更改, 是否重新编译引导?"
|
||||
|
||||
#: menu.sh:951 menu.sh:1201
|
||||
#: menu.sh:966 menu.sh:1240
|
||||
msgid "Choose a language"
|
||||
msgstr "选择语言"
|
||||
|
||||
#: menu.sh:964
|
||||
#: menu.sh:979
|
||||
msgid "Choose a layout"
|
||||
msgstr "选择布局"
|
||||
|
||||
#: menu.sh:974
|
||||
#: menu.sh:989
|
||||
msgid "Choice a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:991 menu.sh:1000 menu.sh:1005 menu.sh:1010 menu.sh:1014 menu.sh:1020
|
||||
#: menu.sh:1026 menu.sh:1033 menu.sh:1037 menu.sh:1054
|
||||
#: menu.sh:1007 menu.sh:1017 menu.sh:1022 menu.sh:1028 menu.sh:1032
|
||||
#: menu.sh:1037 menu.sh:1043 menu.sh:1050 menu.sh:1054 menu.sh:1071
|
||||
msgid "Update arpl"
|
||||
msgstr "更新arpl"
|
||||
|
||||
#: menu.sh:992 menu.sh:1062 menu.sh:1066 menu.sh:1070 menu.sh:1074 menu.sh:1078
|
||||
#: menu.sh:1083 menu.sh:1093
|
||||
#: menu.sh:1008 menu.sh:1079 menu.sh:1083 menu.sh:1087 menu.sh:1091
|
||||
#: menu.sh:1095 menu.sh:1100 menu.sh:1110
|
||||
msgid "Update addons"
|
||||
msgstr "更新插件"
|
||||
|
||||
#: menu.sh:993 menu.sh:1098 menu.sh:1102 menu.sh:1106 menu.sh:1110 menu.sh:1114
|
||||
#: menu.sh:1119
|
||||
#: menu.sh:1009 menu.sh:1115 menu.sh:1119 menu.sh:1123 menu.sh:1127
|
||||
#: menu.sh:1131 menu.sh:1136
|
||||
msgid "Update LKMs"
|
||||
msgstr "更新LKMs"
|
||||
|
||||
#: menu.sh:994
|
||||
#: menu.sh:1010
|
||||
msgid "Update modules"
|
||||
msgstr "更新模块"
|
||||
|
||||
#: menu.sh:1001 menu.sh:1063 menu.sh:1099 menu.sh:1136
|
||||
#: menu.sh:1011
|
||||
msgid "Set proxy server"
|
||||
msgstr "设置代理"
|
||||
|
||||
#: menu.sh:1018 menu.sh:1080 menu.sh:1116 menu.sh:1153
|
||||
msgid "Checking last version"
|
||||
msgstr "检测新版本中"
|
||||
|
||||
#: menu.sh:1006 menu.sh:1067 menu.sh:1103 menu.sh:1140
|
||||
#: menu.sh:1023 menu.sh:1084 menu.sh:1120 menu.sh:1157
|
||||
msgid "Error checking new version"
|
||||
msgstr "检测新版本错误"
|
||||
|
||||
#: menu.sh:1011
|
||||
#: menu.sh:1029
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr "没有新版本. 实际版本为 %s\\n强制更新?"
|
||||
|
||||
#: menu.sh:1015
|
||||
#: menu.sh:1033
|
||||
msgid "Downloading last version %s"
|
||||
msgstr "下载新版本 %s 中"
|
||||
|
||||
#: menu.sh:1021
|
||||
#: menu.sh:1038
|
||||
msgid "Error downloading update file"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1027
|
||||
#: menu.sh:1044
|
||||
msgid "Error extracting update file"
|
||||
msgstr "更新文件解压错误"
|
||||
|
||||
#: menu.sh:1034
|
||||
#: menu.sh:1051
|
||||
msgid "Checksum do not match!"
|
||||
msgstr "Checksum不匹配!"
|
||||
|
||||
#: menu.sh:1038
|
||||
#: menu.sh:1055
|
||||
msgid "Installing new files"
|
||||
msgstr "安装更新中"
|
||||
|
||||
#: menu.sh:1055
|
||||
#: menu.sh:1072
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr "Arpl更新成功 %s!\\n重启?"
|
||||
|
||||
#: menu.sh:1071 menu.sh:1107
|
||||
#: menu.sh:1088 menu.sh:1124
|
||||
msgid "Downloading last version"
|
||||
msgstr "下载新版本中"
|
||||
|
||||
#: menu.sh:1075
|
||||
#: menu.sh:1092
|
||||
msgid "Error downloading new version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1079 menu.sh:1115
|
||||
#: menu.sh:1096 menu.sh:1132
|
||||
msgid "Extracting last version"
|
||||
msgstr "解压新版本"
|
||||
|
||||
#: menu.sh:1084
|
||||
#: menu.sh:1101
|
||||
msgid "Installing new addons"
|
||||
msgstr "安装新插件中"
|
||||
|
||||
#: menu.sh:1094
|
||||
#: menu.sh:1111
|
||||
msgid "Addons updated with success!"
|
||||
msgstr "插件更新成功!"
|
||||
|
||||
#: menu.sh:1111
|
||||
#: menu.sh:1128
|
||||
msgid "Error downloading last version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1120
|
||||
#: menu.sh:1137
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr "LKMs更新成功!"
|
||||
|
||||
#: menu.sh:1135 menu.sh:1139 menu.sh:1144 menu.sh:1148 menu.sh:1163
|
||||
#: menu.sh:1152 menu.sh:1156 menu.sh:1161 menu.sh:1165 menu.sh:1180
|
||||
msgid "Update Modules"
|
||||
msgstr "更新模块"
|
||||
|
||||
#: menu.sh:1145
|
||||
#: menu.sh:1162
|
||||
msgid "Downloading %s modules"
|
||||
msgstr "下载 %s 模块中"
|
||||
|
||||
#: menu.sh:1149
|
||||
#: menu.sh:1166
|
||||
msgid "Error downloading %s.tgz"
|
||||
msgstr "下载 %s.tgz 错误"
|
||||
|
||||
#: menu.sh:1164
|
||||
#: menu.sh:1181
|
||||
msgid "Modules updated with success!"
|
||||
msgstr "模块更新成功!"
|
||||
|
||||
#: menu.sh:1182
|
||||
#: menu.sh:1186
|
||||
msgid "Set Proxy Server"
|
||||
msgstr "设置代理"
|
||||
|
||||
#: menu.sh:1187
|
||||
msgid "Please enter a proxy server url"
|
||||
msgstr "请输入代理服务器url"
|
||||
|
||||
#: menu.sh:1198
|
||||
msgid "Invalid proxy server url, continue?"
|
||||
msgstr "无效的代理服务器url,是否继续?"
|
||||
|
||||
#: menu.sh:1221
|
||||
msgid "Choose a model"
|
||||
msgstr "选择型号"
|
||||
|
||||
#: menu.sh:1184
|
||||
#: menu.sh:1223
|
||||
msgid "Choose a Build Number"
|
||||
msgstr "选择版本"
|
||||
|
||||
#: menu.sh:1185
|
||||
#: menu.sh:1224
|
||||
msgid "Choose a serial number"
|
||||
msgstr "选择SN"
|
||||
|
||||
#: menu.sh:1187
|
||||
#: menu.sh:1226
|
||||
msgid "Addons"
|
||||
msgstr "插件"
|
||||
|
||||
#: menu.sh:1188
|
||||
#: menu.sh:1227
|
||||
msgid "Cmdline menu"
|
||||
msgstr "设置Cmdline"
|
||||
|
||||
#: menu.sh:1189
|
||||
#: menu.sh:1228
|
||||
msgid "Synoinfo menu"
|
||||
msgstr "设置Synoinfo"
|
||||
|
||||
#: menu.sh:1192
|
||||
#: menu.sh:1231
|
||||
msgid "Advanced menu"
|
||||
msgstr "高级设置"
|
||||
|
||||
#: menu.sh:1195
|
||||
#: menu.sh:1234
|
||||
msgid "Build the loader"
|
||||
msgstr "编译引导"
|
||||
|
||||
#: menu.sh:1199
|
||||
#: menu.sh:1238
|
||||
msgid "Boot the loader"
|
||||
msgstr "启动"
|
||||
|
||||
#: menu.sh:1202
|
||||
#: menu.sh:1241
|
||||
msgid "Choose a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:1204
|
||||
#: menu.sh:1243
|
||||
msgid "Clean disk cache"
|
||||
msgstr "清除磁盘缓存"
|
||||
|
||||
#: menu.sh:1206
|
||||
#: menu.sh:1245
|
||||
msgid "Update menu"
|
||||
msgstr "更新"
|
||||
|
||||
#: menu.sh:1232
|
||||
#: menu.sh:1271
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||
msgstr "执行 \\033[1;32mmenu.sh\\033[0m 重新进入设置菜单"
|
||||
|
@ -317,7 +317,7 @@ function addonMenu() {
|
||||
[ -z "${URL}" ] && continue
|
||||
clear
|
||||
echo "`printf "$(TEXT "Downloading %s")" "${URL}"`"
|
||||
STATUS=`curl --insecure -w "%{http_code}" -L "${URL}" -o "${TMP_PATH}/addon.tgz" --progress-bar`
|
||||
STATUS=`curl -k -w "%{http_code}" -L "${URL}" -o "${TMP_PATH}/addon.tgz" --progress-bar`
|
||||
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Error downloading")" --aspect 18 \
|
||||
--msgbox "$(TEXT "Check internet, URL or cache disk space")" 0 0
|
||||
@ -392,27 +392,31 @@ function cmdlineMenu() {
|
||||
done
|
||||
;;
|
||||
c)
|
||||
RET=1
|
||||
while true; do
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "User cmdline")" \
|
||||
--inputbox "$(TEXT "Type a custom MAC address")" 0 0 "${CMDLINE['mac1']}"\
|
||||
2>${TMP_PATH}/resp
|
||||
[ $? -ne 0 ] && break
|
||||
RET=$?
|
||||
[ ${RET} -ne 0 ] && break
|
||||
MAC="`<"${TMP_PATH}/resp"`"
|
||||
[ -z "${MAC}" ] && MAC="`readConfigKey "original-mac" "${USER_CONFIG_FILE}"`"
|
||||
MAC1="`echo "${MAC}" | sed 's/://g'`"
|
||||
[ ${#MAC1} -eq 12 ] && break
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "User cmdline")" --msgbox "$(TEXT "Invalid MAC")" 0 0
|
||||
done
|
||||
CMDLINE["mac1"]="${MAC1}"
|
||||
CMDLINE["netif_num"]=1
|
||||
writeConfigKey "cmdline.mac1" "${MAC1}" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "cmdline.netif_num" "1" "${USER_CONFIG_FILE}"
|
||||
MAC="${MAC1:0:2}:${MAC1:2:2}:${MAC1:4:2}:${MAC1:6:2}:${MAC1:8:2}:${MAC1:10:2}"
|
||||
ip link set dev eth0 address ${MAC} 2>&1 | dialog --backtitle "`backtitle`" \
|
||||
--title "$(TEXT "User cmdline")" --progressbox "$(TEXT "Changing MAC")" 20 70
|
||||
/etc/init.d/S41dhcpcd restart 2>&1 | dialog --backtitle "`backtitle`" \
|
||||
--title "$(TEXT "User cmdline")" --progressbox "$(TEXT "Renewing IP")" 20 70
|
||||
IP=`ip route get 1.1.1.1 2>/dev/null | awk '{print$7}'`
|
||||
if [ ${RET} -eq 0 ]; then
|
||||
CMDLINE["mac1"]="${MAC1}"
|
||||
CMDLINE["netif_num"]=1
|
||||
writeConfigKey "cmdline.mac1" "${MAC1}" "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "cmdline.netif_num" "1" "${USER_CONFIG_FILE}"
|
||||
MAC="${MAC1:0:2}:${MAC1:2:2}:${MAC1:4:2}:${MAC1:6:2}:${MAC1:8:2}:${MAC1:10:2}"
|
||||
ip link set dev eth0 address ${MAC} 2>&1 | dialog --backtitle "`backtitle`" \
|
||||
--title "$(TEXT "User cmdline")" --progressbox "$(TEXT "Changing MAC")" 20 70
|
||||
/etc/init.d/S41dhcpcd restart 2>&1 | dialog --backtitle "`backtitle`" \
|
||||
--title "$(TEXT "User cmdline")" --progressbox "$(TEXT "Renewing IP")" 20 70
|
||||
IP=`ip route get 1.1.1.1 2>/dev/null | awk '{print$7}'`
|
||||
fi
|
||||
;;
|
||||
s)
|
||||
ITEMS=""
|
||||
@ -519,7 +523,7 @@ function extractDsmFiles() {
|
||||
PAT_PATH="${CACHE_PATH}/dl/${PAT_FILE}"
|
||||
EXTRACTOR_PATH="${CACHE_PATH}/extractor"
|
||||
EXTRACTOR_BIN="syno_extract_system_patch"
|
||||
OLDPAT_URL="https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"
|
||||
OLDPAT_URL="https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"
|
||||
|
||||
if [ -f "${PAT_PATH}" ]; then
|
||||
echo "`printf "$(TEXT "%s cached.")" "${PAT_FILE}"`"
|
||||
@ -531,14 +535,25 @@ function extractDsmFiles() {
|
||||
fi
|
||||
mkdir -p "${CACHE_PATH}/dl"
|
||||
|
||||
speed_a="`curl -Lo /dev/null -skw "%{speed_download}" "global.synologydownload.com"`"
|
||||
speed_b="`curl -Lo /dev/null -skw "%{speed_download}" "global.download.synology.com"`"
|
||||
speed_c="`curl -Lo /dev/null -skw "%{speed_download}" "cndl.synology.cn"`"
|
||||
fastest="`echo -e "global.synologydownload.com ${speed_a}\nglobal.download.synology.com ${speed_b}\ncndl.synology.cn ${speed_c}" | sort -k2rn | head -1 | awk '{print $1}'`"
|
||||
|
||||
mirror="`echo ${PAT_URL} | sed 's|^http[s]*://\([^/]*\).*|\1|'`"
|
||||
if [ "${mirror}" != "${fastest}" ]; then
|
||||
echo "`printf "$(TEXT "Based on the current network situation, switch to %s mirror to downloading.")" "${fastest}"`"
|
||||
PAT_URL="`echo ${PAT_URL} | sed "s/${mirror}/${fastest}/"`"
|
||||
OLDPAT_URL="https://${fastest}/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"
|
||||
fi
|
||||
echo "`printf "$(TEXT "Downloading %s")" "${PAT_FILE}"`"
|
||||
# Discover remote file size
|
||||
FILESIZE=`curl --insecure -sLI "${PAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
||||
FILESIZE=`curl -k -sLI "${PAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
||||
if [ 0${FILESIZE} -ge ${SPACELEFT} ]; then
|
||||
# No disk space to download, change it to RAMDISK
|
||||
PAT_PATH="${TMP_PATH}/${PAT_FILE}"
|
||||
fi
|
||||
STATUS=`curl --insecure -w "%{http_code}" -L "${PAT_URL}" -o "${PAT_PATH}" --progress-bar`
|
||||
STATUS=`curl -k -w "%{http_code}" -L "${PAT_URL}" -o "${PAT_PATH}" --progress-bar`
|
||||
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
||||
rm "${PAT_PATH}"
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Error downloading")" --aspect 18 \
|
||||
@ -596,12 +611,12 @@ function extractDsmFiles() {
|
||||
if [ ! -f "${OLDPAT_PATH}" ]; then
|
||||
echo "$(TEXT "Downloading old pat to extract synology .pat extractor...")"
|
||||
# Discover remote file size
|
||||
FILESIZE=`curl --insecure -sLI "${OLDPAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
||||
FILESIZE=`curl -k -sLI "${OLDPAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
||||
if [ 0${FILESIZE} -ge ${SPACELEFT} ]; then
|
||||
# No disk space to download, change it to RAMDISK
|
||||
OLDPAT_PATH="${TMP_PATH}/DS3622xs+-42218.pat"
|
||||
fi
|
||||
STATUS=`curl --insecure -w "%{http_code}" -L "${OLDPAT_URL}" -o "${OLDPAT_PATH}" --progress-bar`
|
||||
STATUS=`curl -k -w "%{http_code}" -L "${OLDPAT_URL}" -o "${OLDPAT_PATH}" --progress-bar`
|
||||
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
||||
rm "${OLDPAT_PATH}"
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Error downloading")" --aspect 18 \
|
||||
@ -986,12 +1001,14 @@ function keymapMenu() {
|
||||
function updateMenu() {
|
||||
PLATFORM="`readModelKey "${MODEL}" "platform"`"
|
||||
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
||||
PROXY="`readConfigKey "proxy" "${USER_CONFIG_FILE}"`"; [ -n "${PROXY}" ] && [[ "${PROXY: -1}" != "/" ]] && PROXY="${PROXY}/"
|
||||
while true; do
|
||||
dialog --backtitle "`backtitle`" --menu "$(TEXT "Choose a option")" 0 0 0 \
|
||||
a "$(TEXT "Update arpl")" \
|
||||
d "$(TEXT "Update addons")" \
|
||||
l "$(TEXT "Update LKMs")" \
|
||||
m "$(TEXT "Update modules")" \
|
||||
p "$(TEXT "Set proxy server")" \
|
||||
e "$(TEXT "Exit")" \
|
||||
2>${TMP_PATH}/resp
|
||||
[ $? -ne 0 ] && return
|
||||
@ -999,13 +1016,14 @@ function updateMenu() {
|
||||
a)
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update arpl")" --aspect 18 \
|
||||
--infobox "$(TEXT "Checking last version")" 0 0
|
||||
ACTUALVERSION="v${ARPL_VERSION}"
|
||||
TAG="`curl --insecure -s https://api.github.com/repos/wjz304/arpl-i18n/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`"
|
||||
ACTUALVERSION="${ARPL_VERSION}"
|
||||
TAG="`curl -k -s "${PROXY}https://api.github.com/repos/wjz304/arpl-i18n/releases/latest" | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`"
|
||||
if [ $? -ne 0 -o -z "${TAG}" ]; then
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update arpl")" --aspect 18 \
|
||||
--msgbox "$(TEXT "Error checking new version")" 0 0
|
||||
continue
|
||||
fi
|
||||
[[ "${TAG:0:1}" == "v" ]] && TAG="${TAG:1}"
|
||||
if [ "${ACTUALVERSION}" = "${TAG}" ]; then
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update arpl")" --aspect 18 \
|
||||
--yesno "`printf "$(TEXT "No new version. Actual version is %s\nForce update?")" "${ACTUALVERSION}"`" 0 0
|
||||
@ -1014,8 +1032,7 @@ function updateMenu() {
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update arpl")" --aspect 18 \
|
||||
--infobox "`printf "$(TEXT "Downloading last version %s")" "${TAG}"`" 0 0
|
||||
# Download update file
|
||||
STATUS=`curl --insecure -w "%{http_code}" -L \
|
||||
"https://github.com/wjz304/arpl-i18n/releases/download/${TAG}/update.zip" -o /tmp/update.zip`
|
||||
STATUS=`curl -k -w "%{http_code}" -L "${PROXY}https://github.com/wjz304/arpl-i18n/releases/download/${TAG}/update.zip" -o "/tmp/update.zip"`
|
||||
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update arpl")" --aspect 18 \
|
||||
--msgbox "$(TEXT "Error downloading update file")" 0 0
|
||||
@ -1163,6 +1180,28 @@ function updateMenu() {
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Update Modules")" --aspect 18 \
|
||||
--msgbox "$(TEXT "Modules updated with success!")" 0 0
|
||||
;;
|
||||
p)
|
||||
RET=1
|
||||
while true; do
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Set Proxy Server")" \
|
||||
--inputbox "$(TEXT "Please enter a proxy server url")" 0 0 "${PROXY}" \
|
||||
2>${TMP_PATH}/resp
|
||||
RET=$?
|
||||
[ ${RET} -ne 0 ] && break
|
||||
PROXY=`cat ${TMP_PATH}/resp`
|
||||
if [ -z "${PROXYSERVER}" ]; then
|
||||
break
|
||||
elif [[ "${PROXYSERVER}" =~ "^(https?|ftp)://[^\s/$.?#].[^\s]*$" ]]; then
|
||||
break
|
||||
else
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Alert")" \
|
||||
--yesno "$(TEXT "Invalid proxy server url, continue?")" 0 0
|
||||
RET=$?
|
||||
[ ${RET} -eq 0 ] && break
|
||||
fi
|
||||
done
|
||||
[ ${RET} -eq 0 ] && writeConfigKey "proxy" "${PROXY}" "${USER_CONFIG_FILE}"
|
||||
;;
|
||||
e) return ;;
|
||||
esac
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user