diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/wot/9.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/wot/9.php b/pages/wot/9.php index a8b9413..94523f2 100644 --- a/pages/wot/9.php +++ b/pages/wot/9.php @@ -49,7 +49,11 @@ <? if($userlang != "") { ?> <tr> <td class="DataTD"><?=_("Language")?>:</td> - <td class="DataTD" align="left"><? printf(_("%s prefers to be contacted in %s"), sanitizeHTML($user['fname']), L10n::$translations[$userlang]) ?></td> + <? + $parts = explode("_", $userlang ,2); + $printlang = strtolower($parts[0]); + ?> + <td class="DataTD" align="left"><? printf(_("%s prefers to be contacted in %s"), sanitizeHTML($user['fname']), L10n::$translations[$printlang]) ?></td> </tr> <? } ?> <? |