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

fix translations #2592

Closed
wants to merge 1 commit into from
Closed

fix translations #2592

wants to merge 1 commit into from

Conversation

steve02081504
Copy link
Contributor

@steve02081504 steve02081504 commented Jun 15, 2024

add more keys for #2567 (comment)
and some fixes

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jun 16, 2024

GitHub didn't pick it up as I rebased, but this was merged with 3eb73cb, thanks!

I made a couple changes after merging:

  1. theme_member_protected etc. are from the ReflectionFlag enum, which now has a dedicated section, which highlighted some additional missing values
  2. tag_alias is not in TypeDoc's default list of valid tags, so should not have a translation in the default translation objects. If you use it in your project, you can add translations for it using the locales object in your typedoc config:
{
  "locales": {
    "zh": {
      "tag_alias": "別名"
    }
  }
}

(@alias is not supported by TypeDoc, in that TypeDoc does not support renaming exports arbitrarily, as specified by JSDoc, so I don't want to add it to the config)

@Gerrit0 Gerrit0 closed this Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants