From 85e81cd4da7f0a4eb18c35affb5d887c60cbb0ec Mon Sep 17 00:00:00 2001 From: Ing Date: Sat, 6 May 2023 01:26:18 +0800 Subject: [PATCH] typo --- files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot | 2 +- files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po | 2 +- files/board/arpl/overlayfs/opt/arpl/menu.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot b/files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot index e9179074..c94844ec 100644 --- a/files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot +++ b/files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot @@ -551,7 +551,7 @@ msgid "Format disk(s) # Without loader disk" msgstr "" #: menu.sh:773 menu.sh:863 menu.sh:876 -msgid "Allow degraded installation" +msgid "Allow downgrade installation" msgstr "" #: menu.sh:775 diff --git a/files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po b/files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po index b4a3c7f1..05d9226a 100644 --- a/files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po +++ b/files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po @@ -550,7 +550,7 @@ msgid "Format disk(s) # Without loader disk" msgstr "格式化磁盘(s) # 不含启动盘" #: menu.sh:773 menu.sh:863 menu.sh:876 -msgid "Allow degraded installation" +msgid "Allow downgrade installation" msgstr "允许降级安装" #: menu.sh:775 diff --git a/files/board/arpl/overlayfs/opt/arpl/menu.sh b/files/board/arpl/overlayfs/opt/arpl/menu.sh index 936b22f8..55c7b6ac 100755 --- a/files/board/arpl/overlayfs/opt/arpl/menu.sh +++ b/files/board/arpl/overlayfs/opt/arpl/menu.sh @@ -770,7 +770,7 @@ function advancedMenu() { echo "t \"$(TEXT "Try to recovery a DSM installed system")\"" >> "${TMP_PATH}/menu" echo "s \"$(TEXT "Show SATA(s) # ports and drives")\"" >> "${TMP_PATH}/menu" echo "f \"$(TEXT "Format disk(s) # Without loader disk")\"" >> "${TMP_PATH}/menu" - echo "a \"$(TEXT "Allow degraded installation")\"" >> "${TMP_PATH}/menu" + echo "a \"$(TEXT "Allow downgrade installation")\"" >> "${TMP_PATH}/menu" if [ -n "${MODEL}" -a "true" = "`readModelKey "${MODEL}" "dt"`" ]; then echo "d \"$(TEXT "Custom dts location:/mnt/p1/model.dts # Need rebuild")\"" >> "${TMP_PATH}/menu" fi @@ -860,7 +860,7 @@ function advancedMenu() { MSG+="$(TEXT "This feature will allow you to downgrade the installation by removing the VERSION file from the first partition of all disks.\n")" MSG+="$(TEXT "Therefore, please insert all disks before continuing.\n")" MSG+="$(TEXT "Warning:\nThis operation is irreversible. Please backup important data. Do you want to continue?")" - dialog --backtitle "`backtitle`" --title "$(TEXT "Allow degraded installation")" \ + dialog --backtitle "`backtitle`" --title "$(TEXT "Allow downgrade installation")" \ --yesno "${MSG}" 0 0 [ $? -ne 0 ] && return ( @@ -873,7 +873,7 @@ function advancedMenu() { umount ${I} done rm -rf /tmp/sdX1 - ) | dialog --backtitle "`backtitle`" --title "$(TEXT "Allow degraded installation")" \ + ) | dialog --backtitle "`backtitle`" --title "$(TEXT "Allow downgrade installation")" \ --progressbox "$(TEXT "Removing ...")" 20 70 MSG="$(TEXT "Remove VERSION file for all disks completed.")" dialog --backtitle "`backtitle`" --colors --aspect 18 \