mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
add configuration for pt-br
This commit is contained in:
parent
0394cd7631
commit
191d9a7b2b
@ -19,7 +19,8 @@
|
||||
"de": "src/locale/messages.de.xlf",
|
||||
"nl-NL": "src/locale/messages.nl_NL.xlf",
|
||||
"fr": "src/locale/messages.fr.xlf",
|
||||
"en-GB": "src/locale/messages.en_GB.xlf"
|
||||
"en-GB": "src/locale/messages.en_GB.xlf",
|
||||
"pt-BR": "src/locale/messages.pt_BR.xlf"
|
||||
}
|
||||
},
|
||||
"architect": {
|
||||
|
@ -64,11 +64,13 @@ import { CustomDatePipe } from './pipes/custom-date.pipe';
|
||||
import localeFr from '@angular/common/locales/fr';
|
||||
import localeNl from '@angular/common/locales/nl';
|
||||
import localeDe from '@angular/common/locales/de';
|
||||
import localePt from '@angular/common/locales/pt-PT';
|
||||
import localeEnGb from '@angular/common/locales/en-GB';
|
||||
|
||||
registerLocaleData(localeFr)
|
||||
registerLocaleData(localeNl)
|
||||
registerLocaleData(localeDe)
|
||||
registerLocaleData(localePt, "pt-BR")
|
||||
registerLocaleData(localeEnGb)
|
||||
|
||||
@NgModule({
|
||||
|
@ -83,7 +83,8 @@ export class SettingsService {
|
||||
{code: "en-gb", name: $localize`English (GB)`, englishName: "English (GB)"},
|
||||
{code: "de", name: $localize`German`, englishName: "German"},
|
||||
{code: "nl", name: $localize`Dutch`, englishName: "Dutch"},
|
||||
{code: "fr", name: $localize`French`, englishName: "French"}
|
||||
{code: "fr", name: $localize`French`, englishName: "French"},
|
||||
{code: "pt-br", name: $localize`Portuguese (Brazil)`, englishName: "Portuguese (Brazil)"}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -292,7 +292,8 @@ LANGUAGES = [
|
||||
("en-gb", _("English (GB)")),
|
||||
("de", _("German")),
|
||||
("nl-nl", _("Dutch")),
|
||||
("fr", _("French"))
|
||||
("fr", _("French")),
|
||||
("pt-br", _("Portuguese (Brazil)"))
|
||||
]
|
||||
|
||||
LOCALE_PATHS = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user