mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Modify to i18n
This commit is contained in:
parent
58c4168b60
commit
eb944798b9
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,3 +1,3 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: fbelavenuto
|
||||
github: wjz304
|
||||
|
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -140,9 +140,9 @@ jobs:
|
||||
- name: Pack
|
||||
shell: bash
|
||||
run: |
|
||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.img.zip" arpl.img
|
||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip" arpl-dyn.vmdk
|
||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip" arpl.vmdk arpl-flat.vmdk
|
||||
zip -9 "arpl-i18n-${{ steps.build.outputs.VERSION }}.img.zip" arpl.img
|
||||
zip -9 "arpl-i18n-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip" arpl-dyn.vmdk
|
||||
zip -9 "arpl-i18n-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip" arpl.vmdk arpl-flat.vmdk
|
||||
sha256sum update-list.yml > sha256sum
|
||||
zip -9j update.zip update-list.yml
|
||||
while read F; do
|
||||
@ -174,7 +174,7 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
arpl-${{ steps.build.outputs.VERSION }}.img.zip
|
||||
arpl-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip
|
||||
arpl-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip
|
||||
arpl-i18n-${{ steps.build.outputs.VERSION }}.img.zip
|
||||
arpl-i18n-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip
|
||||
arpl-i18n-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip
|
||||
update.zip
|
||||
|
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,6 +1,6 @@
|
||||
[submodule "redpill-lkm"]
|
||||
path = redpill-lkm
|
||||
url = https://github.com/fbelavenuto/redpill-lkm
|
||||
url = https://github.com/wjz304/redpill-lkm
|
||||
[submodule "addons"]
|
||||
path = addons
|
||||
url = https://github.com/fbelavenuto/arpl-addons
|
||||
url = https://github.com/wjz304/arpl-addons
|
||||
|
105
README.md
105
README.md
@ -1,99 +1,24 @@
|
||||
# Automated Redpill Loader
|
||||
# Automated Redpill Loader (i18n)
|
||||
|
||||
[中文说明](./README-Zh.md)
|
||||
本库为 arpl i18n (多语言优化版):
|
||||
|
||||
This particular project was created to facilitate my testing with Redpill and I decided to share it with other users.
|
||||
### 原版:
|
||||
<b>https://github.com/fbelavenuto/arpl</b>
|
||||
* [作者说明(En)](./arpl-README-En.md)
|
||||
* [作者说明(Zh)](./arpl-README-Zh.md)
|
||||
|
||||
I'm Brazilian and my English is not good, so I apologize for my translations.
|
||||
### 汉化:
|
||||
<b>https://github.com/wjz304/arpl-zh_CN</b>
|
||||
* 仅同步汉化原版, 所以功能与原版保持一致.
|
||||
|
||||
I tried to make the system as user-friendly as possible, to make life easier. The loader automatically detects which device is being used, SATADoM or USB, detecting its VID and PID correctly. redpill-lkm has been edited to allow booting the kernel without setting the variables related to network interfaces so the loader (and user) doesn't have to worry about that. The Jun's code that makes the zImage and Ramdisk patch is embedded, if there is a change in "zImage" or "rd.gz" by some smallupdate, the loader re-applies the patches. The most important kernel modules are built into the DSM ramdisk image for automatic peripheral detection.
|
||||
### i18n:
|
||||
<b>https://github.com/wjz304/arpl-i18n</b>
|
||||
* 多语言支持.
|
||||
* 包含我的修改.
|
||||
|
||||
# Important considerations
|
||||
|
||||
- Some users have experienced an excessively long time to boot. In this case is highly recommended to use an SSD for the loader in the case of the option via DoM or a fast USB flash drive;
|
||||
## 打赏一下
|
||||
<img src="https://raw.githubusercontent.com/wjz304/wjz304/master/my/20220908134226.jpg" width="400">
|
||||
|
||||
- You must have at least 4GB of RAM, both in baremetal and VMs;
|
||||
|
||||
- The DSM kernel is compatible with SATA ports, not SAS/SCSI/etc. For device-tree models only SATA ports work. For the other models, another type of disks may work;
|
||||
|
||||
- It is possible to use HBA cards, however SMART and serial numbers are only functional on DS3615xs, DS3617xs and DS3622xs+ models.
|
||||
|
||||
# Use
|
||||
|
||||
## General
|
||||
|
||||
To use this project, download the latest image available and burn it to a USB stick or SATA disk-on-module. Set the PC to boot from the burned media and follow the informations on the screen.
|
||||
|
||||
The loader will automatically increase the size of the last partition and use this space as cache if it is larger than 2GiB.
|
||||
|
||||
## Acessing loader
|
||||
|
||||
### Via terminal
|
||||
|
||||
Call the "menu.sh" command from the computer itself.
|
||||
|
||||
### Via web
|
||||
|
||||
From another machine into same network, type the address provided on the screen `http://<ip>:7681` in browser.
|
||||
|
||||
### Via ssh
|
||||
|
||||
From another machine into same network, use a ssh client, username `root` and password `Redp1lL-1s-4weSomE`
|
||||
|
||||
## Using loader
|
||||
|
||||
The menu system is dynamic and I hope it is intuitive enough that the user can use it without any problems.
|
||||
|
||||
There is no need to configure the VID/PID (if using a USB stick) or define the MAC Addresses of the network interfaces. If the user wants to modify the MAC Address of any interface, uses the "Change MAC" into "cmdline" menu.
|
||||
|
||||
If a model is chosen that uses the Device-tree system to define the HDs, there is no need to configure anything. In the case of models that do not use device-tree, the configurations must be done manually and for this there is an option in the "cmdline" menu to display the SATA controllers, DUMMY ports and ports in use, to assist in the creation of the "SataPortMap", "DiskIdxMap" and "sata_remap" if necessary.
|
||||
|
||||
Another important point is that the loader detects whether or not the CPU has the MOVBE instruction and does not display the models that require it. So if the DS918+ and DVA3221 models are not displayed it is because of the CPU's lack of support for MOVBE instructions. You can disable this restriction and test at your own risk.
|
||||
|
||||
I developed a simple patch to no longer display the DUMMY port error on models without device-tree, the user will be able to install without having to worry about it.
|
||||
|
||||
## Quickstart guide
|
||||
|
||||
After booting the loader, the following screen should appear. Type menu.sh and press `<ENTER>`:
|
||||
|
||||

|
||||
|
||||
If you prefer, you can access it via the web:
|
||||
|
||||

|
||||
|
||||
Select the "model" option and choose the model you prefer:
|
||||
|
||||

|
||||
|
||||
Select the "Buildnumber" option and choose the first option:
|
||||
|
||||

|
||||
|
||||
Go to "Serial" menu and choose "Generate a random serial number".
|
||||
|
||||
Select the "Build" option and wait for the loader to be generated:
|
||||
|
||||

|
||||
|
||||
Select the "Boot" option and wait for the DSM to boot:
|
||||
|
||||

|
||||
|
||||
The DSM kernel does not display messages on the screen, so it is necessary to continue the process of configuring DSM through the browser by accessing the address `http://<ip>`.
|
||||
There are several tutorials on how to configure DSM over the internet, which will not be covered here.
|
||||
|
||||
# Tutorials
|
||||
|
||||
An ARPL user (Rikkie) created a tutorial to install ARPL on a proxmox server:
|
||||
https://hotstuff.asia/2023/01/03/xpenology-with-arpl-on-proxmox-the-easy-way/
|
||||
|
||||
# Troubles/questions/etc
|
||||
|
||||
Please search the forums at https://xpenology.com/forum if your question/problem has been discussed and resolved. If you can't find a solution, use github issues.
|
||||
|
||||
# Thanks
|
||||
|
||||
All code was based on the work of TTG, pocopico, jumkey and others involved in continuing TTG's original redpill-load project.
|
||||
|
||||
More information will be added in the future.
|
||||
|
99
arpl-README-En.md
Normal file
99
arpl-README-En.md
Normal file
@ -0,0 +1,99 @@
|
||||
# Automated Redpill Loader
|
||||
|
||||
[中文说明](./README-Zh.md)
|
||||
|
||||
This particular project was created to facilitate my testing with Redpill and I decided to share it with other users.
|
||||
|
||||
I'm Brazilian and my English is not good, so I apologize for my translations.
|
||||
|
||||
I tried to make the system as user-friendly as possible, to make life easier. The loader automatically detects which device is being used, SATADoM or USB, detecting its VID and PID correctly. redpill-lkm has been edited to allow booting the kernel without setting the variables related to network interfaces so the loader (and user) doesn't have to worry about that. The Jun's code that makes the zImage and Ramdisk patch is embedded, if there is a change in "zImage" or "rd.gz" by some smallupdate, the loader re-applies the patches. The most important kernel modules are built into the DSM ramdisk image for automatic peripheral detection.
|
||||
|
||||
# Important considerations
|
||||
|
||||
- Some users have experienced an excessively long time to boot. In this case is highly recommended to use an SSD for the loader in the case of the option via DoM or a fast USB flash drive;
|
||||
|
||||
- You must have at least 4GB of RAM, both in baremetal and VMs;
|
||||
|
||||
- The DSM kernel is compatible with SATA ports, not SAS/SCSI/etc. For device-tree models only SATA ports work. For the other models, another type of disks may work;
|
||||
|
||||
- It is possible to use HBA cards, however SMART and serial numbers are only functional on DS3615xs, DS3617xs and DS3622xs+ models.
|
||||
|
||||
# Use
|
||||
|
||||
## General
|
||||
|
||||
To use this project, download the latest image available and burn it to a USB stick or SATA disk-on-module. Set the PC to boot from the burned media and follow the informations on the screen.
|
||||
|
||||
The loader will automatically increase the size of the last partition and use this space as cache if it is larger than 2GiB.
|
||||
|
||||
## Acessing loader
|
||||
|
||||
### Via terminal
|
||||
|
||||
Call the "menu.sh" command from the computer itself.
|
||||
|
||||
### Via web
|
||||
|
||||
From another machine into same network, type the address provided on the screen `http://<ip>:7681` in browser.
|
||||
|
||||
### Via ssh
|
||||
|
||||
From another machine into same network, use a ssh client, username `root` and password `Redp1lL-1s-4weSomE`
|
||||
|
||||
## Using loader
|
||||
|
||||
The menu system is dynamic and I hope it is intuitive enough that the user can use it without any problems.
|
||||
|
||||
There is no need to configure the VID/PID (if using a USB stick) or define the MAC Addresses of the network interfaces. If the user wants to modify the MAC Address of any interface, uses the "Change MAC" into "cmdline" menu.
|
||||
|
||||
If a model is chosen that uses the Device-tree system to define the HDs, there is no need to configure anything. In the case of models that do not use device-tree, the configurations must be done manually and for this there is an option in the "cmdline" menu to display the SATA controllers, DUMMY ports and ports in use, to assist in the creation of the "SataPortMap", "DiskIdxMap" and "sata_remap" if necessary.
|
||||
|
||||
Another important point is that the loader detects whether or not the CPU has the MOVBE instruction and does not display the models that require it. So if the DS918+ and DVA3221 models are not displayed it is because of the CPU's lack of support for MOVBE instructions. You can disable this restriction and test at your own risk.
|
||||
|
||||
I developed a simple patch to no longer display the DUMMY port error on models without device-tree, the user will be able to install without having to worry about it.
|
||||
|
||||
## Quickstart guide
|
||||
|
||||
After booting the loader, the following screen should appear. Type menu.sh and press `<ENTER>`:
|
||||
|
||||

|
||||
|
||||
If you prefer, you can access it via the web:
|
||||
|
||||

|
||||
|
||||
Select the "model" option and choose the model you prefer:
|
||||
|
||||

|
||||
|
||||
Select the "Buildnumber" option and choose the first option:
|
||||
|
||||

|
||||
|
||||
Go to "Serial" menu and choose "Generate a random serial number".
|
||||
|
||||
Select the "Build" option and wait for the loader to be generated:
|
||||
|
||||

|
||||
|
||||
Select the "Boot" option and wait for the DSM to boot:
|
||||
|
||||

|
||||
|
||||
The DSM kernel does not display messages on the screen, so it is necessary to continue the process of configuring DSM through the browser by accessing the address `http://<ip>`.
|
||||
There are several tutorials on how to configure DSM over the internet, which will not be covered here.
|
||||
|
||||
# Tutorials
|
||||
|
||||
An ARPL user (Rikkie) created a tutorial to install ARPL on a proxmox server:
|
||||
https://hotstuff.asia/2023/01/03/xpenology-with-arpl-on-proxmox-the-easy-way/
|
||||
|
||||
# Troubles/questions/etc
|
||||
|
||||
Please search the forums at https://xpenology.com/forum if your question/problem has been discussed and resolved. If you can't find a solution, use github issues.
|
||||
|
||||
# Thanks
|
||||
|
||||
All code was based on the work of TTG, pocopico, jumkey and others involved in continuing TTG's original redpill-load project.
|
||||
|
||||
More information will be added in the future.
|
197461
files/board/arpl/cjktty-5.15.patch
Normal file
197461
files/board/arpl/cjktty-5.15.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -5,27 +5,27 @@ set -e
|
||||
. /opt/arpl/include/functions.sh
|
||||
|
||||
# Sanity check
|
||||
loaderIsConfigured || die "Loader is not configured!"
|
||||
loaderIsConfigured || die "$(TEXT "Loader is not configured!")"
|
||||
|
||||
# Print text centralized
|
||||
clear
|
||||
[ -z "${COLUMNS}" ] && COLUMNS=50
|
||||
TITLE="Welcome to Automated Redpill Loader v${ARPL_VERSION}"
|
||||
TITLE="`printf "$(TEXT "Welcome to %s")" "${ARPL_TITLE}"`"
|
||||
printf "\033[1;44m%*s\n" ${COLUMNS} ""
|
||||
printf "\033[1;44m%*s\033[A\n" ${COLUMNS} ""
|
||||
printf "\033[1;32m%*s\033[0m\n" $(((${#TITLE}+${COLUMNS})/2)) "${TITLE}"
|
||||
printf "\033[1;44m%*s\033[0m\n" ${COLUMNS} ""
|
||||
TITLE="BOOTING..."
|
||||
TITLE="$(TEXT "BOOTING...")"
|
||||
printf "\033[1;33m%*s\033[0m\n" $(((${#TITLE}+${COLUMNS})/2)) "${TITLE}"
|
||||
|
||||
# Check if DSM zImage changed, patch it if necessary
|
||||
ZIMAGE_HASH="`readConfigKey "zimage-hash" "${USER_CONFIG_FILE}"`"
|
||||
if [ "`sha256sum "${ORI_ZIMAGE_FILE}" | awk '{print$1}'`" != "${ZIMAGE_HASH}" ]; then
|
||||
echo -e "\033[1;43mDSM zImage changed\033[0m"
|
||||
echo -e "\033[1;43m$(TEXT "DSM zImage changed")\033[0m"
|
||||
/opt/arpl/zimage-patch.sh
|
||||
if [ $? -ne 0 ]; then
|
||||
dialog --backtitle "`backtitle`" --title "Error" \
|
||||
--msgbox "zImage not patched:\n`<"${LOG_FILE}"`" 12 70
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Error")" \
|
||||
--msgbox "$(TEXT "zImage not patched:\n")`<"${LOG_FILE}"`" 12 70
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@ -36,8 +36,8 @@ if [ "`sha256sum "${ORI_RDGZ_FILE}" | awk '{print$1}'`" != "${RAMDISK_HASH}" ];
|
||||
echo -e "\033[1;43mDSM Ramdisk changed\033[0m"
|
||||
/opt/arpl/ramdisk-patch.sh
|
||||
if [ $? -ne 0 ]; then
|
||||
dialog --backtitle "`backtitle`" --title "Error" \
|
||||
--msgbox "Ramdisk not patched:\n`<"${LOG_FILE}"`" 12 70
|
||||
dialog --backtitle "`backtitle`" --title "$(TEXT "Error")" \
|
||||
--msgbox "$(TEXT "Ramdisk not patched:\n")`<"${LOG_FILE}"`" 12 70
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@ -49,8 +49,8 @@ MODEL="`readConfigKey "model" "${USER_CONFIG_FILE}"`"
|
||||
BUILD="`readConfigKey "build" "${USER_CONFIG_FILE}"`"
|
||||
SN="`readConfigKey "sn" "${USER_CONFIG_FILE}"`"
|
||||
|
||||
echo -e "Model: \033[1;36m${MODEL}\033[0m"
|
||||
echo -e "Build: \033[1;36m${BUILD}\033[0m"
|
||||
echo -e "$(TEXT "Model:") \033[1;36m${MODEL}\033[0m"
|
||||
echo -e "$(TEXT "Build:") \033[1;36m${BUILD}\033[0m"
|
||||
|
||||
declare -A CMDLINE
|
||||
|
||||
@ -93,7 +93,7 @@ for N in `seq 1 9`; do
|
||||
[ -n "${CMDLINE["mac${N}"]}" ] && MACS=$((${MACS}+1))
|
||||
done
|
||||
if [ ${NETIF_NUM} -ne ${MACS} ]; then
|
||||
echo -e "\033[1;33m*** netif_num is not equal to macX amount, set netif_num to ${MACS} ***\033[0m"
|
||||
echo -e "\033[1;33m*** `printf "$(TEXT "netif_num is not equal to macX amount, set netif_num to %s")" "${MACS}"` ***\033[0m"
|
||||
CMDLINE["netif_num"]=${MACS}
|
||||
fi
|
||||
|
||||
@ -114,11 +114,11 @@ done
|
||||
# Escape special chars
|
||||
#CMDLINE_LINE=`echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g'`
|
||||
CMDLINE_DIRECT=`echo ${CMDLINE_DIRECT} | sed 's/>/\\\\>/g'`
|
||||
echo -e "Cmdline:\n\033[1;36m${CMDLINE_LINE}\033[0m"
|
||||
echo -e "$(TEXT "Cmdline:\n")\033[1;36m${CMDLINE_LINE}\033[0m"
|
||||
|
||||
# Wait for an IP
|
||||
COUNT=0
|
||||
echo -n "IP"
|
||||
echo -n "$(TEXT "IP")"
|
||||
while true; do
|
||||
IP=`ip route get 1.1.1.1 2>/dev/null | awk '{print$7}'`
|
||||
if [ -n "${IP}" ]; then
|
||||
@ -136,20 +136,20 @@ done
|
||||
DIRECT="`readConfigKey "directboot" "${USER_CONFIG_FILE}"`"
|
||||
if [ "${DIRECT}" = "true" ]; then
|
||||
grub-editenv ${GRUB_PATH}/grubenv set dsm_cmdline="${CMDLINE_DIRECT}"
|
||||
echo -e "\033[1;33mReboot to boot directly in DSM\033[0m"
|
||||
echo -e "\033[1;33m$(TEXT "Reboot to boot directly in DSM")\033[0m"
|
||||
grub-editenv ${GRUB_PATH}/grubenv set next_entry="direct"
|
||||
reboot
|
||||
exit 0
|
||||
fi
|
||||
echo -e "\033[1;37mLoading DSM kernel...\033[0m"
|
||||
echo -e "\033[1;37m$(TEXT "Loading DSM kernel...")\033[0m"
|
||||
|
||||
# Executes DSM kernel via KEXEC
|
||||
if [ "${EFI_BUG}" = "yes" -a ${EFI} -eq 1 ]; then
|
||||
echo -e "\033[1;33mWarning, running kexec with --noefi param, strange things will happen!!\033[0m"
|
||||
echo -e "\033[1;33m$(TEXT "Warning, running kexec with --noefi param, strange things will happen!!")\033[0m"
|
||||
kexec --noefi -l "${MOD_ZIMAGE_FILE}" --initrd "${MOD_RDGZ_FILE}" --command-line="${CMDLINE_LINE}" >"${LOG_FILE}" 2>&1 || dieLog
|
||||
else
|
||||
kexec -l "${MOD_ZIMAGE_FILE}" --initrd "${MOD_RDGZ_FILE}" --command-line="${CMDLINE_LINE}" >"${LOG_FILE}" 2>&1 || dieLog
|
||||
fi
|
||||
echo -e "\033[1;37mBooting...\033[0m"
|
||||
echo -e "\033[1;37m$(TEXT "Booting...")\033[0m"
|
||||
poweroff
|
||||
exit 0
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
ARPL_VERSION="1.1-beta2a"
|
||||
ARPL_TITLE="ARPL-i18n v${ARPL_VERSION}"
|
||||
|
||||
# Define paths
|
||||
TMP_PATH="/tmp"
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
. /opt/arpl/include/i18n.sh
|
||||
. /opt/arpl/include/consts.sh
|
||||
. /opt/arpl/include/configFile.sh
|
||||
|
||||
|
7
files/board/arpl/overlayfs/opt/arpl/include/i18n.sh
Normal file
7
files/board/arpl/overlayfs/opt/arpl/include/i18n.sh
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
if [ -f ${BOOTLOADER_PATH}/.locale ]; then
|
||||
export LANG="`cat ${BOOTLOADER_PATH}/.locale`"
|
||||
fi
|
||||
|
||||
alias TEXT='gettext "arpl"'
|
||||
shopt -s expand_aliases
|
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. /opt/arpl/include/functions.sh
|
||||
|
||||
set -e
|
||||
|
||||
. /opt/arpl/include/functions.sh
|
||||
|
||||
# Wait kernel enumerate the disks
|
||||
CNT=3
|
||||
while true; do
|
||||
@ -14,21 +14,13 @@ while true; do
|
||||
sleep 1
|
||||
done
|
||||
if [ -z "${LOADER_DISK}" ]; then
|
||||
die "Loader disk not found!"
|
||||
die "$(TEXT "Loader disk not found!")"
|
||||
fi
|
||||
NUM_PARTITIONS=$(blkid | grep "${LOADER_DISK}" | cut -d: -f1 | wc -l)
|
||||
if [ $NUM_PARTITIONS -ne 3 ]; then
|
||||
die "Loader disk not found!"
|
||||
die "$(TEXT "Loader disk not found!")"
|
||||
fi
|
||||
|
||||
# Shows title
|
||||
clear
|
||||
TITLE="Welcome to Automated Redpill Loader v${ARPL_VERSION}"
|
||||
printf "\033[1;44m%*s\n" $COLUMNS ""
|
||||
printf "\033[1;44m%*s\033[A\n" $COLUMNS ""
|
||||
printf "\033[1;32m%*s\033[0m\n" $(((${#TITLE}+$COLUMNS)/2)) "${TITLE}"
|
||||
printf "\033[1;44m%*s\033[0m\n" $COLUMNS ""
|
||||
|
||||
# Check partitions and ignore errors
|
||||
fsck.vfat -aw ${LOADER_DISK}1 >/dev/null 2>&1 || true
|
||||
fsck.ext2 -p ${LOADER_DISK}2 >/dev/null 2>&1 || true
|
||||
@ -39,9 +31,20 @@ mkdir -p ${SLPART_PATH}
|
||||
mkdir -p ${CACHE_PATH}
|
||||
mkdir -p ${DSMROOT_PATH}
|
||||
# Mount the partitions
|
||||
mount ${LOADER_DISK}1 ${BOOTLOADER_PATH} || die "Can't mount ${BOOTLOADER_PATH}"
|
||||
mount ${LOADER_DISK}2 ${SLPART_PATH} || die "Can't mount ${SLPART_PATH}"
|
||||
mount ${LOADER_DISK}3 ${CACHE_PATH} || die "Can't mount ${CACHE_PATH}"
|
||||
mount ${LOADER_DISK}1 ${BOOTLOADER_PATH} || die "`printf "$(TEXT "Can't mount %s")" "${BOOTLOADER_PATH}"`"
|
||||
mount ${LOADER_DISK}2 ${SLPART_PATH} || die "`printf "$(TEXT "Can't mount %s")" "${SLPART_PATH}"`"
|
||||
mount ${LOADER_DISK}3 ${CACHE_PATH} || die "`printf "$(TEXT "Can't mount %s")" "${CACHE_PATH}"`"
|
||||
|
||||
# Although i18n.sh is included in functions.sh, but i18n.sh dependent ${BOOTLOADER_PATH}/${LOADER_DISK}1, so need to call it again.
|
||||
. /opt/arpl/include/i18n.sh
|
||||
|
||||
# Shows title
|
||||
clear
|
||||
TITLE="`printf "$(TEXT "Welcome to %s")" "${ARPL_TITLE}"`"
|
||||
printf "\033[1;44m%*s\n" $COLUMNS ""
|
||||
printf "\033[1;44m%*s\033[A\n" $COLUMNS ""
|
||||
printf "\033[1;32m%*s\033[0m\n" $(((${#TITLE}+$COLUMNS)/2)) "${TITLE}"
|
||||
printf "\033[1;44m%*s\033[0m\n" $COLUMNS ""
|
||||
|
||||
# Move/link SSH machine keys to/from cache volume
|
||||
[ ! -d "${CACHE_PATH}/ssh" ] && cp -R "/etc/ssh" "${CACHE_PATH}/ssh"
|
||||
@ -98,7 +101,7 @@ writeConfigKey "original-mac" "${MACF}" "${USER_CONFIG_FILE}"
|
||||
MAC1=`readConfigKey "cmdline.mac1" "${USER_CONFIG_FILE}"`
|
||||
if [ -n "${MAC1}" -a "${MAC1}" != "${MACF}" ]; then
|
||||
MAC="${MAC1:0:2}:${MAC1:2:2}:${MAC1:4:2}:${MAC1:6:2}:${MAC1:8:2}:${MAC1:10:2}"
|
||||
echo "Setting MAC to ${MAC}"
|
||||
echo "`printf "$(TEXT "Setting MAC to %s")" "${MAC}"`"
|
||||
ip link set dev eth0 address ${MAC} >/dev/null 2>&1 && \
|
||||
(/etc/init.d/S41dhcpcd restart >/dev/null 2>&1 &) || true
|
||||
fi
|
||||
@ -111,7 +114,7 @@ if [ "${BUS}" = "usb" ]; then
|
||||
VID="0x`udevadm info --query property --name ${LOADER_DISK} | grep ID_VENDOR_ID | cut -d= -f2`"
|
||||
PID="0x`udevadm info --query property --name ${LOADER_DISK} | grep ID_MODEL_ID | cut -d= -f2`"
|
||||
elif [ "${BUS}" != "ata" ]; then
|
||||
die "Loader disk neither USB or DoM"
|
||||
die "$(TEXT "Loader disk neither USB or DoM")"
|
||||
fi
|
||||
|
||||
# Save variables to user config file
|
||||
@ -119,7 +122,7 @@ writeConfigKey "vid" ${VID} "${USER_CONFIG_FILE}"
|
||||
writeConfigKey "pid" ${PID} "${USER_CONFIG_FILE}"
|
||||
|
||||
# Inform user
|
||||
echo -en "Loader disk: \033[1;32m${LOADER_DISK}\033[0m ("
|
||||
echo -en "$(TEXT "Loader disk:") \033[1;32m${LOADER_DISK}\033[0m ("
|
||||
if [ "${BUS}" = "usb" ]; then
|
||||
echo -en "\033[1;32mUSB flashdisk\033[0m"
|
||||
else
|
||||
@ -132,7 +135,7 @@ LOADER_DEVICE_NAME=`echo ${LOADER_DISK} | sed 's|/dev/||'`
|
||||
SIZEOFDISK=`cat /sys/block/${LOADER_DEVICE_NAME}/size`
|
||||
ENDSECTOR=$((`fdisk -l ${LOADER_DISK} | awk '/'${LOADER_DEVICE_NAME}3'/{print$3}'`+1))
|
||||
if [ ${SIZEOFDISK} -ne ${ENDSECTOR} ]; then
|
||||
echo -e "\033[1;36mResizing ${LOADER_DISK}3\033[0m"
|
||||
echo -e "\033[1;36m`printf "$(TEXT "Resizing %s")" "${LOADER_DISK}3"`\033[0m"
|
||||
echo -e "d\n\nn\n\n\n\n\nn\nw" | fdisk "${LOADER_DISK}" >"${LOG_FILE}" 2>&1 || dieLog
|
||||
resize2fs ${LOADER_DISK}3 >"${LOG_FILE}" 2>&1 || dieLog
|
||||
fi
|
||||
@ -143,7 +146,7 @@ KEYMAP="`readConfigKey "keymap" "${USER_CONFIG_FILE}"`"
|
||||
|
||||
# Loads a keymap if is valid
|
||||
if [ -f /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz ]; then
|
||||
echo -e "Loading keymap \033[1;32m${LAYOUT}/${KEYMAP}\033[0m"
|
||||
echo -e "$(TEXT "Loading keymap") \033[1;32m${LAYOUT}/${KEYMAP}\033[0m"
|
||||
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
|
||||
fi
|
||||
|
||||
@ -153,10 +156,10 @@ ethtool -s eth0 wol g 2>/dev/null
|
||||
# Decide if boot automatically
|
||||
BOOT=1
|
||||
if ! loaderIsConfigured; then
|
||||
echo -e "\033[1;33mLoader is not configured!\033[0m"
|
||||
echo -e "\033[1;33m$(TEXT "Loader is not configured!")\033[0m"
|
||||
BOOT=0
|
||||
elif grep -q "IWANTTOCHANGETHECONFIG" /proc/cmdline; then
|
||||
echo -e "\033[1;33mUser requested edit settings.\033[0m"
|
||||
echo -e "\033[1;33m$(TEXT "User requested edit settings.")\033[0m"
|
||||
BOOT=0
|
||||
fi
|
||||
|
||||
@ -167,16 +170,16 @@ fi
|
||||
|
||||
# Wait for an IP
|
||||
COUNT=0
|
||||
echo -n "Waiting IP."
|
||||
echo -n "$(TEXT "Waiting IP.")"
|
||||
while true; do
|
||||
if [ ${COUNT} -eq 30 ]; then
|
||||
echo "ERROR"
|
||||
echo "$(TEXT "ERROR")"
|
||||
break
|
||||
fi
|
||||
COUNT=$((${COUNT}+1))
|
||||
IP=`ip route get 1.1.1.1 2>/dev/null | awk '{print$7}'`
|
||||
if [ -n "${IP}" ]; then
|
||||
echo -en "OK\nAccess \033[1;34mhttp://${IP}:7681\033[0m to configure the loader via web terminal"
|
||||
echo -en "`printf "$(TEXT "OK\nAccess \033[1;34mhttp://%s:7681\033[0m to configure the loader via web terminal")" "${IP}"`"
|
||||
break
|
||||
fi
|
||||
echo -n "."
|
||||
@ -185,16 +188,16 @@ done
|
||||
|
||||
# Inform user
|
||||
echo
|
||||
echo -e "Call \033[1;32mmenu.sh\033[0m to configure loader"
|
||||
echo -e "$(TEXT "Call \033[1;32mmenu.sh\033[0m to configure loader")"
|
||||
echo
|
||||
echo -e "User config is on \033[1;32m${USER_CONFIG_FILE}\033[0m"
|
||||
echo -e "Default SSH Root password is \033[1;31mRedp1lL-1s-4weSomE\033[0m"
|
||||
echo -e "$(TEXT "User config is on") \033[1;32m${USER_CONFIG_FILE}\033[0m"
|
||||
echo -e "$(TEXT "Default SSH Root password is") \033[1;31mRedp1lL-1s-4weSomE\033[0m"
|
||||
echo
|
||||
|
||||
# Check memory
|
||||
RAM=`free -m | awk '/Mem:/{print$2}'`
|
||||
if [ ${RAM} -le 3500 ]; then
|
||||
echo -e "\033[1;33mYou have less than 4GB of RAM, if errors occur in loader creation, please increase the amount of memory.\033[0m\n"
|
||||
echo -e "\033[1;33m$(TEXT "You have less than 4GB of RAM, if errors occur in loader creation, please increase the amount of memory.")\033[0m\n"
|
||||
fi
|
||||
|
||||
mkdir -p "${ADDONS_PATH}"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. /opt/arpl/include/functions.sh
|
||||
|
||||
set -e
|
||||
|
||||
. /opt/arpl/include/functions.sh
|
||||
|
||||
# Detect if has new local plugins to install/reinstall
|
||||
for F in `ls ${CACHE_PATH}/*.addon 2>/dev/null`; do
|
||||
ADDON=`basename "${F}" | sed 's|.addon||'`
|
||||
|
756
files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot
Normal file
756
files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot
Normal file
@ -0,0 +1,756 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-04-10 21:25+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"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: boot.sh:8 init.sh:156
|
||||
msgid "Loader is not configured!"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:13 init.sh:26
|
||||
msgid "Welcome to %s"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:18
|
||||
msgid "BOOTING..."
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:24
|
||||
msgid "DSM zImage changed"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:541 menu.sh:567 menu.sh:636 menu.sh:647
|
||||
#: menu.sh:676 menu.sh:686 menu.sh:693
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:28 menu.sh:687
|
||||
msgid "zImage not patched:\\n"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:40 menu.sh:694
|
||||
msgid "Ramdisk not patched:\\n"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:52
|
||||
msgid "Model:"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:53
|
||||
msgid "Build:"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:96
|
||||
msgid "netif_num is not equal to macX amount, set netif_num to %s"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:117
|
||||
msgid "Cmdline:\\n"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:121
|
||||
msgid "IP"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:139
|
||||
msgid "Reboot to boot directly in DSM"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:144
|
||||
msgid "Loading DSM kernel..."
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:148
|
||||
msgid "Warning, running kexec with --noefi param, strange things will happen!!"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:153
|
||||
msgid "Booting..."
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:17 init.sh:21
|
||||
msgid "Loader disk not found!"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:42 init.sh:43 init.sh:44
|
||||
msgid "Can't mount %s"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:101
|
||||
msgid "Setting MAC to %s"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:114
|
||||
msgid "Loader disk neither USB or DoM"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:122
|
||||
msgid "Loader disk:"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:135
|
||||
msgid "Resizing %s"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:146
|
||||
msgid "Loading keymap"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:159
|
||||
msgid "User requested edit settings."
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:170
|
||||
msgid "Waiting IP."
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:173
|
||||
msgid "ERROR"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:179
|
||||
msgid ""
|
||||
"OK\\nAccess \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via "
|
||||
"web terminal"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:188
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:190
|
||||
msgid "User config is on"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:191
|
||||
msgid "Default SSH Root password is"
|
||||
msgstr ""
|
||||
|
||||
#: init.sh:197
|
||||
msgid ""
|
||||
"You have less than 4GB of RAM, if errors occur in loader creation, please "
|
||||
"increase the amount of memory."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:67
|
||||
msgid "Model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:68
|
||||
msgid "Reading models"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:93
|
||||
msgid "Disable flags restriction"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:94
|
||||
msgid "Show beta models"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:95
|
||||
msgid "Choose the model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:133
|
||||
msgid "Choose a build number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:142
|
||||
msgid "Build Number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:143
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:176 menu.sh:225 menu.sh:344 menu.sh:443 menu.sh:833 menu.sh:978
|
||||
msgid "Choose a option"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:177
|
||||
msgid "Generate a random serial number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:178
|
||||
msgid "Enter a serial number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:186
|
||||
msgid "Please enter a serial number "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:195 menu.sh:926
|
||||
msgid "Alert"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:196
|
||||
msgid "Invalid serial, continue?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:226
|
||||
msgid "Add an addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:227
|
||||
msgid "Delete addon(s)"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:228
|
||||
msgid "Show user addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:229
|
||||
msgid "Show all available addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:230
|
||||
msgid "Download a external addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:231 menu.sh:341 menu.sh:439 menu.sh:723 menu.sh:838 menu.sh:983
|
||||
#: menu.sh:1195
|
||||
msgid "Exit"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:242
|
||||
msgid "No available addons to add"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:246
|
||||
msgid "Select an addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:251
|
||||
msgid "Params"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:252
|
||||
msgid "Type a opcional params to addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:261
|
||||
msgid "No user addons to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:269
|
||||
msgid "Select addon to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:285
|
||||
msgid "User addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:298
|
||||
msgid "Available addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:302
|
||||
msgid "please enter the complete URL to download.\\n"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:308 menu.sh:523
|
||||
msgid "Downloading %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:311 menu.sh:533 menu.sh:596
|
||||
msgid "Error downloading"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:312
|
||||
msgid "Check internet, URL or cache disk space"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:317
|
||||
msgid "Success"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:318
|
||||
msgid "Addon '%s' added to loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:320
|
||||
msgid "Invalid addon"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:321
|
||||
msgid "File format not recognized!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:336
|
||||
msgid "Add/edit a cmdline item"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:337
|
||||
msgid "Delete cmdline item(s)"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:338
|
||||
msgid "Define a custom MAC"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:339
|
||||
msgid "Show user cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:340
|
||||
msgid "Show model/build cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:349 menu.sh:355 menu.sh:385 menu.sh:393 menu.sh:401 menu.sh:403
|
||||
#: menu.sh:411
|
||||
msgid "User cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:350
|
||||
msgid "Type a name of cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:356
|
||||
msgid "Type a value of '%s' cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:365
|
||||
msgid "No user cmdline to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:373
|
||||
msgid "Select cmdline to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:386
|
||||
msgid "Type a custom MAC address"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:393
|
||||
msgid "Invalid MAC"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:401
|
||||
msgid "Changing MAC"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:403
|
||||
msgid "Renewing IP"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:419
|
||||
msgid "Model/build cmdline"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:436
|
||||
msgid "Add/edit a synoinfo item"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:437
|
||||
msgid "Delete synoinfo item(s)"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:438
|
||||
msgid "Show synoinfo entries"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:448 menu.sh:454 menu.sh:489
|
||||
msgid "Synoinfo entries"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:449
|
||||
msgid "Type a name of synoinfo entry"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:455
|
||||
msgid "Type a value of '%s' synoinfo entry"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:465
|
||||
msgid "No synoinfo entries to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:473
|
||||
msgid "Select synoinfo entry to remove"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:514
|
||||
msgid "%s cached."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:518
|
||||
msgid "Cleaning cache"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:534 menu.sh:597
|
||||
msgid "Check internet or cache disk space"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:539
|
||||
msgid "Checking hash of %s: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:542
|
||||
msgid "Hash of pat not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:546 menu.sh:640 menu.sh:651 menu.sh:662
|
||||
msgid "OK"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:550
|
||||
msgid "Disassembling %s: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:555
|
||||
msgid "Uncompressed tar"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:559
|
||||
msgid "Compressed tar"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:563
|
||||
msgid "Encrypted"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:568
|
||||
msgid ""
|
||||
"Could not determine if pat file is encrypted or not, maybe corrupted, try "
|
||||
"again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:579
|
||||
msgid "Extractor cached."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:586
|
||||
msgid "Downloading old pat to extract synology .pat extractor..."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:608 menu.sh:628
|
||||
msgid "Error extracting"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:622 menu.sh:625
|
||||
msgid "Extracting..."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:632
|
||||
msgid "Checking hash of zImage: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:637
|
||||
msgid "Hash of zImage not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:643
|
||||
msgid "Checking hash of ramdisk: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:648
|
||||
msgid "Hash of ramdisk not match, try again!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:654
|
||||
msgid "Copying files: "
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:677
|
||||
msgid "Addon %s not found!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:698 menu.sh:1213
|
||||
msgid "Cleaning"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:701
|
||||
msgid "Ready!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:714
|
||||
msgid "Switch LKM version:"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:715 menu.sh:823 menu.sh:849 menu.sh:860 menu.sh:873 menu.sh:879
|
||||
msgid "Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:718
|
||||
msgid "Switch direct boot:"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:720
|
||||
msgid "Edit user config file manually"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:721
|
||||
msgid "Try to recovery a DSM installed system"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:722
|
||||
msgid "Show SATA(s) # ports and drives"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:725
|
||||
msgid "Advanced"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:726 menu.sh:1198
|
||||
msgid "Choose the option"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:765
|
||||
msgid "\\nTotal of ports: %s\\n"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:766
|
||||
msgid ""
|
||||
"\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive "
|
||||
"connected."
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:778 menu.sh:806 menu.sh:813
|
||||
msgid "Try recovery DSM"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:779
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:800
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:804
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:814
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:824
|
||||
msgid "Reading modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:834
|
||||
msgid "Show selected modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:835
|
||||
msgid "Select all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:836
|
||||
msgid "Deselect all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:837
|
||||
msgid "Choose modules to include"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:846
|
||||
msgid "User modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:850
|
||||
msgid "Selecting all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:861
|
||||
msgid "Deselecting all modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:874
|
||||
msgid "Select modules to include"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:880
|
||||
msgid "Writing to user config"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:901
|
||||
msgid "Edit with caution"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:907
|
||||
msgid "Invalid YAML format"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:927
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:939 menu.sh:1189
|
||||
msgid "Choose a language"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:952
|
||||
msgid "Choose a layout"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:962
|
||||
msgid "Choice a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:979 menu.sh:988 menu.sh:993 menu.sh:998 menu.sh:1002 menu.sh:1008
|
||||
#: menu.sh:1014 menu.sh:1021 menu.sh:1025 menu.sh:1042
|
||||
msgid "Update arpl"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:980 menu.sh:1050 menu.sh:1054 menu.sh:1058 menu.sh:1062 menu.sh:1066
|
||||
#: menu.sh:1071 menu.sh:1081
|
||||
msgid "Update addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:981 menu.sh:1086 menu.sh:1090 menu.sh:1094 menu.sh:1098 menu.sh:1102
|
||||
#: menu.sh:1107
|
||||
msgid "Update LKMs"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:982
|
||||
msgid "Update modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:989 menu.sh:1051 menu.sh:1087 menu.sh:1124
|
||||
msgid "Checking last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:994 menu.sh:1055 menu.sh:1091 menu.sh:1128
|
||||
msgid "Error checking new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:999
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1003
|
||||
msgid "Downloading last version %s"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1009
|
||||
msgid "Error downloading update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1015
|
||||
msgid "Error extracting update file"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1022
|
||||
msgid "Checksum do not match!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1026
|
||||
msgid "Installing new files"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1043
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1059 menu.sh:1095
|
||||
msgid "Downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1063
|
||||
msgid "Error downloading new version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1067 menu.sh:1103
|
||||
msgid "Extracting last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1072
|
||||
msgid "Installing new addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1082
|
||||
msgid "Addons updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1099
|
||||
msgid "Error downloading last version"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1108
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1123 menu.sh:1127 menu.sh:1132 menu.sh:1136 menu.sh:1151
|
||||
msgid "Update Modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1133
|
||||
msgid "Downloading %s modules"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1137
|
||||
msgid "Error downloading %s.tgz"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1152
|
||||
msgid "Modules updated with success!"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1170
|
||||
msgid "Choose a model"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1172
|
||||
msgid "Choose a Build Number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1173
|
||||
msgid "Choose a serial number"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1175
|
||||
msgid "Addons"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1176
|
||||
msgid "Cmdline menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1177
|
||||
msgid "Synoinfo menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1180
|
||||
msgid "Advanced menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1183
|
||||
msgid "Build the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1187
|
||||
msgid "Boot the loader"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1190
|
||||
msgid "Choose a keymap"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1192
|
||||
msgid "Clean disk cache"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1194
|
||||
msgid "Update menu"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:1220
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||
msgstr ""
|
BIN
files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.mo
Normal file
BIN
files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.mo
Normal file
Binary file not shown.
755
files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po
Normal file
755
files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po
Normal file
@ -0,0 +1,755 @@
|
||||
# Chinese translations for arpl-i18n package.
|
||||
# Copyright (C) 2023 THE arpl-i18n'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the arpl-i18n package.
|
||||
# ing <wjz304@qq.com>, 2023.
|
||||
#
|
||||
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"
|
||||
"Last-Translator: ing <wjz304@qq.com>\n"
|
||||
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: boot.sh:8 init.sh:156
|
||||
msgid "Loader is not configured!"
|
||||
msgstr "引导未配置"
|
||||
|
||||
#: boot.sh:13 init.sh:26
|
||||
msgid "Welcome to %s"
|
||||
msgstr ""
|
||||
|
||||
#: boot.sh:18
|
||||
msgid "BOOTING..."
|
||||
msgstr "引导"
|
||||
|
||||
#: boot.sh:24
|
||||
msgid "DSM zImage changed"
|
||||
msgstr "DSM zImage 已更改"
|
||||
|
||||
#: boot.sh:27 boot.sh:39 menu.sh:541 menu.sh:567 menu.sh:636 menu.sh:647
|
||||
#: menu.sh:676 menu.sh:686 menu.sh:693
|
||||
msgid "Error"
|
||||
msgstr "错误"
|
||||
|
||||
#: boot.sh:28 menu.sh:687
|
||||
msgid "zImage not patched:\\n"
|
||||
msgstr "zImage打补丁失败:\\n"
|
||||
|
||||
#: boot.sh:40 menu.sh:694
|
||||
msgid "Ramdisk not patched:\\n"
|
||||
msgstr "Ramdisk打补丁失败:\\n"
|
||||
|
||||
#: boot.sh:52
|
||||
msgid "Model:"
|
||||
msgstr "型号: "
|
||||
|
||||
#: boot.sh:53
|
||||
msgid "Build:"
|
||||
msgstr "版本: "
|
||||
|
||||
#: boot.sh:96
|
||||
msgid "netif_num is not equal to macX amount, set netif_num to %s"
|
||||
msgstr "netif_num不等于macX,将netif_num设置为%s"
|
||||
|
||||
#: boot.sh:117
|
||||
msgid "Cmdline:\\n"
|
||||
msgstr "Cmdline:\\n"
|
||||
|
||||
#: boot.sh:121
|
||||
msgid "IP"
|
||||
msgstr "IP"
|
||||
|
||||
#: boot.sh:139
|
||||
msgid "Reboot to boot directly in DSM"
|
||||
msgstr "重启并直接进入DSM引导"
|
||||
|
||||
#: boot.sh:144
|
||||
msgid "Loading DSM kernel..."
|
||||
msgstr "加载 DSM kernel..."
|
||||
|
||||
#: boot.sh:148
|
||||
msgid "Warning, running kexec with --noefi param, strange things will happen!!"
|
||||
msgstr "警告, 使用'--noefi'参数运行'kexec', 可能有不好的事情发生!!"
|
||||
|
||||
#: boot.sh:153
|
||||
msgid "Booting..."
|
||||
msgstr "引导中...(该界面已进入假死状态)"
|
||||
|
||||
#: init.sh:17 init.sh:21
|
||||
msgid "Loader disk not found!"
|
||||
msgstr "引导磁盘未找到"
|
||||
|
||||
#: init.sh:42 init.sh:43 init.sh:44
|
||||
msgid "Can't mount %s"
|
||||
msgstr "挂载 %s 失败"
|
||||
|
||||
#: init.sh:101
|
||||
msgid "Setting MAC to %s"
|
||||
msgstr "设置MAC为"
|
||||
|
||||
#: init.sh:114
|
||||
msgid "Loader disk neither USB or DoM"
|
||||
msgstr "引导磁盘仅支持 USB 或者 DoM"
|
||||
|
||||
#: init.sh:122
|
||||
msgid "Loader disk:"
|
||||
msgstr "引导盘:"
|
||||
|
||||
#: init.sh:135
|
||||
msgid "Resizing %s"
|
||||
msgstr "重置 %s 大小"
|
||||
|
||||
#: init.sh:146
|
||||
msgid "Loading keymap"
|
||||
msgstr "加载keymap"
|
||||
|
||||
#: init.sh:159
|
||||
msgid "User requested edit settings."
|
||||
msgstr "用户出发编辑设置"
|
||||
|
||||
#: init.sh:170
|
||||
msgid "Waiting IP."
|
||||
msgstr "获取Ip"
|
||||
|
||||
#: init.sh:173
|
||||
msgid "ERROR"
|
||||
msgstr "错误"
|
||||
|
||||
#: init.sh:179
|
||||
msgid ""
|
||||
"OK\\nAccess \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via "
|
||||
"web terminal"
|
||||
msgstr "OK\\n访问 \\033[1;34mhttp://%s:7681\\033[0m 进入WEB终端进行配置"
|
||||
|
||||
#: init.sh:188
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
|
||||
msgstr "执行 \\033[1;32mmenu.sh\\033[0m 进入设置菜单"
|
||||
|
||||
#: init.sh:190
|
||||
msgid "User config is on"
|
||||
msgstr "用户配置文件位于"
|
||||
|
||||
#: init.sh:191
|
||||
msgid "Default SSH Root password is"
|
||||
msgstr "默认SSH的root密码为"
|
||||
|
||||
#: init.sh:197
|
||||
msgid ""
|
||||
"You have less than 4GB of RAM, if errors occur in loader creation, please "
|
||||
"increase the amount of memory."
|
||||
msgstr "您的RAM不足4GB, 如果在创建引导时出现错误,请增加内存."
|
||||
|
||||
#: menu.sh:67
|
||||
msgid "Model"
|
||||
msgstr "型号"
|
||||
|
||||
#: menu.sh:68
|
||||
msgid "Reading models"
|
||||
msgstr "读取型号"
|
||||
|
||||
#: menu.sh:93
|
||||
msgid "Disable flags restriction"
|
||||
msgstr "禁用标志限制"
|
||||
|
||||
#: menu.sh:94
|
||||
msgid "Show beta models"
|
||||
msgstr "显示测试型号"
|
||||
|
||||
#: menu.sh:95
|
||||
msgid "Choose the model"
|
||||
msgstr "选择型号"
|
||||
|
||||
#: menu.sh:133
|
||||
msgid "Choose a build number"
|
||||
msgstr "选择版本"
|
||||
|
||||
#: menu.sh:142
|
||||
msgid "Build Number"
|
||||
msgstr "版本"
|
||||
|
||||
#: menu.sh:143
|
||||
msgid "Reconfiguring Synoinfo, Addons and Modules"
|
||||
msgstr "重新配置 Syninfo, 插件和模块"
|
||||
|
||||
#: menu.sh:176 menu.sh:225 menu.sh:344 menu.sh:443 menu.sh:833 menu.sh:978
|
||||
msgid "Choose a option"
|
||||
msgstr "设置"
|
||||
|
||||
#: menu.sh:177
|
||||
msgid "Generate a random serial number"
|
||||
msgstr "生成随机SN"
|
||||
|
||||
#: menu.sh:178
|
||||
msgid "Enter a serial number"
|
||||
msgstr "输入SN"
|
||||
|
||||
#: menu.sh:186
|
||||
msgid "Please enter a serial number "
|
||||
msgstr "请输入SN "
|
||||
|
||||
#: menu.sh:195 menu.sh:926
|
||||
msgid "Alert"
|
||||
msgstr "警告"
|
||||
|
||||
#: menu.sh:196
|
||||
msgid "Invalid serial, continue?"
|
||||
msgstr "SN无效, 是否继续?"
|
||||
|
||||
#: menu.sh:226
|
||||
msgid "Add an addon"
|
||||
msgstr "添加插件"
|
||||
|
||||
#: menu.sh:227
|
||||
msgid "Delete addon(s)"
|
||||
msgstr "删除插件(s)"
|
||||
|
||||
#: menu.sh:228
|
||||
msgid "Show user addons"
|
||||
msgstr "显示用户插件"
|
||||
|
||||
#: menu.sh:229
|
||||
msgid "Show all available addons"
|
||||
msgstr "显示所有可用插件"
|
||||
|
||||
#: menu.sh:230
|
||||
msgid "Download a external addon"
|
||||
msgstr "下载外部插件"
|
||||
|
||||
#: menu.sh:231 menu.sh:341 menu.sh:439 menu.sh:723 menu.sh:838 menu.sh:983
|
||||
#: menu.sh:1195
|
||||
msgid "Exit"
|
||||
msgstr "退出"
|
||||
|
||||
#: menu.sh:242
|
||||
msgid "No available addons to add"
|
||||
msgstr "没有可用的插件可添加"
|
||||
|
||||
#: menu.sh:246
|
||||
msgid "Select an addon"
|
||||
msgstr "选择插件"
|
||||
|
||||
#: menu.sh:251
|
||||
msgid "Params"
|
||||
msgstr "参数"
|
||||
|
||||
#: menu.sh:252
|
||||
msgid "Type a opcional params to addon"
|
||||
msgstr "输入插件的加载参数"
|
||||
|
||||
#: menu.sh:261
|
||||
msgid "No user addons to remove"
|
||||
msgstr "没有要删除的用户插件"
|
||||
|
||||
#: menu.sh:269
|
||||
msgid "Select addon to remove"
|
||||
msgstr "选择要删除的插件"
|
||||
|
||||
#: menu.sh:285
|
||||
msgid "User addons"
|
||||
msgstr "用户插件"
|
||||
|
||||
#: menu.sh:298
|
||||
msgid "Available addons"
|
||||
msgstr "可用插件"
|
||||
|
||||
#: menu.sh:302
|
||||
msgid "please enter the complete URL to download.\\n"
|
||||
msgstr "请输入下载URL.\\n"
|
||||
|
||||
#: menu.sh:308 menu.sh:523
|
||||
msgid "Downloading %s"
|
||||
msgstr "下载 %s 中"
|
||||
|
||||
#: menu.sh:311 menu.sh:533 menu.sh:596
|
||||
msgid "Error downloading"
|
||||
msgstr "下载失败"
|
||||
|
||||
#: menu.sh:312
|
||||
msgid "Check internet, URL or cache disk space"
|
||||
msgstr "请检查internet, URL或磁盘空间"
|
||||
|
||||
#: menu.sh:317
|
||||
msgid "Success"
|
||||
msgstr "下载成功"
|
||||
|
||||
#: menu.sh:318
|
||||
msgid "Addon '%s' added to loader"
|
||||
msgstr "插件 '%s' 添加到引导中"
|
||||
|
||||
#: menu.sh:320
|
||||
msgid "Invalid addon"
|
||||
msgstr "无效插件"
|
||||
|
||||
#: menu.sh:321
|
||||
msgid "File format not recognized!"
|
||||
msgstr "文件格式无法识别!"
|
||||
|
||||
#: menu.sh:336
|
||||
msgid "Add/edit a cmdline item"
|
||||
msgstr "添加/编辑cmdline参数"
|
||||
|
||||
#: menu.sh:337
|
||||
msgid "Delete cmdline item(s)"
|
||||
msgstr "删除cmdline参数(s)"
|
||||
|
||||
#: menu.sh:338
|
||||
msgid "Define a custom MAC"
|
||||
msgstr "自定义MAC"
|
||||
|
||||
#: menu.sh:339
|
||||
msgid "Show user cmdline"
|
||||
msgstr "显示用户cmdline参数"
|
||||
|
||||
#: menu.sh:340
|
||||
msgid "Show model/build cmdline"
|
||||
msgstr "显示型号默认cmdline参数"
|
||||
|
||||
#: menu.sh:349 menu.sh:355 menu.sh:385 menu.sh:393 menu.sh:401 menu.sh:403
|
||||
#: menu.sh:411
|
||||
msgid "User cmdline"
|
||||
msgstr "用户cmdline参数"
|
||||
|
||||
#: menu.sh:350
|
||||
msgid "Type a name of cmdline"
|
||||
msgstr "输入参数的名称"
|
||||
|
||||
#: menu.sh:356
|
||||
msgid "Type a value of '%s' cmdline"
|
||||
msgstr "输入 '%s' 参数的值"
|
||||
|
||||
#: menu.sh:365
|
||||
msgid "No user cmdline to remove"
|
||||
msgstr "没有用户参数被删除"
|
||||
|
||||
#: menu.sh:373
|
||||
msgid "Select cmdline to remove"
|
||||
msgstr "选择要删除的参数"
|
||||
|
||||
#: menu.sh:386
|
||||
msgid "Type a custom MAC address"
|
||||
msgstr "输入自定义MAC地址"
|
||||
|
||||
#: menu.sh:393
|
||||
msgid "Invalid MAC"
|
||||
msgstr "无效的MAC"
|
||||
|
||||
#: menu.sh:401
|
||||
msgid "Changing MAC"
|
||||
msgstr "修改MAC"
|
||||
|
||||
#: menu.sh:403
|
||||
msgid "Renewing IP"
|
||||
msgstr "刷新IP"
|
||||
|
||||
#: menu.sh:419
|
||||
msgid "Model/build cmdline"
|
||||
msgstr "型号默认cmdline参数"
|
||||
|
||||
#: menu.sh:436
|
||||
msgid "Add/edit a synoinfo item"
|
||||
msgstr "添加/编辑Synoinfo参数"
|
||||
|
||||
#: menu.sh:437
|
||||
msgid "Delete synoinfo item(s)"
|
||||
msgstr "删除Synoinfo参数(s)"
|
||||
|
||||
#: menu.sh:438
|
||||
msgid "Show synoinfo entries"
|
||||
msgstr "显示Synoinfo参数"
|
||||
|
||||
#: menu.sh:448 menu.sh:454 menu.sh:489
|
||||
msgid "Synoinfo entries"
|
||||
msgstr "Synoinfo参数"
|
||||
|
||||
#: menu.sh:449
|
||||
msgid "Type a name of synoinfo entry"
|
||||
msgstr "输入参数的名称"
|
||||
|
||||
#: menu.sh:455
|
||||
msgid "Type a value of '%s' synoinfo entry"
|
||||
msgstr "输入 '%s' 参数的值"
|
||||
|
||||
#: menu.sh:465
|
||||
msgid "No synoinfo entries to remove"
|
||||
msgstr "没有Synoinfo参数被删除"
|
||||
|
||||
#: menu.sh:473
|
||||
msgid "Select synoinfo entry to remove"
|
||||
msgstr "选择要删除的参数"
|
||||
|
||||
#: menu.sh:514
|
||||
msgid "%s cached."
|
||||
msgstr "%s 已缓存."
|
||||
|
||||
#: menu.sh:518
|
||||
msgid "Cleaning cache"
|
||||
msgstr "清除缓存"
|
||||
|
||||
#: menu.sh:534 menu.sh:597
|
||||
msgid "Check internet or cache disk space"
|
||||
msgstr "请检查internet或磁盘空间"
|
||||
|
||||
#: menu.sh:539
|
||||
msgid "Checking hash of %s: "
|
||||
msgstr "检查 %s 的 hash: "
|
||||
|
||||
#: menu.sh:542
|
||||
msgid "Hash of pat not match, try again!"
|
||||
msgstr "pat的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:546 menu.sh:640 menu.sh:651 menu.sh:662
|
||||
msgid "OK"
|
||||
msgstr "OK"
|
||||
|
||||
#: menu.sh:550
|
||||
msgid "Disassembling %s: "
|
||||
msgstr "解压 %s: "
|
||||
|
||||
#: menu.sh:555
|
||||
msgid "Uncompressed tar"
|
||||
msgstr "未压缩tar"
|
||||
|
||||
#: menu.sh:559
|
||||
msgid "Compressed tar"
|
||||
msgstr "压缩tar"
|
||||
|
||||
#: menu.sh:563
|
||||
msgid "Encrypted"
|
||||
msgstr "已加密"
|
||||
|
||||
#: menu.sh:568
|
||||
msgid ""
|
||||
"Could not determine if pat file is encrypted or not, maybe corrupted, try "
|
||||
"again!"
|
||||
msgstr "无法确定pat文件是否加密, 可能已损坏, 请重试!"
|
||||
|
||||
#: menu.sh:579
|
||||
msgid "Extractor cached."
|
||||
msgstr "已存在解密程序."
|
||||
|
||||
#: menu.sh:586
|
||||
msgid "Downloading old pat to extract synology .pat extractor..."
|
||||
msgstr "下载旧 pat, 提取 .pat 解密程序中..."
|
||||
|
||||
#: menu.sh:608 menu.sh:628
|
||||
msgid "Error extracting"
|
||||
msgstr "解压失败"
|
||||
|
||||
#: menu.sh:622 menu.sh:625
|
||||
msgid "Extracting..."
|
||||
msgstr "解压中..."
|
||||
|
||||
#: menu.sh:632
|
||||
msgid "Checking hash of zImage: "
|
||||
msgstr "检查 zImage 的 hash: "
|
||||
|
||||
#: menu.sh:637
|
||||
msgid "Hash of zImage not match, try again!"
|
||||
msgstr "zImage的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:643
|
||||
msgid "Checking hash of ramdisk: "
|
||||
msgstr "检查 ramdisk 的 hash: "
|
||||
|
||||
#: menu.sh:648
|
||||
msgid "Hash of ramdisk not match, try again!"
|
||||
msgstr "ramdisk的Hash不匹配, 请重试!"
|
||||
|
||||
#: menu.sh:654
|
||||
msgid "Copying files: "
|
||||
msgstr "拷贝文件: "
|
||||
|
||||
#: menu.sh:677
|
||||
msgid "Addon %s not found!"
|
||||
msgstr "插件 %s 未找到!"
|
||||
|
||||
#: menu.sh:698 menu.sh:1213
|
||||
msgid "Cleaning"
|
||||
msgstr "清除中"
|
||||
|
||||
#: menu.sh:701
|
||||
msgid "Ready!"
|
||||
msgstr "已就绪!"
|
||||
|
||||
#: menu.sh:714
|
||||
msgid "Switch LKM version:"
|
||||
msgstr "选择LKM版本:"
|
||||
|
||||
#: menu.sh:715 menu.sh:823 menu.sh:849 menu.sh:860 menu.sh:873 menu.sh:879
|
||||
msgid "Modules"
|
||||
msgstr "模块"
|
||||
|
||||
#: menu.sh:718
|
||||
msgid "Switch direct boot:"
|
||||
msgstr "切换直接启动:"
|
||||
|
||||
#: menu.sh:720
|
||||
msgid "Edit user config file manually"
|
||||
msgstr "编辑用户配置文件"
|
||||
|
||||
#: menu.sh:721
|
||||
msgid "Try to recovery a DSM installed system"
|
||||
msgstr "尝试恢复已安装DSM的系统"
|
||||
|
||||
#: menu.sh:722
|
||||
msgid "Show SATA(s) # ports and drives"
|
||||
msgstr "显示SATA(s) # 端口和驱动器"
|
||||
|
||||
#: menu.sh:725
|
||||
msgid "Advanced"
|
||||
msgstr "高级"
|
||||
|
||||
#: menu.sh:726 menu.sh:1198
|
||||
msgid "Choose the option"
|
||||
msgstr "设置"
|
||||
|
||||
#: menu.sh:765
|
||||
msgid "\\nTotal of ports: %s\\n"
|
||||
msgstr "\\n端口总数: %s\\n"
|
||||
|
||||
#: menu.sh:766
|
||||
msgid ""
|
||||
"\\nPorts with color \\Z1red\\Zn as DUMMY, color \\Z2\\Zbgreen\\Zn has drive "
|
||||
"connected."
|
||||
msgstr "\\n\\Z1红色\\Zn 为模拟端口, \\Z2\\Zb绿色\\Zn 为已驱动的物理端口."
|
||||
|
||||
#: menu.sh:778 menu.sh:806 menu.sh:813
|
||||
msgid "Try recovery DSM"
|
||||
msgstr "尝试恢复DSM系统"
|
||||
|
||||
#: menu.sh:779
|
||||
msgid "Trying to recovery a DSM installed system"
|
||||
msgstr "尝试恢复已安装的DSM系统中"
|
||||
|
||||
#: menu.sh:800
|
||||
msgid "Found a installation:\\nModel: %s\\nBuildnumber: %s"
|
||||
msgstr "找到已安装:\\n型号: %s\\n版本: %s"
|
||||
|
||||
#: menu.sh:804
|
||||
msgid "\\nSerial: %s"
|
||||
msgstr "\\nSN: %s"
|
||||
|
||||
#: menu.sh:814
|
||||
msgid "Unfortunately I couldn't mount the DSM partition!"
|
||||
msgstr "很遗憾, 我无法挂载DSM分区!"
|
||||
|
||||
#: menu.sh:824
|
||||
msgid "Reading modules"
|
||||
msgstr "读取模块中"
|
||||
|
||||
#: menu.sh:834
|
||||
msgid "Show selected modules"
|
||||
msgstr "显示已加载的模块"
|
||||
|
||||
#: menu.sh:835
|
||||
msgid "Select all modules"
|
||||
msgstr "选择所有模块"
|
||||
|
||||
#: menu.sh:836
|
||||
msgid "Deselect all modules"
|
||||
msgstr "取消所有模块"
|
||||
|
||||
#: menu.sh:837
|
||||
msgid "Choose modules to include"
|
||||
msgstr "选择要加载的模块"
|
||||
|
||||
#: menu.sh:846
|
||||
msgid "User modules"
|
||||
msgstr "模块"
|
||||
|
||||
#: menu.sh:850
|
||||
msgid "Selecting all modules"
|
||||
msgstr "全选所有模块"
|
||||
|
||||
#: menu.sh:861
|
||||
msgid "Deselecting all modules"
|
||||
msgstr "取消所有模块"
|
||||
|
||||
#: menu.sh:874
|
||||
msgid "Select modules to include"
|
||||
msgstr "选择要加载的插件"
|
||||
|
||||
#: menu.sh:880
|
||||
msgid "Writing to user config"
|
||||
msgstr "写入用户配置"
|
||||
|
||||
#: menu.sh:901
|
||||
msgid "Edit with caution"
|
||||
msgstr "请谨慎编辑"
|
||||
|
||||
#: menu.sh:907
|
||||
msgid "Invalid YAML format"
|
||||
msgstr "无效的YAML格式"
|
||||
|
||||
#: menu.sh:927
|
||||
msgid "Config changed, would you like to rebuild the loader?"
|
||||
msgstr "配置已更改, 是否重新编译引导?"
|
||||
|
||||
#: menu.sh:939 menu.sh:1189
|
||||
msgid "Choose a language"
|
||||
msgstr "选择语言"
|
||||
|
||||
#: menu.sh:952
|
||||
msgid "Choose a layout"
|
||||
msgstr "选择布局"
|
||||
|
||||
#: menu.sh:962
|
||||
msgid "Choice a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:979 menu.sh:988 menu.sh:993 menu.sh:998 menu.sh:1002 menu.sh:1008
|
||||
#: menu.sh:1014 menu.sh:1021 menu.sh:1025 menu.sh:1042
|
||||
msgid "Update arpl"
|
||||
msgstr "更新arpl"
|
||||
|
||||
#: menu.sh:980 menu.sh:1050 menu.sh:1054 menu.sh:1058 menu.sh:1062 menu.sh:1066
|
||||
#: menu.sh:1071 menu.sh:1081
|
||||
msgid "Update addons"
|
||||
msgstr "更新插件"
|
||||
|
||||
#: menu.sh:981 menu.sh:1086 menu.sh:1090 menu.sh:1094 menu.sh:1098 menu.sh:1102
|
||||
#: menu.sh:1107
|
||||
msgid "Update LKMs"
|
||||
msgstr "更新LKMs"
|
||||
|
||||
#: menu.sh:982
|
||||
msgid "Update modules"
|
||||
msgstr "更新模块"
|
||||
|
||||
#: menu.sh:989 menu.sh:1051 menu.sh:1087 menu.sh:1124
|
||||
msgid "Checking last version"
|
||||
msgstr "检测新版本中"
|
||||
|
||||
#: menu.sh:994 menu.sh:1055 menu.sh:1091 menu.sh:1128
|
||||
msgid "Error checking new version"
|
||||
msgstr "检测新版本错误"
|
||||
|
||||
#: menu.sh:999
|
||||
msgid "No new version. Actual version is %s\\nForce update?"
|
||||
msgstr "没有新版本. 实际版本为 %s\\n强制更新?"
|
||||
|
||||
#: menu.sh:1003
|
||||
msgid "Downloading last version %s"
|
||||
msgstr "下载新版本 %s 中"
|
||||
|
||||
#: menu.sh:1009
|
||||
msgid "Error downloading update file"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1015
|
||||
msgid "Error extracting update file"
|
||||
msgstr "更新文件解压错误"
|
||||
|
||||
#: menu.sh:1022
|
||||
msgid "Checksum do not match!"
|
||||
msgstr "Checksum不匹配!"
|
||||
|
||||
#: menu.sh:1026
|
||||
msgid "Installing new files"
|
||||
msgstr "安装更新中"
|
||||
|
||||
#: menu.sh:1043
|
||||
msgid "Arpl updated with success to %s!\\nReboot?"
|
||||
msgstr "Arpl更新成功 %s!\\n重启?"
|
||||
|
||||
#: menu.sh:1059 menu.sh:1095
|
||||
msgid "Downloading last version"
|
||||
msgstr "下载新版本中"
|
||||
|
||||
#: menu.sh:1063
|
||||
msgid "Error downloading new version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1067 menu.sh:1103
|
||||
msgid "Extracting last version"
|
||||
msgstr "解压新版本"
|
||||
|
||||
#: menu.sh:1072
|
||||
msgid "Installing new addons"
|
||||
msgstr "安装新插件中"
|
||||
|
||||
#: menu.sh:1082
|
||||
msgid "Addons updated with success!"
|
||||
msgstr "插件更新成功!"
|
||||
|
||||
#: menu.sh:1099
|
||||
msgid "Error downloading last version"
|
||||
msgstr "下载新版本错误"
|
||||
|
||||
#: menu.sh:1108
|
||||
msgid "LKMs updated with success!"
|
||||
msgstr "LKMs更新成功!"
|
||||
|
||||
#: menu.sh:1123 menu.sh:1127 menu.sh:1132 menu.sh:1136 menu.sh:1151
|
||||
msgid "Update Modules"
|
||||
msgstr "更新模块"
|
||||
|
||||
#: menu.sh:1133
|
||||
msgid "Downloading %s modules"
|
||||
msgstr "下载 %s 模块中"
|
||||
|
||||
#: menu.sh:1137
|
||||
msgid "Error downloading %s.tgz"
|
||||
msgstr "下载 %s.tgz 错误"
|
||||
|
||||
#: menu.sh:1152
|
||||
msgid "Modules updated with success!"
|
||||
msgstr "模块更新成功!"
|
||||
|
||||
#: menu.sh:1170
|
||||
msgid "Choose a model"
|
||||
msgstr "选择型号"
|
||||
|
||||
#: menu.sh:1172
|
||||
msgid "Choose a Build Number"
|
||||
msgstr "选择版本"
|
||||
|
||||
#: menu.sh:1173
|
||||
msgid "Choose a serial number"
|
||||
msgstr "选择SN"
|
||||
|
||||
#: menu.sh:1175
|
||||
msgid "Addons"
|
||||
msgstr "插件"
|
||||
|
||||
#: menu.sh:1176
|
||||
msgid "Cmdline menu"
|
||||
msgstr "设置Cmdline"
|
||||
|
||||
#: menu.sh:1177
|
||||
msgid "Synoinfo menu"
|
||||
msgstr "设置Synoinfo"
|
||||
|
||||
#: menu.sh:1180
|
||||
msgid "Advanced menu"
|
||||
msgstr "高级设置"
|
||||
|
||||
#: menu.sh:1183
|
||||
msgid "Build the loader"
|
||||
msgstr "编译引导"
|
||||
|
||||
#: menu.sh:1187
|
||||
msgid "Boot the loader"
|
||||
msgstr "启动"
|
||||
|
||||
#: menu.sh:1190
|
||||
msgid "Choose a keymap"
|
||||
msgstr "选择键盘"
|
||||
|
||||
#: menu.sh:1192
|
||||
msgid "Clean disk cache"
|
||||
msgstr "清除磁盘缓存"
|
||||
|
||||
#: menu.sh:1194
|
||||
msgid "Update menu"
|
||||
msgstr "更新"
|
||||
|
||||
#: menu.sh:1220
|
||||
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
|
||||
msgstr "执行 \\033[1;32mmenu.sh\\033[0m 重新进入设置菜单"
|
File diff suppressed because it is too large
Load Diff
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -4,9 +4,9 @@ synoinfo: &synoinfo
|
||||
support_memory_compatibility: "no"
|
||||
supportssdcache: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -6,8 +6,8 @@ synoinfo: &synoinfo
|
||||
esataportcfg: "0x0"
|
||||
usbportcfg: "0x8700"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -6,8 +6,8 @@ synoinfo: &synoinfo
|
||||
esataportcfg: "0x00"
|
||||
usbportcfg: "0x8700"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -6,9 +6,9 @@ synoinfo: &synoinfo
|
||||
support_bde_internal_10g: "no"
|
||||
support_oob_ctl: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # http://update7.synology.com/autoupdate/genRSS.php
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # https://update7.synology.com/autoupdate/genRSS.php
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" # https://update7.synology.com/autoupdate/v2/getList
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -6,9 +6,9 @@ synoinfo: &synoinfo
|
||||
support_led_brightness_adjustment: "no"
|
||||
support_leds_lp3943: ""
|
||||
buzzeroffen: "0xffff"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
#support_ssd_cache: "yes"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
|
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -4,9 +4,9 @@ synoinfo: &synoinfo
|
||||
support_memory_compatibility: "no"
|
||||
buzzeroffen: "0xffff"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -5,9 +5,9 @@ synoinfo: &synoinfo
|
||||
esataportcfg: "0x00"
|
||||
support_bde_internal_10g: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
supportnvme: "yes"
|
||||
|
@ -5,9 +5,9 @@ synoinfo: &synoinfo
|
||||
esataportcfg: "0x00"
|
||||
support_bde_internal_10g: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
supportnvme: "yes"
|
||||
|
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -5,9 +5,9 @@ synoinfo: &synoinfo
|
||||
support_bde_internal_10g: "no"
|
||||
esataportcfg: "0x0"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -3,9 +3,9 @@ synoinfo: &synoinfo
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
support_led_brightness_adjustment: "no"
|
||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.xml"
|
||||
rss_server_v2: "https://raw.githubusercontent.com/wjz304/arpl-i18n/main/rss.json"
|
||||
support_syno_hybrid_raid:
|
||||
supportraidgroup:
|
||||
cmdline: &cmdline
|
||||
|
@ -21,6 +21,17 @@ export CACHE_PATH="/mnt/p3"
|
||||
export DSMROOT_PATH="/mnt/dsmroot"
|
||||
export PATH="${PATH}:/opt/arpl"
|
||||
|
||||
if [ -f ${BOOTLOADER_PATH}/.locale ]; then
|
||||
export LANG="`cat ${BOOTLOADER_PATH}/.locale`"
|
||||
fi
|
||||
|
||||
if [ -d /opt/arpl/lang ]; then
|
||||
for F in "`ls /opt/arpl/lang/*.mo`"
|
||||
do
|
||||
install "${F}" "/usr/share/locale/$(basename $F .mo)/LC_MESSAGES/arpl.mo"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ ! -f ${HOME}/.initialized ]; then
|
||||
touch ${HOME}/.initialized
|
||||
/opt/arpl/init.sh
|
||||
|
@ -10,11 +10,16 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
||||
BR2_ROOTFS_MERGED_USR=y
|
||||
BR2_TARGET_GENERIC_ROOT_PASSWD="Redp1lL-1s-4weSomE"
|
||||
BR2_SYSTEM_BIN_SH_BASH=y
|
||||
BR2_ENABLE_LOCALE_WHITELIST="C ar ca de el es es_MX eu_ES fr hu it ja_JP ko nb_NO nl nn_NO oc_FR.UTF-8 pl pt_PT pt_BR ru_RU uk_UA sv_SE tr zh_CN zh_TW"
|
||||
BR2_GENERATE_LOCALE="en_US.UTF-8 ar_YE.UTF-8 ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 es_MX.UTF-8 eu_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 nb_NO.UTF-8 nl_NL.UTF-8 nn_NO.UTF-8 oc_FR.UTF-8 pl_PL.UTF-8 pt_BR.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 uk_UA.UTF-8 sv_SE.UTF-8 tr_TR.UTF-8 zh_CN.UTF-8 zh_TW.UTF-8"
|
||||
BR2_SYSTEM_ENABLE_NLS=y
|
||||
BR2_TARGET_TZ_INFO=y
|
||||
BR2_ROOTFS_OVERLAY="board/arpl/overlayfs"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/arpl/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/arpl/make-img.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
# BR2_LINUX_KERNEL_PATCH="https://raw.githubusercontent.com/zhmars/cjktty-patches/master/v5.x/cjktty-5.15.patch"
|
||||
BR2_LINUX_KERNEL_PATCH="board/arpl/cjktty-5.15.patch"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arpl/kernel_defconfig"
|
||||
BR2_LINUX_KERNEL_XZ=y
|
||||
@ -28,10 +33,18 @@ BR2_PACKAGE_LSOF=y
|
||||
BR2_PACKAGE_STRACE=y
|
||||
BR2_PACKAGE_BINUTILS=y
|
||||
BR2_PACKAGE_BINUTILS_TARGET=y
|
||||
BR2_PACKAGE_GETTEXT=y
|
||||
BR2_PACKAGE_HAS_GETTEXT=y
|
||||
BR2_PACKAGE_PROVIDES_GETTEXT="gettext-gnu"
|
||||
BR2_PACKAGE_PROVIDES_HOST_GETTEXT="host-gettext-gnu"
|
||||
BR2_PACKAGE_GETTEXT_GNU=y
|
||||
BR2_PACKAGE_JQ=y
|
||||
BR2_PACKAGE_TREE=y
|
||||
BR2_PACKAGE_CPIO=y
|
||||
BR2_PACKAGE_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y
|
||||
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
|
||||
BR2_PACKAGE_WQY_ZENHEI=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_BROADCOM_TIGON3=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_BNX2X=y
|
||||
@ -58,6 +71,7 @@ BR2_PACKAGE_DTC=y
|
||||
BR2_PACKAGE_DTC_PROGRAMS=y
|
||||
BR2_PACKAGE_LIBCURL=y
|
||||
BR2_PACKAGE_LIBCURL_CURL=y
|
||||
BR2_PACKAGE_NCURSES_WCHAR=y
|
||||
BR2_PACKAGE_PCRE2=y
|
||||
BR2_PACKAGE_DHCPCD=y
|
||||
BR2_PACKAGE_ETHTOOL=y
|
||||
@ -74,6 +88,9 @@ BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES=y
|
||||
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
||||
BR2_PACKAGE_UTIL_LINUX_AGETTY=y
|
||||
BR2_PACKAGE_NANO=y
|
||||
BR2_PACKAGE_NANO_TINY=y
|
||||
BR2_PACKAGE_VIM=y
|
||||
BR2_PACKAGE_VIM_RUNTIME=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_CPIO_XZ=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
Loading…
x
Reference in New Issue
Block a user