Skip to content
Snippets Groups Projects

Resolve "Devise i18n support"

Merged qt requested to merge gitlab-jh/jh-team/gitlab:upstream-1347-devise-i18n-support into master
All threads resolved!

related to MR on JiHu

What does this MR do and why?

This MR is to achieve I18n international standardization and add the zh_CN language.

  • Add devise.zh-cn.yml

    The zh_CN.yml is for zh_CN translation as I18n.

    The file can be placed in any directory (including JH) and loaded into the program via I18n.load_path.

    Not only 'JH' needs to implement zh_CN translation, but also the subsequent upstream. So we should put the file in upstream. (According to the official I18n convention, the file should be placed in the config/locales directory)

  • Translation reference

    The zh_CN.ymlis translated according to the en.yml key-value pair format.

    And the translation into zh_CN is based on this link: https://gist.github.com/Artoria2e5/6d2a06ca9e92a417afc627b5000f4690#file-devise-zh-cn-yml

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

cc @prajnamas

Edited by qt

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • qt added 1 commit

    added 1 commit

    Compare with previous version

  • qt resolved all threads

    resolved all threads

  • qt marked this merge request as ready

    marked this merge request as ready

  • Author Contributor
  • requested review from @justin_ho

  • Justin Ho Tuan Duong approved this merge request

    approved this merge request

  • Justin Ho Tuan Duong removed review request for @justin_ho

    removed review request for @justin_ho

  • Kevin Morrison approved this merge request

    approved this merge request

  • requested review from @stanhu

  • Stan Hu approved this merge request

    approved this merge request

  • Stan Hu resolved all threads

    resolved all threads

  • merged

  • @stanhu, did you forget to run a pipeline before you merged this work? Based on our code review process, if the latest pipeline finished more than 2 hours ago, you should:

    1. Ensure the merge request is not in Draft status.
    2. Start a pipeline (especially important for Community contribution merge requests).
    3. Set the merge request to merge when pipeline succeeds.

    This is a guideline, not a rule. Please consider replying to this comment for transparency.

    This message was generated automatically. You're welcome to improve it.

  • @qt-gith, how was your code review experience with this merge request? Please tell us how we can continue to iterate and improve:

    1. Leave a :thumbsup: or a :thumbsdown: on this comment to describe your experience.
    2. Create a new comment starting with @gitlab-bot feedback below, and leave any additional feedback you have for us in the comment.

    Have five minutes? Take our survey to give us even more feedback on how GitLab can improve the contributor experience.

    Thanks for your help! :heart:

    This message was generated automatically. You're welcome to improve it.

  • Stan Hu mentioned in commit 0702c3e3

    mentioned in commit 0702c3e3

  • added workflowstaging label and removed workflowcanary label

  • 🤖 GitLab Bot 🤖 changed milestone to %15.3

    changed milestone to %15.3

  • Please register or sign in to reply
    Loading