mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
Adapting messageformat for brazilian
This commit is contained in:
parent
09af61ab3f
commit
c2c3e0232d
@ -79,6 +79,8 @@ function $translateMessageFormatInterpolation($translateSanitization, $cacheFact
|
||||
$translateInterpolator.setLocale = function (locale) {
|
||||
$mf = $cache.get(locale);
|
||||
if (!$mf) {
|
||||
if(locale === "pt-BR")
|
||||
locale = "br";
|
||||
$mf = new MessageFormat(locale);
|
||||
$cache.put(locale, $mf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user