diff --git a/src/constants.js b/src/constants.js index a1da4130b0..caf803048a 100644 --- a/src/constants.js +++ b/src/constants.js @@ -20,9 +20,9 @@ export default { { key: '-price_count', value: 'Number of prices', icon: 'mdi-tag-multiple-outline' }, ], PRICE_ORDER_BY_LIST: [ - { key: 'price', value: 'Price', icon: 'mdi-order-numeric-ascending' }, - { key: '-date', value: 'Price Date', icon: 'mdi-calendar' }, - { key: '-created', value: 'Addition date', icon: 'mdi-clock-outline' }, + { key: 'price', value: 'OrderPriceASC', icon: 'mdi-order-numeric-ascending' }, + { key: '-date', value: 'OrderPriceDateDESC', icon: 'mdi-calendar' }, + { key: '-created', value: 'OrderPriceCreatedDESC', icon: 'mdi-clock-outline' }, ], // https://wiki.openstreetmap.org/wiki/Key:place // https://wiki.openstreetmap.org/wiki/Key:highway diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 024f80c9f4..9fab941778 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -109,6 +109,9 @@ "AddToOFF": "Add to {name}", "Filter": "Filter", "Order": "Order", + "OrderPriceASC": "Price", + "OrderPriceCreatedDESC": "Addition date", + "OrderPriceDateDESC": "Price date", "SignInOFFAccount": "Sign in with your {url} account", "Yes": "Yes", "No": "No" diff --git a/src/views/LocationDetail.vue b/src/views/LocationDetail.vue index 1155a077bb..70ebc3fbf8 100644 --- a/src/views/LocationDetail.vue +++ b/src/views/LocationDetail.vue @@ -50,7 +50,7 @@ - {{ order.value }} + {{ $t('Common.' + order.value) }} diff --git a/src/views/ProductDetail.vue b/src/views/ProductDetail.vue index ae15d68dfa..f48cef2cfd 100644 --- a/src/views/ProductDetail.vue +++ b/src/views/ProductDetail.vue @@ -56,7 +56,7 @@ - {{ order.value }} + {{ $t('Common.' + order.value) }} diff --git a/src/views/UserDetail.vue b/src/views/UserDetail.vue index a9fa921f2a..71032ca1b6 100644 --- a/src/views/UserDetail.vue +++ b/src/views/UserDetail.vue @@ -42,7 +42,7 @@ - {{ order.value }} + {{ $t('Common.' + order.value) }}