Skip to content

Commit

Permalink
Merge pull request #16 from eford/main
Browse files Browse the repository at this point in the history
german fixes
  • Loading branch information
eford authored Sep 7, 2022
2 parents d9c3511 + 36712da commit 931601c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ version = "0.1.5"
[[deps.PlutoTeachingTools]]
deps = ["Downloads", "HypertextLiteral", "LaTeXStrings", "Latexify", "Markdown", "PlutoLinks", "PlutoUI", "Random"]
git-tree-sha1 = "50f8d9a9c7e89570083ae59dc914e5b9278ee800"
git-tree-sha1 = "600e89af8f58086a2691a88f5a4ae367c41ce91d"
uuid = "661c6b06-c737-4d37-b85c-46df65de6f69"
version = "0.2.1"
Expand Down
16 changes: 8 additions & 8 deletions src/i18n/german.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ PlutoTeachingTools.yays(lang::Lang) where {Lang <: GermanGermanyFormal} = [md"Gr
PlutoTeachingTools.yays(lang::Lang) where {Lang <: GermanGermanyColloquial} = [md"Großartig!", md"Juchu ❤", md"Großartig! 🎉", md"Gut gemacht!", md"Weiter so!", md"Gute Arbeit!", md"Super!", md"Deine Antwort ist richtig!", md"Weiter geht's mit der nächsten Antwort."]
PlutoTeachingTools.correct_str(lang::Lang) where {Lang <: German} = "Richtig!"

PlutoTeachingTools.check_type_isa_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"Die Variable \$sym ist immer noch `missing`."
PlutoTeachingTools.check_type_isa_wrong_type_text_str(sym, lang::Lang) where {Lang <: German} = "Der Typ von \$sym ist nicht richtig. Richtig wäre <: "
PlutoTeachingTools.check_type_isa_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"Die Variable `$sym` ist immer noch `missing`."
PlutoTeachingTools.check_type_isa_wrong_type_text_str(sym, lang::Lang) where {Lang <: German} = "Der Typ von `$sym` ist nicht richtig. Richtig wäre <: "
PlutoTeachingTools.check_type_isa_wrong_type_one_of_text_str(lang::Lang) where {Lang <: German} = "einer von"
PlutoTeachingTools.check_type_isa_wrong_type_or_text_str(lang::Lang) where {Lang <: German} = "oder"
PlutoTeachingTools.check_type_isa_not_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"\$sym hat den korrekten Typ."
PlutoTeachingTools.check_type_isa_not_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"`$sym` hat den korrekten Typ."
PlutoTeachingTools.check_type_isa_type_error_str(sym, lang::Lang) where {Lang <: German} = "Typfehler"

PlutoTeachingTools.check_type_eq_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"Die Variable \$sym ist immer noch `missing`."
PlutoTeachingTools.check_type_eq_wrong_type_single_text_str(sym, type, lang::Lang) where {Lang <: German} = "Der Typ von \$sym sollte \$type sein."
PlutoTeachingTools.check_type_eq_wrong_type_multi_text_str(sym, lang::Lang) where {Lang <: German} = "Der Typ von \$sym sollte einer der folgenden sein: "
PlutoTeachingTools.check_type_eq_missing_text_str(sym, lang::Lang) where {Lang <: German} = md"Die Variable `$sym` ist immer noch `missing`."
PlutoTeachingTools.check_type_eq_wrong_type_single_text_str(sym, type, lang::Lang) where {Lang <: German} = "Der Typ von `$sym` sollte `$type` sein."
PlutoTeachingTools.check_type_eq_wrong_type_multi_text_str(sym, lang::Lang) where {Lang <: German} = "Der Typ von `$sym` sollte einer der folgenden sein: "
PlutoTeachingTools.check_type_eq_type_error_str(lang::Lang) where {Lang <: German} = "Typfehler"
PlutoTeachingTools.check_type_eq_correct_str(sym, lang::Lang) where {Lang <: German} = md"\$sym hat den korrekten Typ."
PlutoTeachingTools.check_type_eq_correct_str(sym, lang::Lang) where {Lang <: German} = md"`$sym` hat den korrekten Typ."

# other.jl
PlutoTeachingTools.full_width_mode_str(lang::Lang) where {Lang <: German} = "Modus \"Volle Breite\""
Expand All @@ -62,4 +62,4 @@ PlutoTeachingTools.full_width_mode_str(lang::Lang) where {Lang <: German} = "Mod
PlutoTeachingTools.present_str(lang::Lang) where {Lang <: German} = "präsentieren"
PlutoTeachingTools.present_mode_str(lang::Lang) where {Lang <: German} = "Präsentationsmodus"

end
end

2 comments on commit 931601c

@eford
Copy link
Collaborator Author

@eford eford commented on 931601c Sep 7, 2022

Choose a reason for hiding this comment

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

@JuliaRegistrator register

  • fix german string interpolation

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Error while trying to register: "Tag with name v0.2.1 already exists and points to a different commit"

Please sign in to comment.