summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbuild/i18n-add-language.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-add-language.sh b/build/i18n-add-language.sh
index 24203c2331..b4a852efb7 100755
--- a/build/i18n-add-language.sh
+++ b/build/i18n-add-language.sh
@@ -3,7 +3,7 @@
LANG=$1
case "$LANG" in
- [a-z][a-z]|[a-z][a-z]-[a-z][a-z]) : ;;
+ [a-z][a-z]|[a-z][a-z][_-][A-Za-z][A-Za-z]*) : ;;
*)
echo "Usage: $0 <ISO_CODE>\n" >&2
exit 1