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

Improve internationalization #2

Merged
merged 1 commit into from
May 18, 2015
Merged

Improve internationalization #2

merged 1 commit into from
May 18, 2015

Conversation

imayolas
Copy link
Contributor

The proposed regex improves internationalization. Allows accents, ñ, ç, and other widely used letters.
Before: hello-cañapolísas => Hello-caÑApolÍSas
Now: hello-cañapolísas => Hello-Cañapolísas

DISCLAIMER: Regex is taken from here: http://stackoverflow.com/questions/20690499/concrete-javascript-regex-for-accented-characters-diacritics

The proposed regex improves internationalization. Allows accents, ñ, ç, and other widely used letters.
Before: ```hello-cañapolísas => Hello-caÑApolÍSas```
Now: ```hello-cañapolísas => Hello-Cañapolísas```

DISCLAIMER: Regex is taken from here: http://stackoverflow.com/questions/20690499/concrete-javascript-regex-for-accented-characters-diacritics
grncdr added a commit that referenced this pull request May 18, 2015
Improve internationalization
@grncdr grncdr merged commit 1ecb935 into grncdr:master May 18, 2015
@grncdr
Copy link
Owner

grncdr commented May 18, 2015

Sorry I missed this earlier, will be going out in a new release tonight!

grncdr added a commit that referenced this pull request May 18, 2015
@grncdr
Copy link
Owner

grncdr commented May 18, 2015

Has been released in capitalize@1.0.0

@imayolas
Copy link
Contributor Author

cool. thanks.

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.

None yet

2 participants