From 051504ec513190eba16d9555e56a426a3e764821 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 2 Jan 2023 17:16:09 +0100 Subject: [PATCH] fix lint --- .../Contributions/ContributionListItem.vue | 4 +++- .../Contributions/OpenCreationsAmount.vue | 20 +++++++++---------- frontend/src/locales/de.json | 9 ++++++++- frontend/src/locales/en.json | 9 ++++++++- 4 files changed, 29 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/Contributions/ContributionListItem.vue b/frontend/src/components/Contributions/ContributionListItem.vue index a3116d7c4..95a364537 100644 --- a/frontend/src/components/Contributions/ContributionListItem.vue +++ b/frontend/src/components/Contributions/ContributionListItem.vue @@ -31,7 +31,9 @@
createdAt {{ createdAt }}
--> -
{{ $t('creation') }} ({{ amount / 20 }} h)
+
+ {{ $t('creation') }} {{ $t('(') }}{{ amount / 20 }} {{ $t('h') }}{{ $t(')') }} +
{{ amount | GDD }}
diff --git a/frontend/src/components/Contributions/OpenCreationsAmount.vue b/frontend/src/components/Contributions/OpenCreationsAmount.vue index 7224b0131..62c240afd 100644 --- a/frontend/src/components/Contributions/OpenCreationsAmount.vue +++ b/frontend/src/components/Contributions/OpenCreationsAmount.vue @@ -2,32 +2,32 @@
- Monatsbeiträge - Status - Eingereicht - offene Stunden + {{ $t('time.months') }} + {{ $t('status') }} + {{ $t('submitted') }} + {{ $t('openHours') }} {{ $d(new Date(minimalDate), 'monthAndYear') }} - {{ maxGddLastMonth > 0 ? 'Einreichen' : 'Max. erreicht' }} + {{ maxGddLastMonth > 0 ? $t('contribution.submit') : $t('maxReached') }} - {{ (1000 - maxGddLastMonth) / 20 }} h + {{ (1000 - maxGddLastMonth) / 20 }} {{ $t('h') }} - {{ maxGddLastMonth / 20 }} h + {{ maxGddLastMonth / 20 }} {{ $t('h') }} {{ $d(new Date(), 'monthAndYear') }} - {{ maxGddThisMonth > 0 ? 'Einreichen' : 'Max. erreicht' }} + {{ maxGddThisMonth > 0 ? $t('contribution.submit') : $t('maxReached') }} - {{ (1000 - maxGddThisMonth) / 20 }} h + {{ (1000 - maxGddThisMonth) / 20 }} {{ $t('h') }} - {{ maxGddThisMonth / 20 }} h + {{ maxGddThisMonth / 20 }} {{ $t('h') }}
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 098366e38..3603f14a2 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -339,5 +339,12 @@ "send_you": "sendet dir" }, "via_link": "über einen Link", - "welcome": "Willkommen in der Gemeinschaft" + "welcome": "Willkommen in der Gemeinschaft", + "status": "Status", + "submitted": "Eingereicht", + "openHours": "Offene Stunden", + "maxReached": "Max. erreicht", + "h": "h", + "(": "(", + ")": ")" } diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 3bfd27f8e..4baa84a0f 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -339,5 +339,12 @@ "send_you": "wants to send you" }, "via_link": "via Link", - "welcome": "Welcome to the community" + "welcome": "Welcome to the community", + "status": "Status", + "submitted": "Submitted", + "openHours": "Open Hours", + "maxReached": "Max. reached", + "h": "h", + "(": "(", + ")": ")" }