mod 'download modules' to 'upload modules'

This commit is contained in:
Ing 2023-06-24 23:56:12 +08:00
parent e5b6173bb9
commit e16b7a89f4
4 changed files with 427 additions and 431 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-24 16:49+0800\n" "POT-Creation-Date: 2023-06-24 23:46+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -29,13 +29,13 @@ msgstr ""
msgid "DSM zImage changed" msgid "DSM zImage changed"
msgstr "" msgstr ""
#: boot.sh:35 boot.sh:47 menu.sh:739 menu.sh:747 menu.sh:773 menu.sh:801 #: boot.sh:35 boot.sh:47 menu.sh:737 menu.sh:745 menu.sh:771 menu.sh:799
#: menu.sh:813 menu.sh:837 menu.sh:846 menu.sh:857 menu.sh:886 menu.sh:899 #: menu.sh:811 menu.sh:835 menu.sh:844 menu.sh:855 menu.sh:884 menu.sh:897
#: menu.sh:906 #: menu.sh:904
msgid "Error" msgid "Error"
msgstr "" msgstr ""
#: boot.sh:36 menu.sh:900 #: boot.sh:36 menu.sh:898
msgid "zImage not patched:\\n" msgid "zImage not patched:\\n"
msgstr "" msgstr ""
@ -43,7 +43,7 @@ msgstr ""
msgid "DSM Ramdisk changed" msgid "DSM Ramdisk changed"
msgstr "" msgstr ""
#: boot.sh:48 menu.sh:907 #: boot.sh:48 menu.sh:905
msgid "Ramdisk not patched:\\n" msgid "Ramdisk not patched:\\n"
msgstr "" msgstr ""
@ -232,7 +232,7 @@ msgstr ""
msgid "Reconfiguring Synoinfo, Addons and Modules" msgid "Reconfiguring Synoinfo, Addons and Modules"
msgstr "" msgstr ""
#: menu.sh:211 menu.sh:354 menu.sh:497 menu.sh:636 menu.sh:1572 #: menu.sh:211 menu.sh:354 menu.sh:495 menu.sh:634 menu.sh:1570
msgid "Choose a option" msgid "Choose a option"
msgstr "" msgstr ""
@ -256,14 +256,14 @@ msgstr ""
msgid "Upload a external addon" msgid "Upload a external addon"
msgstr "" msgstr ""
#: menu.sh:217 menu.sh:361 menu.sh:493 menu.sh:631 menu.sh:954 menu.sh:1579 #: menu.sh:217 menu.sh:361 menu.sh:491 menu.sh:629 menu.sh:952 menu.sh:1577
#: menu.sh:1727 #: menu.sh:1725
msgid "Exit" msgid "Exit"
msgstr "" msgstr ""
#: menu.sh:229 menu.sh:234 menu.sh:240 menu.sh:251 menu.sh:259 menu.sh:277 #: menu.sh:229 menu.sh:234 menu.sh:240 menu.sh:251 menu.sh:259 menu.sh:277
#: menu.sh:291 menu.sh:296 menu.sh:300 menu.sh:314 menu.sh:318 menu.sh:325 #: menu.sh:291 menu.sh:296 menu.sh:300 menu.sh:314 menu.sh:318 menu.sh:325
#: menu.sh:328 menu.sh:1706 #: menu.sh:328 menu.sh:1704
msgid "Addons" msgid "Addons"
msgstr "" msgstr ""
@ -287,7 +287,7 @@ msgstr ""
msgid "Select addon to remove" msgid "Select addon to remove"
msgstr "" msgstr ""
#: menu.sh:297 menu.sh:1186 menu.sh:1217 menu.sh:1250 menu.sh:1641 #: menu.sh:297 menu.sh:1184 menu.sh:1215 menu.sh:1248 menu.sh:1639
msgid "This feature is only available when accessed via web/ssh." msgid "This feature is only available when accessed via web/ssh."
msgstr "" msgstr ""
@ -295,25 +295,24 @@ msgstr ""
msgid "Please upload the *.addons file." msgid "Please upload the *.addons file."
msgstr "" msgstr ""
#: menu.sh:315 menu.sh:1668 menu.sh:1682 #: menu.sh:315 menu.sh:466 menu.sh:1666 menu.sh:1680
msgid "Not a valid file, please try again!" msgid "Not a valid file, please try again!"
msgstr "" msgstr ""
#: menu.sh:319 menu.sh:1630 #: menu.sh:319
msgid "Invalid proxy server url, continue?" msgid "The addon already exists. Do you want to overwrite it?"
msgstr "" msgstr ""
#: menu.sh:326 #: menu.sh:326
msgid "Addon '%s' added to loader, Please enable it in 'Add an addon' menu." msgid "Addon '%s' added to loader, Please enable it in 'Add an addon' menu."
msgstr "" msgstr ""
#: menu.sh:329 menu.sh:468 #: menu.sh:329
msgid "File format not recognized!" msgid "File format not recognized!"
msgstr "" msgstr ""
#: menu.sh:342 menu.sh:370 menu.sh:374 menu.sh:391 menu.sh:404 menu.sh:418 #: menu.sh:342 menu.sh:370 menu.sh:374 menu.sh:391 menu.sh:404 menu.sh:418
#: menu.sh:424 menu.sh:443 menu.sh:446 menu.sh:456 menu.sh:463 menu.sh:467 #: menu.sh:424 menu.sh:443 menu.sh:446 menu.sh:461 menu.sh:465 menu.sh:1705
#: menu.sh:1707
msgid "Modules" msgid "Modules"
msgstr "" msgstr ""
@ -342,7 +341,7 @@ msgid "Choose modules to include"
msgstr "" msgstr ""
#: menu.sh:360 #: menu.sh:360
msgid "Download a external module" msgid "Upload a external module"
msgstr "" msgstr ""
#: menu.sh:375 #: menu.sh:375
@ -394,683 +393,683 @@ msgid "Do you want to continue?"
msgstr "" msgstr ""
#: menu.sh:447 #: menu.sh:447
msgid "please enter the complete URL to download.\\n" msgid "Please upload the *.ko file."
msgstr "" msgstr ""
#: menu.sh:453 menu.sh:729 #: menu.sh:462
msgid "Downloading %s"
msgstr ""
#: menu.sh:457
msgid "Check internet, URL or cache disk space"
msgstr ""
#: menu.sh:464
msgid "Module '%s' added to %s-%s" msgid "Module '%s' added to %s-%s"
msgstr "" msgstr ""
#: menu.sh:485 #: menu.sh:483
msgid "Add/edit a cmdline item" msgid "Add/edit a cmdline item"
msgstr "" msgstr ""
#: menu.sh:486 #: menu.sh:484
msgid "Delete cmdline item(s)" msgid "Delete cmdline item(s)"
msgstr "" msgstr ""
#: menu.sh:488 #: menu.sh:486
msgid "Define a serial number" msgid "Define a serial number"
msgstr "" msgstr ""
#: menu.sh:490 #: menu.sh:488
msgid "Define a custom MAC" msgid "Define a custom MAC"
msgstr "" msgstr ""
#: menu.sh:491 #: menu.sh:489
msgid "Show user added cmdline" msgid "Show user added cmdline"
msgstr "" msgstr ""
#: menu.sh:492 #: menu.sh:490
msgid "Show model inherent cmdline" msgid "Show model inherent cmdline"
msgstr "" msgstr ""
#: menu.sh:502 menu.sh:508 menu.sh:518 menu.sh:526 menu.sh:539 menu.sh:549 #: menu.sh:500 menu.sh:506 menu.sh:516 menu.sh:524 menu.sh:537 menu.sh:547
#: menu.sh:566 menu.sh:576 menu.sh:586 menu.sh:589 menu.sh:592 menu.sh:603 #: menu.sh:564 menu.sh:574 menu.sh:584 menu.sh:587 menu.sh:590 menu.sh:601
#: menu.sh:611 #: menu.sh:609
msgid "Cmdline" msgid "Cmdline"
msgstr "" msgstr ""
#: menu.sh:503 #: menu.sh:501
msgid "Type a name of cmdline" msgid "Type a name of cmdline"
msgstr "" msgstr ""
#: menu.sh:509 #: menu.sh:507
msgid "Type a value of '%s' cmdline" msgid "Type a value of '%s' cmdline"
msgstr "" msgstr ""
#: menu.sh:519 #: menu.sh:517
msgid "No user cmdline to remove" msgid "No user cmdline to remove"
msgstr "" msgstr ""
#: menu.sh:527 #: menu.sh:525
msgid "Select cmdline to remove" msgid "Select cmdline to remove"
msgstr "" msgstr ""
#: menu.sh:540 #: menu.sh:538
msgid "Please enter a serial number " msgid "Please enter a serial number "
msgstr "" msgstr ""
#: menu.sh:550 #: menu.sh:548
msgid "Invalid serial, continue?" msgid "Invalid serial, continue?"
msgstr "" msgstr ""
#: menu.sh:567 #: menu.sh:565
msgid "Type a custom MAC address of %s" msgid "Type a custom MAC address of %s"
msgstr "" msgstr ""
#: menu.sh:577 #: menu.sh:575
msgid "Invalid MAC" msgid "Invalid MAC"
msgstr "" msgstr ""
#: menu.sh:587 #: menu.sh:585
msgid "Changing MAC" msgid "Changing MAC"
msgstr "" msgstr ""
#: menu.sh:590 #: menu.sh:588
msgid "Renewing IP" msgid "Renewing IP"
msgstr "" msgstr ""
#: menu.sh:593 #: menu.sh:591
msgid "Continue to custom MAC?" msgid "Continue to custom MAC?"
msgstr "" msgstr ""
#: menu.sh:628 #: menu.sh:626
msgid "Add/edit a synoinfo item" msgid "Add/edit a synoinfo item"
msgstr "" msgstr ""
#: menu.sh:629 #: menu.sh:627
msgid "Delete synoinfo item(s)" msgid "Delete synoinfo item(s)"
msgstr "" msgstr ""
#: menu.sh:630 #: menu.sh:628
msgid "Show synoinfo entries" msgid "Show synoinfo entries"
msgstr "" msgstr ""
#: menu.sh:641 menu.sh:647 menu.sh:658 menu.sh:666 menu.sh:683 #: menu.sh:639 menu.sh:645 menu.sh:656 menu.sh:664 menu.sh:681
msgid "Synoinfo" msgid "Synoinfo"
msgstr "" msgstr ""
#: menu.sh:642 #: menu.sh:640
msgid "Type a name of synoinfo entry" msgid "Type a name of synoinfo entry"
msgstr "" msgstr ""
#: menu.sh:648 #: menu.sh:646
msgid "Type a value of '%s' synoinfo entry" msgid "Type a value of '%s' synoinfo entry"
msgstr "" msgstr ""
#: menu.sh:659 #: menu.sh:657
msgid "No synoinfo entries to remove" msgid "No synoinfo entries to remove"
msgstr "" msgstr ""
#: menu.sh:667 #: menu.sh:665
msgid "Select synoinfo entry to remove" msgid "Select synoinfo entry to remove"
msgstr "" msgstr ""
#: menu.sh:708 #: menu.sh:706
msgid "%s cached." msgid "%s cached."
msgstr "" msgstr ""
#: menu.sh:712 #: menu.sh:710
msgid "Cleaning cache" msgid "Cleaning cache"
msgstr "" msgstr ""
#: menu.sh:724 #: menu.sh:722
msgid "" msgid ""
"Based on the current network situation, switch to %s mirror to downloading." "Based on the current network situation, switch to %s mirror to downloading."
msgstr "" msgstr ""
#: menu.sh:740 menu.sh:802 #: menu.sh:727
msgid "Downloading %s"
msgstr ""
#: menu.sh:738 menu.sh:800
msgid "Check internet or cache disk space" msgid "Check internet or cache disk space"
msgstr "" msgstr ""
#: menu.sh:745 #: menu.sh:743
msgid "Checking hash of %s: " msgid "Checking hash of %s: "
msgstr "" msgstr ""
#: menu.sh:748 #: menu.sh:746
msgid "Hash of pat not match, try again!" msgid "Hash of pat not match, try again!"
msgstr "" msgstr ""
#: menu.sh:752 menu.sh:850 menu.sh:861 menu.sh:872 #: menu.sh:750 menu.sh:848 menu.sh:859 menu.sh:870
msgid "OK" msgid "OK"
msgstr "" msgstr ""
#: menu.sh:756 #: menu.sh:754
msgid "Disassembling %s: " msgid "Disassembling %s: "
msgstr "" msgstr ""
#: menu.sh:761 #: menu.sh:759
msgid "Uncompressed tar" msgid "Uncompressed tar"
msgstr "" msgstr ""
#: menu.sh:765 #: menu.sh:763
msgid "Compressed tar" msgid "Compressed tar"
msgstr "" msgstr ""
#: menu.sh:769 #: menu.sh:767
msgid "Encrypted" msgid "Encrypted"
msgstr "" msgstr ""
#: menu.sh:774 #: menu.sh:772
msgid "" msgid ""
"Could not determine if pat file is encrypted or not, maybe corrupted, try " "Could not determine if pat file is encrypted or not, maybe corrupted, try "
"again!" "again!"
msgstr "" msgstr ""
#: menu.sh:784 #: menu.sh:782
msgid "Extractor cached." msgid "Extractor cached."
msgstr "" msgstr ""
#: menu.sh:791 #: menu.sh:789
msgid "Downloading old pat to extract synology .pat extractor..." msgid "Downloading old pat to extract synology .pat extractor..."
msgstr "" msgstr ""
#: menu.sh:831 menu.sh:834 #: menu.sh:829 menu.sh:832
msgid "Extracting..." msgid "Extracting..."
msgstr "" msgstr ""
#: menu.sh:842 #: menu.sh:840
msgid "Checking hash of zImage: " msgid "Checking hash of zImage: "
msgstr "" msgstr ""
#: menu.sh:847 #: menu.sh:845
msgid "Hash of zImage not match, try again!" msgid "Hash of zImage not match, try again!"
msgstr "" msgstr ""
#: menu.sh:853 #: menu.sh:851
msgid "Checking hash of ramdisk: " msgid "Checking hash of ramdisk: "
msgstr "" msgstr ""
#: menu.sh:858 #: menu.sh:856
msgid "Hash of ramdisk not match, try again!" msgid "Hash of ramdisk not match, try again!"
msgstr "" msgstr ""
#: menu.sh:864 #: menu.sh:862
msgid "Copying files: " msgid "Copying files: "
msgstr "" msgstr ""
#: menu.sh:887 #: menu.sh:885
msgid "Addon %s not found!" msgid "Addon %s not found!"
msgstr "" msgstr ""
#: menu.sh:911 menu.sh:1776 #: menu.sh:909 menu.sh:1774
msgid "Cleaning" msgid "Cleaning"
msgstr "" msgstr ""
#: menu.sh:914 #: menu.sh:912
msgid "Ready!" msgid "Ready!"
msgstr "" msgstr ""
#: menu.sh:927 #: menu.sh:925
msgid "Switch LKM version:" msgid "Switch LKM version:"
msgstr "" msgstr ""
#: menu.sh:930 #: menu.sh:928
msgid "Switch direct boot:" msgid "Switch direct boot:"
msgstr "" msgstr ""
#: menu.sh:932 #: menu.sh:930
msgid "boot IPs wait time:" msgid "boot IPs wait time:"
msgstr "" msgstr ""
#: menu.sh:935 #: menu.sh:933
msgid "Switch 'not set MACs':" msgid "Switch 'not set MACs':"
msgstr "" msgstr ""
#: menu.sh:936 #: menu.sh:934
msgid "Edit user config file manually" msgid "Edit user config file manually"
msgstr "" msgstr ""
#: menu.sh:937 #: menu.sh:935
msgid "Try to recovery a DSM installed system" msgid "Try to recovery a DSM installed system"
msgstr "" msgstr ""
#: menu.sh:938 #: menu.sh:936
msgid "Show SATA(s) # ports and drives" msgid "Show SATA(s) # ports and drives"
msgstr "" msgstr ""
#: menu.sh:940 #: menu.sh:938
msgid "show pat download link" msgid "show pat download link"
msgstr "" msgstr ""
#: menu.sh:942 #: menu.sh:940
msgid "Allow downgrade installation" msgid "Allow downgrade installation"
msgstr "" msgstr ""
#: menu.sh:943 #: menu.sh:941
msgid "Format disk(s) # Without loader disk" msgid "Format disk(s) # Without loader disk"
msgstr "" msgstr ""
#: menu.sh:944 #: menu.sh:942
msgid "Reset syno system password" msgid "Reset syno system password"
msgstr "" msgstr ""
#: menu.sh:945 #: menu.sh:943
msgid "Persistence of arpl modifications" msgid "Persistence of arpl modifications"
msgstr "" msgstr ""
#: menu.sh:947 #: menu.sh:945
msgid "Custom dts file # Need rebuild" msgid "Custom dts file # Need rebuild"
msgstr "" msgstr ""
#: menu.sh:950 #: menu.sh:948
msgid "Backup bootloader disk # test" msgid "Backup bootloader disk # test"
msgstr "" msgstr ""
#: menu.sh:951 #: menu.sh:949
msgid "Restore bootloader disk # test" msgid "Restore bootloader disk # test"
msgstr "" msgstr ""
#: menu.sh:953 #: menu.sh:951
msgid "Development tools" msgid "Development tools"
msgstr "" msgstr ""
#: menu.sh:956 menu.sh:974 menu.sh:1034 menu.sh:1042 menu.sh:1050 menu.sh:1063 #: menu.sh:954 menu.sh:972 menu.sh:1032 menu.sh:1040 menu.sh:1048 menu.sh:1061
#: menu.sh:1066 menu.sh:1081 menu.sh:1082 menu.sh:1087 menu.sh:1091 #: menu.sh:1064 menu.sh:1079 menu.sh:1080 menu.sh:1085 menu.sh:1089
#: menu.sh:1102 menu.sh:1104 menu.sh:1121 menu.sh:1126 menu.sh:1134 #: menu.sh:1100 menu.sh:1102 menu.sh:1119 menu.sh:1124 menu.sh:1132
#: menu.sh:1140 menu.sh:1153 menu.sh:1156 menu.sh:1162 menu.sh:1165 #: menu.sh:1138 menu.sh:1151 menu.sh:1154 menu.sh:1160 menu.sh:1163
#: menu.sh:1180 menu.sh:1185 menu.sh:1189 menu.sh:1204 menu.sh:1209 #: menu.sh:1178 menu.sh:1183 menu.sh:1187 menu.sh:1202 menu.sh:1207
#: menu.sh:1216 menu.sh:1220 menu.sh:1223 menu.sh:1228 menu.sh:1238 #: menu.sh:1214 menu.sh:1218 menu.sh:1221 menu.sh:1226 menu.sh:1236
#: menu.sh:1243 menu.sh:1249 menu.sh:1253 menu.sh:1270 menu.sh:1273 #: menu.sh:1241 menu.sh:1247 menu.sh:1251 menu.sh:1268 menu.sh:1271
#: menu.sh:1279 menu.sh:1287 menu.sh:1295 menu.sh:1304 menu.sh:1306 #: menu.sh:1277 menu.sh:1285 menu.sh:1293 menu.sh:1302 menu.sh:1304
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""
#: menu.sh:957 menu.sh:1730 #: menu.sh:955 menu.sh:1728
msgid "Choose the option" msgid "Choose the option"
msgstr "" msgstr ""
#: menu.sh:975 #: menu.sh:973
msgid "Choose a waiting time(seconds)" msgid "Choose a waiting time(seconds)"
msgstr "" msgstr ""
#: menu.sh:1030 #: menu.sh:1028
msgid "\\nTotal of ports: %s\\n" msgid "\\nTotal of ports: %s\\n"
msgstr "" msgstr ""
#: menu.sh:1031 #: menu.sh:1029
msgid "" msgid ""
"\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive " "\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive "
"connected." "connected."
msgstr "" msgstr ""
#: menu.sh:1032 #: menu.sh:1030
msgid "\\nRecommended value:" msgid "\\nRecommended value:"
msgstr "" msgstr ""
#: menu.sh:1033 #: menu.sh:1031
msgid "\\nDiskIdxMap:" msgid "\\nDiskIdxMap:"
msgstr "" msgstr ""
#: menu.sh:1047 #: menu.sh:1045
msgid "" msgid ""
"This feature will allow you to downgrade the installation by removing the " "This feature will allow you to downgrade the installation by removing the "
"VERSION file from the first partition of all disks.\\n" "VERSION file from the first partition of all disks.\\n"
msgstr "" msgstr ""
#: menu.sh:1048 #: menu.sh:1046
msgid "Therefore, please insert all disks before continuing.\\n" msgid "Therefore, please insert all disks before continuing.\\n"
msgstr "" msgstr ""
#: menu.sh:1049 menu.sh:1088 #: menu.sh:1047 menu.sh:1086
msgid "" msgid ""
"Warning:\\nThis operation is irreversible. Please backup important data. Do " "Warning:\\nThis operation is irreversible. Please backup important data. Do "
"you want to continue?" "you want to continue?"
msgstr "" msgstr ""
#: menu.sh:1064 #: menu.sh:1062
msgid "Removing ..." msgid "Removing ..."
msgstr "" msgstr ""
#: menu.sh:1065 #: menu.sh:1063
msgid "Remove VERSION file for all disks completed." msgid "Remove VERSION file for all disks completed."
msgstr "" msgstr ""
#: menu.sh:1092 #: menu.sh:1090
msgid "" msgid ""
"Warning:\\nThe current hds is in raid, do you still want to format them?" "Warning:\\nThe current hds is in raid, do you still want to format them?"
msgstr "" msgstr ""
#: menu.sh:1103 #: menu.sh:1101
msgid "Formatting ..." msgid "Formatting ..."
msgstr "" msgstr ""
#: menu.sh:1105 #: menu.sh:1103
msgid "Formatting is complete." msgid "Formatting is complete."
msgstr "" msgstr ""
#: menu.sh:1122 #: menu.sh:1120
msgid "The installed Syno system not found in the currently inserted disks!" msgid "The installed Syno system not found in the currently inserted disks!"
msgstr "" msgstr ""
#: menu.sh:1127 #: menu.sh:1125
msgid "Choose a user name" msgid "Choose a user name"
msgstr "" msgstr ""
#: menu.sh:1135 #: menu.sh:1133
msgid "Type a new password for user '%s'" msgid "Type a new password for user '%s'"
msgstr "" msgstr ""
#: menu.sh:1141 #: menu.sh:1139
msgid "Invalid password" msgid "Invalid password"
msgstr "" msgstr ""
#: menu.sh:1154 #: menu.sh:1152
msgid "Resetting ..." msgid "Resetting ..."
msgstr "" msgstr ""
#: menu.sh:1157 #: menu.sh:1155
msgid "Password reset completed." msgid "Password reset completed."
msgstr "" msgstr ""
#: menu.sh:1163 menu.sh:1221 menu.sh:1274 #: menu.sh:1161 menu.sh:1219 menu.sh:1272
msgid "" msgid ""
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the " "Warning:\\nDo not terminate midway, otherwise it may cause damage to the "
"arpl. Do you want to continue?" "arpl. Do you want to continue?"
msgstr "" msgstr ""
#: menu.sh:1166 #: menu.sh:1164
msgid "Persisting ..." msgid "Persisting ..."
msgstr "" msgstr ""
#: menu.sh:1181 #: menu.sh:1179
msgid "Persisting is complete." msgid "Persisting is complete."
msgstr "" msgstr ""
#: menu.sh:1190 #: menu.sh:1188
msgid "" msgid ""
"Currently, only dts format files are supported. Please prepare and click to " "Currently, only dts format files are supported. Please prepare and click to "
"confirm uploading.\\n(saved in /mnt/p3/users/)" "confirm uploading.\\n(saved in /mnt/p3/users/)"
msgstr "" msgstr ""
#: menu.sh:1205 #: menu.sh:1203
msgid "Not a valid dts file, please try again!" msgid "Not a valid dts file, please try again!"
msgstr "" msgstr ""
#: menu.sh:1210 #: menu.sh:1208
msgid "A valid dts file, Automatically import at compile time." msgid "A valid dts file, Automatically import at compile time."
msgstr "" msgstr ""
#: menu.sh:1224 #: menu.sh:1222
msgid "Backuping..." msgid "Backuping..."
msgstr "" msgstr ""
#: menu.sh:1229 #: menu.sh:1227
msgid "" msgid ""
"Failed to generate backup. There may be insufficient memory. Please clear " "Failed to generate backup. There may be insufficient memory. Please clear "
"the cache and try again!" "the cache and try again!"
msgstr "" msgstr ""
#: menu.sh:1236 #: menu.sh:1234
msgid "Click on the address above to download." msgid "Click on the address above to download."
msgstr "" msgstr ""
#: menu.sh:1237 #: menu.sh:1235
msgid "" msgid ""
"Please confirm the completion of the download before closing this window." "Please confirm the completion of the download before closing this window."
msgstr "" msgstr ""
#: menu.sh:1244 #: menu.sh:1242
msgid "backup is complete." msgid "backup is complete."
msgstr "" msgstr ""
#: menu.sh:1254 #: menu.sh:1252
msgid "" msgid ""
"Please upload the backup file.\\nCurrently, zip(github) and img.gz(backup) " "Please upload the backup file.\\nCurrently, zip(github) and img.gz(backup) "
"compressed file formats are supported." "compressed file formats are supported."
msgstr "" msgstr ""
#: menu.sh:1271 #: menu.sh:1269
msgid "Not a valid .zip/.img.gz file, please try again!" msgid "Not a valid .zip/.img.gz file, please try again!"
msgstr "" msgstr ""
#: menu.sh:1280 #: menu.sh:1278
msgid "Writing..." msgid "Writing..."
msgstr "" msgstr ""
#: menu.sh:1288 #: menu.sh:1286
msgid "Restore bootloader disk with success to %s!\\nReboot?" msgid "Restore bootloader disk with success to %s!\\nReboot?"
msgstr "" msgstr ""
#: menu.sh:1296 #: menu.sh:1294
msgid "" msgid ""
"This option only installs opkg package management, allowing you to install " "This option only installs opkg package management, allowing you to install "
"more tools for use and debugging. Do you want to continue?" "more tools for use and debugging. Do you want to continue?"
msgstr "" msgstr ""
#: menu.sh:1305 #: menu.sh:1303
msgid "opkg installing ..." msgid "opkg installing ..."
msgstr "" msgstr ""
#: menu.sh:1307 #: menu.sh:1305
msgid "" msgid ""
"opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/." "opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/."
"bashrc'" "bashrc'"
msgstr "" msgstr ""
#: menu.sh:1317 menu.sh:1345 menu.sh:1352 #: menu.sh:1315 menu.sh:1343 menu.sh:1350
msgid "Try recovery DSM" msgid "Try recovery DSM"
msgstr "" msgstr ""
#: menu.sh:1318 #: menu.sh:1316
msgid "Trying to recovery a DSM installed system" msgid "Trying to recovery a DSM installed system"
msgstr "" msgstr ""
#: menu.sh:1339 #: menu.sh:1337
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s" msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
msgstr "" msgstr ""
#: menu.sh:1343 #: menu.sh:1341
msgid "\\nSerial: %s" msgid "\\nSerial: %s"
msgstr "" msgstr ""
#: menu.sh:1353 #: menu.sh:1351
msgid "Unfortunately I couldn't mount the DSM partition!" msgid "Unfortunately I couldn't mount the DSM partition!"
msgstr "" msgstr ""
#: menu.sh:1361 menu.sh:1367 #: menu.sh:1359 menu.sh:1365
msgid "Edit with caution" msgid "Edit with caution"
msgstr "" msgstr ""
#: menu.sh:1387 #: menu.sh:1385
msgid "Alert" msgid "Alert"
msgstr "" msgstr ""
#: menu.sh:1388 #: menu.sh:1386
msgid "Config changed, would you like to rebuild the loader?" msgid "Config changed, would you like to rebuild the loader?"
msgstr "" msgstr ""
#: menu.sh:1400 menu.sh:1721 #: menu.sh:1398 menu.sh:1719
msgid "Choose a language" msgid "Choose a language"
msgstr "" msgstr ""
#: menu.sh:1414 #: menu.sh:1412
msgid "Choose a layout" msgid "Choose a layout"
msgstr "" msgstr ""
#: menu.sh:1426 #: menu.sh:1424
msgid "Choice a keymap" msgid "Choice a keymap"
msgstr "" msgstr ""
#: menu.sh:1444 menu.sh:1477 menu.sh:1528 menu.sh:1584 menu.sh:1592 #: menu.sh:1442 menu.sh:1475 menu.sh:1526 menu.sh:1582 menu.sh:1590
#: menu.sh:1600 menu.sh:1608 #: menu.sh:1598 menu.sh:1606
msgid "Update %s" msgid "Update %s"
msgstr "" msgstr ""
#: menu.sh:1447 #: menu.sh:1445
msgid "Checking last version" msgid "Checking last version"
msgstr "" msgstr ""
#: menu.sh:1455 #: menu.sh:1453
msgid "Error checking new version" msgid "Error checking new version"
msgstr "" msgstr ""
#: menu.sh:1460 #: menu.sh:1458
msgid "No new version. Actual version is %s\\nForce update?" msgid "No new version. Actual version is %s\\nForce update?"
msgstr "" msgstr ""
#: menu.sh:1464 #: menu.sh:1462
msgid "Downloading last version" msgid "Downloading last version"
msgstr "" msgstr ""
#: menu.sh:1469 #: menu.sh:1467
msgid "Error downloading new version" msgid "Error downloading new version"
msgstr "" msgstr ""
#: menu.sh:1479 menu.sh:1530 #: menu.sh:1477 menu.sh:1528
msgid "Extracting last version" msgid "Extracting last version"
msgstr "" msgstr ""
#: menu.sh:1483 #: menu.sh:1481
msgid "Error extracting update file" msgid "Error extracting update file"
msgstr "" msgstr ""
#: menu.sh:1490 #: menu.sh:1488
msgid "Checksum do not match!" msgid "Checksum do not match!"
msgstr "" msgstr ""
#: menu.sh:1499 #: menu.sh:1497
msgid "" msgid ""
"The current version does not support upgrading to the latest update.zip. " "The current version does not support upgrading to the latest update.zip. "
"Please remake the bootloader disk!" "Please remake the bootloader disk!"
msgstr "" msgstr ""
#: menu.sh:1504 #: menu.sh:1502
msgid "Installing new files" msgid "Installing new files"
msgstr "" msgstr ""
#: menu.sh:1521 #: menu.sh:1519
msgid "Arpl updated with success to %s!\\nReboot?" msgid "Arpl updated with success to %s!\\nReboot?"
msgstr "" msgstr ""
#: menu.sh:1536 #: menu.sh:1534
msgid "Installing new %s" msgid "Installing new %s"
msgstr "" msgstr ""
#: menu.sh:1561 #: menu.sh:1559
msgid "%s updated with success!" msgid "%s updated with success!"
msgstr "" msgstr ""
#: menu.sh:1573 #: menu.sh:1571
msgid "Update arpl" msgid "Update arpl"
msgstr "" msgstr ""
#: menu.sh:1574 #: menu.sh:1572
msgid "Update addons" msgid "Update addons"
msgstr "" msgstr ""
#: menu.sh:1575 #: menu.sh:1573
msgid "Update modules" msgid "Update modules"
msgstr "" msgstr ""
#: menu.sh:1576 #: menu.sh:1574
msgid "Update LKMs" msgid "Update LKMs"
msgstr "" msgstr ""
#: menu.sh:1577 #: menu.sh:1575
msgid "Set proxy server" msgid "Set proxy server"
msgstr "" msgstr ""
#: menu.sh:1578 #: menu.sh:1576
msgid "Local upload" msgid "Local upload"
msgstr "" msgstr ""
#: menu.sh:1584 #: menu.sh:1582
msgid "arpl" msgid "arpl"
msgstr "" msgstr ""
#: menu.sh:1592 #: menu.sh:1590
msgid "addons" msgid "addons"
msgstr "" msgstr ""
#: menu.sh:1600 #: menu.sh:1598
msgid "modules" msgid "modules"
msgstr "" msgstr ""
#: menu.sh:1608 #: menu.sh:1606
msgid "LKMs" msgid "LKMs"
msgstr "" msgstr ""
#: menu.sh:1618 menu.sh:1629 menu.sh:1640 menu.sh:1650 menu.sh:1667 #: menu.sh:1616 menu.sh:1627 menu.sh:1638 menu.sh:1648 menu.sh:1665
#: menu.sh:1681 #: menu.sh:1679
msgid "Update" msgid "Update"
msgstr "" msgstr ""
#: menu.sh:1619 #: menu.sh:1617
msgid "Please enter a proxy server url" msgid "Please enter a proxy server url"
msgstr "" msgstr ""
#: menu.sh:1645 #: menu.sh:1628
msgid "Invalid proxy server url, continue?"
msgstr ""
#: menu.sh:1643
msgid "" msgid ""
"Please keep the attachment name consistent with the attachment name on " "Please keep the attachment name consistent with the attachment name on "
"Github.\\n" "Github.\\n"
msgstr "" msgstr ""
#: menu.sh:1646 #: menu.sh:1644
msgid "Upload update.zip will update arpl.\\n" msgid "Upload update.zip will update arpl.\\n"
msgstr "" msgstr ""
#: menu.sh:1647 #: menu.sh:1645
msgid "Upload addons.zip will update Addons.\\n" msgid "Upload addons.zip will update Addons.\\n"
msgstr "" msgstr ""
#: menu.sh:1648 #: menu.sh:1646
msgid "Upload modules.zip will update Modules.\\n" msgid "Upload modules.zip will update Modules.\\n"
msgstr "" msgstr ""
#: menu.sh:1649 #: menu.sh:1647
msgid "Upload rp-lkms.zip will update LKMs.\\n" msgid "Upload rp-lkms.zip will update LKMs.\\n"
msgstr "" msgstr ""
#: menu.sh:1702 #: menu.sh:1700
msgid "Choose a model" msgid "Choose a model"
msgstr "" msgstr ""
#: menu.sh:1704 #: menu.sh:1702
msgid "Choose a Build Number" msgid "Choose a Build Number"
msgstr "" msgstr ""
#: menu.sh:1708 #: menu.sh:1706
msgid "Cmdline menu" msgid "Cmdline menu"
msgstr "" msgstr ""
#: menu.sh:1709 #: menu.sh:1707
msgid "Synoinfo menu" msgid "Synoinfo menu"
msgstr "" msgstr ""
#: menu.sh:1712 #: menu.sh:1710
msgid "Advanced menu" msgid "Advanced menu"
msgstr "" msgstr ""
#: menu.sh:1715 #: menu.sh:1713
msgid "Build the loader" msgid "Build the loader"
msgstr "" msgstr ""
#: menu.sh:1719 #: menu.sh:1717
msgid "Boot the loader" msgid "Boot the loader"
msgstr "" msgstr ""
#: menu.sh:1722 #: menu.sh:1720
msgid "Choose a keymap" msgid "Choose a keymap"
msgstr "" msgstr ""
#: menu.sh:1724 #: menu.sh:1722
msgid "Clean disk cache" msgid "Clean disk cache"
msgstr "" msgstr ""
#: menu.sh:1726 #: menu.sh:1724
msgid "Update menu" msgid "Update menu"
msgstr "" msgstr ""
#: menu.sh:1788 #: menu.sh:1786
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu" msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
msgstr "" msgstr ""

File diff suppressed because it is too large Load Diff

View File

@ -316,7 +316,7 @@ function addonMenu() {
else else
if [ -d "${ADDONS_PATH}/$(basename ${USER_FILE} .addons)" ]; then if [ -d "${ADDONS_PATH}/$(basename ${USER_FILE} .addons)" ]; then
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Addons")" \ dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Addons")" \
--yesno "$(TEXT "Invalid proxy server url, continue?")" 0 0 --yesno "$(TEXT "The addon already exists. Do you want to overwrite it?")" 0 0
RET=$? RET=$?
[ ${RET} -eq 0 ] && return [ ${RET} -eq 0 ] && return
fi fi
@ -357,7 +357,7 @@ function moduleMenu() {
a "$(TEXT "Select all modules")" \ a "$(TEXT "Select all modules")" \
d "$(TEXT "Deselect all modules")" \ d "$(TEXT "Deselect all modules")" \
c "$(TEXT "Choose modules to include")" \ c "$(TEXT "Choose modules to include")" \
o "$(TEXT "Download a external module")" \ o "$(TEXT "Upload a external module")" \
e "$(TEXT "Exit")" \ e "$(TEXT "Exit")" \
2>${TMP_PATH}/resp 2>${TMP_PATH}/resp
[ $? -ne 0 ] && break [ $? -ne 0 ] && break
@ -444,28 +444,26 @@ function moduleMenu() {
--yesno "${MSG}" 0 0 --yesno "${MSG}" 0 0
[ $? -ne 0 ] && return [ $? -ne 0 ] && return
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \ dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \
--inputbox "$(TEXT "please enter the complete URL to download.\n")" 0 0 \ --msgbox "$(TEXT "Please upload the *.ko file.")" 0 0
2>${TMP_PATH}/resp TMP_UP_PATH=/tmp/users
[ $? -ne 0 ] && continue USER_FILE=""
URL="$(<"${TMP_PATH}/resp")" rm -rf ${TMP_UP_PATH}
[ -z "${URL}" ] && continue mkdir -p ${TMP_UP_PATH}
clear pushd ${TMP_UP_PATH}
echo "$(printf "$(TEXT "Downloading %s")" "${URL}")" rz -be
STATUS=$(curl -kLJO -w "%{http_code}" "${URL}" --progress-bar) for F in $(ls -A); do
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then USER_FILE=${F}
break
done
popd
if [ -n "${USER_FILE}" -a "${USER_FILE##*.}" = "ko" ]; then
addToModules ${PLATFORM} ${KVER} "${TMP_UP_PATH}/${USER_FILE}"
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \ dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \
--msgbox "$(TEXT "Check internet, URL or cache disk space")" 0 0 --msgbox "$(printf "$(TEXT "Module '%s' added to %s-%s")" "${USER_FILE}" ${PLATFORM} ${KVER})" 0 0
return 1 rm -f "${TMP_UP_PATH}/${USER_FILE}"
fi
KONAME=$(basename "$URL")
if [ -n "${KONAME}" -a "${KONAME##*.}" = "ko" ]; then
addToModules ${PLATFORM} ${KVER} ${KONAME}
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \
--msgbox "$(printf "$(TEXT "Module '%s' added to %s-%s")" "${KONAME}" ${PLATFORM} ${KVER})" 0 0
rm -f ${KONAME}
else else
dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \ dialog --backtitle "$(backtitle)" --colors --title "$(TEXT "Modules")" \
--msgbox "$(TEXT "File format not recognized!")" 0 0 --msgbox "$(TEXT "Not a valid file, please try again!")" 0 0
fi fi
;; ;;
e) e)