Skip to content

Commit

Permalink
* [ADD] Added Portuguese/Brazilian translation. Thanks to @fizard for…
Browse files Browse the repository at this point in the history
… contribution. Related #662.
  • Loading branch information
nuxsmin committed Jul 25, 2017
1 parent 13e52d0 commit 1bdd636
Show file tree
Hide file tree
Showing 4 changed files with 1,625 additions and 1,970 deletions.
9 changes: 7 additions & 2 deletions inc/SP/Core/Language.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static function setLocales($lang)
*/
public static function getAvailableLanguages()
{
return [
$langs = [
'Español' => 'es_ES',
'Catalá' => 'ca_ES',
'English' => 'en_US',
Expand All @@ -179,8 +179,13 @@ public static function getAvailableLanguages()
'Français' => 'fr_FR',
'Polski' => 'po_PO',
'русский' => 'ru_RU',
'Nederlands' => 'nl_NL'
'Nederlands' => 'nl_NL',
'Português' => 'pt_BR'
];

ksort($langs);

return $langs;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/SP/Util/Util.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public static function getAppInfo($index = null)
*/
public static function getVersion($retBuild = false, $normalized = false)
{
$build = 17072401;
$build = 17072501;
$version = [2, 1, 12];

if ($normalized === true) {
Expand Down
Binary file added inc/locales/pt_BR/LC_MESSAGES/messages.mo
Binary file not shown.
Loading

0 comments on commit 1bdd636

Please sign in to comment.