Fixed issue #1531: Inserting space character in translations (in Overviews menu item and User menu) not possible.
This commit is contained in:
parent
8af6e2b9eb
commit
a4d000cda5
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class _i18nSingleton extends Spine.Module
|
|||
return string if !string
|
||||
|
||||
if App.Config.get('translation_inline')
|
||||
return '<span class="translation" onclick="arguments[0].stopPropagation(); return false" contenteditable="true" title="' + App.Utils.htmlEscape(string) + '">' + App.Utils.htmlEscape(@translate(string)) + '</span>'
|
||||
return '<span class="translation" onkeydown="arguments[0].stopPropagation(); return true" onclick="arguments[0].stopPropagation(); return false" contenteditable="true" title="' + App.Utils.htmlEscape(string) + '">' + App.Utils.htmlEscape(@translate(string)) + '</span>'
|
||||
|
||||
translated = @translate(string, args, true, true)
|
||||
|
||||
|
|
Loading…
Reference in a new issue