all packages now support localisation

This commit is contained in:
Xuan Sang LE
2018-03-10 01:05:34 +01:00
parent 9e0cd29030
commit d072566be8
19 changed files with 539 additions and 276 deletions

View File

@ -145,7 +145,7 @@ class Blogger extends this.OS.GUI.BaseApplication
action: (e) ->
me.openDialog "FileDiaLog", (d, n, p) ->
p.asFileHandler().publish (r) ->
return me.error __("Cannot export file for embeding to text") if r.error
return me.error __("Cannot export file for embedding to text") if r.error
doc = me.editor.codemirror.getDoc()
doc.replaceSelection "![](#{me._api.handler.shared}/#{r.result})"
, __("Select image file"), { mimes: ["image/.*"] }