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
|
# Rebooting
|
||||||
# 1 - mode
|
# 1 - mode
|
||||||
function rebootTo() {
|
function rebootTo() {
|
||||||
MODES="config recovery force_junior"
|
MODES="config recovery junior"
|
||||||
[ -z "${1}" ] && exit 1
|
[ -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"
|
# echo "Rebooting to ${1} mode"
|
||||||
GRUBPATH="$(dirname $(find ${PART1_PATH}/ -name grub.cfg 2>/dev/null | head -1))"
|
GRUBPATH="$(dirname $(find ${PART1_PATH}/ -name grub.cfg 2>/dev/null | head -1))"
|
||||||
ENVFILE="${GRUBPATH}/grubenv"
|
ENVFILE="${GRUBPATH}/grubenv"
|
||||||
|
@ -1575,8 +1575,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "Recoveryに再起動"
|
msgstr "Recoveryに再起動"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "Force_juniorに再起動"
|
msgstr "Juniorに再起動"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -1555,8 +1555,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "Recovery로 재부팅"
|
msgstr "Recovery로 재부팅"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "Force_junior로 재부팅"
|
msgstr "Junior로 재부팅"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -1464,7 +1464,7 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
|
@ -1590,8 +1590,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "Перезагрузка в Recovery"
|
msgstr "Перезагрузка в Recovery"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "Перезагрузка в Force_junior"
|
msgstr "Перезагрузка в Junior"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -1488,8 +1488,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "重启到 Recovery"
|
msgstr "重启到 Recovery"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "重启到 Force_junior"
|
msgstr "重启到 Junior"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -1488,8 +1488,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "重啓到 Recovery"
|
msgstr "重啓到 Recovery"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "重啓到 Force_junior"
|
msgstr "重啓到 Junior"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -1369,8 +1369,8 @@ msgid "Reboot to Recovery"
|
|||||||
msgstr "重新啟動以還原"
|
msgstr "重新啟動以還原"
|
||||||
|
|
||||||
#: menu.sh:3249
|
#: menu.sh:3249
|
||||||
msgid "Reboot to Force_junior"
|
msgid "Reboot to Junior"
|
||||||
msgstr "重新啟動到 Force_junior"
|
msgstr "重新啟動到 Junior"
|
||||||
|
|
||||||
#: menu.sh:3250
|
#: menu.sh:3250
|
||||||
msgid "Back to shell"
|
msgid "Back to shell"
|
||||||
|
@ -3246,7 +3246,7 @@ else
|
|||||||
r "$(TEXT "Reboot")" \
|
r "$(TEXT "Reboot")" \
|
||||||
x "$(TEXT "Reboot to RR")" \
|
x "$(TEXT "Reboot to RR")" \
|
||||||
y "$(TEXT "Reboot to Recovery")" \
|
y "$(TEXT "Reboot to Recovery")" \
|
||||||
z "$(TEXT "Reboot to Force_junior")" \
|
z "$(TEXT "Reboot to Junior")" \
|
||||||
s "$(TEXT "Back to shell")" \
|
s "$(TEXT "Back to shell")" \
|
||||||
e "$(TEXT "Exit")" \
|
e "$(TEXT "Exit")" \
|
||||||
2>${TMP_PATH}/resp
|
2>${TMP_PATH}/resp
|
||||||
@ -3269,7 +3269,7 @@ else
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
z)
|
z)
|
||||||
rebootTo force_junior
|
rebootTo junior
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
s)
|
s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user