Add I18n.lang #16

Merged
ghost merged 1 commits from plume/rocket_i18n:i18n-lang into master 5 years ago
ghost commented 5 years ago (Migrated from github.com)

Used to get the language for the current request. It can be used for database requests or to adapt the UI.

It should be backwards compatible, except when pattern matching is used (let I18n { catalog } = i18n) which is unlikely.

Used to get the language for the current request. It can be used for database requests or to adapt the UI. It should be backwards compatible, except when pattern matching is used (`let I18n { catalog } = i18n`) which is unlikely.
elegaanz (Migrated from github.com) approved these changes 5 years ago
elegaanz (Migrated from github.com) left a comment

Thank you. 😊

Thank you. :blush:

Reviewers

The pull request has been merged as ada273e4a9.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b i18n-lang master
git pull origin i18n-lang

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff i18n-lang
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: plume/rocket_i18n#16
Loading…
There is no content yet.