]> git.mjollnir.org Git - moodle.git/commitdiff
added the utf8 languages to the list of exceptions in the function break_up_long_words().
authorgustav_delius <gustav_delius>
Fri, 14 Jan 2005 11:53:10 +0000 (11:53 +0000)
committergustav_delius <gustav_delius>
Fri, 14 Jan 2005 11:53:10 +0000 (11:53 +0000)
lib/weblib.php

index 963c7855908b10d79bdcd83ec575eec2128a1261..8c6646b1a207fac6aa5e9555d119c55a667ef522 100644 (file)
@@ -357,7 +357,7 @@ function stripslashes_recursive($var) {
  */
 function break_up_long_words($string, $maxsize=20, $cutchar=' ') {
 
-    if (in_array(current_language(), array('ja', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) {  // Multibyte languages
+    if (in_array(current_language(), array('ja', 'ja_utf8', 'kn_utf8', 'sr_utf8', 'vi_utf8', 'zh_cn', 'zh_tw', 'zh_tw_utf8'))) {  // Multibyte languages
         return $string;
     }