Commit f96515b9 authored by JC Brand's avatar JC Brand

Merge pull request #28 from matheus-morfi/languageptbr

Adding pt_BR translations
parents 48e3c73d 6c5a9efe
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
"es": "locale/es/LC_MESSAGES/es", "es": "locale/es/LC_MESSAGES/es",
"hu": "locale/hu/LC_MESSAGES/hu", "hu": "locale/hu/LC_MESSAGES/hu",
"it": "locale/it/LC_MESSAGES/it", "it": "locale/it/LC_MESSAGES/it",
"ptbr": "locale/pt_BR/LC_MESSAGES/pt-br",
"sjcl": "Libraries/sjcl", "sjcl": "Libraries/sjcl",
"tinysort": "Libraries/jquery.tinysort", "tinysort": "Libraries/jquery.tinysort",
"underscore": "Libraries/underscore", "underscore": "Libraries/underscore",
......
This diff is collapsed.
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
auto_subscribe: false, auto_subscribe: false,
bosh_service_url: 'https://bind.opkode.im', // Please use this connection manager only for testing purposes bosh_service_url: 'https://bind.opkode.im', // Please use this connection manager only for testing purposes
hide_muc_server: false, hide_muc_server: false,
i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
prebind: false, prebind: false,
show_controlbox_by_default: true, show_controlbox_by_default: true,
xhr_user_search: false xhr_user_search: false
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
"es": "locale/es/LC_MESSAGES/es", "es": "locale/es/LC_MESSAGES/es",
"de": "locale/de/LC_MESSAGES/de", "de": "locale/de/LC_MESSAGES/de",
"hu": "locale/hu/LC_MESSAGES/hu", "hu": "locale/hu/LC_MESSAGES/hu",
"it": "locale/it/LC_MESSAGES/it" "it": "locale/it/LC_MESSAGES/it",
"ptbr": "locale/pt_BR/LC_MESSAGES/pt-br"
} }
}); });
...@@ -25,14 +26,17 @@ ...@@ -25,14 +26,17 @@
'es', 'es',
'de', 'de',
'hu', 'hu',
"it" "it",
], function (jed, af, en, es, de, hu, it) { 'ptbr'
root.locales = {}; ], function (jed, af, en, es, de, hu, it, ptbr) {
root.locales.af = af; root.locales = {
root.locales.en = en; 'af': af,
root.locales.es = es; 'en': en,
root.locales.de = de; 'es': es,
root.locales.hu = hu; 'de': de,
root.locales.it = it; 'hu': hu,
'it': it,
'pt-br': ptbr
};
}); });
})(this); })(this);
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment