Skip to content

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

Merged
merged 1 commit into from
Aug 18, 2015
Merged

Conversation

lukas1994
Copy link
Contributor

added locale/language detection
localeIdentifier gets automatically populated whenever an installation is saved/updated

@lukas1994
Copy link
Contributor Author

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
Copy link
Contributor

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.

ParsePlugins.reset();
}

private void mocksForUpdateBeforeSave() {
Copy link
Contributor

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

@grantland
Copy link
Contributor

Two minor changes and we're good to go!

added locale/language detection
localeIdentifier gets automatically populated whenever an installation is saved/updated
@grantland
Copy link
Contributor

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 added a commit that referenced this pull request Aug 18, 2015
@lukas1994 lukas1994 merged commit 609d329 into parse-community:master Aug 18, 2015
@grantland grantland modified the milestone: 1.10.1 Aug 18, 2015
@facebook-github-bot
Copy link

@lukas1994 updated the pull request.

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Dec 6, 2021
@parse-github-assistant
Copy link

The label type:feature cannot be used here.

@parse-github-assistant parse-github-assistant bot removed the type:feature New feature or improvement of existing feature label Dec 6, 2021
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.

5 participants