FEATURE: Add locale defaults for Unicode username whitelist

This commit is contained in:
Gerhard Schlager 2019-06-07 14:37:13 +02:00
parent 65b0cafc03
commit b26c76e749

View File

@ -463,7 +463,13 @@ users:
validator: "UnicodeUsernameWhitelistValidator"
default: ""
locale_default:
cs: "[ěščřžýáíéóůúďťňĚŠČŘŽÝÁÍÉÓŮÚĎŤŇ]"
de: "[äöüßÄÖÜẞ]"
fi: "[åäöÅÄÖ]"
ja: '[\p{Han}\p{Katakana}\p{Hiragana}]'
ko: '\p{Hangul}'
zh_CN: '\p{Han}'
zh_TW: '\p{Han}'
reserved_usernames:
type: list
list_type: compact