mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 06:46:49 +01:00
* [ADD] Added Portuguese/Brazilian translation. Thanks to @Fizard for contribution. Related #662.
This commit is contained in:
@@ -170,7 +170,7 @@ class Language
|
||||
*/
|
||||
public static function getAvailableLanguages()
|
||||
{
|
||||
return [
|
||||
$langs = [
|
||||
'Español' => 'es_ES',
|
||||
'Catalá' => 'ca_ES',
|
||||
'English' => 'en_US',
|
||||
@@ -179,8 +179,13 @@ class Language
|
||||
'Français' => 'fr_FR',
|
||||
'Polski' => 'po_PO',
|
||||
'русский' => 'ru_RU',
|
||||
'Nederlands' => 'nl_NL'
|
||||
'Nederlands' => 'nl_NL',
|
||||
'Português' => 'pt_BR'
|
||||
];
|
||||
|
||||
ksort($langs);
|
||||
|
||||
return $langs;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -382,7 +382,7 @@ class Util
|
||||
*/
|
||||
public static function getVersion($retBuild = false, $normalized = false)
|
||||
{
|
||||
$build = 17072401;
|
||||
$build = 17072501;
|
||||
$version = [2, 1, 12];
|
||||
|
||||
if ($normalized === true) {
|
||||
|
||||
BIN
inc/locales/pt_BR/LC_MESSAGES/messages.mo
Normal file
BIN
inc/locales/pt_BR/LC_MESSAGES/messages.mo
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user