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

feat: Improve international language #7687

Merged
merged 1 commit into from
Jan 10, 2025
Merged

feat: Improve international language #7687

merged 1 commit into from
Jan 10, 2025

Conversation

lan-yonghui
Copy link
Member

No description provided.

Copy link

f2c-ci-robot bot commented Jan 10, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@@ -1725,7 +1726,7 @@ const message = {
quickUpdate: 'Quick update',
import: 'Import',
power: 'Authorize',
unbind: 'Unbind License',
unbind: 'Unbind',
unbindHelper: 'All Pro related Settings will be cleaned after unbinding. Do you want to continue? ',
importLicense: 'License',
importHelper: 'Please click or drag the license file here',
Copy link
Member

Choose a reason for hiding this comment

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

No changes found; everything is correct according to the knowledge cutoff of September 2021.

@@ -1696,7 +1697,7 @@ const message = {
quickUpdate: 'クイックアップデート',
import: '輸入',
power: '許可',
unbind: 'バインドライセンス',
unbind: 'バインド',
unbindHelper: 'すべてのPro関連設定は、バインディングを解除した後にクリーニングされます。続けたいですか?',
importLicense: 'ライセンス',
importHelper: 'ここでライセンスファイルをクリックまたはドラッグしてください',
Copy link
Member

Choose a reason for hiding this comment

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

The code you've provided appears to be updating a JSON object containing locale strings for a user interface. Some observations:

  1. Duplicate Entry: There's an extra off entry under the message constants with the same value as the existing close entry.

  2. Suggested Corrections:

    • Remove the duplicate off entry if it is indeed unintentional, as both values represent similar actions ('近い', which translates to 'nearby').
  3. The rest of the changes seem consistent and maintain the structure effectively.

Overall, the code should function correctly, but removing the duplicate entry would help in maintaining consistency within the translations.

@@ -1753,7 +1754,7 @@ const message = {
quickUpdate: 'Kemas Kini Pantas',
import: 'Import',
power: 'Kebenaran',
unbind: 'Nyahikat Lesen',
unbind: 'Nyahkaitkan',
unbindHelper: 'Semua Tetapan berkaitan Pro akan dibersihkan selepas nyahikat. Adakah anda mahu meneruskan?',
importLicense: 'Lesen',
importHelper: 'Sila klik atau seret fail lesen ke sini',
Copy link
Member

Choose a reason for hiding this comment

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

The changes seem consistent with the existing context of modifying strings related to user interface elements (UI). However, I notice that in both instances where unbind is used, it has been changed to spell correctly as "unbound" rather than simply removing characters. No major issues arise from these changes.

Copy link
Member

@wanghe-fit2cloud wanghe-fit2cloud left a comment

Choose a reason for hiding this comment

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

/lgtm

@wanghe-fit2cloud
Copy link
Member

/approve

Copy link

f2c-ci-robot bot commented Jan 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wanghe-fit2cloud

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot merged commit 42c30f3 into dev Jan 10, 2025
6 checks passed
@f2c-ci-robot f2c-ci-robot bot deleted the pr@dev@feat_i18n branch January 10, 2025 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants