Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b2a9402

Browse files
committed
Clarify that only lowercase letters are allowed
We only allow lowercase letters in localparts. Fixes element-hq/element-web#9983
1 parent 6daf5a1 commit b2a9402

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/views/auth/RegistrationForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ module.exports = React.createClass({
380380
},
381381

382382
validateUsernameRules: withValidation({
383-
description: () => _t("Use letters, numbers, dashes and underscores only"),
383+
description: () => _t("Use lowercase letters, numbers, dashes and underscores only"),
384384
rules: [
385385
{
386386
key: "required",

src/i18n/strings/en_EN.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@
304304
"Custom user status messages": "Custom user status messages",
305305
"Group & filter rooms by custom tags (refresh to apply changes)": "Group & filter rooms by custom tags (refresh to apply changes)",
306306
"Render simple counters in room header": "Render simple counters in room header",
307-
"Custom Notification Sounds": "Custom Notification Sounds",
308307
"Edit messages after they have been sent (refresh to apply changes)": "Edit messages after they have been sent (refresh to apply changes)",
309308
"React to messages with emoji (refresh to apply changes)": "React to messages with emoji (refresh to apply changes)",
310309
"Enable Emoji suggestions while typing": "Enable Emoji suggestions while typing",
@@ -1356,7 +1355,7 @@
13561355
"Other users can invite you to rooms using your contact details": "Other users can invite you to rooms using your contact details",
13571356
"Enter phone number (required on this homeserver)": "Enter phone number (required on this homeserver)",
13581357
"Doesn't look like a valid phone number": "Doesn't look like a valid phone number",
1359-
"Use letters, numbers, dashes and underscores only": "Use letters, numbers, dashes and underscores only",
1358+
"Use lowercase letters, numbers, dashes and underscores only": "Use lowercase letters, numbers, dashes and underscores only",
13601359
"Enter username": "Enter username",
13611360
"Some characters not allowed": "Some characters not allowed",
13621361
"Email (optional)": "Email (optional)",

0 commit comments

Comments
 (0)