diff --git a/package-lock.json b/package-lock.json
index 1b97056..34d35dd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6594,6 +6594,14 @@
"@babel/runtime": "^7.5.5"
}
},
+ "i18next-http-backend": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-1.2.1.tgz",
+ "integrity": "sha512-9L2sa+wybqi57/+VsrJPo5DCI7WLoudaK12xz0okYSmsi3Izyj7sCgrYL52WHy/O3BFY9HGORBwSwlD1WYuH6Q==",
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
diff --git a/package.json b/package.json
index 0dea714..bb1f7eb 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"es6-promise": "^4.2.6",
"i18next": "^20.2.1",
"i18next-browser-languagedetector": "^6.1.0",
+ "i18next-http-backend": "^1.2.1",
"localforage": "^1.9.0",
"lodash": "^4.17.21",
"register-service-worker": "^1.7.1",
diff --git a/public/locales/en.json b/public/locales/en.json
deleted file mode 100644
index 680c869..0000000
--- a/public/locales/en.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "invoices": {
- "title": "Invoices",
- "new_invoice": "New invoice"
- }
-}
diff --git a/public/locales/en/invoice-row.json b/public/locales/en/invoice-row.json
new file mode 100644
index 0000000..396efc7
--- /dev/null
+++ b/public/locales/en/invoice-row.json
@@ -0,0 +1,7 @@
+{
+ "enter_item": "Enter item",
+ "enter_quantity": "Enter quantity",
+ "enter_unit": "Enter unit",
+ "enter_price": "Enter price",
+ "enter_tax": "Enter tax"
+}
diff --git a/public/locales/en/invoice-rows-header.json b/public/locales/en/invoice-rows-header.json
new file mode 100644
index 0000000..d5a1e68
--- /dev/null
+++ b/public/locales/en/invoice-rows-header.json
@@ -0,0 +1,7 @@
+{
+ "item": "Item",
+ "quantity": "Quantity",
+ "unit": "Unit",
+ "price": "Price",
+ "sum": "Sum"
+}
diff --git a/public/locales/en/invoice-totals.json b/public/locales/en/invoice-totals.json
new file mode 100644
index 0000000..de7604b
--- /dev/null
+++ b/public/locales/en/invoice-totals.json
@@ -0,0 +1,5 @@
+{
+ "subtotal": "Subtotal",
+ "total": "Total",
+ "add_currency": "Add currency"
+}
diff --git a/public/locales/en/invoices-list.json b/public/locales/en/invoices-list.json
new file mode 100644
index 0000000..3ddee03
--- /dev/null
+++ b/public/locales/en/invoices-list.json
@@ -0,0 +1,7 @@
+{
+ "invoice_number": "No.",
+ "client": "Client",
+ "issued_at": "Issued at",
+ "total": "Total",
+ "status": "Status"
+}
diff --git a/public/locales/en/invoices.json b/public/locales/en/invoices.json
new file mode 100644
index 0000000..7aa5da1
--- /dev/null
+++ b/public/locales/en/invoices.json
@@ -0,0 +1,6 @@
+{
+ "title": "Invoices",
+ "new_invoice": "New invoice",
+ "export": "Export",
+ "import": "Import"
+}
diff --git a/public/locales/est.json b/public/locales/est.json
deleted file mode 100644
index 9d3e4cf..0000000
--- a/public/locales/est.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "invoices": {
- "title": "Arved",
- "new_invoice": "Uus arve"
- }
-}
diff --git a/public/locales/et/invoices.json b/public/locales/et/invoices.json
new file mode 100644
index 0000000..5ad6b7d
--- /dev/null
+++ b/public/locales/et/invoices.json
@@ -0,0 +1,4 @@
+{
+ "title": "Arved",
+ "new_invoice": "Uus arve"
+}
diff --git a/src/components/invoices/InvoiceRow.vue b/src/components/invoices/InvoiceRow.vue
index f580d5a..aabdd27 100644
--- a/src/components/invoices/InvoiceRow.vue
+++ b/src/components/invoices/InvoiceRow.vue
@@ -4,28 +4,28 @@
| No. | -Client | -Issued at | -Total | -Status | +{{ $t('invoice_number') }} | +{{ $t('client') }} | +{{ $t('issued_at') }} | +{{ $t('total') }} | +{{ $t('status') }} |
|---|