Skip to content

Commit

Permalink
add defaults localizations for release
Browse files Browse the repository at this point in the history
  • Loading branch information
BuyOwnEx committed May 27, 2022
1 parent deed60b commit cade8d3
Show file tree
Hide file tree
Showing 15 changed files with 7,532 additions and 10 deletions.
2 changes: 2 additions & 0 deletions resources/js/components/filters/FiatTransactions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
<v-select
v-model="filters.payment_type"
:items="all_payment_types"
item-text="name"
item-value="id"
:label="$t('reports.gateway')"
:hint="$t('reports.gateway_hint')"
hide-details="auto"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/pages/info/Fees.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<td class="overline" nowrap="">{{ curr.type }}</td>
<td nowrap="">{{ curr.maxVerifyWithdraw }} {{ curr.currency }}</td>
<td nowrap="">{{ curr.maxWithdraw }} {{ curr.currency }}</td>
<td nowrap="">{{ curr.blockedFundLimit }} {{ curr.currency }}</td>
<td nowrap="">{{ curr.blockedFundLimit !== 0 ? curr.blockedFundLimit : '-' }} {{ curr.blockedFundLimit !== 0 ? curr.currency : ''}}</td>
<td nowrap="">{{ platform.platform || platform.base_currency || '-' }}</td>
<td class="overline" nowrap="">{{ platform.type || 'Fiat' }}</td>
<td>{{ platform.minReplenish }} {{ platform.base_currency || curr.currency }}</td>
Expand Down
19 changes: 10 additions & 9 deletions resources/js/pages/reports/FiatTransactions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<template #top>
<filters
:all_types="types"
:all_payment_types="payments"
:all_payment_types="gateways"
:all_currencies="currencies"
:all_statuses="statuses"
@apply-table-filter="onFilterApply"
Expand Down Expand Up @@ -70,6 +70,8 @@
</template>

<script>
import { mapState } from 'vuex';
import BigNumber from 'bignumber.js';
BigNumber.config({ EXPONENTIAL_AT: [-15, 20] });
import moment from 'moment';
Expand Down Expand Up @@ -108,12 +110,14 @@ export default {
{ value: false, name: 'Withdrawal' },
{ value: true, name: 'Replenish' },
],
payments: ['Payeer'],
currencies: [],
gateways: [
{ id: 1, name: this.$t('gateways.bank_details') }
],
};
},
computed: {
...mapState('trading', ['all_currencies','allCurrencyListInit']),
headers() {
return [
{ text: 'ID', value: 'id' },
Expand All @@ -126,6 +130,9 @@ export default {
{ text: this.$t('table_header.status'), value: 'status' },
];
},
currencies() {
return this.allCurrencyListInit ? _.filter(this.all_currencies,item => item.type === 'fiat') : []
},
},
watch: {
Expand Down Expand Up @@ -250,11 +257,5 @@ export default {
this.isFiltersShow = !this.isFiltersShow;
},
},
mounted() {
axios.get('/trader/ext/fiat_currencies').then(response => {
this.currencies = response.data.data;
});
},
};
</script>
4 changes: 4 additions & 0 deletions resources/js/translations/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ export default {
min_number_of_network_confirmation: 'Min. number of network confirmations',
},

gateways: {
'bank_details': 'Bank details',
},

menu: {
trading: 'Trading',
overview: 'Market overview',
Expand Down
5 changes: 5 additions & 0 deletions resources/js/translations/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default {
see_all: 'Увидеть все',
},


apps: {
exchange: {
title: 'Обмен',
Expand Down Expand Up @@ -121,6 +122,10 @@ export default {
min_number_of_network_confirmation: 'Мин. кол-во подтверждений сети',
},

gateways: {
'bank_details': 'По реквизитам',
},

menu: {
trading: 'Торговля',
overview: 'Обзор рынка',
Expand Down
751 changes: 751 additions & 0 deletions resources/lang/ar.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/de.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/es.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/fr.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/ja.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/ko.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/pl.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/pt.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/ru.json

Large diffs are not rendered by default.

751 changes: 751 additions & 0 deletions resources/lang/zh.json

Large diffs are not rendered by default.

0 comments on commit cade8d3

Please sign in to comment.