Skip to content

Commit

Permalink
lang.go: German translation (#212)
Browse files Browse the repository at this point in the history
I am not 100% sure about the context in which UseCounter and UseTitle appear but these translations should work.

See https://mastodon.cloud/@miek/111352248195049186
  • Loading branch information
bsiegert committed Nov 4, 2023
1 parent fba8700 commit 3944c1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lang/lang.go
Expand Up @@ -7,7 +7,7 @@ import (
// New returns a new and initialized Lang.
func New(language string) Lang {
l := Lang{language: strings.ToLower(language)} // case insensitivity
// Add all lanaguages here, the keys should be named according to BCP47.
// Add all languages here, the keys should be named according to BCP47.
// The keys must be in all lower case for normalized lookup.
l.m = map[string]Term{
"en": {
Expand Down Expand Up @@ -41,11 +41,11 @@ func New(language string) Lang {
Bibliography: "Literaturverzeichnis",
Footnotes: "Fußnoten",
Index: "Index",
WrittenBy: "(no translation!)",
WrittenBy: "Geschrieben von",
See: "siehe",
Section: "abschnit",
UseCounter: "(no translation!)",
UseTitle: "(no translation!)",
Section: "Abschnitt",
UseCounter: "Zähler benutzen",
UseTitle: "Titel benutzen",
},
"ja": {
And: "(no translation!)",
Expand Down

0 comments on commit 3944c1c

Please sign in to comment.