mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Improve implementation of i18n for Install Flow following comments on #611
* Move install flow i18n logic to install_view.js (from options.js) * Switch to using placeholders (instead of jQuery) for i18n messages with html. * Switch to using moustache template instead of jQuery for i18n substitution. // FREEBIE
This commit is contained in:
@@ -56,6 +56,10 @@
|
||||
});
|
||||
this.$el.append(dialog.el);
|
||||
}.bind(this));
|
||||
},
|
||||
i18n_with_link: function(message, href){
|
||||
var attrs = 'class="link" href="' + encodeURI(href) + '" target="_blank"';
|
||||
return i18n(message, attrs);
|
||||
}
|
||||
},{
|
||||
// Class attributes
|
||||
|
||||
Reference in New Issue
Block a user