Skip to content

Commit 195ba8f

Browse files
committed
feat: Add translations
1 parent 9e9d9c8 commit 195ba8f

File tree

4 files changed

+47
-11
lines changed

4 files changed

+47
-11
lines changed

i18n/de.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ footer-love:
3131
text: Made with ♥️ in Europe
3232
general: Übergreifendes
3333
highlight:
34+
confusion: Verwechslungsgefahr
3435
important: Wichtige Information
3536
inofficial: Inoffizielle Information
3637
tip: Persönlicher Tipp
37-
confusion: Verwechslungsgefahr
3838
home-page-text: FIP Guide Startseite
3939
information-disclaimer-short: >-
4040
Diese Informationen sind inoffiziell und ohne Gewähr. Es besteht keine
@@ -101,6 +101,18 @@ support:
101101
href="/de/contact">Kontaktformular</a> schreiben.
102102
title: Unterstütze uns
103103
toc_name: Inhalt
104+
trainCategory:
105+
acceptance:
106+
accepted: FIP Akzeptiert
107+
notAccepted: FIP Nicht Akzeptiert
108+
partiallyAccepted: FIP Teilweise Akzeptiert
109+
importantInformation: Wichtige Informationen
110+
reservation:
111+
notPossible: Keine Reservierung Möglich
112+
partiallyRequired: Reservierung Teilweise Erforderlich
113+
possible: Reservierung Möglich
114+
required: Reservierung Erforderlich
115+
riskOfConfusion: Verwechslungsgefahr
104116
updateDate:
105117
aria-label: Öffne die Commit-Verlauf der Seite
106118
label: Zuletzt aktualisiert

i18n/en.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ footer-love:
3030
text: Made with ♥️ in Europe
3131
general: general
3232
highlight:
33+
confusion: Risk of Confusion
3334
important: Important Information
3435
inofficial: Unofficial Information
3536
tip: Personal Tip
36-
confusion: Risk of Confusion
3737
home-page-text: FIP Guide Home Page
3838
information-disclaimer-short: >-
3939
The information provided is unofficial and without guarantee. There is no
@@ -97,6 +97,18 @@ support:
9797
href="/en/contact">contact form</a>.
9898
title: Support Us
9999
toc_name: Contents
100+
trainCategory:
101+
acceptance:
102+
accepted: FIP Accepted
103+
notAccepted: FIP Not Accepted
104+
partiallyAccepted: FIP Partially Accepted
105+
importantInformation: Important information
106+
reservation:
107+
notPossible: No Reservation Possible
108+
partiallyRequired: Reservation Partially Required
109+
possible: Reservation Possible
110+
required: Reservation Required
111+
riskOfConfusion: Risk of confusion
100112
updateDate:
101113
aria-label: Open the commit history of the page
102114
label: Last updated

i18n/fr.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ support:
9797
le <a href="/fr/contact">formulaire de contact</a>.
9898
title: Soutenez-nous
9999
toc_name: Sommaire
100+
trainCategory:
101+
acceptance:
102+
accepted: FIP Accepté
103+
notAccepted: FIP Non Accepté
104+
partiallyAccepted: FIP Partiellement Accepté
105+
importantInformation: Informations importantes
106+
reservation:
107+
notPossible: Aucune Réservation Possible
108+
partiallyRequired: Réservation Partiellement Requise
109+
possible: Réservation Possible
110+
required: Réservation Requise
111+
riskOfConfusion: Risque de confusion
100112
updateDate:
101113
aria-label: Ouvrir l'historique des commits de la page
102114
label: Dernière mise à jour

layouts/partials/train-category.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,53 +8,53 @@
88
{{- if eq .fip_accepted true -}}
99
<span class="o-train-category__tag o-train-category__tag--success">
1010
{{ partial "icon" "check_circle" }}
11-
FIP Accepted
11+
{{ i18n "trainCategory.acceptance.accepted" }}
1212
</span>
1313
{{- else if eq .fip_accepted "partially" -}}
1414
<span class="o-train-category__tag o-train-category__tag--warning">
1515
{{ partial "icon" "info" }}
16-
FIP Partially Accepted
16+
{{ i18n "trainCategory.acceptance.partiallyAccepted" }}
1717
</span>
1818
{{- else -}}
1919
<span class="o-train-category__tag o-train-category__tag--error">
2020
{{ partial "icon" "dangerous" }}
21-
FIP Not Accepted
21+
{{ i18n "trainCategory.acceptance.notAccepted" }}
2222
</span>
2323
{{- end -}}
2424

2525
{{- if eq .reservation_required true -}}
2626
<span class="o-train-category__tag o-train-category__tag--error">
2727
{{ partial "icon" "calendar_add_on" }}
28-
Reservation Required
28+
{{ i18n "trainCategory.reservation.required" }}
2929
</span>
3030
{{- else if eq .reservation_required true -}}
3131
<span class="o-train-category__tag o-train-category__tag--warning">
3232
{{ partial "icon" "calendar_add_on" }}
33-
Reservation Partially Required
33+
{{ i18n "trainCategory.reservation.partiallyRequired" }}
3434
</span>
3535
{{- else if eq .reservation_possible true -}}
3636
<span class="o-train-category__tag o-train-category__tag--info">
3737
{{ partial "icon" "calendar_check" }}
38-
Reservation Possible
38+
{{ i18n "trainCategory.reservation.possible" }}
3939
</span>
4040
{{- else -}}
4141
<span class="o-train-category__tag o-train-category__tag--info">
4242
{{ partial "icon" "calendar_lock" }}
43-
No Reservation Possible
43+
{{ i18n "trainCategory.reservation.notPossible" }}
4444
</span>
4545
{{- end -}}
4646

4747
{{- if .risk_of_confusion -}}
4848
<span class="o-train-category__tag o-train-category__tag--warning">
4949
{{ partial "icon" "question_exchange" }}
50-
Risk of confusion
50+
{{ i18n "trainCategory.riskOfConfusion" }}
5151
</span>
5252
{{- end -}}
5353

5454
{{- if .important_info -}}
5555
<span class="o-train-category__tag o-train-category__tag--warning">
5656
{{ partial "icon" "campaign" }}
57-
Important information
57+
{{ i18n "trainCategory.importantInformation" }}
5858
</span>
5959
{{- end -}}
6060
</div>

0 commit comments

Comments
 (0)