Bug#2970: Spelling corrections for English menu help text
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Fri Apr 7 20:28:02 UTC 2000
Package: kdevelop
Version: 1.1
Severity: normal
Bugreport ID : 16:14,07.04.00
Originator : Richard Dale
E-Mail : Richard_Dale at tipitina.demon.co.uk
Subject : Spelling corrections for English menu help text
Error Class : software bug
Error Location : I don´t know
Priority : low
Bug Description ---------------------------
I've corrected various typos in the menu help text in ckdevelop.cpp, eg
Searchs --> Searches
Switchs --> Switches
'Enabled / disabled' --> 'Enabled/disabled' (it wasn't consistent)
In cclassview.cpp, some of the menu help options were being set
up wrongly - eg method declaration for definition and vice versa
How to repeat the error -------------------
Please look at the text in the status bar for the mispelt messages
Bugfix or Workaround ----------------------
Here is a patch with the changes to ckdevelop.cpp and classview.cpp (I hope
it arrives in a readable state via this email):
diff -Naur -X /home/duke/bin/patcher.exclude kdevelop-1.1/kdevelop/ckdevelop.cpp kdevelop-1.1objc/kdevelop/ckdevelop.cpp
--- kdevelop-1.1/kdevelop/ckdevelop.cpp Fri Feb 25 17:40:43 2000
+++ kdevelop-1.1objc/kdevelop/ckdevelop.cpp Fri Apr 7 13:31:42 2000
@@ -3818,9 +3818,9 @@
ON_STATUS_MSG(ID_EDIT_INSERT_FILE, i18n("Inserts a file at the current position"))
- ON_STATUS_MSG(ID_EDIT_SEARCH, i18n("Searchs the file for an expression"))
+ ON_STATUS_MSG(ID_EDIT_SEARCH, i18n("Searches the file for an expression"))
ON_STATUS_MSG(ID_EDIT_REPEAT_SEARCH, i18n("Repeats the last search"))
- ON_STATUS_MSG(ID_EDIT_REPLACE, i18n("Searchs and replace expression"))
+ ON_STATUS_MSG(ID_EDIT_REPLACE, i18n("Searches and replace expression"))
ON_STATUS_MSG(ID_EDIT_SEARCH_IN_FILES, i18n("Opens the search in files dialog to search for expressions over several files"))
ON_STATUS_MSG(ID_EDIT_RUN_TO_CURSOR, i18n("Run program to this cursor position"))
@@ -3842,12 +3842,12 @@
ON_STATUS_MSG(ID_VIEW_NEXT_ERROR, i18n("Switches to the file and line the next error was reported"))
ON_STATUS_MSG(ID_VIEW_PREVIOUS_ERROR, i18n("Switches to the file and line the previous error was reported"))
- ON_STATUS_MSG(ID_VIEW_TREEVIEW, i18n("Enables / disables the treeview"))
- ON_STATUS_MSG(ID_VIEW_OUTPUTVIEW, i18n("Enables / disables the outputview"))
+ ON_STATUS_MSG(ID_VIEW_TREEVIEW, i18n("Enables/disables the treeview"))
+ ON_STATUS_MSG(ID_VIEW_OUTPUTVIEW, i18n("Enables/disables the outputview"))
- ON_STATUS_MSG(ID_VIEW_TOOLBAR, i18n("Enables / disables the standard toolbar"))
- ON_STATUS_MSG(ID_VIEW_BROWSER_TOOLBAR, i18n("Enables / disables the browser toolbar"))
- ON_STATUS_MSG(ID_VIEW_STATUSBAR, i18n("Enables / disables the statusbar"))
+ ON_STATUS_MSG(ID_VIEW_TOOLBAR, i18n("Enables/disables the standard toolbar"))
+ ON_STATUS_MSG(ID_VIEW_BROWSER_TOOLBAR, i18n("Enables/disables the browser toolbar"))
+ ON_STATUS_MSG(ID_VIEW_STATUSBAR, i18n("Enables/disables the statusbar"))
ON_STATUS_MSG(ID_VIEW_REFRESH, i18n("Refreshes current view"))
ON_STATUS_MSG(ID_VIEW_IN_KFM, i18n("Opens the current document in the KFM browser"))
@@ -3917,28 +3917,28 @@
ON_STATUS_MSG(ID_BOOKMARKS_PREVIOUS, i18n("Goes to the previous bookmark in the current window file"))
ON_STATUS_MSG(ID_BOOKMARKS_CLEAR, i18n("Clears the bookmarks for the current window"))
- ON_STATUS_MSG(ID_HELP_BACK, i18n("Switchs to last browser page"))
- ON_STATUS_MSG(ID_HELP_FORWARD, i18n("Switchs to next browser page"))
+ ON_STATUS_MSG(ID_HELP_BACK, i18n("Switches to last browser page"))
+ ON_STATUS_MSG(ID_HELP_FORWARD, i18n("Switches to next browser page"))
ON_STATUS_MSG(ID_HELP_BROWSER_RELOAD, i18n("Reloads the current browser page"))
ON_STATUS_MSG(ID_HELP_BROWSER_STOP, i18n("Cancels the document request"))
- ON_STATUS_MSG(ID_HELP_SEARCH_TEXT, i18n("Searchs the selected text in the documentation"))
+ ON_STATUS_MSG(ID_HELP_SEARCH_TEXT, i18n("Searches the selected text in the documentation"))
ON_STATUS_MSG(ID_HELP_SEARCH, i18n("Lets you search individually for an expression"))
- ON_STATUS_MSG(ID_HELP_CONTENTS, i18n("Switchs to KDevelop's User Manual"))
- ON_STATUS_MSG(ID_HELP_TUTORIAL, i18n("Switchs to the KDevelop Programming Handbook"))
+ ON_STATUS_MSG(ID_HELP_CONTENTS, i18n("Switches to KDevelop's User Manual"))
+ ON_STATUS_MSG(ID_HELP_TUTORIAL, i18n("Switches to the KDevelop Programming Handbook"))
ON_STATUS_MSG(ID_HELP_TIP_OF_DAY, i18n("Opens the Tip of the Day dialog with hints for using KDevelop"))
- ON_STATUS_MSG(ID_HELP_REFERENCE, i18n("Switchs to the C/C++-Reference"))
- ON_STATUS_MSG(ID_HELP_QT_LIBRARY, i18n("Switchs to the QT-Documentation"))
- ON_STATUS_MSG(ID_HELP_KDE_CORE_LIBRARY, i18n("Switchs to the KDE-Core-Documentation"))
- ON_STATUS_MSG(ID_HELP_KDE_GUI_LIBRARY, i18n("Switchs to the KDE-GUI-Documentation"))
- ON_STATUS_MSG(ID_HELP_KDE_KFILE_LIBRARY, i18n("Switchs to the KDE-File-Documentation"))
- ON_STATUS_MSG(ID_HELP_KDE_HTML_LIBRARY, i18n("Switchs to the KDE-Html-Documentation"))
- ON_STATUS_MSG(ID_HELP_PROJECT_API, i18n("Switchs to the project's API-Documentation"))
- ON_STATUS_MSG(ID_HELP_USER_MANUAL, i18n("Switchs to the project's User-Manual"))
+ ON_STATUS_MSG(ID_HELP_REFERENCE, i18n("Switches to the C/C++-Reference"))
+ ON_STATUS_MSG(ID_HELP_QT_LIBRARY, i18n("Switches to the QT-Documentation"))
+ ON_STATUS_MSG(ID_HELP_KDE_CORE_LIBRARY, i18n("Switches to the KDE-Core-Documentation"))
+ ON_STATUS_MSG(ID_HELP_KDE_GUI_LIBRARY, i18n("Switches to the KDE-GUI-Documentation"))
+ ON_STATUS_MSG(ID_HELP_KDE_KFILE_LIBRARY, i18n("Switches to the KDE-File-Documentation"))
+ ON_STATUS_MSG(ID_HELP_KDE_HTML_LIBRARY, i18n("Switches to the KDE-Html-Documentation"))
+ ON_STATUS_MSG(ID_HELP_PROJECT_API, i18n("Switches to the project's API-Documentation"))
+ ON_STATUS_MSG(ID_HELP_USER_MANUAL, i18n("Switches to the project's User-Manual"))
ON_STATUS_MSG(ID_HELP_HOMEPAGE, i18n("Enter the KDevelop Homepage"))
ON_STATUS_MSG(ID_HELP_BUG_REPORT, i18n("Sends a bug-report email to the KDevelop Team"))
@@ -3946,9 +3946,9 @@
ON_STATUS_MSG(ID_HELP_DLGNOTES, i18n("Some information about the dialog editor..."))
ON_STATUS_MSG(ID_HELP_ABOUT, i18n("Programmer's Hall of Fame..."))
- ON_STATUS_MSG(ID_CV_WIZARD, i18n("Switchs to declaration/implementation"))
- ON_STATUS_MSG(ID_CV_VIEW_DECLARATION, i18n("Switchs to the method's declaration"))
- ON_STATUS_MSG(ID_CV_VIEW_DEFINITION, i18n("Switchs to the method's definition"))
+ ON_STATUS_MSG(ID_CV_WIZARD, i18n("Switches to declaration/implementation"))
+ ON_STATUS_MSG(ID_CV_VIEW_DECLARATION, i18n("Switches to the method's declaration"))
+ ON_STATUS_MSG(ID_CV_VIEW_DEFINITION, i18n("Switches to the method's definition"))
ON_STATUS_MSG(ID_CV_GRAPHICAL_VIEW, i18n("Opens the graphical inheritance tree"))
ON_STATUS_MSG(ID_CV_CLASS_TOOL, i18n("Opens the classtool dialog"))
ON_STATUS_MSG(ID_CV_CLASS_BASE_CLASSES, i18n("Displays the inherited classes of the current class"))
@@ -3969,8 +3971,8 @@
ON_STATUS_MSG(ID_KDLG_FILE_SAVE_AS, i18n("Saves the current dialog under a new filename"))
ON_STATUS_MSG(ID_KDLG_VIEW_PROPVIEW, i18n("Enables/Disables the properties window"))
- ON_STATUS_MSG(ID_KDLG_VIEW_TOOLBAR, i18n("Enables / disables the standard toolbar"))
- ON_STATUS_MSG(ID_KDLG_VIEW_STATUSBAR, i18n("Enables / disables the statusbar"))
+ ON_STATUS_MSG(ID_KDLG_VIEW_TOOLBAR, i18n("Enables/disables the standard toolbar"))
+ ON_STATUS_MSG(ID_KDLG_VIEW_STATUSBAR, i18n("Enables/disables the statusbar"))
ON_STATUS_MSG(ID_KDLG_VIEW_REFRESH, i18n("Refreshes current view"))
ON_STATUS_MSG(ID_KDLG_VIEW_GRID, i18n("Sets the grid size of the editing widget grid snap"))
@@ -3979,7 +3981,7 @@
ON_STATUS_MSG(ID_LFV_NEW_GROUP, i18n("Lets you create a new logical file group"))
ON_STATUS_MSG(ID_LFV_REMOVE_GROUP, i18n("Removes the selected logical file group"))
ON_STATUS_MSG(ID_LFV_GROUP_PROP, i18n("Shows the group's properties"))
- ON_STATUS_MSG(ID_LFV_SHOW_PATH_ITEM, i18n("Displays the absolute / relative path"))
+ ON_STATUS_MSG(ID_LFV_SHOW_PATH_ITEM, i18n("Displays the absolute/relative path"))
ON_STATUS_MSG(ID_FILE_DELETE, i18n("Deletes the selected file"))
// RFV popups
diff -Naur -X /home/duke/bin/patcher.exclude kdevelop-1.1/kdevelop/cclassview.cpp kdevelop-1.1objc/kdevelop/cclassview.cpp
--- kdevelop-1.1/kdevelop/cclassview.cpp Sun Feb 27 10:09:00 2000
+++ kdevelop-1.1objc/kdevelop/cclassview.cpp Fri Apr 7 16:11:38 2000
@@ -165,8 +165,8 @@
// Class popup
classPopup.setTitle( i18n("Class"));
- classPopup.insertItem( i18n("Go to declaration" ), this, SLOT( slotViewDeclaration()),ID_CV_VIEW_DECLARATION);
- classPopup.insertItem( i18n("Add member function..."), this, SLOT(slotMethodNew()), ID_CV_METHOD_NEW);
+ classPopup.insertItem( i18n("Go to declaration" ), this, SLOT( slotViewDeclaration()), 0, ID_CV_VIEW_CLASS_DECLARATION);
+ classPopup.insertItem( i18n("Add member function..."), this, SLOT(slotMethodNew()), 0, ID_CV_METHOD_NEW);
classPopup.insertItem( i18n("Add member variable..."), this, SLOT(slotAttributeNew()),0, ID_CV_ATTRIBUTE_NEW);
// id = classPopup.insertItem( i18n("Implement virtual function..."), this, SLOT(slotImplementVirtual()),0, ID_CV_IMPLEMENT_VIRTUAL);
// classPopup.setItemEnabled( id, false );
@@ -189,8 +190,8 @@
// Method popup
methodPopup.setTitle( i18n( "Method" ) );
- methodPopup.insertItem( i18n("Go to definition" ), this, SLOT( slotViewDefinition()), 0, ID_CV_VIEW_DECLARATION);
- methodPopup.insertItem( i18n("Go to declaration" ), this, SLOT(slotViewDeclaration() ),0,ID_CV_VIEW_DEFINITION);
+ methodPopup.insertItem( i18n("Go to definition" ), this, SLOT( slotViewDefinition()), 0, ID_CV_VIEW_DEFINITION);
+ methodPopup.insertItem( i18n("Go to declaration" ), this, SLOT(slotViewDeclaration() ),0,ID_CV_VIEW_DECLARATION);
methodPopup.insertSeparator();
methodPopup.insertItem( *(treeH->getIcon( THDELETE )), i18n( "Delete method" ), this, SLOT(slotMethodDelete()),0, ID_CV_METHOD_DELETE);
@@ -203,8 +204,8 @@
// Slot popup
slotPopup.setTitle( i18n( "Slot" ) );
- slotPopup.insertItem( i18n("Go to definition" ), this, SLOT( slotViewDefinition()),0, ID_CV_VIEW_DECLARATION);
- slotPopup.insertItem( i18n("Go to declaration" ), this, SLOT(slotViewDeclaration()),0, ID_CV_VIEW_DEFINITION);
+ slotPopup.insertItem( i18n("Go to definition" ), this, SLOT( slotViewDefinition()),0, ID_CV_VIEW_DEFINITION);
+ slotPopup.insertItem( i18n("Go to declaration" ), this, SLOT(slotViewDeclaration()),0, ID_CV_VIEW_DECLARATION);
slotPopup.insertSeparator();
slotPopup.insertItem( *(treeH->getIcon( THDELETE )), i18n( "Delete slot" ), this, SLOT(slotMethodDelete()),0,ID_CV_METHOD_DELETE);
System Information ------------------------
KDevelop version : 1.1
KDE version : 1.1.2
QT version : 1.44
OS/Distribution : LinuxPPC
Compiler : gcc
misc :
More information about the KDevelop-devel
mailing list