Fix some typos in the samples.
Mostly in the comments, but also a couple in the user-visible strings.
This commit is contained in:
parent
d30c075a22
commit
2afddd5e22
@ -146,7 +146,7 @@ void FormMain::OnDumpList( wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxVariant& a = v[n];
|
||||
|
||||
t.Printf(wxT(" atribute %i: name=\"%s\" (type=\"%s\" value=\"%s\")\n"),(int)n,
|
||||
t.Printf(wxT(" attribute %i: name=\"%s\" (type=\"%s\" value=\"%s\")\n"),(int)n,
|
||||
a.GetName().c_str(),a.GetType().c_str(),a.GetString().c_str());
|
||||
text += t;
|
||||
}
|
||||
|
@ -622,7 +622,7 @@ bool Edit::InitializePrefs (const wxString &name) {
|
||||
SetFoldFlags (wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED |
|
||||
wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED);
|
||||
|
||||
// set spaces and indention
|
||||
// set spaces and indentation
|
||||
SetTabWidth (4);
|
||||
SetUseTabs (false);
|
||||
SetTabIndents (true);
|
||||
@ -647,7 +647,7 @@ bool Edit::InitializePrefs (const wxString &name) {
|
||||
bool Edit::LoadFile ()
|
||||
{
|
||||
#if wxUSE_FILEDLG
|
||||
// get filname
|
||||
// get filename
|
||||
if (!m_filename) {
|
||||
wxFileDialog dlg (this, wxT("Open file"), wxEmptyString, wxEmptyString,
|
||||
wxT("Any file (*)|*"), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR);
|
||||
@ -684,7 +684,7 @@ bool Edit::SaveFile ()
|
||||
// return if no change
|
||||
if (!Modified()) return true;
|
||||
|
||||
// get filname
|
||||
// get filename
|
||||
if (!m_filename) {
|
||||
wxFileDialog dlg (this, wxT("Save file"), wxEmptyString, wxEmptyString, wxT("Any file (*)|*"),
|
||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT);
|
||||
@ -741,7 +741,7 @@ EditProperties::EditProperties (Edit *edit,
|
||||
SetTitle (_("Properties"));
|
||||
wxString text;
|
||||
|
||||
// fullname
|
||||
// full name
|
||||
wxBoxSizer *fullname = new wxBoxSizer (wxHORIZONTAL);
|
||||
fullname->Add (10, 0);
|
||||
fullname->Add (new wxStaticText (this, wxID_ANY, _("Full filename"),
|
||||
|
@ -91,7 +91,7 @@ class App: public wxApp {
|
||||
friend class AppFrame;
|
||||
|
||||
public:
|
||||
//! the main function called durning application start
|
||||
//! the main function called during application start
|
||||
virtual bool OnInit ();
|
||||
|
||||
//! application exit function
|
||||
@ -485,7 +485,7 @@ void AppFrame::CreateMenu ()
|
||||
menuEdit->Append (wxID_SELECTALL, _("&Select all\tCtrl+A"));
|
||||
menuEdit->Append (myID_SELECTLINE, _("Select &line\tCtrl+L"));
|
||||
|
||||
// hilight submenu
|
||||
// highlight submenu
|
||||
wxMenu *menuHilight = new wxMenu;
|
||||
int Nr;
|
||||
for (Nr = 0; Nr < g_LanguagePrefsSize; Nr++) {
|
||||
@ -500,7 +500,7 @@ void AppFrame::CreateMenu ()
|
||||
|
||||
// View menu
|
||||
wxMenu *menuView = new wxMenu;
|
||||
menuView->Append (myID_HILIGHTLANG, _("&Hilight language .."), menuHilight);
|
||||
menuView->Append (myID_HILIGHTLANG, _("&Highlight language .."), menuHilight);
|
||||
menuView->AppendSeparator();
|
||||
menuView->AppendCheckItem (myID_FOLDTOGGLE, _("&Toggle current fold\tCtrl+T"));
|
||||
menuView->AppendCheckItem (myID_OVERTYPE, _("&Overwrite mode\tIns"));
|
||||
|
Loading…
Reference in New Issue
Block a user