From 46afdc5418f3389a7017bc4f2e36ccc2d4077299 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 5 Oct 2019 12:44:05 +0200 Subject: [PATCH] Continued attempt to translate form #2540 --- resources/assets/js/app.js | 6 +- .../js/components/transactions/Amount.vue | 2 +- .../js/components/transactions/Budget.vue | 4 +- .../js/components/transactions/Category.vue | 4 +- .../transactions/CreateTransaction.vue | 11 ++-- .../transactions/CustomTransactionFields.vue | 18 +++--- .../transactions/EditTransaction.vue | 29 +++++---- .../transactions/ForeignAmountSelect.vue | 6 +- .../transactions/GroupDescription.vue | 7 +-- .../js/components/transactions/PiggyBank.vue | 4 +- .../components/transactions/StandardDate.vue | 4 +- .../js/components/transactions/Tags.vue | 2 +- .../transactions/TransactionDescription.vue | 2 +- resources/assets/js/locales/cs.json | 40 +++++++++++- resources/assets/js/locales/de.json | 40 +++++++++++- resources/assets/js/locales/el.json | 46 ++++++++++++++ resources/assets/js/locales/en.json | 40 +++++++++++- resources/assets/js/locales/es.json | 40 +++++++++++- resources/assets/js/locales/fr.json | 40 +++++++++++- resources/assets/js/locales/hu.json | 40 +++++++++++- resources/assets/js/locales/id.json | 40 +++++++++++- resources/assets/js/locales/it.json | 40 +++++++++++- resources/assets/js/locales/nb.json | 46 ++++++++++++++ resources/assets/js/locales/nl.json | 40 +++++++++++- resources/assets/js/locales/no.json | 26 +++++++- resources/assets/js/locales/pl.json | 40 +++++++++++- resources/assets/js/locales/pt-br.json | 40 +++++++++++- resources/assets/js/locales/ro.json | 40 +++++++++++- resources/assets/js/locales/ru.json | 40 +++++++++++- resources/assets/js/locales/tr.json | 46 ++++++++++++++ resources/assets/js/locales/zh-cn.json | 46 ++++++++++++++ resources/assets/js/locales/zh-tw.json | 40 +++++++++++- resources/assets/js/locales/zh.json | 26 +++++++- resources/lang/cs_CZ/config.php | 2 +- resources/lang/cs_CZ/firefly.php | 62 +++++++++---------- resources/lang/cs_CZ/intro.php | 14 ++--- resources/lang/de_DE/firefly.php | 36 +++++------ resources/lang/el_GR/config.php | 2 +- resources/lang/en_US/firefly.php | 34 ++++++---- resources/lang/nb_NO/config.php | 2 +- resources/lang/tr_TR/config.php | 2 +- resources/lang/zh_CN/config.php | 2 +- 42 files changed, 915 insertions(+), 136 deletions(-) create mode 100644 resources/assets/js/locales/el.json create mode 100644 resources/assets/js/locales/nb.json create mode 100644 resources/assets/js/locales/tr.json create mode 100644 resources/assets/js/locales/zh-cn.json diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index b21a182a9a..6ab67ee231 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -18,16 +18,15 @@ * along with this program. If not, see . */ -import CustomAttachments from "./components/transactions/CustomAttachments"; import Vue from 'vue' import VueI18n from 'vue-i18n' import * as uiv from 'uiv'; +import CustomAttachments from "./components/transactions/CustomAttachments"; import CreateTransaction from './components/transactions/CreateTransaction'; import EditTransaction from './components/transactions/EditTransaction'; import Clients from './components/passport/Clients'; import AuthorizedClients from "./components/passport/AuthorizedClients"; import PersonalAccessTokens from "./components/passport/PersonalAccessTokens"; -import Budget from "./components/transactions/Budget"; import CustomDate from "./components/transactions/CustomDate"; import CustomString from "./components/transactions/CustomString"; import CustomTextarea from "./components/transactions/CustomTextarea"; @@ -42,6 +41,7 @@ import Amount from "./components/transactions/Amount"; import ForeignAmountSelect from "./components/transactions/ForeignAmountSelect"; import TransactionType from "./components/transactions/TransactionType"; import AccountSelect from "./components/transactions/AccountSelect"; +import Budget from "./components/transactions/Budget"; /** * First we will load all of this project's JavaScript dependencies which @@ -56,6 +56,8 @@ window.Vue = Vue; Vue.use(uiv); + + // components for create and edit transactions. Vue.component('budget', Budget); Vue.component('custom-date', CustomDate); diff --git a/resources/assets/js/components/transactions/Amount.vue b/resources/assets/js/components/transactions/Amount.vue index 9b76d9b4e7..c4cdf4fbc3 100644 --- a/resources/assets/js/components/transactions/Amount.vue +++ b/resources/assets/js/components/transactions/Amount.vue @@ -25,7 +25,7 @@ + title="amount" autocomplete="off" v-bind:placeholder="$t('firefly.amount')"> diff --git a/resources/assets/js/components/transactions/Budget.vue b/resources/assets/js/components/transactions/Budget.vue index a1a15b7a96..f7994e79e2 100644 --- a/resources/assets/js/components/transactions/Budget.vue +++ b/resources/assets/js/components/transactions/Budget.vue @@ -40,7 +40,7 @@