This commit is contained in:
Marc Beninca 2024-09-06 21:40:28 +02:00
parent 389f8cc737
commit 1398431521
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -922,19 +922,19 @@ spcd_txt_locale() {
local regex
for name in "${@}"; do
case "${name}" in
# LC_CTYPE
"LC_NUMERIC") regex="^\(decimal\|thousands\|grouping\)" ;;
"LC_TIME") regex="^\(day\|mon\)" ;;
# LC_COLLATE
"LC_MONETARY") regex="^\(int_curr\|currency\|mon_\)" ;;
"LC_MESSAGES") regex="^\(yes\|no\)" ;;
"LC_PAPER") regex="^\(height\|width\)" ;;
"LC_NAME") regex="^name_m" ;;
"LC_ADDRESS") regex="^\(country\|lang\)_name" ;;
"LC_TELEPHONE") regex="^int_" ;;
"LC_MEASUREMENT") regex="^measurement=" ;;
"LC_IDENTIFICATION") regex="^\(language\|territory\|title\)" ;;
*) ;;
# LC_CTYPE
"LC_NUMERIC") regex="^\(decimal\|thousands\|grouping\)" ;;
"LC_TIME") regex="^\(day\|mon\)" ;;
# LC_COLLATE
"LC_MONETARY") regex="^\(int_curr\|currency\|mon_\)" ;;
"LC_MESSAGES") regex="^\(yes\|no\)" ;;
"LC_PAPER") regex="^\(height\|width\)" ;;
"LC_NAME") regex="^name_m" ;;
"LC_ADDRESS") regex="^\(country\|lang\)_name" ;;
"LC_TELEPHONE") regex="^int_" ;;
"LC_MEASUREMENT") regex="^measurement=" ;;
"LC_IDENTIFICATION") regex="^\(language\|territory\|title\)" ;;
*) ;;
esac
spcd_split
echo "${name}"