1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Enabled PT-BR locale

This commit is contained in:
eldadfux 2019-09-28 22:30:43 +03:00
parent 8da99000b4
commit 7f0f533982

View file

@ -24,7 +24,7 @@ const APP_EMAIL_TEAM = 'team@' . APP_DOMAIN;
const APP_EMAIL_SECURITY = 'security@' . APP_DOMAIN;
const APP_USERAGENT = APP_NAME . '-Server/%s Please report abuse at ' . APP_EMAIL_SECURITY;
const APP_MODE_ADMIN = 'admin';
const APP_LOCALES = ['en', 'he'];
const APP_LOCALES = ['en', 'he', 'pt-br'];
const APP_PAGING_LIMIT = 15;
$register = new Registry();
@ -128,6 +128,7 @@ Locale::$exceptions = false;
Locale::setLanguage('en', include __DIR__ . '/config/locale/en.php');
Locale::setLanguage('he', include __DIR__ . '/config/locale/he.php');
Locale::setLanguage('pt-br', include __DIR__ . '/config/locale/pt-br.php');
if(in_array($locale, APP_LOCALES)) {
Locale::setDefault($locale);