v1.18.x
Julian Lam 7 years ago
parent 8b0e6611d9
commit 211482bbc0

@ -439,6 +439,9 @@ app.cacheBuster = null;
.replace('{pageTitle}', function () { return title; })
.replace('{browserTitle}', function () { return config.browserTitle; });
// Allow translation strings in title on ajaxify (#5927)
title = title.replace(/[/g, '[').replace(/]/g, ']');
translator.translate(title, function (translated) {
titleObj.titles[0] = translated;
app.alternatingTitle('');

Loading…
Cancel
Save