translate the descriptions in SetDesc(wxCmdLineEntryDesc)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-29 12:34:39 +00:00
parent 58cd63ac59
commit 49751a58f0

View File

@@ -369,17 +369,20 @@ void wxCmdLineParser::SetDesc(const wxCmdLineEntryDesc *desc)
switch ( desc->kind )
{
case wxCMD_LINE_SWITCH:
AddSwitch(desc->shortName, desc->longName, desc->description,
AddSwitch(desc->shortName, desc->longName,
wxGetTranslation(desc->description),
desc->flags);
break;
case wxCMD_LINE_OPTION:
AddOption(desc->shortName, desc->longName, desc->description,
AddOption(desc->shortName, desc->longName,
wxGetTranslation(desc->description),
desc->type, desc->flags);
break;
case wxCMD_LINE_PARAM:
AddParam(desc->description, desc->type, desc->flags);
AddParam(wxGetTranslation(desc->description),
desc->type, desc->flags);
break;
default: