Skip to content

Commit 4e895a5

Browse files
committed
feat: Add translations
1 parent d17c62a commit 4e895a5

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
@@ -32,10 +32,10 @@ footer-love:
3232
text: Made with ♥️ in Europe
3333
general: Übergreifendes
3434
highlight:
35+
confusion: Verwechslungsgefahr
3536
important: Wichtige Information
3637
inofficial: Inoffizielle Information
3738
tip: Persönlicher Tipp
38-
confusion: Verwechslungsgefahr
3939
home-page-text: FIP Guide Startseite
4040
information-disclaimer-short: >-
4141
Diese Informationen sind inoffiziell und ohne Gewähr. Es besteht keine
@@ -102,6 +102,18 @@ support:
102102
href="/de/contact">Kontaktformular</a> schreiben.
103103
title: Unterstütze uns
104104
toc_name: Inhalt
105+
trainCategory:
106+
acceptance:
107+
accepted: FIP akzeptiert
108+
notAccepted: FIP nicht akzeptiert
109+
partiallyAccepted: FIP teilweise akzeptiert
110+
importantInformation: Wichtige Informationen
111+
reservation:
112+
notPossible: Keine Reservierung möglich
113+
partiallyRequired: Reservierung teilweise erforderlich
114+
possible: Reservierung möglich
115+
required: Reservierung erforderlich
116+
riskOfConfusion: Verwechslungsgefahr
105117
updateDate:
106118
aria-label: Öffne die Commit-Verlauf der Seite
107119
label: Zuletzt aktualisiert

i18n/en.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: general
3333
highlight:
34+
confusion: Risk of Confusion
3435
important: Important Information
3536
inofficial: Unofficial Information
3637
tip: Personal Tip
37-
confusion: Risk of Confusion
3838
home-page-text: FIP Guide Home Page
3939
information-disclaimer-short: >-
4040
The information provided is unofficial and without guarantee. There is no
@@ -98,6 +98,18 @@ support:
9898
href="/en/contact">contact form</a>.
9999
title: Support Us
100100
toc_name: Contents
101+
trainCategory:
102+
acceptance:
103+
accepted: FIP accepted
104+
notAccepted: FIP not accepted
105+
partiallyAccepted: FIP partially accepted
106+
importantInformation: Important information
107+
reservation:
108+
notPossible: No reservation possible
109+
partiallyRequired: Reservation partially required
110+
possible: Reservation possible
111+
required: Reservation required
112+
riskOfConfusion: Risk of confusion
101113
updateDate:
102114
aria-label: Open the commit history of the page
103115
label: Last updated

i18n/fr.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ support:
9898
le <a href="/fr/contact">formulaire de contact</a>.
9999
title: Soutenez-nous
100100
toc_name: Sommaire
101+
trainCategory:
102+
acceptance:
103+
accepted: FIP accepté
104+
notAccepted: FIP non accepté
105+
partiallyAccepted: FIP partiellement accepté
106+
importantInformation: Informations importantes
107+
reservation:
108+
notPossible: Aucune réservation possible
109+
partiallyRequired: Réservation partiellement requise
110+
possible: Réservation possible
111+
required: Réservation requise
112+
riskOfConfusion: Risque de confusion
101113
updateDate:
102114
aria-label: Ouvrir l'historique des commits de la page
103115
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)