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

Add Chinese Translation. #45

Closed
wants to merge 1 commit into from
Closed

Conversation

mathutopia
Copy link
Contributor

Add Chinese Translation.

Copy link
Collaborator

@adrhill adrhill left a comment

Choose a reason for hiding this comment

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

Hi @mathutopia, thanks for your contribution!

We had a simultaneous contribution of a Russian translation in #44, which has since been merged. Could you resolve the dependency conflicts by merging main into your branch or rebasing it?

Comment on lines +36 to +38
PlutoTeachingTools.yays(lang::Lang) where {Lang <: Chinese} = [md"Great!", md"Yay ❤", md"Great! 🎉", md"Well done!", md"Keep it up!", md"Good job!", md"Awesome!", md"You got the right answer!", md"Let's move on to the next part."]
PlutoTeachingTools.correct_str(lang::Lang) where {Lang <: Chinese} = "Got it!"
PlutoTeachingTools.todo_str(lang::Lang) where {Lang <: Chinese} = "TODO"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like these are still missing translations.

Comment on lines +65 to +70

abstract type German <: AbstractLanguage end
struct GermanGermanyFormal <: German end
struct GermanGermanyColloquial <: German end
GermanGermany = GermanGermanyFormal

Copy link
Collaborator

Choose a reason for hiding this comment

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

These should be removed. They are imported in L59 and unrelated to the Chinese translation.

Suggested change
abstract type German <: AbstractLanguage end
struct GermanGermanyFormal <: German end
struct GermanGermanyColloquial <: German end
GermanGermany = GermanGermanyFormal

@mathutopia mathutopia closed this Sep 12, 2024
@mathutopia mathutopia deleted the chinese branch September 12, 2024 12:50
@adrhill
Copy link
Collaborator

adrhill commented Sep 12, 2024

Closed in favor of #46.

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