CC-1960: Internationalize Airtime / Support translations
-added language option in preferences
This commit is contained in:
parent
c344282e4d
commit
25ddd083bc
5 changed files with 45 additions and 1 deletions
|
@ -428,6 +428,16 @@ class Application_Model_Preference
|
|||
{
|
||||
return self::getValue("timezone");
|
||||
}
|
||||
|
||||
public static function SetLocale($locale)
|
||||
{
|
||||
self::setValue("locale", $locale);
|
||||
}
|
||||
|
||||
public static function GetLocale()
|
||||
{
|
||||
return self::getValue("locale");
|
||||
}
|
||||
|
||||
public static function SetStationLogo($imagePath)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue