1
0
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:
Alex Coelho 2017-02-03 15:34:12 -02:00
parent 09af61ab3f
commit c2c3e0232d

View File

@ -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);
}