summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37179d3)
raw | patch | inline | side by side (parent: 37179d3)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:33:26 +0000 (05:33 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:33:26 +0000 (05:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6524 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 46d91667a81694b767f75431ced2c3a6bc55d81c..14e35c412129f45d39be3fd464f75f96f715c4f7 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
}
}
+ /* We've just one zh variation. Fix code... */
+ if (preg_match('/zh/', $lang)){
+ return ("zh_CN");
+ }
+
return (strtolower($lang)."_".strtoupper($lang));
}