Fix html10n usage in code that wouldn't allow lang switching

This commit is contained in:
Marcel Klehr 2012-12-20 11:19:51 +01:00
parent 580d936e50
commit 0c9178d392
3 changed files with 14 additions and 9 deletions

View file

@ -169,7 +169,7 @@ var padeditbar = (function()
{
if ((!(ace.ace_getRep().selStart && ace.ace_getRep().selEnd)) || ace.ace_isCaret())
{
if (window.confirm(_("pad.editbar.clearcolors")))
if (window.confirm(html10n.get("pad.editbar.clearcolors")))
{
ace.ace_performDocumentApplyAttributesToCharRange(0, ace.ace_getRep().alltext.length, [
['author', '']