Skip to content

Commit 99ce2f8

Browse files
committed
feat(Contribute): make the PriceTagMultiple uploader the default
1 parent c9d90d8 commit 99ce2f8

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/i18n/locales/en.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@
236236
"Error": "Error",
237237
"Experiment": "Experiment",
238238
"Experiments": "Experiments",
239+
"FromPriceTag": "From a price tag",
240+
"FromReceipt": "From a receipt",
239241
"GoToProof": "Go to proof",
240242
"Join": "Join",
241243
"Label": "Label",
@@ -443,6 +445,7 @@
443445
"Validate": "Validate",
444446
"ValidatePrices": "Validate prices",
445447
"ValidatePricesWithAI": "Validate prices with AI",
448+
"ValidatePricesFromCommunity": "Validate prices from the community",
446449
"View": "View",
447450
"Website": "Website",
448451
"Year": "Year",
@@ -715,6 +718,9 @@
715718
"AddProofMultiple": {
716719
"Title": "Add multiple proofs"
717720
},
721+
"AddProofSingleMultiple": {
722+
"Title": "Add one or multiple proofs"
723+
},
718724
"Locations": {
719725
"Title": "Locations"
720726
},

src/router.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/Contribute.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ export default {
3434
return {
3535
contributeCommonList: [
3636
{
37-
name: 'From a price tag',
37+
name: this.$t('Common.FromPriceTag'),
3838
description: '',
3939
background_image_url: constants.PROOF_TYPE_PRICE_TAG_IMAGE_THUMB_URL,
40-
url: '/prices/add/multiple?proof_type=PRICE_TAG'
40+
url: '/proofs/add/multiple'
4141
},
4242
{
43-
name: 'From a receipt',
43+
name: this.$t('Common.FromReceipt'),
4444
description: '',
4545
background_image_url: constants.PROOF_TYPE_RECEIPT_IMAGE_THUMB_URL,
4646
url: '/prices/add/multiple?proof_type=RECEIPT'
4747
},
4848
{
49-
name: 'Validate prices from the community',
49+
name: this.$t('Common.ValidatePricesFromCommunity'),
5050
description: '',
5151
background_image_url: 'https://imgur.com/s0lenjt.png',
5252
url: '/experiments/price-validation-assistant',

0 commit comments

Comments
 (0)