changeset 543 | dffcbfbc4e59 |
parent 395 | fa4c5ecb7c9a |
--- a/includes/clientside/tinymce/plugins/compat2x/editor_plugin_src.js Mon May 05 20:06:37 2008 -0400 +++ b/includes/clientside/tinymce/plugins/compat2x/editor_plugin_src.js Mon May 05 20:08:44 2008 -0400 @@ -559,6 +559,9 @@ translate : function(s) { var c = this.settings.language, o; + if (!s) + return s; + o = tinymce.EditorManager.i18n[c + '.' + s] || s.replace(/{\#([^}]+)\}/g, function(a, b) { return tinymce.EditorManager.i18n[c + '.' + b] || '{#' + b + '}'; });