Hi,
I send patch. It solves translation for object type names in dialog
Grand Wizard.
Regards
Marek
diff --recursive -c pgadmin3.svn/pgadmin/frm/frmGrantWizard.cpp pgadmin3.new/pgadmin/frm/frmGrantWizard.cpp
*** pgadmin3.svn/pgadmin/frm/frmGrantWizard.cpp 2009-08-01 16:52:58.000000000 +0200
--- pgadmin3.new/pgadmin/frm/frmGrantWizard.cpp 2009-08-01 17:09:30.000000000 +0200
***************
*** 155,161 ****
if (obj->CanEdit())
{
objectArray.Add(obj);
! chkList->Append(obj->GetTypeName() + wxT(" ") + obj->GetFullIdentifier()); // no translation!
}
}
}
--- 155,161 ----
if (obj->CanEdit())
{
objectArray.Add(obj);
! chkList->Append((wxString)wxGetTranslation(obj->GetTypeName()) + wxT(" ") + obj->GetFullIdentifier());
}
}
}
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers