Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Credit goes to Étienne FLORENT, thanks.
  • Loading branch information...
commit 6606784c3f59eb630fca07e94817ccee38f9ed43 1 parent 322af44
Petr Skoda skodak authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/editor/tinymce/all_strings.php
2  lib/editor/tinymce/all_strings.php
@@ -72,7 +72,7 @@
72 72 $componentstrings = get_string_manager()->load_component_strings(
73 73 'tinymce_' . $component, $lang);
74 74 foreach ($componentstrings as $key => $value) {
75   - if (strpos($key, "$component:") !== 0) {
  75 + if (strpos($key, "$component:") !== 0 and strpos($key, $component.'_dlg:') !== 0) {
76 76 // Ignore normal lang strings.
77 77 continue;
78 78 }

0 comments on commit 6606784

Please sign in to comment.
Something went wrong with that request. Please try again.