Commit 687f51b3 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

fix typos

parent 25df05af
......@@ -68,7 +68,7 @@ void cShortcutEditor::createGUI(QWidget *parent)
QLabel *lbl1 = new QLabel (i18n ("&Command"), basicPage);
d->cmd = new KLineEdit (basicPage);
lbl1->setBuddy (d->cmd);
d->cmd->setWhatsThis( i18n ("Command that will be executed when you press the"
d->cmd->setWhatsThis( i18n ("Command that will be executed when you press the "
"defined key combination.\n"
"Command can include aliases, script calls and similar stuff."));
......
......@@ -159,7 +159,7 @@ void cTriggerEditor::createGUI(QWidget *parent)
d->type->addItem (i18n ("Ends with"));
d->type->addItem (i18n ("Regular expression"));
d->type->setWhatsThis( i18n ("Type of matching. Trigger will only be activated "
"if this passes this type of test. Note that triggeres are always matched as whole words."));
"if this passes this type of test. Note that triggers are always matched as whole words."));
comboEditLayout->addWidget (d->type);
//Check if kdeutils kregeditor is available...
......
......@@ -281,7 +281,7 @@ dlgAppSettings::dlgAppSettings (QWidget *parent) : KPageDialog (parent)
//edhistory shouldn't be too wide too
edforceredraw->setMaximumSize (edforceredraw->minimumSizeHint ());
edforceredraw->setWhatsThis( i18n ("Forced redraw after adding a given amount "
"of lines. Setting this to a low number may prevent some displaying problems, at a cost"
"of lines. Setting this to a low number may prevent some displaying problems, at a cost "
"of higher CPU usage. Setting it to Never will disable the feature, redraw will "
"only occur when needed."));
......@@ -404,7 +404,7 @@ dlgAppSettings::dlgAppSettings (QWidget *parent) : KPageDialog (parent)
inputcombolayout->setColumnStretch (2, 3);
//swap ENTERS
chkswapenters = new QCheckBox (i18n ("S&wap ENTER and CTRL+ENTER for multi-line"), frminput);
chkswapenters->setWhatsThis( i18n ("When turned off, CTRL+ENTER will insert another"
chkswapenters->setWhatsThis( i18n ("When turned off, CTRL+ENTER will insert another "
"line in the multi-line input line, and ENTER will send commands to the server. "
"If turned of, then the behaviour of these keys gets swapped."));
//place widgets on the page
......
......@@ -346,7 +346,7 @@ void CMapClipboard::pasteElements(unsigned int currentZoneID)
count++;
}
// Check to see if the level exsits and if not create it
// Check to see if the level exists and if not create it
CMapLevel *level = NULL;
if (levelNum>=(int)zone->getLevels()->count())
{
......@@ -475,7 +475,7 @@ void CMapClipboard::pastePaths(unsigned int currentZoneID)
destZone = m_mapManager->getActiveView()->getCurrentlyViewedZone();
}
// Check to see if the level exsits and if not create it
// Check to see if the level exists and if not create it
CMapLevel *srcLevel = srcZone->getLevels()->at(srcLevelNum);
CMapLevel *destLevel = destZone->getLevels()->at(destLevelNum);
......@@ -563,7 +563,7 @@ void CMapClipboard::pasteLinks(unsigned int currentZoneID)
linkZone = m_mapManager->getActiveView()->getCurrentlyViewedZone();
}
// Check to see if the level exsits and if not create it
// Check to see if the level exists and if not create it
CMapLevel *linkLevel = linkZone->getLevels()->at(linkLevelNum);
// Copy link text element properties to new properties
......
......@@ -1420,7 +1420,7 @@ CMapPath *CMapManager::createPath(CMapRoom *srcRoom,CMapRoom *destRoom)
}
else
{
KMessageBox::information (NULL,i18n("A path already exsits at this location"),i18n("Kmud Mapper"));
KMessageBox::information (NULL,i18n("A path already exists at this location"),i18n("Kmud Mapper"));
}
}
......@@ -2208,7 +2208,7 @@ void CMapManager::movePlayerBy(directionTyp dir,bool create,QString specialCmd)
currentRoom = tmpRoom;
// Find the destination of the path that was traveled and if no path
// is exsits for the given direction create the room and path if necsarry
// exists for the given direction create the room and path if necessarry
CMapPath *path = currentRoom->getPathDirection(dir,specialCmd);
if (path)
......@@ -2303,7 +2303,7 @@ void CMapManager::movePlayerBy(directionTyp dir,bool create,QString specialCmd)
}
}
// Check to see if the room already exsits
// Check to see if the room already exists
CMapElement *elm = findElementAt(QPoint (x,y),destLevel);
CMapRoom *newCurrentRoom = NULL;
......@@ -3014,10 +3014,10 @@ void CMapManager::slotPathAddBend(void)
closeCommandGroup();
}
/** Used to delete the path segmeant under the pointer */
/** Used to delete the path segment under the pointer */
void CMapManager::slotPathDelBend(void)
{
openCommandGroup(i18n("Delete Path Segmeant"));
openCommandGroup(i18n("Delete Path Segment"));
CMapPath *path = (CMapPath *)m_selectedElement;
int seg = path->mouseInPathSeg(m_selectedPos,getActiveView()->getCurrentlyViewedZone());
......
......@@ -375,7 +375,7 @@ private slots:
void slotPathTwoWay(void);
/** Used to add a bend to the path under the pointer */
void slotPathAddBend(void);
/** Used to delete the path segmeant under the pointer */
/** Used to delete the path segment under the pointer */
void slotPathDelBend(void);
/** Used to edit the bends of the path under the pointer */
void slotPathEditBends(void);
......
......@@ -165,7 +165,7 @@ QPoint CMapPath::getIndent(directionTyp dir,QPoint pos)
return QPoint(x,y);
}
/** This method is used to calcualte the distance from a path segmeant */
/** This method is used to calcualte the distance from a path segment */
int CMapPath::getDistance (int x,int y,int x1,int x2,int y1,int y2)
{
int a = y1 - y2;
......@@ -667,7 +667,7 @@ void CMapPath::deletePathSegWithUndo(int seg)
{
QPoint bend = deletePathSeg(seg);
CMapCmdElementProperties *cmdDeleteBend = new CMapCmdElementProperties(getManager(),i18n("Delete Path Segmeant"),this);
CMapCmdElementProperties *cmdDeleteBend = new CMapCmdElementProperties(getManager(),i18n("Delete Path Segment"),this);
cmdDeleteBend->getNewProperties().writeEntry("DelBend",bend);
cmdDeleteBend->getOrgProperties().writeEntry("AddBend",bend);
getManager()->addCommand(cmdDeleteBend);
......
......@@ -177,7 +177,7 @@ private:
void getZonePathCords(bool *drawZoneTerminator,directionTyp *destDir,
QPoint *start,QPoint *end,QPoint *zonepos, CMapZone *zone);
/** This method is used to calcualte the distance from a path segmeant */
/** This method is used to calcualte the distance from a path segment */
int getDistance (int x,int y,int x1,int x2,int y1,int y2);
bool generatePath(directionTyp *destDir,QPoint *zonepos,CMapZone *currentZone);
/** Used to draw an arrow head */
......
......@@ -48,7 +48,7 @@ CMapViewStatusbar::CMapViewStatusbar(QWidget *parent, const char *name ) : Q3Fra
lblLevelStatus->setFocusProxy(parent);
lblZoneLabel = new QLabel(i18n("Zone : "),this);
lblZoneLabel->setFocusProxy(parent);
lblZoneStatus = new QLabel(i18n("Unamed"),this);
lblZoneStatus = new QLabel(i18n("Unnamed"),this);
lblZoneStatus->setFont(f);
lblZoneStatus->setFocusProxy(parent);
......
......@@ -29,7 +29,7 @@
CMapZone::CMapZone(CMapManager *manager,QRect rect,CMapLevel *level) : CMapElement(manager,rect,level)
{
label = i18n("Unamed Zone");
label = i18n("Unnamed Zone");
m_room_id_count = 0;
m_text_id_count = 0;
manager->m_zoneCount ++;
......
......@@ -139,12 +139,12 @@ int CMapFileFilterKmudOne::loadData(QString filename)
}
else if(major==1 && minor==3)
{
KMessageBox::information (NULL,i18n("This version of the file format is nolonger supported by kmud"),i18n("Kmud Mapper"));
KMessageBox::information (NULL,i18n("This version of the file format is no longer supported by kmud"),i18n("Kmud Mapper"));
return -2;
}
else
{
KMessageBox::information (NULL,i18n("The file is the incorect version,\nor not a valid map file."),i18n("Kmud Mapper"));
KMessageBox::information (NULL,i18n("The file is the incorrect version,\nor not a valid map file."),i18n("Kmud Mapper"));
return -2;
}
......
......@@ -202,7 +202,7 @@ void DlgMapSpeedwalkList::updateSpeedwalkList(CMapRoom *updatedRoom)
QString DlgMapSpeedwalkList::getRoomName(CMapRoom *room)
{
QString label =room->getLabel().trimmed();
if (label.isEmpty()) label = i18n("Unamed room");
if (label.isEmpty()) label = i18n("Unnamed room");
return label;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment