-
-
Notifications
You must be signed in to change notification settings - Fork 735
Push Translation #29
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
Push Translation #29
Conversation
see #28 |
// rewrite depreciated two-letter codes | ||
if (language.equals("iw")) language = "he"; // Hebrew | ||
if (language.equals("in")) language = "id"; // Indonesian | ||
if (language.equals("ji")) language = "yi"; // Yiddish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a unit test to verify that we're correctly persisting these 3 locales.
bf7d95b
to
1a512a2
Compare
ParsePlugins.reset(); | ||
} | ||
|
||
private void mocksForUpdateBeforeSave() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: make static
and move to the bottom of the class
Two minor changes and we're good to go! |
added locale/language detection localeIdentifier gets automatically populated whenever an installation is saved/updated
1a512a2
to
915faa9
Compare
LGTM! For future PRs, please submit changes as new commits so it's easier to review changes in between updates as well as @ me since I don't get notifications when you update your PR. When it's all ready we'll ask you to squash. Thanks! |
@lukas1994 updated the pull request. |
The label |
added locale/language detection
localeIdentifier gets automatically populated whenever an installation is saved/updated