Keep the setup form's new comments to one line
This commit is contained in:
1 parent
b268838479
commit
41c491ae4c
1 file changed
+2
-4
@@ -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_PATTERN='^[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?$'
|
||||||
OMARCHY_HOSTNAME_DEFAULT='omarchy'
|
OMARCHY_HOSTNAME_DEFAULT='omarchy'
|
||||||
|
|
||||||
# OMARCHY_INSTALL_LANG=zh, set by the ISO for China in a console that draws CJK,
|
# The ISO sets OMARCHY_INSTALL_LANG=zh for China in its CJK console; omarchy_text then prints the OMARCHY_ZH entry.
|
||||||
# swaps each English text below for its OMARCHY_ZH entry. printf formats %s.
|
|
||||||
declare -gA OMARCHY_ZH=(
|
declare -gA OMARCHY_ZH=(
|
||||||
["Select keyboard layout"]="选择键盘布局"
|
["Select keyboard layout"]="选择键盘布局"
|
||||||
["Alphanumeric without spaces (like dhh)"]="字母和数字,不含空格(如 dhh)"
|
["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
|
# 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.
|
# 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
|
# China lists the .cn mirrors first and sets up Chinese input; its Chinese name shows only in a CJK console.
|
||||||
# Chinese name shows only where the console can draw it.
|
|
||||||
omarchy_prompt_region() {
|
omarchy_prompt_region() {
|
||||||
local china="China" header="Select region" selected=Global choice status
|
local china="China" header="Select region" selected=Global choice status
|
||||||
if [[ -n ${OMARCHY_CJK_CONSOLE:-} ]]; then
|
if [[ -n ${OMARCHY_CJK_CONSOLE:-} ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user