diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index 5b05957bb..4f3ee6fa6 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -23,6 +23,9 @@ describe('ContributionForm', () => { creation: ['1000', '1000', '1000'], }, }, + $i18n: { + locale: 'en', + }, } const Wrapper = () => { diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 6b8ef39d0..f345ffff4 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -18,6 +18,7 @@ id="contribution-date" v-model="form.date" size="lg" + :locale="$i18n.locale" :max="maximalDate" :min="minimalDate" class="mb-4" @@ -25,25 +26,27 @@ :label-no-date-selected="$t('contribution.noDateSelected')" required > - - -
- {{ form.memo.length }} - {{ $t('math.lower') }} {{ minlength }} - {{ $t('math.divide') }} {{ maxlength }} -
+ + + + {{ error }} + + + diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index ef81d463e..62edd9815 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -203,10 +203,8 @@ "login": "Anmeldung", "math": { "aprox": "~", - "divide": "/", "equal": "=", "exclaim": "!", - "lower": "<", "minus": "−", "pipe": "|" }, diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 47753487d..1cbdc5a8a 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -203,10 +203,8 @@ "login": "Login", "math": { "aprox": "~", - "divide": "/", "equal": "=", "exclaim": "!", - "lower": "<", "minus": "−", "pipe": "|" }, diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js index d834ddac1..deccabbb1 100644 --- a/frontend/src/pages/Community.spec.js +++ b/frontend/src/pages/Community.spec.js @@ -26,6 +26,9 @@ describe('Community', () => { creation: ['1000', '1000', '1000'], }, }, + $i18n: { + locale: 'en', + }, } const Wrapper = () => {