Localize update confirmation and first-run notifications
The update prompt speaks Chinese and points What's new at the OmarchyCN releases page; the Wi-Fi, update, keybindings, dictation, and default-agent first-run notices follow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
# omarchy:summary=Prompt for confirmation before starting an update
|
||||
|
||||
gum style --border normal --padding "1 2" \
|
||||
"Ready to update?" \
|
||||
"准备好更新了吗?" \
|
||||
"" \
|
||||
"• You cannot stop the update once you start!" \
|
||||
"• Make sure you're connected to power or have a full battery" \
|
||||
"• 更新一旦开始就不能中止!" \
|
||||
"• 请确保已接通电源或电量充足" \
|
||||
"" \
|
||||
"What's new: https://github.com/basecamp/omarchy/releases/latest"
|
||||
"更新内容: https://git.zacharyzhang.com/ZacharyZhang-NY/omarchycn/releases"
|
||||
|
||||
echo
|
||||
|
||||
if ! gum confirm "Continue with update?"; then
|
||||
echo "Update cancelled"
|
||||
if ! gum confirm "继续更新?"; then
|
||||
echo "已取消更新"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user