Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Don't update settings.locale with our detected locale from OS. #126

Merged
merged 1 commit into from
Oct 10, 2012

Conversation

RaymondLim
Copy link
Contributor

Also remove the mappings that we put in before to fix crashes for Chinese OSes and Brazilian Portuguese.

I did try with CFLocaleCopyPreferredLanguages() and it returns the same locale ID as our current code [[NSLocale preferredLanguages] objectAtIndex:0]. So we can't use it either.

This fixes issue #1716

…d the crash caused by CEF loading the resources.

Also remove the mappings that we put in before to fix crashes for Chinese OSes and Brazilian Portuguese.
@ghost ghost assigned gruehle Oct 10, 2012
@gruehle
Copy link
Member

gruehle commented Oct 10, 2012

Yeah, this seems like the simplest approach to avoiding the crash for now. This does mean that CEF will always be run with english strings, but that only affects built-in HTML controls like input type=file and database controls, which we don't use in Brackets.

Merging.

gruehle added a commit that referenced this pull request Oct 10, 2012
Don't update settings.locale with our detected locale from OS.
@gruehle gruehle merged commit 7bca2e6 into master Oct 10, 2012
gruehle added a commit that referenced this pull request Dec 8, 2015
Don't update settings.locale with our detected locale from OS.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants