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

I18n manage current locale in luigi #635

Merged
merged 22 commits into from
Jul 19, 2019

Conversation

pekura
Copy link
Contributor

@pekura pekura commented Jul 8, 2019

No description provided.

Copy link
Contributor

@JohannesDoberer JohannesDoberer left a comment

Choose a reason for hiding this comment

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

Well done!

@jesusreal jesusreal self-assigned this Jul 15, 2019
Copy link
Contributor

@jesusreal jesusreal left a comment

Choose a reason for hiding this comment

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

Please see my comments below.

core/src/core-api/i18n.js Outdated Show resolved Hide resolved
core/src/core-api/i18n.js Outdated Show resolved Hide resolved
core/src/core-api/i18n.js Outdated Show resolved Hide resolved
client/src/lifecycleManager.js Outdated Show resolved Hide resolved
core/src/core-api/i18n.js Outdated Show resolved Hide resolved
core/test/services/i18n.spec.js Show resolved Hide resolved
Copy link
Contributor Author

@pekura pekura left a comment

Choose a reason for hiding this comment

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

Requested changes implemented, please review again, thanks!

Copy link
Contributor

@jesusreal jesusreal left a comment

Choose a reason for hiding this comment

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

Very good job!!!

jesusreal and others added 2 commits July 16, 2019 14:07
# Conflicts:
#	core/package.json
#	core/src/core-api/index.js
#	docs/luigi-core-api.md
Copy link
Contributor

@bszwarc bszwarc left a comment

Choose a reason for hiding this comment

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

Some comments added

getCurrentLocale: () => string;

/**
* Sets current locale to the given one.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Sets current locale to the given one.
* Sets current locale to the specified one.

}

/**
* Sets current locale to the given one.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Sets current locale to the given one.
* Sets current locale to the specified one.

import { GenericHelpers } from '../utilities/helpers';

/**
* Localization related functions.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Localization related functions.
* Localization-related functions.

}

/**
* Sets current locale to the given one.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Sets current locale to the given one.
* Sets current locale to the specified one.

}

/**
* Register a listener for locale changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Register a listener for locale changes
* Registers a listener for locale changes.

}

/**
* De-register a listener for locale changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* De-register a listener for locale changes
* Unregisters a listener for locale changes.

import { GenericHelpers } from '../utilities/helpers';

/**
* Localization related functions.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Localization related functions.
* Localization-related functions.

}

/**
* Sets current locale to the given one.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Sets current locale to the given one.
* Sets current locale to the specified one.

}

/**
* Register a listener for locale changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Register a listener for locale changes
* Registers a listener for locale changes.

}

/**
* De-register a listener for locale changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* De-register a listener for locale changes
* Unregisters a listener for locale changes.

@pekura pekura merged commit 22232ce into SAP:master Jul 19, 2019
@pekura pekura deleted the i18n-manage-current-locale-in-luigi branch July 19, 2019 13:18
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 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.

4 participants