From fbae01cab8824c18887b4fad31d382255f858fc2 Mon Sep 17 00:00:00 2001 From: Karel Vendla Date: Tue, 20 Apr 2021 15:57:14 +0300 Subject: [PATCH] Add en translations. --- public/locales/en/bank-account-form.json | 9 +++ public/locales/en/bank-accounts-list.json | 6 ++ public/locales/en/client-fields.json | 10 +++ public/locales/en/client-form.json | 34 ++++++++++ public/locales/en/client-selector.json | 6 ++ public/locales/en/empty-state.json | 3 + public/locales/en/import-modal.json | 6 ++ public/locales/en/invoice-bank-details.json | 5 ++ public/locales/en/invoice-client-details.json | 8 +++ .../locales/en/invoice-company-details.json | 9 +++ .../locales/en/invoice-contact-details.json | 5 ++ public/locales/en/invoice-controls.json | 19 ++++++ public/locales/en/invoice-form.json | 3 + public/locales/en/invoice-header.json | 10 +++ public/locales/en/team-fields.json | 10 +++ public/locales/en/team-form.json | 27 ++++++++ public/locales/en/team-logo.json | 7 ++ public/locales/en/team-taxes.json | 10 +++ public/locales/en/the-footer.json | 8 +++ src/components/EmptyState.vue | 5 +- src/components/ImportModal.vue | 9 +-- src/components/TheFooter.vue | 14 ++-- .../bank-accounts/BankAccountForm.vue | 23 +++---- .../bank-accounts/BankAccountsList.vue | 65 ++++++++++--------- src/components/clients/ClientFields.vue | 13 ++-- src/components/clients/ClientForm.vue | 53 ++++++++------- src/components/clients/ClientSelector.vue | 7 +- .../invoices/InvoiceBankDetails.vue | 7 +- .../invoices/InvoiceClientDetails.vue | 13 ++-- .../invoices/InvoiceCompanyDetails.vue | 15 +++-- .../invoices/InvoiceContactDetails.vue | 7 +- src/components/invoices/InvoiceControls.vue | 47 ++++++++++---- src/components/invoices/InvoiceForm.vue | 3 +- src/components/invoices/InvoiceHeader.vue | 20 +++--- src/components/invoices/InvoiceRow.vue | 2 +- src/components/team/TeamFields.vue | 13 ++-- src/components/team/TeamForm.vue | 39 +++++------ src/components/team/TeamLogo.vue | 11 ++-- src/components/team/TeamTaxes.vue | 13 ++-- src/config/i18n.config.js | 2 +- 40 files changed, 410 insertions(+), 166 deletions(-) create mode 100644 public/locales/en/bank-account-form.json create mode 100644 public/locales/en/bank-accounts-list.json create mode 100644 public/locales/en/client-fields.json create mode 100644 public/locales/en/client-form.json create mode 100644 public/locales/en/client-selector.json create mode 100644 public/locales/en/empty-state.json create mode 100644 public/locales/en/import-modal.json create mode 100644 public/locales/en/invoice-bank-details.json create mode 100644 public/locales/en/invoice-client-details.json create mode 100644 public/locales/en/invoice-company-details.json create mode 100644 public/locales/en/invoice-contact-details.json create mode 100644 public/locales/en/invoice-controls.json create mode 100644 public/locales/en/invoice-form.json create mode 100644 public/locales/en/invoice-header.json create mode 100644 public/locales/en/team-fields.json create mode 100644 public/locales/en/team-form.json create mode 100644 public/locales/en/team-logo.json create mode 100644 public/locales/en/team-taxes.json create mode 100644 public/locales/en/the-footer.json diff --git a/public/locales/en/bank-account-form.json b/public/locales/en/bank-account-form.json new file mode 100644 index 0000000..8b2d6f6 --- /dev/null +++ b/public/locales/en/bank-account-form.json @@ -0,0 +1,9 @@ +{ + "title": "Bank account", + "bank_name": "Bank name", + "account_no": "Bank account details", + "loading": "Loading", + "done": "Done", + "create": "Create", + "notification_updated": "Updated" +} diff --git a/public/locales/en/bank-accounts-list.json b/public/locales/en/bank-accounts-list.json new file mode 100644 index 0000000..c32427c --- /dev/null +++ b/public/locales/en/bank-accounts-list.json @@ -0,0 +1,6 @@ +{ + "loading": "Loading", + "bank": "Bank", + "bank_account_details": "Bank account details", + "add_bank_account": "Add bank account" +} diff --git a/public/locales/en/client-fields.json b/public/locales/en/client-fields.json new file mode 100644 index 0000000..e2d3e58 --- /dev/null +++ b/public/locales/en/client-fields.json @@ -0,0 +1,10 @@ +{ + "label": "Label", + "field": "Field", + "delete_modal": { + "title": "Delete field", + "ok_title": "Delete", + "cancel_title": "Dismiss" + }, + "notification_deleted": "Deleted" +} diff --git a/public/locales/en/client-form.json b/public/locales/en/client-form.json new file mode 100644 index 0000000..48234e3 --- /dev/null +++ b/public/locales/en/client-form.json @@ -0,0 +1,34 @@ +{ + "title": "Client", + "delete": "Delete", + "done": "Done", + "create": "Create", + "loading": "Loading", + "general": { + "title": "General", + "company_name": "Company name", + "invoice_email": "Email" + }, + "invoicing": { + "title": "Invoicing", + "currency": "Currency", + "rate": "Hourly rate", + "has_tax": "Apply taxes", + "bank_account": "Bank account" + }, + "address": { + "title": "Address", + "company_address": "Company address", + "company_postal_code": "Postal code", + "company_city": "City", + "company_county": "County/State", + "company_country": "Country" + }, + "delete_modal": { + "title": "Delete client", + "ok_title": "Delete", + "cancel_title": "Dismiss" + }, + "notification_deleted": "Deleted", + "notification_updated": "Updated" +} diff --git a/public/locales/en/client-selector.json b/public/locales/en/client-selector.json new file mode 100644 index 0000000..ab3a5e2 --- /dev/null +++ b/public/locales/en/client-selector.json @@ -0,0 +1,6 @@ +{ + "client": "Client", + "create": "Create", + "new": "new", + "suggest_placeholder": "Search client" +} diff --git a/public/locales/en/empty-state.json b/public/locales/en/empty-state.json new file mode 100644 index 0000000..b0d2e6b --- /dev/null +++ b/public/locales/en/empty-state.json @@ -0,0 +1,3 @@ +{ + "content": "Nothing here yet" +} diff --git a/public/locales/en/import-modal.json b/public/locales/en/import-modal.json new file mode 100644 index 0000000..73be22d --- /dev/null +++ b/public/locales/en/import-modal.json @@ -0,0 +1,6 @@ +{ + "title": "Import data", + "warning": "Your current data will be erased and overwritten with the imported data!", + "button_text": "Select import file", + "import-error": "Invalid JSON format" +} diff --git a/public/locales/en/invoice-bank-details.json b/public/locales/en/invoice-bank-details.json new file mode 100644 index 0000000..2ce3937 --- /dev/null +++ b/public/locales/en/invoice-bank-details.json @@ -0,0 +1,5 @@ +{ + "bank_name": "Add bank", + "bank_account_no": "Add bank details", + "bank_account_modal_title": "Choose bank account" +} diff --git a/public/locales/en/invoice-client-details.json b/public/locales/en/invoice-client-details.json new file mode 100644 index 0000000..df17be3 --- /dev/null +++ b/public/locales/en/invoice-client-details.json @@ -0,0 +1,8 @@ +{ + "client_address": "Address", + "client_postal_code": "Postal code", + "client_city": "City", + "client_county": "County/State", + "client_country": "Country", + "client_email": "Client's email" +} diff --git a/public/locales/en/invoice-company-details.json b/public/locales/en/invoice-company-details.json new file mode 100644 index 0000000..a1be63b --- /dev/null +++ b/public/locales/en/invoice-company-details.json @@ -0,0 +1,9 @@ +{ + "your_company_name": "Your company name", + "address": "Address", + "postal_code": "Postal code", + "city": "City", + "county": "County/State", + "country": "Country", + "your_email": "Your email" +} diff --git a/public/locales/en/invoice-contact-details.json b/public/locales/en/invoice-contact-details.json new file mode 100644 index 0000000..c9218b9 --- /dev/null +++ b/public/locales/en/invoice-contact-details.json @@ -0,0 +1,5 @@ +{ + "add_website": "Add website", + "add_email": "Add email", + "add_phone": "Add phone" +} diff --git a/public/locales/en/invoice-controls.json b/public/locales/en/invoice-controls.json new file mode 100644 index 0000000..1e73b9a --- /dev/null +++ b/public/locales/en/invoice-controls.json @@ -0,0 +1,19 @@ +{ + "back": "Back", + "book": "Book", + "download_pdf": "Download PDF", + "delete": "Delete", + "delete_modal": { + "title": "Delete client", + "ok_title": "Delete", + "cancel_title": "Dismiss" + }, + "statuses": { + "draft": "draft", + "booked": "booked", + "sent": "sent", + "paid": "paid", + "cancelled": "cancelled" + }, + "notification_deleted": "Deleted" +} diff --git a/public/locales/en/invoice-form.json b/public/locales/en/invoice-form.json new file mode 100644 index 0000000..a68c13b --- /dev/null +++ b/public/locales/en/invoice-form.json @@ -0,0 +1,3 @@ +{ + "insert_note": "Insert note" +} diff --git a/public/locales/en/invoice-header.json b/public/locales/en/invoice-header.json new file mode 100644 index 0000000..c522eab --- /dev/null +++ b/public/locales/en/invoice-header.json @@ -0,0 +1,10 @@ +{ + "invoice_title": "Invoice ", + "invoice_number": "No.", + "issued_at": "Issued at: ", + "due_at": "Due at", + "late_fee": "Late fee:", + "add_late_fee": "Add late fee", + "modal_issued_at_title": "Issued at" + +} diff --git a/public/locales/en/team-fields.json b/public/locales/en/team-fields.json new file mode 100644 index 0000000..228149a --- /dev/null +++ b/public/locales/en/team-fields.json @@ -0,0 +1,10 @@ +{ + "label": "Label", + "field": "Field", + "delete_modal": { + "title": "Delete field", + "ok_title": "Delete", + "cancel_title": "Dismiss" + }, + "notification_delete": "Deleted" +} diff --git a/public/locales/en/team-form.json b/public/locales/en/team-form.json new file mode 100644 index 0000000..71d1ef8 --- /dev/null +++ b/public/locales/en/team-form.json @@ -0,0 +1,27 @@ +{ + "title": "Team", + "done": "Done", + "updated": "Updated", + "loading": "Loading", + "general": { + "title": "General", + "company_name": "Company Name", + "contact_email": "Email", + "contact_phone": "Phone", + "website": "Website" + }, + "invoicing": { + "title": "Invoicing", + "invoice_late_fee": "Late fee (%)", + "invoice_due_days": "Payment terms, days", + "currency": "Default currency" + }, + "address": { + "title": "Address", + "company_address": "Company Address", + "company_postal_code": "Postal code", + "company_city": "City", + "company_county": "County/State", + "company_country": "Country" + } +} diff --git a/public/locales/en/team-logo.json b/public/locales/en/team-logo.json new file mode 100644 index 0000000..e89b1c5 --- /dev/null +++ b/public/locales/en/team-logo.json @@ -0,0 +1,7 @@ +{ + "modal_title": "Choose logo", + "button_text": "Select from files", + "logo_url": "Insert web url", + "logo_url_err": "Logo has to be under 512kb.", + "or": "or" +} diff --git a/public/locales/en/team-taxes.json b/public/locales/en/team-taxes.json new file mode 100644 index 0000000..ab1a610 --- /dev/null +++ b/public/locales/en/team-taxes.json @@ -0,0 +1,10 @@ +{ + "label": "Label", + "tax": "Tax", + "delete_modal": { + "title": "Delete tax", + "ok_title": "Delete", + "cancel_title": "Dismiss" + }, + "notification_deleted": "Deleted" +} diff --git a/public/locales/en/the-footer.json b/public/locales/en/the-footer.json new file mode 100644 index 0000000..32e2e55 --- /dev/null +++ b/public/locales/en/the-footer.json @@ -0,0 +1,8 @@ +{ + "lights": "Lights", + "title": "All your data is saved in your browser and not on any server.\n This application is truly serverless and only you have access to your data.", + "what_about_my_data": "What about my data? ", + "made_with": "Made with", + "by": "by", + "upgrade": "Upgrade" +} diff --git a/src/components/EmptyState.vue b/src/components/EmptyState.vue index 1af0347..8d9f906 100644 --- a/src/components/EmptyState.vue +++ b/src/components/EmptyState.vue @@ -1,6 +1,6 @@