WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4d685a2

Browse files
committed
feat(Contribute): make the PriceTagMultiple uploader the default
1 parent a320c3e commit 4d685a2

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
@@ -241,6 +241,8 @@
241241
"Error": "Error",
242242
"Experiment": "Experiment",
243243
"Experiments": "Experiments",
244+
"FromPriceTag": "From a price tag",
245+
"FromReceipt": "From a receipt",
244246
"GoToProof": "Go to proof",
245247
"Join": "Join",
246248
"Label": "Label",
@@ -453,6 +455,7 @@
453455
"Validate": "Validate",
454456
"ValidatePrices": "Validate prices",
455457
"ValidatePricesWithAI": "Validate prices with AI",
458+
"ValidatePricesFromCommunity": "Validate prices from the community",
456459
"View": "View",
457460
"Website": "Website",
458461
"Year": "Year",
@@ -725,6 +728,9 @@
725728
"AddProofMultiple": {
726729
"Title": "Add multiple proofs"
727730
},
731+
"AddProofSingleMultiple": {
732+
"Title": "Add one or multiple proofs"
733+
},
728734
"Locations": {
729735
"Title": "Locations"
730736
},

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
@@ -33,19 +33,19 @@ export default {
3333
return {
3434
contributeCommonList: [
3535
{
36-
name: 'From a price tag',
36+
name: this.$t('Common.FromPriceTag'),
3737
description: '',
3838
background_image_url: constants.PROOF_TYPE_PRICE_TAG_IMAGE_THUMB_URL,
39-
url: '/prices/add/multiple?proof_type=PRICE_TAG'
39+
url: '/proofs/add/multiple'
4040
},
4141
{
42-
name: 'From a receipt',
42+
name: this.$t('Common.FromReceipt'),
4343
description: '',
4444
background_image_url: constants.PROOF_TYPE_RECEIPT_IMAGE_THUMB_URL,
4545
url: '/prices/add/multiple?proof_type=RECEIPT'
4646
},
4747
{
48-
name: 'Validate prices from the community',
48+
name: this.$t('Common.ValidatePricesFromCommunity'),
4949
description: '',
5050
background_image_url: 'https://imgur.com/s0lenjt.png',
5151
url: '/experiments/price-validation-assistant',

0 commit comments

Comments
 (0)