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', 'index.html',
'conversation.html', 'conversation.html',
'options.html', 'options.html',
'_locales/**',
'protos/*', 'protos/*',
'js/**', 'js/**',
'stylesheets/*.css', '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 = window.textsecure || {};
window.textsecure.registration = { window.textsecure.registration = {
done: function () { done: function () {

View file

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