Permalink
Browse files

MDL-37323 add support for _dlg strings in our TinyMCE subplugins

Credit goes to Étienne FLORENT, thanks.
  • Loading branch information...
1 parent 322af44 commit 6606784c3f59eb630fca07e94817ccee38f9ed43 @skodak skodak committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/editor/tinymce/all_strings.php
@@ -72,7 +72,7 @@
$componentstrings = get_string_manager()->load_component_strings(
'tinymce_' . $component, $lang);
foreach ($componentstrings as $key => $value) {
- if (strpos($key, "$component:") !== 0) {
+ if (strpos($key, "$component:") !== 0 and strpos($key, $component.'_dlg:') !== 0) {
// Ignore normal lang strings.
continue;
}

0 comments on commit 6606784

Please sign in to comment.