String localization implemented (missing some strings)

This commit is contained in:
2010-07-07 21:04:38 +02:00
parent f6c64d5448
commit 63ca3a9c22
12 changed files with 145 additions and 31 deletions
+6
View File
@@ -245,3 +245,9 @@ void KissCount::KillMe()
_user = NULL;
_wxUI->ChangeUser();
}
void KissCount::SetLanguage(wxLanguage language)
{
_db->SetLanguage(_user, language);
_user->_preferences[wxT("language")] = wxString::Format(wxT("%d"), language) ;
}
+2
View File
@@ -45,6 +45,8 @@ class KissCount
void GenerateMonth(int monthFrom, int yearFrom, int monthTo, int yearTo);
void KillMe();
void SetLanguage(wxLanguage language);
private:
wxUI* _wxUI;
Database* _db;