Prepare for i18n

// FREEBIE
This commit is contained in:
lilia 2015-12-14 15:10:49 -08:00
parent d03d6fb7a5
commit e9d3272e87
5 changed files with 11 additions and 0 deletions

View File

@ -106,6 +106,7 @@ module.exports = function(grunt) {
'index.html',
'conversation.html',
'options.html',
'_locales/**',
'protos/*',
'js/**',
'stylesheets/*.css',

View File

@ -0,0 +1,2 @@
{
}

View File

@ -0,0 +1,2 @@
{
}

View File

@ -157,6 +157,11 @@
}
};
// Translate
window.i18n = function(message) {
return chrome.i18n.getMessage(message);
};
window.textsecure = window.textsecure || {};
window.textsecure.registration = {
done: function () {

View File

@ -7,6 +7,7 @@
"version": "0.1.5",
"offline_enabled": false,
"minimum_chrome_version": "37",
"default_locale": "en",
"permissions": [
"unlimitedStorage",