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

Fix locales and add fallback if locale doesn't exists #29

Merged
merged 4 commits into from Feb 18, 2019

Conversation

bautrukevich
Copy link
Contributor

No description provided.

src/tools/configure-translations.js Outdated Show resolved Hide resolved
// Add fallback if locale doesn't exists
if (!isLocaleExists) {
uc.locale.translations[currentLocale] = translations.en
}
Copy link
Contributor

Choose a reason for hiding this comment

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

You totally rewrite locale for the preview tab with en. You need to use the en locale for effects only if custom locale doesn‘t exist in Effects Tab.

Preview tab without Effects Tab on Poland:
2019-02-13 16 48 09

Preview tab with Effects Tab on Poland (title and main buttons on english too):
2019-02-13 16 48 45

ru,
vi,
Copy link
Contributor

Choose a reason for hiding this comment

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

Oops, I missed it before. Thank you!

@bautrukevich bautrukevich merged commit 448d258 into master Feb 18, 2019
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

3 participants