bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info, wxWindow* parent)
{
- if ( !wxDialog::Create(parent, wxID_ANY, _("About ") + info.GetName(),
+ if ( !wxDialog::Create(parent, wxID_ANY, wxString::Format(_("About %s"), info.GetName()),
wxDefaultPosition, wxDefaultSize, wxRESIZE_BORDER|wxDEFAULT_DIALOG_STYLE) )
return false;
fname.GetPathWithSep(),
fname.GetFullName()
#ifdef __WXMSW__
- , _("Executable files (*.exe)|*.exe|All files (*.*)|*.*||")
+ , _("Executable files (*.exe)|*.exe|") + wxALL_FILES
#endif // __WXMSW__
);
if ( dlg.ShowModal() == wxID_OK )
wxMenuBar *pMenuBar = new wxMenuBar;
wxMenu *pMenu = new wxMenu;
#if CAN_SAVE_FILES
- pMenu->Append(Menu_Save, _("&Save..."), _("Save log contents to file"));
+ pMenu->Append(Menu_Save, _("Save &As..."), _("Save log contents to file"));
#endif // CAN_SAVE_FILES
pMenu->Append(Menu_Clear, _("C&lear"), _("Clear the log contents"));
pMenu->AppendSeparator();
wxComboBox *choice = new wxComboBox( this,
wxPRINTID_PAPERSIZE,
- _("Paper Size"),
+ _("Paper size"),
wxDefaultPosition,
wxSize(width, wxDefaultCoord),
n, choices );
wxPageSetupDialogData* data)
: wxPageSetupDialogBase( parent,
wxID_ANY,
- _("Page Setup"),
+ _("Page setup"),
wxPoint(0,0),
wxSize(600, 600),
wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL )
m_paperTypeChoice = new wxComboBox( this,
wxPRINTID_PAPERSIZE,
- _("Paper Size"),
+ _("Paper size"),
wxDefaultPosition,
wxSize(300, wxDefaultCoord),
n, choices );
wxComboBox *choice = new wxComboBox( this,
wxPRINTID_PAPERSIZE,
- _("Paper Size"),
+ _("Paper size"),
wxPoint(*x, *y),
wxSize(300, wxDefaultCoord),
n, choices );
#if wxUSE_LIBMSPACK
_("Compressed HTML Help file (*.chm)|*.chm|") +
#endif
- _("All files (*.*)|*");
+ wxALL_FILES;
wxString s = wxFileSelector(_("Open HTML document"),
wxEmptyString,
wxEmptyString,
property->GetAttribute(wxS("DialogTitle"), _("Choose a file")),
property->GetAttribute(wxS("InitialPath"), path),
wxEmptyString,
- property->GetAttribute(wxPG_FILE_WILDCARD, _("All files (*.*)|*.*")),
+ property->GetAttribute(wxPG_FILE_WILDCARD, wxALL_FILES),
0,
wxDefaultPosition );
{
m_flags |= wxPG_PROP_SHOW_FULL_FILENAME;
m_indFilter = -1;
- SetAttribute( wxPG_FILE_WILDCARD, _("All files (*.*)|*.*") );
+ SetAttribute( wxPG_FILE_WILDCARD, wxALL_FILES);
SetValue(value);
}
if ( window->GetWindowStyle() & wxMAXIMIZE_BOX )
menu.Append(wxID_MAXIMIZE_FRAME , _("Ma&ximize"));
menu.AppendSeparator();
- menu.Append(wxID_CLOSE_FRAME, _("Close\tAlt-F4"));
+ menu.Append(wxID_CLOSE_FRAME, _("&Close") + _T("\t") + _("Alt+") + _T("F4"));
if ( window->GetWindowStyle() & wxMAXIMIZE_BOX )
{
int rc = pthread_setspecific(gs_keySelf, thread);
if ( rc != 0 )
{
- wxLogSysError(rc, _("Cannot start thread: error writing TLS"));
+ wxLogSysError(rc, _("Cannot start thread: error writing TLS."));
return (void *)-1;
}