summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-06-21 17:37:54 +0200
committerMichael Tänzer <neo@nhng.de>2014-06-21 17:37:54 +0200
commit5b192d098b2ff647ff46693f17fe27f7fe874850 (patch)
tree594aa86a97bafc4e2fb83a523a8fff07b63e9b3f
parent8fdd089f1f938aff06448a33ac79bd0b5cf79a4f (diff)
downloadcacert-devel-5b192d098b2ff647ff46693f17fe27f7fe874850.tar.gz
cacert-devel-5b192d098b2ff647ff46693f17fe27f7fe874850.tar.xz
cacert-devel-5b192d098b2ff647ff46693f17fe27f7fe874850.zip
Revert "bug-1280: Parse the language code from the locale."
This reverts commit f3885b3bc9ff61da78fb541151f16b0ecfdf62eb.
-rw-r--r--pages/wot/9.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/pages/wot/9.php b/pages/wot/9.php
index 94523f2..a8b9413 100644
--- a/pages/wot/9.php
+++ b/pages/wot/9.php
@@ -49,11 +49,7 @@
<? if($userlang != "") { ?>
<tr>
<td class="DataTD"><?=_("Language")?>:</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>
+ <td class="DataTD" align="left"><? printf(_("%s prefers to be contacted in %s"), sanitizeHTML($user['fname']), L10n::$translations[$userlang]) ?></td>
</tr>
<? } ?>
<?