MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

feat(i18n): 初始化 vue-i18n 以支持国际化

Open tongque0 opened this issue 1 year ago • 2 comments

What this PR does / why we need it?

  • 当前版本可能不急切的需要国际化,因此国际化功能的按钮可以暂时注释。本次提交为 layout 部分的 Topbar 组件添加了基础的国际化支持,为后续的全面国际化工作奠定基础。

Summary of your change

  • Added vue-i18n as a dependency to support internationalization.
  • Configured vue-i18n in the main application file.
  • Created initial locale files with basic translations.
  • Implemented basic internationalization for three icons in the Topbar component, with further changes planned post-approval.
  • 添加了 vue-i18n 作为依赖以支持国际化功能。
  • 在主应用文件中配置了 vue-i18n。
  • 创建了包含基本翻译的初始语言文件。
  • 为layout部分Topbar 组件的三个图标实现了基础国际化,计划在审批后进一步完善其他部分的国际化。 image image

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

tongque0 avatar Apr 27 '24 09:04 tongque0

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.

f2c-ci-robot[bot] avatar Apr 27 '24 09:04 f2c-ci-robot[bot]

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found 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[bot] avatar Apr 27 '24 09:04 f2c-ci-robot[bot]