Skip to content

fix: add missing types for zh-HANS and zh-HANT (fix #58)#62

Merged
leoncheng57 merged 2 commits intoDeepLcom:mainfrom
Yohannfra:main
Feb 27, 2025
Merged

fix: add missing types for zh-HANS and zh-HANT (fix #58)#62
leoncheng57 merged 2 commits intoDeepLcom:mainfrom
Yohannfra:main

Conversation

@Yohannfra
Copy link
Copy Markdown
Contributor

No description provided.

@RahulRaj97
Copy link
Copy Markdown

RahulRaj97 commented Feb 25, 2025

@Yohannfra Thanks for adding this.

@JanEbbing Can we have this in the next release? Would be great with TS support.

@leoncheng57 leoncheng57 merged commit 768ca9e into DeepLcom:main Feb 27, 2025
5 checks passed
Comment on lines +170 to +173
} else if (targetLang === 'zh') {
throw new DeepLError(
"targetLang='zh' is deprecated, please use 'zh-HANS' or 'zh-HANT' instead.",
);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Actually we noticed that this is a breaking change (which would not be allowed the next minor version). We will be undoing this part of the MR before the next release.

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.

3 participants