Make Mac OS X string translatable in wxGetOsDescription().
This commit is contained in:
@@ -675,10 +675,8 @@ bool wxCheckOsVersion(int majorVsn, int minorVsn)
|
|||||||
wxString wxGetOsDescription()
|
wxString wxGetOsDescription()
|
||||||
{
|
{
|
||||||
NSString* osDesc = [NSProcessInfo processInfo].operatingSystemVersionString;
|
NSString* osDesc = [NSProcessInfo processInfo].operatingSystemVersionString;
|
||||||
wxCFStringRef cf(wxCFRetain(osDesc));
|
|
||||||
|
|
||||||
return wxString::Format(wxT("Mac OS X %s"),
|
return wxString::Format("%s %s", _("Mac OS X"), wxCFStringRef::AsString(osDesc));
|
||||||
cf.AsString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxOSX_USE_COCOA
|
#endif // wxOSX_USE_COCOA
|
||||||
|
Reference in New Issue
Block a user