Commit e9d3272e authored by lilia's avatar lilia
Browse files

Prepare for i18n

// FREEBIE
parent d03d6fb7
......@@ -106,6 +106,7 @@ module.exports = function(grunt) {
'index.html',
'conversation.html',
'options.html',
'_locales/**',
'protos/*',
'js/**',
'stylesheets/*.css',
......
......@@ -157,6 +157,11 @@
}
};
// Translate
window.i18n = function(message) {
return chrome.i18n.getMessage(message);
};
window.textsecure = window.textsecure || {};
window.textsecure.registration = {
done: function () {
......
......@@ -7,6 +7,7 @@
"version": "0.1.5",
"offline_enabled": false,
"minimum_chrome_version": "37",
"default_locale": "en",
"permissions": [
"unlimitedStorage",
......
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