placeholder for help translations

This commit is contained in:
j 2017-07-20 12:26:29 +02:00
parent c665b3727c
commit 73b6cfc6c2

View file

@ -48,9 +48,17 @@ pandora.ui.helpDialog = function() {
that.select(data.value == '' ? 'help' : data.value); that.select(data.value == '' ? 'help' : data.value);
} }
} }
}); }),
url = '/static/html/help.html';
Ox.get('/static/html/help.html', function(html) { /*
// FIXME: should be updated at build time
if (Ox.contains(['ar'], pandora.user.ui.locale)) {
url = '/static/html/help.' + pandora.user.ui.locale + '.html';
}
*/
Ox.get(url, function(html) {
var $html = $('<div>'), var $html = $('<div>'),
strings = Ox.clone(pandora.site, true); strings = Ox.clone(pandora.site, true);