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

Fixing #1977 Invalid locale in CarrierWave::MiniMagick#manipulate! #2083

Merged
merged 1 commit into from
Mar 5, 2017

Conversation

kryzhovnik
Copy link
Contributor

Fixing #1977 Invalid locale in CarrierWave::MiniMagick#manipulate!

Since (commit on May 9, 2014) enforce_available_locales in I18n is true by default, the aproach which implies on default error messages from :en locale is broked for all apps where :en is not available locale. It's very suddenly when image processing raise I18n::InvalidLocale error.

In this pull request I propose to remove the "default fallback" and let carrierwave users decide themselves how to deal with missed locales and/or translations.

…gick#manipulate!

Since ([commit on May 9, 2014](ruby-i18n/i18n@b5703d7)) enforce_available_locales in I18n is true by default, the aproach which implies on default error messages from `:en` locale is broked for all apps where `:en` is not available locale.
@kryzhovnik
Copy link
Contributor Author

kryzhovnik commented Dec 16, 2016

Same issues #1902 #1729

@mshibuya mshibuya merged commit 9aa62c3 into carrierwaveuploader:master Mar 5, 2017
@mshibuya
Copy link
Member

mshibuya commented Mar 5, 2017

Agreed, 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.

2 participants