mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Fix html10n usage in code that wouldn't allow lang switching
This commit is contained in:
parent
580d936e50
commit
0c9178d392
3 changed files with 14 additions and 9 deletions
|
@ -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', '']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue