summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb7ae7a)
raw | patch | inline | side by side (parent: cb7ae7a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:34:02 +0000 (05:34 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:34:02 +0000 (05:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6525 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 1fdcf1a0b17f6a2ed28d9ff01b338d1cb5f157de..144e03be0a55fd9569c3a8d1b7f4f5af1bf2397b 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));
}