Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
yflory 8 years ago
commit 20b08a7847

@ -79,9 +79,13 @@ define(req, function(Default, Language) {
messages._getKey = function (key, argArray) {
if (!messages[key]) { return '?'; }
var text = messages[key];
if (typeof(text) === 'string') {
return text.replace(/\{(\d+)\}/g, function (str, p1) {
return argArray[p1] || null;
});
} else {
return text;
}
};
// Add handler to the language selector

Loading…
Cancel
Save