Fix i18n-unfriendly About menu code in wxOSX.
The code didn't follow the golden rule of localization and broke user-visible string into separately translated substrings. Replace with the same _("About %s") string already used in wxAboutDialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -598,11 +598,11 @@ static wxMenu *CreateAppleMenu()
|
||||
// recommended, sometimes these items really don't make sense.
|
||||
if ( wxApp::s_macAboutMenuItemId != wxID_NONE )
|
||||
{
|
||||
wxString aboutLabel(_("About"));
|
||||
wxString aboutLabel;
|
||||
if ( wxTheApp )
|
||||
aboutLabel << ' ' << wxTheApp->GetAppDisplayName();
|
||||
aboutLabel.Printf(_("About %s"), wxTheApp->GetAppDisplayName());
|
||||
else
|
||||
aboutLabel << "...";
|
||||
aboutLabel = _("About...");
|
||||
appleMenu->Append( wxApp::s_macAboutMenuItemId, aboutLabel);
|
||||
appleMenu->AppendSeparator();
|
||||
}
|
||||
|
Reference in New Issue
Block a user