From 654b9e7a2d95d2254988613c96ebc84e9f7e85c9 Mon Sep 17 00:00:00 2001 From: TTalex Date: Sat, 18 Jan 2025 17:07:36 +0100 Subject: [PATCH 1/2] feat(Challenge): Match btn style with multiple proof upload --- src/components/ChallengeTakePicturesCard.vue | 1 + src/components/ChallengeValidateCard.vue | 3 ++- src/i18n/locales/en.json | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/ChallengeTakePicturesCard.vue b/src/components/ChallengeTakePicturesCard.vue index de8abbe785b..fb16e8b4076 100644 --- a/src/components/ChallengeTakePicturesCard.vue +++ b/src/components/ChallengeTakePicturesCard.vue @@ -19,6 +19,7 @@ color="primary" variant="flat" :block="!$vuetify.display.smAndUp" + prepend-icon="mdi-image-plus" to="/proofs/add/multiple" > {{ $t('Challenge.StepTakePictures.AddPictures') }} diff --git a/src/components/ChallengeValidateCard.vue b/src/components/ChallengeValidateCard.vue index 3a995c9ae30..a65e4e24597 100644 --- a/src/components/ChallengeValidateCard.vue +++ b/src/components/ChallengeValidateCard.vue @@ -24,9 +24,10 @@ color="primary" variant="flat" :block="!$vuetify.display.smAndUp" + prepend-icon="mdi-checkbox-marked-circle-plus-outline" to="/experiments/price-validation-assistant" > - {{ $t('Challenge.StepValidate.ValidatePrices') }} + {{ $t('Common.ValidatePrices') }} 🤖 diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 943570628a3..aa342f12fbb 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -148,8 +148,7 @@ "line1": "Price tags are automatically detected, but the robots still need your help to validate them.", "line2": "Visit the price validation page using the button below, edit the barcode and price if needed, and validate !", "line3": "If you're having trouble reading the label, mark it as unreable.", - "line4": "This is a collaborative effort, even if you didn't send many pictures, you can still help others by validating.", - "ValidatePrices": "Validate prices" + "line4": "This is a collaborative effort, even if you didn't send many pictures, you can still help others by validating." }, "Stats": "Challenge stats", "MyStats": "My stats", From 7140ad9d1c8a5f4511a231aea73acabc5e7f9f27 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Sat, 18 Jan 2025 22:12:11 +0100 Subject: [PATCH 2/2] Add translation --- src/components/ChallengeTimeline.vue | 9 ++++----- src/i18n/locales/en.json | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/ChallengeTimeline.vue b/src/components/ChallengeTimeline.vue index bfaf53e88e0..ceccf909615 100644 --- a/src/components/ChallengeTimeline.vue +++ b/src/components/ChallengeTimeline.vue @@ -2,7 +2,7 @@
- Start + {{ $t('Common.Start') }}
- + - \ No newline at end of file diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index aa342f12fbb..09da58aa580 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -238,6 +238,7 @@ "ExamplesWithColon": "Examples:", "ExamplesWithColonAndValue": "Examples: {value}", "Edit": "Edit", + "End": "End", "Filter": "Filter", "FilterProductWithPriceCount": "With a price", "FilterProductWithPriceCountHide": "Hide products with prices", @@ -330,6 +331,7 @@ "Share": "Share", "Source": "Source", "SourceCode": "Source code", + "Start": "Start", "Stats": "Stats", "TaglineOriginal": "An open crowdsourced database of food prices", "TaglineAlt1": "The open crowdsourced database of prices",