mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Use 'html10n' instead of '_', i10nzed "unnamed author(s)"
This commit is contained in:
parent
4a20a26cbf
commit
763864539f
3 changed files with 10 additions and 2 deletions
|
@ -78,11 +78,12 @@ var padeditor = (function()
|
|||
|
||||
html10n.bind('localized', function() {
|
||||
$("#languagemenu").val(html10n.getLanguage());
|
||||
// translate the value of 'unnamed' and 'Enter your name' textboxes in the userlist
|
||||
$('input[data-l10n-id]').each(function(key, input)
|
||||
{
|
||||
input = $(input);
|
||||
if(input.hasClass("editempty"))
|
||||
input.val(_(input.attr("data-l10n-id")));
|
||||
input.val(html10n.get(input.attr("data-l10n-id")));
|
||||
});
|
||||
})
|
||||
$("#languagemenu").val(html10n.getLanguage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue