Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update username allowed chars regex #1079

Merged
merged 2 commits into from
Aug 11, 2017
Merged

Update username allowed chars regex #1079

merged 2 commits into from
Aug 11, 2017

Conversation

luisrudge
Copy link
Contributor

fix #1072

@luisrudge luisrudge added this to the v10-Next milestone Aug 10, 2017
@luisrudge
Copy link
Contributor Author

For the future: the translation code needs async/await support, so you have to use nodejs 7.6+

src/i18n/kr.js Outdated
password_leaked: '본 계정은 외부 접근으로 인한 회원 정보 유출이 우려되어, 보안 상의 문제로 비활성화되었습니다. 계정을 다시 활성화하는 방법은 자동 전송된 이메일에 안내되어 있습니다.',
too_many_attempts: '본 계정은 단시간에 복수의 로그인 시도가 감지되어 차단되었습니다.',
session_missing: '인증 요청이 완료되지 않았습니다. 열려있는 모든 다이얼로그 창을 닫고 다시 시도해 주시기 바랍니다.'
session_missing: '인증 요청이 완료되지 않았습니다. 열려있는 모든 다이얼로그 창을 닫고 다시 시도해 주시기 바랍니다.',
'hrd.not_matching_email': 'Please, use your corporate email to login.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not korean 👎. The key seems to have quotes ' and that's somehow breaking the script?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the key has quotes because it has a . in it, so you have to make it a string. I'll check what's going on.

src/i18n/kr.js Outdated
@@ -98,7 +101,7 @@ export default {
ssoEnabled: '통합 인증이 유효합니다.',
submitLabel: '전송',
unrecoverableError: '오류가 발생하였습니다.<br />고객센터로 연락하여 주시기 바랍니다.',
usernameFormatErrorHint: '%d-%d의 문자, 숫자, "_"이/가 사용 가능합니다.',
usernameFormatErrorHint: 'Use %d-%d letters, numbers and the following characters: "_", ".", "+", "-"',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not korean

src/i18n/kr.js Outdated
@@ -109,5 +112,6 @@ export default {
mfaLoginTitle: '2단계 인증',
mfaLoginInstructions: '스마트폰 어플리케이션으로 생성된 확인 코드를 입력하여 주세요.',
mfaSubmitLabel: '로그인',
mfaCodeErrorHint: '%d 숫자를 사용하여 주세요.'
mfaCodeErrorHint: '%d 숫자를 사용하여 주세요.',
showPassword: 'Show password'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not Korean

@@ -96,7 +96,7 @@ export default {
ssoEnabled: 'Single Sign-On habilitado',
submitLabel: 'Enviar',
unrecoverableError: 'Algo deu errado.<br />Por favor entre em contato com o suporte.',
usernameFormatErrorHint: 'Use %d-%d letras, números e "_"',
usernameFormatErrorHint: 'Use %d-%d letras, números e os seguintes caracteres: "_", ".", "+", "-"',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this br ok? :trollface:

@luisrudge luisrudge merged commit 75ad5bd into master Aug 11, 2017
@luisrudge luisrudge deleted the fix-invalid-chars branch August 11, 2017 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supported special characters not allowed in Lock
2 participants