German Translation (#97)

This commit is contained in:
Lukas Herzog 2020-10-13 14:06:07 +02:00 committed by GitHub
parent 1df947bed2
commit f9a3d3a49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 43 additions and 1 deletions

View file

@ -15,6 +15,9 @@ languages:
bn: bn:
languageName: বাংলা languageName: বাংলা
weight: 3 weight: 3
de:
languageName: Deutsch
weight: 4
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks. # Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: fr # DefaultContentLanguage: fr

33
i18n/de.toml Normal file
View file

@ -0,0 +1,33 @@
# More documentation here: https://github.com/nicksnyder/go-i18n
[home]
other = "Home"
[posts]
other = "Beiträge"
[at]
other = "bei"
[resume]
other = "Mein Lebenslauf"
[navigation]
other = "Navigation"
[contact_me]
other = "Kontakt aufnehmen"
[newsletter_text]
other = "Mit dem Newsletter auf dem neuesten Stand bleiben"
[newsletter_input_placeholder]
other = "E-Mail-Adresse eingeben"
[newsletter_warning]
other = "Wir werden Ihre E-Mail-Adresse nicht an Dritte weitergeben."
[submit]
other = "Absenden"
[hugoAttributionText]
other = "Powered by"

View file

@ -5,6 +5,9 @@ other = "Home"
[posts] [posts]
other = "Posts" other = "Posts"
[at]
other = "at"
[resume] [resume]
other = "My resume" other = "My resume"

View file

@ -5,6 +5,9 @@ other = "Accueil"
[posts] [posts]
other = "Des postes" other = "Des postes"
[at]
other = "chez"
[resume] [resume]
other = "Mon Curriculum vitæ" other = "Mon Curriculum vitæ"

View file

@ -12,7 +12,7 @@
<h5 class="p-1"> <h5 class="p-1">
{{ .designation }} {{ .designation }}
{{ if .company }} {{ if .company }}
at <a href="{{ .company.url }}">{{ .company.name }}</a> {{ i18n "at"}} <a href="{{ .company.url }}">{{ .company.name }}</a>
{{ end }} {{ end }}
</h5> </h5>
{{ end }} {{ end }}