aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-08-04 14:25:18 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-08-04 14:25:18 +0000
commita1081ade5d21fc9598b94e40b60c35cf9d95f855 (patch)
treee1e82458065b0b232d43d5c5f4364c731b2d7c95 /h-source/Application/Include/languages.php
parent3fca26af6610062a27517ece1f07ad8d551980fa (diff)
added tabs on the description entry - updated jquery ui library
Diffstat (limited to 'h-source/Application/Include/languages.php')
-rw-r--r--h-source/Application/Include/languages.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 5dd3858..b9ed55a 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -33,6 +33,16 @@ class Lang
'de' => 'de.png,Deutsch',
);
+ public static function getLabel($langCode)
+ {
+ if (array_key_exists($langCode,self::$complete))
+ {
+ $all = explode(',',self::$complete[$langCode]);
+ return $all[1];
+ }
+ return $langCode;
+ }
+
public static $i18n = array(
'it' => array
(