placeholder for help translations
This commit is contained in:
parent
c665b3727c
commit
73b6cfc6c2
1 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue