Database is now at ~/.kisscount/kc.bdd
This commit is contained in:
@@ -79,7 +79,7 @@ SearchPanel::SearchPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent
|
||||
_category = new wxCheckListBox(this, wxID_ANY);
|
||||
_category->Append(_("Unknown"));
|
||||
for(categoryIt = user->_categories.begin(); categoryIt != user->_categories.end(); categoryIt++)
|
||||
_category->Append(categoryIt->name);
|
||||
_category->Append(wxGetTranslation(categoryIt->name));
|
||||
|
||||
wxString stypes[] = {_("Fix"), _("Non fix"), _("Checked"), _("Not checked")};
|
||||
_optype = new wxCheckListBox(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 4, stypes);
|
||||
@@ -381,7 +381,6 @@ static void ChangeName(Operation* op, void** params)
|
||||
void SearchPanel::OnButtonRename(wxCommandEvent& event)
|
||||
{
|
||||
std::vector<int> rows;
|
||||
User* user = _kiss->GetUser();
|
||||
std::vector<Operation>::iterator it;
|
||||
wxString category;
|
||||
wxString description;
|
||||
|
||||
@@ -84,7 +84,7 @@ StatsPanel::StatsPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent),
|
||||
categoryIt++, i++)
|
||||
{
|
||||
_categoriesIndexes[categoryIt->id] = i;
|
||||
_categories[i] = categoryIt->name ;
|
||||
_categories[i] = wxGetTranslation(categoryIt->name) ;
|
||||
}
|
||||
|
||||
DEFAULT_FONT(font);
|
||||
|
||||
Reference in New Issue
Block a user