Localization in progress ...
This commit is contained in:
@@ -85,3 +85,16 @@ int User::GetOperationsNumber(int month, int year)
|
||||
{
|
||||
return (*_operations[year])[month].size();
|
||||
}
|
||||
|
||||
wxLanguage User::GetLanguage()
|
||||
{
|
||||
wxString res = _preferences[wxT("language")];
|
||||
long val;
|
||||
|
||||
if (res == wxT(""))
|
||||
return wxLANGUAGE_ENGLISH_UK ;
|
||||
|
||||
res.ToLong(&val);
|
||||
|
||||
return (wxLanguage)val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user