From 46df6c01d397cb308d95e6bd1620a271a34a2984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sat, 19 Feb 2011 20:30:52 +0100 Subject: [PATCH] Bug with categories translation --- src/view/grid/GridAccount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/grid/GridAccount.cpp b/src/view/grid/GridAccount.cpp index 12dfcdb..1b61ba1 100644 --- a/src/view/grid/GridAccount.cpp +++ b/src/view/grid/GridAccount.cpp @@ -88,7 +88,7 @@ GridAccount::GridAccount(KissCount* kiss, wxWindow *parent, wxWindowID id) : wxG categoryIt != user->_categories.end(); categoryIt++, i++) { - _categories[i] = categoryIt->name ; + _categories[i] = wxGetTranslation(categoryIt->name) ; } Connect(id, wxEVT_GRID_CELL_CHANGE, wxGridEventHandler(GridAccount::OnOperationModified), NULL, this);