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

国际化出码优化 #50

Closed
Carrotzpc opened this issue Feb 21, 2023 · 0 comments · Fixed by #51
Closed

国际化出码优化 #50

Carrotzpc opened this issue Feb 21, 2023 · 0 comments · Fixed by #51
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Carrotzpc
Copy link
Collaborator

Carrotzpc commented Feb 21, 2023

目前国际化出码后存在冗余代码,render 中的相关国际化文案与 i18n.js 中的文案重复:

  <Modal
    title={
      this._i18nText({
        "en-US": "create federation",
        key: "i18n-i69exda650e",
        "zh-CN": "新建联盟",
      })
    }
  >
    // ...
  </Modal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant