dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad85441
)
let getVariants() returns the content language by default. this makes sure messages...
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Mon, 27 Sep 2004 00:06:40 +0000
(
00:06
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Mon, 27 Sep 2004 00:06:40 +0000
(
00:06
+0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
e037764
..
32376a4
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2035,10
+2035,11
@@
class Language {
return $text;
}
- #
see if we have
a list of language variants for conversion.
+ #
returns
a list of language variants for conversion.
# right now mainly used in the Chinese conversion
function getVariants() {
- return array();
+ $lang = strtolower(substr(get_class($this), 8));
+ return array($lang);
}