From 41c491ae4ce8d9b24ae0fc7a6956587f45ca5032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Tue, 6 Oct 2026 18:44:49 -0400 Subject: [PATCH] Keep the setup form's new comments to one line --- install/provisioning/setup-form.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/provisioning/setup-form.sh b/install/provisioning/setup-form.sh index b2b86e4d..045dd109 100644 --- a/install/provisioning/setup-form.sh +++ b/install/provisioning/setup-form.sh @@ -81,8 +81,7 @@ OMARCHY_RESERVED_USERNAMES='^(root|bin|daemon|mail|ftp|http|nobody|dbus|systemd- OMARCHY_HOSTNAME_PATTERN='^[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?$' OMARCHY_HOSTNAME_DEFAULT='omarchy' -# OMARCHY_INSTALL_LANG=zh, set by the ISO for China in a console that draws CJK, -# swaps each English text below for its OMARCHY_ZH entry. printf formats %s. +# The ISO sets OMARCHY_INSTALL_LANG=zh for China in its CJK console; omarchy_text then prints the OMARCHY_ZH entry. declare -gA OMARCHY_ZH=( ["Select keyboard layout"]="选择键盘布局" ["Alphanumeric without spaces (like dhh)"]="字母和数字,不含空格(如 dhh)" @@ -123,8 +122,7 @@ omarchy_username_taken() { return 1; } # by `status=$?`: one caller runs under `set -e`, where a cancelled prompt is a # failing assignment that would kill the script before the status is read. -# China lists the .cn package mirrors first and sets up Chinese input. The -# Chinese name shows only where the console can draw it. +# China lists the .cn mirrors first and sets up Chinese input; its Chinese name shows only in a CJK console. omarchy_prompt_region() { local china="China" header="Select region" selected=Global choice status if [[ -n ${OMARCHY_CJK_CONSOLE:-} ]]; then