aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
diff options
context:
space:
mode:
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
(