diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-06 12:28:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-03-06 12:28:36 +0100 |
commit | 600e5f6c1194c7156837f1b9f627896b8c13f691 (patch) | |
tree | cf93a74f658dd9fbab9845dacf5f066766a2fd34 /phpBB/language | |
parent | 50165fe9208d4b12f492a6eb8bf59296fb38104c (diff) | |
download | forums-600e5f6c1194c7156837f1b9f627896b8c13f691.tar forums-600e5f6c1194c7156837f1b9f627896b8c13f691.tar.gz forums-600e5f6c1194c7156837f1b9f627896b8c13f691.tar.bz2 forums-600e5f6c1194c7156837f1b9f627896b8c13f691.tar.xz forums-600e5f6c1194c7156837f1b9f627896b8c13f691.zip |
[ticket/12251] Add string validation for a-zA-Z0-9 and underscore
PHPBB3-12251
Diffstat (limited to 'phpBB/language')
-rw-r--r-- | phpBB/language/en/acp/profile.php | 1 | ||||
-rw-r--r-- | phpBB/language/en/ucp.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/language/en/acp/profile.php b/phpBB/language/en/acp/profile.php index 93162daa45..dc42693ca7 100644 --- a/phpBB/language/en/acp/profile.php +++ b/phpBB/language/en/acp/profile.php @@ -39,6 +39,7 @@ $lang = array_merge($lang, array( 'ADDED_PROFILE_FIELD' => 'Successfully added custom profile field.', 'ALPHA_ONLY' => 'Alphanumeric only', 'ALPHA_SPACERS' => 'Alphanumeric and spacers', + 'ALPHA_UNDERSCORE' => 'Alphanumeric and underscores', 'ALWAYS_TODAY' => 'Always the current date', 'BOOL_ENTRIES_EXPLAIN' => 'Enter your options now', diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php index a0f7a32116..58bb1d4b3a 100644 --- a/phpBB/language/en/ucp.php +++ b/phpBB/language/en/ucp.php @@ -205,9 +205,11 @@ $lang = array_merge($lang, array( ), 'FIELD_TOO_SMALL' => 'The value of “%2$s” is too small, a minimum value of %1$d is required.', 'FIELD_TOO_LARGE' => 'The value of “%2$s” is too large, a maximum value of %1$d is allowed.', + 'FIELD_INVALID_CHARS_INVALID' => 'The field “%s” has invalid characters.', 'FIELD_INVALID_CHARS_NUMBERS_ONLY' => 'The field “%s” has invalid characters, only numbers are allowed.', 'FIELD_INVALID_CHARS_ALPHA_ONLY' => 'The field “%s” has invalid characters, only alphanumeric characters are allowed.', - 'FIELD_INVALID_CHARS_SPACERS_ONLY' => 'The field “%s” has invalid characters, only alphanumeric, space or -+_[] characters are allowed.', + 'FIELD_INVALID_CHARS_ALPHA_SPACERS' => 'The field “%s” has invalid characters, only alphanumeric, space or -+_[] characters are allowed.', + 'FIELD_INVALID_CHARS_ALPHA_UNDERSCORE' => 'The field “%s” has invalid characters, only alphanumeric or _ characters are allowed.', 'FIELD_INVALID_DATE' => 'The field “%s” has an invalid date.', 'FIELD_INVALID_URL' => 'The field “%s” has an invalid url.', 'FIELD_INVALID_VALUE' => 'The field “%s” has an invalid value.', |