Skip to content

Commit fdaf5d4

Browse files
committed
Change the name of some menu entries.
- regex => Regular expression - specify which package is loaded - Load the operatingsystem package was in the wrong submenu
1 parent de8b6b6 commit fdaf5d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/wxMaximaFrame.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -1215,18 +1215,18 @@ void wxMaximaFrame::SetupMaximaMenu() {
12151215
stringMenu->Append(wxWindow::NewControlId(), _("Transformations"), transformMenu);
12161216
m_MaximaMenu->Append(wxWindow::NewControlId(), _("String"), stringMenu);
12171217
wxMenu *regexMenu = new wxMenu;
1218-
regexMenu->Append(EventIDs::menu_sregex_load, _("Load the regex processor"));
1219-
regexMenu->Append(EventIDs::menu_sregex_regex_compile, _("Compile a regex"));
1218+
regexMenu->Append(EventIDs::menu_sregex_load, _("Load the regular expression package (sregex)"));
1219+
regexMenu->Append(EventIDs::menu_sregex_regex_compile, _("Compile a regular expression"));
12201220
regexMenu->Append(EventIDs::menu_sregex_regex_match_pos, _("Position of a match"));
12211221
regexMenu->Append(EventIDs::menu_sregex_regex_match, _("Return a match"));
12221222
regexMenu->Append(EventIDs::menu_sregex_regex_split, _("Split on match"));
12231223
regexMenu->Append(EventIDs::menu_sregex_subst_first, _("Substitute first match"));
12241224
regexMenu->Append(EventIDs::menu_sregex_regex_subst, _("Substitute all matches"));
12251225
regexMenu->Append(EventIDs::menu_sregex_string_to_regex,
1226-
_("Regex that matches a string"));
1227-
stringMenu->Append(wxWindow::NewControlId(), _("RegEx"), regexMenu);
1226+
_("Regular expression that matches a string"));
1227+
stringMenu->Append(wxWindow::NewControlId(), _("Regular expressions"), regexMenu);
12281228
wxMenu *operatingSystemMenu = new wxMenu;
1229-
regexMenu->Append(EventIDs::menu_opsyst_load, _("Load the file/dir operations"));
1229+
operatingSystemMenu->Append(EventIDs::menu_opsyst_load, _("Load the file/dir operations (operatingsystem)"));
12301230
wxMenu *dirMenu = new wxMenu;
12311231
dirMenu->Append(EventIDs::menu_opsyst_directory, _("List directory"));
12321232
dirMenu->Append(EventIDs::menu_opsyst_getcurrentdirectory, _("Get current directory"));
@@ -1249,17 +1249,17 @@ void wxMaximaFrame::SetupMaximaMenu() {
12491249
wxMenu *envMenu = new wxMenu;
12501250
envMenu->Append(EventIDs::menu_opsyst_getenv, _("Read environment variable..."));
12511251
operatingSystemMenu->Append(wxWindow::NewControlId(), _("Environment variables"), envMenu);
1252-
m_MaximaMenu->Append(wxWindow::NewControlId(), _("mkdir,..."), operatingSystemMenu);
1252+
m_MaximaMenu->Append(wxWindow::NewControlId(), _("File/directory functions"), operatingSystemMenu);
12531253

12541254
m_gentranMenu = new wxMenu;
1255-
m_gentranMenu->Append(EventIDs::gentran_load, _("Load the translation generator"));
1255+
m_gentranMenu->Append(EventIDs::gentran_load, _("Load the translation generator (gentran)"));
12561256
m_gentranMenu->AppendRadioItem(EventIDs::gentran_lang_c, _("Output C"));
12571257
m_gentranMenu->AppendRadioItem(EventIDs::gentran_lang_fortran, _("Output Fortran"));
12581258
m_gentranMenu->AppendRadioItem(EventIDs::gentran_lang_ratfor,
12591259
_("Output Rational Fortran"));
12601260
m_gentranMenu->Append(EventIDs::gentran_to_stdout, _("Convert"));
12611261
m_gentranMenu->Append(EventIDs::gentran_to_file, _("Convert + Write to file"));
1262-
m_MaximaMenu->Append(wxWindow::NewControlId(), _("maxima to other language"), m_gentranMenu);
1262+
m_MaximaMenu->Append(wxWindow::NewControlId(), _("Maxima to other language"), m_gentranMenu);
12631263
m_MenuBar->Append(m_MaximaMenu, _("&Maxima"));
12641264
}
12651265

0 commit comments

Comments
 (0)