Use Account structure in ImportEngine instead of simply id for unresolved accounts (more information can be given)

Remove "Operating expenses" default category and add "Car" in replacement
This commit is contained in:
2011-04-25 17:36:58 +02:00
parent 9b91448492
commit ec3fa8d7d5
6 changed files with 26 additions and 17 deletions

View File

@@ -352,7 +352,7 @@ void KissCount::ChangeName(const wxString& name)
// To enable translation during xgettext
wxString default_cats[] = {
_("Fix"), _("Groceries"), _("Hobbies"), _("Operating expense"),
_("Fix"), _("Groceries"), _("Hobbies"), _("Car"),
_("Unexpected"), _("Other")
};
@@ -383,7 +383,7 @@ void KissCount::NewUser(const wxString& name)
AddCategory(cat);
cat.parent = wxT("0") ; cat.name = wxT("Hobbies") ; cat.backcolor = OWN_GREEN; cat.forecolor = *wxBLACK; cat.fix_cost = false;
AddCategory(cat);
cat.parent = wxT("0") ; cat.name = wxT("Operating exepense") ; cat.backcolor = OWN_GREEN; cat.forecolor = *wxBLACK; cat.fix_cost = false;
cat.parent = wxT("0") ; cat.name = wxT("Car") ; cat.backcolor = OWN_GREEN; cat.forecolor = *wxBLACK; cat.fix_cost = false;
AddCategory(cat);
cat.parent = wxT("0") ; cat.name = wxT("Unexpected") ; cat.backcolor = OWN_GREEN; cat.forecolor = *wxBLACK; cat.fix_cost = false;
AddCategory(cat);