translate tips which appear inside _() in wxFileTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -196,6 +196,9 @@ wxString wxFileTipProvider::GetTip()
|
|||||||
tip = tip.BeforeLast(wxT('\"'));
|
tip = tip.BeforeLast(wxT('\"'));
|
||||||
// ...and replace escaped quotes
|
// ...and replace escaped quotes
|
||||||
tip.Replace(wxT("\\\""), wxT("\""));
|
tip.Replace(wxT("\\\""), wxT("\""));
|
||||||
|
|
||||||
|
// and translate it as requested
|
||||||
|
tip = wxGetTranslation(tip);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tip;
|
return tip;
|
||||||
|
Reference in New Issue
Block a user