X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2FLanguageConverter.php;h=41d282b56f4d1ec843bb2f2be9498cc78a124c9c;hb=c54766586acab549f186e81eeab259845112809d;hp=787930907ec043bc46f6f3a62b60cd3885c83f2c;hpb=1eb99044c35cb0c06ce16989a9bfafb3a7a1b21a;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php index 787930907e..41d282b56f 100644 --- a/languages/LanguageConverter.php +++ b/languages/LanguageConverter.php @@ -1092,13 +1092,13 @@ class LanguageConverter { // text should be splited by ";" only if a valid variant // name exist after the markup, for example: // -{zh-hans:xxx;zh-hant:\ - // yyy;}- + // yyy;}- // we should split it as: // array( - // [0] => 'zh-hans:xxx' - // [1] => 'zh-hant:yyy' - // [2] => '' - // ) + // [0] => 'zh-hans:xxx' + // [1] => 'zh-hant:yyy' + // [2] => '' + // ) $pat = '/;\s*(?='; foreach ( $this->mVariants as $variant ) { // zh-hans:xxx;zh-hant:yyy