Skip to content

Commit

Permalink
Merge pull request #346 from andrejs-mamontovs/master
Browse files Browse the repository at this point in the history
Add Latvian culture
  • Loading branch information
billba authored Feb 25, 2017
2 parents 77a0f1f + e218ebf commit 222c625
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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āma 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..."
}
}

Expand All @@ -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';

Expand Down

0 comments on commit 222c625

Please sign in to comment.