1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 21:44:00 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-17 02:37:33 +00:00
parent be1027f9c3
commit 3053e05ce4
2 changed files with 5 additions and 5 deletions

View File

@@ -253,7 +253,7 @@ get_brand_name() {
# Detect if system primary language is Chinese
local is_chinese=false
local sys_lang
sys_lang=$(defaults read -g AppleLanguages 2>/dev/null | grep -o 'zh-Hans\|zh-Hant\|zh' | head -1 || echo "")
sys_lang=$(defaults read -g AppleLanguages 2> /dev/null | grep -o 'zh-Hans\|zh-Hant\|zh' | head -1 || echo "")
[[ -n "$sys_lang" ]] && is_chinese=true
# Return localized names based on system language