From d93d1db7cbaaf1b3f979877d2af19c38599e3bb2 Mon Sep 17 00:00:00 2001 From: Andrey Mamontov Date: Sun, 19 Feb 2017 22:25:51 +0200 Subject: [PATCH 1/2] add Latvian culture --- src/Strings.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Strings.ts b/src/Strings.ts index 649fa1e741..40ffd3939f 100644 --- a/src/Strings.ts +++ b/src/Strings.ts @@ -68,6 +68,19 @@ const localizedStrings: LocalizedStrings = { messageSending: "отправка", timeSent: " в %1", consolePlaceholder: "Введите ваше сообщение..." + }, + 'lv-lv': { + title: "Tērzēšana", + send: "Sūtīt", + unknownFile: "[Nezināms tips '%1']", + unknownCard: "[Nezināms kartīte '%1']", + receiptTax: "Nodoklis", + receiptTotal: "Kopsumma", + messageRetry: "Mēģināt vēlreiz", + messageFailed: "Neizdevās nosūtīt", + messageSending: "Nosūtīšana", + timeSent: " %1", + consolePlaceholder: "Ierakstiet savu ziņu..." } } @@ -84,6 +97,8 @@ export const strings = (locale: string) => { locale = 'pl-pl'; else if (locale.startsWith('ru')) locale = 'ru-ru'; + else if (locale.startsWith('lv')) + locale = 'lv-lv'; else locale = 'en-us'; From e218ebffcdebc30050501de328fcd60aab3e41d6 Mon Sep 17 00:00:00 2001 From: Andrey Mamontov Date: Sun, 19 Feb 2017 22:30:07 +0200 Subject: [PATCH 2/2] Spelling fix --- src/Strings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Strings.ts b/src/Strings.ts index 40ffd3939f..abc84467ab 100644 --- a/src/Strings.ts +++ b/src/Strings.ts @@ -73,7 +73,7 @@ const localizedStrings: LocalizedStrings = { title: "Tērzēšana", send: "Sūtīt", unknownFile: "[Nezināms tips '%1']", - unknownCard: "[Nezināms kartīte '%1']", + unknownCard: "[Nezināma kartīte '%1']", receiptTax: "Nodoklis", receiptTotal: "Kopsumma", messageRetry: "Mēģināt vēlreiz",