add ru-ru locale

This commit is contained in:
jonaswinkler 2021-03-07 10:07:42 +01:00
parent c024efa578
commit 895c10600d
4 changed files with 8 additions and 3 deletions

View File

@ -22,7 +22,8 @@
"en-GB": "src/locale/messages.en_GB.xlf",
"pt-BR": "src/locale/messages.pt_BR.xlf",
"it-IT": "src/locale/messages.it_IT.xlf",
"ro-RO": "src/locale/messages.ro_RO.xlf"
"ro-RO": "src/locale/messages.ro_RO.xlf",
"ru-RU": "src/locale/messages.ru_RU.xlf"
}
},
"architect": {

View File

@ -73,6 +73,7 @@ import localePt from '@angular/common/locales/pt';
import localeIt from '@angular/common/locales/it';
import localeEnGb from '@angular/common/locales/en-GB';
import localeRo from '@angular/common/locales/ro';
import localeRu from '@angular/common/locales/ru';
registerLocaleData(localeFr)
@ -82,6 +83,7 @@ registerLocaleData(localePt, "pt-BR")
registerLocaleData(localeIt)
registerLocaleData(localeEnGb)
registerLocaleData(localeRo)
registerLocaleData(localeRu)
@NgModule({
declarations: [

View File

@ -94,7 +94,8 @@ export class SettingsService {
{code: "fr-fr", name: $localize`French`, englishName: "French", dateInputFormat: "dd/mm/yyyy"},
{code: "pt-br", name: $localize`Portuguese (Brazil)`, englishName: "Portuguese (Brazil)", dateInputFormat: "dd/mm/yyyy"},
{code: "it-it", name: $localize`Italian`, englishName: "Italian", dateInputFormat: "dd/mm/yyyy"},
{code: "ro-ro", name: $localize`Romanian`, englishName: "Romanian", dateInputFormat: "dd.mm.yyyy"}
{code: "ro-ro", name: $localize`Romanian`, englishName: "Romanian", dateInputFormat: "dd.mm.yyyy"},
{code: "ru-ru", name: $localize`Russian`, englishName: "Russian", dateInputFormat: "dd.mm.yyyy"},
]
}

View File

@ -302,7 +302,8 @@ LANGUAGES = [
("fr-fr", _("French")),
("pt-br", _("Portuguese (Brazil)")),
("it-it", _("Italian")),
("ro-ro", _("Romanian"))
("ro-ro", _("Romanian")),
("ru-ru", _("Russian"))
]
LOCALE_PATHS = [