Compare commits
2 commits
389f8cc737
...
c64014d617
Author | SHA1 | Date | |
---|---|---|---|
c64014d617 | |||
1398431521 |
1 changed files with 14 additions and 13 deletions
|
@ -921,20 +921,21 @@ spcd_txt_locale() {
|
||||||
"show")
|
"show")
|
||||||
local regex
|
local regex
|
||||||
for name in "${@}"; do
|
for name in "${@}"; do
|
||||||
|
unset regex
|
||||||
case "${name}" in
|
case "${name}" in
|
||||||
# LC_CTYPE
|
# LC_CTYPE
|
||||||
"LC_NUMERIC") regex="^\(decimal\|thousands\|grouping\)" ;;
|
"LC_NUMERIC") regex="^\(decimal\|thousands\|grouping\)" ;;
|
||||||
"LC_TIME") regex="^\(day\|mon\)" ;;
|
"LC_TIME") regex="^\(day\|mon\)" ;;
|
||||||
# LC_COLLATE
|
# LC_COLLATE
|
||||||
"LC_MONETARY") regex="^\(int_curr\|currency\|mon_\)" ;;
|
"LC_MONETARY") regex="^\(int_curr\|currency\|mon_\)" ;;
|
||||||
"LC_MESSAGES") regex="^\(yes\|no\)" ;;
|
"LC_MESSAGES") regex="^\(yes\|no\)" ;;
|
||||||
"LC_PAPER") regex="^\(height\|width\)" ;;
|
"LC_PAPER") regex="^\(height\|width\)" ;;
|
||||||
"LC_NAME") regex="^name_m" ;;
|
"LC_NAME") regex="^name_m" ;;
|
||||||
"LC_ADDRESS") regex="^\(country\|lang\)_name" ;;
|
"LC_ADDRESS") regex="^\(country\|lang\)_name" ;;
|
||||||
"LC_TELEPHONE") regex="^int_" ;;
|
"LC_TELEPHONE") regex="^int_" ;;
|
||||||
"LC_MEASUREMENT") regex="^measurement=" ;;
|
"LC_MEASUREMENT") regex="^measurement=" ;;
|
||||||
"LC_IDENTIFICATION") regex="^\(language\|territory\|title\)" ;;
|
"LC_IDENTIFICATION") regex="^\(language\|territory\|title\)" ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
spcd_split
|
spcd_split
|
||||||
echo "${name}"
|
echo "${name}"
|
||||||
|
|
Loading…
Reference in a new issue