mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix typo
This commit is contained in:
parent
7b96531de0
commit
9c0840b736
@ -330,9 +330,9 @@ function getLogo() {
|
||||
# Rebooting
|
||||
# 1 - mode
|
||||
function rebootTo() {
|
||||
MODES="config recovery force_junior"
|
||||
MODES="config recovery junior"
|
||||
[ -z "${1}" ] && exit 1
|
||||
if ! echo "${MODES}" | grep -q "${1}" ]; then exit 1; fi
|
||||
if ! echo "${MODES}" | grep -q "${1}"; then exit 1; fi
|
||||
# echo "Rebooting to ${1} mode"
|
||||
GRUBPATH="$(dirname $(find ${PART1_PATH}/ -name grub.cfg 2>/dev/null | head -1))"
|
||||
ENVFILE="${GRUBPATH}/grubenv"
|
||||
|
@ -1575,8 +1575,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "Recoveryに再起動"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "Force_juniorに再起動"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "Juniorに再起動"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -1555,8 +1555,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "Recovery로 재부팅"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "Force_junior로 재부팅"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "Junior로 재부팅"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -1464,7 +1464,7 @@ msgid "Reboot to Recovery"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr ""
|
||||
|
||||
#: menu.sh:3250
|
||||
|
@ -1590,8 +1590,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "Перезагрузка в Recovery"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "Перезагрузка в Force_junior"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "Перезагрузка в Junior"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -1488,8 +1488,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "重启到 Recovery"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "重启到 Force_junior"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "重启到 Junior"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -1488,8 +1488,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "重啓到 Recovery"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "重啓到 Force_junior"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "重啓到 Junior"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -1369,8 +1369,8 @@ msgid "Reboot to Recovery"
|
||||
msgstr "重新啟動以還原"
|
||||
|
||||
#: menu.sh:3249
|
||||
msgid "Reboot to Force_junior"
|
||||
msgstr "重新啟動到 Force_junior"
|
||||
msgid "Reboot to Junior"
|
||||
msgstr "重新啟動到 Junior"
|
||||
|
||||
#: menu.sh:3250
|
||||
msgid "Back to shell"
|
||||
|
@ -3246,7 +3246,7 @@ else
|
||||
r "$(TEXT "Reboot")" \
|
||||
x "$(TEXT "Reboot to RR")" \
|
||||
y "$(TEXT "Reboot to Recovery")" \
|
||||
z "$(TEXT "Reboot to Force_junior")" \
|
||||
z "$(TEXT "Reboot to Junior")" \
|
||||
s "$(TEXT "Back to shell")" \
|
||||
e "$(TEXT "Exit")" \
|
||||
2>${TMP_PATH}/resp
|
||||
@ -3269,7 +3269,7 @@ else
|
||||
exit 0
|
||||
;;
|
||||
z)
|
||||
rebootTo force_junior
|
||||
rebootTo junior
|
||||
exit 0
|
||||
;;
|
||||
s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user