Commit 34cc8d9c authored by Pino Toscano's avatar Pino Toscano
Browse files

i18n fixes

- fix capitalization
- remove contractions
- improve wording and punctuation of some sentences
- spell "I/O", "MIME", and "XML" correctly
- spell "KDiff3, "KGet", "KMail", "KRename", and "Krusader" correctly
- spell the Ctrl, Shift, and Tab keys correctly
parent 2d9f79fa
......@@ -244,7 +244,7 @@ void kio_krarcProtocol::mkdir(const KUrl& url, int permissions)
// pack the directory
KrLinecountingProcess proc;
proc << putCmd << getPath(arcFile->url()) << localeEncodedString(tempDir);
infoMessage(i18n("Creating %1 ...", url.fileName()));
infoMessage(i18n("Creating %1...", url.fileName()));
QDir::setCurrent(arcTempDir);
SET_KRCODEC
......@@ -337,7 +337,7 @@ void kio_krarcProtocol::put(const KUrl& url, int permissions, KIO::JobFlags flag
// pack the file
KrLinecountingProcess proc;
proc << putCmd << getPath(arcFile->url()) << localeEncodedString(tempFile);
infoMessage(i18n("Packing %1 ...", url.fileName()));
infoMessage(i18n("Packing %1...", url.fileName()));
QDir::setCurrent(arcTempDir);
SET_KRCODEC
......@@ -451,7 +451,7 @@ void kio_krarcProtocol::get(const KUrl& url, int tries)
this, SLOT(receivedData(KProcess *, QByteArray &)));
proc.setMerge(false);
}
infoMessage(i18n("Unpacking %1 ...", url.fileName()));
infoMessage(i18n("Unpacking %1...", url.fileName()));
// change the working directory to our arcTempDir
QDir::setCurrent(arcTempDir);
......@@ -596,7 +596,7 @@ void kio_krarcProtocol::del(KUrl const & url, bool isFile)
}
KrLinecountingProcess proc;
proc << delCmd << getPath(arcFile->url()) << localeEncodedString(file);
infoMessage(i18n("Deleting %1 ...", url.fileName()));
infoMessage(i18n("Deleting %1...", url.fileName()));
SET_KRCODEC
proc.start();
......@@ -626,7 +626,7 @@ void kio_krarcProtocol::stat(const KUrl & url)
if (listCmd.isEmpty()) {
error(ERR_UNSUPPORTED_ACTION,
i18n("Accessing files is not supported with the %1 archives", arcType));
i18n("Accessing files is not supported with %1 archives", arcType));
return;
}
QString path = getPath(url, KUrl::RemoveTrailingSlash);
......@@ -711,7 +711,7 @@ void kio_krarcProtocol::copy(const KUrl &url, const KUrl &dest, int, KIO::JobFla
proc.setStandardInputFile("/dev/ptmx");
proc.setOutputChannelMode(KProcess::SeparateChannels); // without this output redirection has no effect
infoMessage(i18n("Unpacking %1 ...", url.fileName()));
infoMessage(i18n("Unpacking %1...", url.fileName()));
proc.start();
proc.waitForFinished();
if (proc.exitStatus() != QProcess::NormalExit || !checkStatus(proc.exitCode())) {
......@@ -1844,7 +1844,7 @@ QString kio_krarcProtocol::getPassword()
authInfo.password.clear();
if (openPasswordDialog(authInfo, i18n("Accessing the file requires password.")) && !authInfo.password.isNull()) {
if (openPasswordDialog(authInfo, i18n("Accessing the file requires a password.")) && !authInfo.password.isNull()) {
KRDEBUG(authInfo.password);
return (password = authInfo.password);
}
......
......@@ -351,7 +351,7 @@ void ActionProperty::editProtocol()
QString currentText = lbShowonlyProtocol->currentItem()->text();
QString text = KInputDialog::getText(
i18n("Edit protocol"),
i18n("Edit Protocol"),
i18n("Set another protocol:"),
currentText,
&ok, this);
......@@ -388,7 +388,7 @@ void ActionProperty::editPath()
QString currentText = lbShowonlyPath->currentItem()->text();
QString text = KInputDialog::getText(
i18n("Edit path"),
i18n("Edit Path"),
i18n("Set another path:"),
currentText,
&ok, this);
......@@ -415,8 +415,8 @@ void ActionProperty::addMime()
currentText = lbShowonlyMime->currentItem()->text();
QString text = KInputDialog::getText(
i18n("New mime-type"),
i18n("Set a mime-type:"),
i18n("New MIME Type"),
i18n("Set a MIME type:"),
currentText,
&ok, this);
if (ok && !text.isEmpty()) {
......@@ -435,8 +435,8 @@ void ActionProperty::editMime()
QString currentText = lbShowonlyMime->currentItem()->text();
QString text = KInputDialog::getText(
i18n("Edit mime-type"),
i18n("Set another mime-type:"),
i18n("Edit MIME Type"),
i18n("Set another MIME type:"),
currentText,
&ok, this);
if (ok && !text.isEmpty()) {
......@@ -462,8 +462,8 @@ void ActionProperty::newFile()
currentText = lbShowonlyFile->currentItem()->text();
QString text = KInputDialog::getText(
i18n("New filename"),
i18n("Set a filename:"),
i18n("New File Name"),
i18n("Set a file name:"),
currentText,
&ok, this);
if (ok && !text.isEmpty()) {
......@@ -482,8 +482,8 @@ void ActionProperty::editFile()
QString currentText = lbShowonlyFile->currentItem()->text();
QString text = KInputDialog::getText(
i18n("Edit filename"),
i18n("Set another filename:"),
i18n("Edit File Name"),
i18n("Set another file name:"),
currentText,
&ok, this);
if (ok && !text.isEmpty()) {
......@@ -521,8 +521,8 @@ bool ActionProperty::validProperties()
if (leDistinctName->isEnabled())
if (krApp->actionCollection()->action(leDistinctName->text())) {
KMessageBox::error(this,
i18n("There already is an action with this name\n"
"If you do not have such a useraction the name is used by Krusader for an internal action")
i18n("There already is an action with this name.\n"
"If you do not have such a useraction the name is used by Krusader for an internal action.")
);
leDistinctName->setFocus();
return false;
......
......@@ -46,7 +46,7 @@
</sizepolicy>
</property>
<property name="whatsThis">
<string>A detailed description of the &lt;b&gt;Useraction&lt;/b&gt;. It is only displayed in the &lt;i&gt;Konfigurator&lt;/i&gt; and via &lt;code&gt;Shift-F1&lt;/code&gt;.</string>
<string>A detailed description of the &lt;b&gt;Useraction&lt;/b&gt;. It is only displayed in the &lt;i&gt;Konfigurator&lt;/i&gt; and via &lt;code&gt;Shift+F1&lt;/code&gt;.</string>
</property>
<property name="text">
<string>Description:</string>
......@@ -127,7 +127,7 @@
<item>
<widget class="KLineEdit" name="leDistinctName">
<property name="whatsThis">
<string>Unique name of the &lt;b&gt;Useraction&lt;/b&gt;. It is only used in the &lt;i&gt;Konfigurator&lt;/i&gt; and doesn't appear in any other menu.&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: The &lt;i&gt;Title&lt;/i&gt; shown in the &lt;b&gt;Usermenu&lt;/b&gt; can be set below.</string>
<string>Unique name of the &lt;b&gt;Useraction&lt;/b&gt;. It is only used in the &lt;i&gt;Konfigurator&lt;/i&gt; and does not appear in any other menu.&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: the &lt;i&gt;Title&lt;/i&gt; shown in the &lt;b&gt;Usermenu&lt;/b&gt; can be set below.</string>
</property>
</widget>
</item>
......@@ -179,7 +179,7 @@
</sizepolicy>
</property>
<property name="whatsThis">
<string>&lt;p&gt;Unique name of the &lt;b&gt;Useraction&lt;/b&gt;. It is only used in the &lt;i&gt;Konfigurator&lt;/i&gt; and doesn't appear in any other menu.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: The &lt;i&gt;Title&lt;/i&gt; shown in the &lt;b&gt;Usermenu&lt;/b&gt; can be set below.&lt;/p&gt;</string>
<string>&lt;p&gt;Unique name of the &lt;b&gt;Useraction&lt;/b&gt;. It is only used in the &lt;i&gt;Konfigurator&lt;/i&gt; and does not appear in any other menu.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;: The &lt;i&gt;Title&lt;/i&gt; shown in the &lt;b&gt;Usermenu&lt;/b&gt; can be set below.&lt;/p&gt;</string>
</property>
<property name="text">
<string>Identifier:</string>
......@@ -298,7 +298,7 @@ Please consult the handbook to learn more about the syntax.</string>
<item row="4" column="1" rowspan="3" colspan="3">
<widget class="KTextEdit" name="textDescription">
<property name="whatsThis">
<string>A detailed description of the &lt;b&gt;Useraction&lt;/b&gt;. It is only displayed in the &lt;i&gt;Konfigurator&lt;/i&gt; and via &lt;code&gt;Shift-F1&lt;/code&gt;.</string>
<string>A detailed description of the &lt;b&gt;Useraction&lt;/b&gt;. It is only displayed in the &lt;i&gt;Konfigurator&lt;/i&gt; and via &lt;code&gt;Shift+F1&lt;/code&gt;.</string>
</property>
</widget>
</item>
......@@ -694,7 +694,7 @@ Please consult the handbook to learn more about the syntax.</string>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Mime-type</string>
<string>MIME Type</string>
</attribute>
<layout class="QGridLayout">
<item row="0" column="0" rowspan="4">
......@@ -799,13 +799,13 @@ Please consult the handbook to learn more about the syntax.</string>
</widget>
<widget class="QWidget" name="TabPage">
<attribute name="title">
<string>Filename</string>
<string>File Name</string>
</attribute>
<layout class="QGridLayout">
<item row="0" column="0" rowspan="4">
<widget class="KrListWidget" name="lbShowonlyFile" native="true">
<property name="whatsThis">
<string>Show the &lt;b&gt;Useraction&lt;/b&gt; only for the filenames defined here. The wildcards '&lt;code&gt;?&lt;/code&gt;' and '&lt;code&gt;*&lt;/code&gt;' can be used.</string>
<string>Show the &lt;b&gt;Useraction&lt;/b&gt; only for the file names defined here. The wildcards '&lt;code&gt;?&lt;/code&gt;' and '&lt;code&gt;*&lt;/code&gt;' can be used.</string>
</property>
</widget>
</item>
......@@ -920,7 +920,7 @@ Please consult the handbook to learn more about the syntax.</string>
<item row="2" column="0">
<widget class="QCheckBox" name="chkDifferentUser">
<property name="whatsThis">
<string>Execute the &lt;i&gt;Command&lt;/i&gt; under a different user-id.</string>
<string>Execute the &lt;i&gt;Command&lt;/i&gt; under a different user ID.</string>
</property>
<property name="text">
<string>Run as different user:</string>
......@@ -933,7 +933,7 @@ Please consult the handbook to learn more about the syntax.</string>
<bool>false</bool>
</property>
<property name="whatsThis">
<string>Execute the &lt;i&gt;Command&lt;/i&gt; under a different user-id.</string>
<string>Execute the &lt;i&gt;Command&lt;/i&gt; under a different user ID.</string>
</property>
</widget>
</item>
......
......@@ -42,7 +42,7 @@
#define ICON(N) KIconLoader::global()->loadIcon(N, KIconLoader::Toolbar)
//This is the filter in the KFileDialog of Import/Export:
static const char* FILE_FILTER = I18N_NOOP("*.xml|xml-files\n*|all files");
static const char* FILE_FILTER = I18N_NOOP("*.xml|XML files\n*|All files");
UserActionPage::UserActionPage(QWidget* parent)
......@@ -221,7 +221,7 @@ void UserActionPage::slotRemoveAction()
int messageDelete = KMessageBox::warningContinueCancel(this, //parent
i18n("Are you sure that you want to remove all selected actions?"), //text
i18n("Remove selected actions?"), //caption
i18n("Remove Selected Actions?"), //caption
KStandardGuiItem::remove(), //Label for the continue-button
KStandardGuiItem::cancel(),
"Confirm Remove UserAction", //dontAskAgainName (for the config-file)
......@@ -272,7 +272,7 @@ void UserActionPage::slotExport()
if (doc.setContent(&file)) // getting here means the file exists and already contains an UserAction-XML-tree
answer = KMessageBox::warningYesNoCancel(this, //parent
i18n("This file already contains some useractions.\nDo you want to overwrite it or should it be merged with the selected actions?"), //text
i18n("Overwrite or merge?"), //caption
i18n("Overwrite or Merge?"), //caption
KStandardGuiItem::overwrite(), //label for Yes-Button
KGuiItem(i18n("Merge")) //label for No-Button
);
......@@ -281,7 +281,7 @@ void UserActionPage::slotExport()
if (answer == 0 && file.exists())
answer = KMessageBox::warningContinueCancel(this, //parent
i18n("This file already exists. Do you want to overwrite it?"), //text
i18n("Overwrite existing file?"), //caption
i18n("Overwrite Existing File?"), //caption
KStandardGuiItem::overwrite() //label for Continue-Button
);
......@@ -296,8 +296,8 @@ void UserActionPage::slotExport()
bool success = UserAction::writeToFile(doc, filename);
if (! success)
KMessageBox::error(this,
i18n("Cannot open %1 for writing!\nNothing exported.", filename),
i18n("Export failed!")
i18n("Cannot open %1 for writing.\nNothing exported.", filename),
i18n("Export Failed")
);
}
......
......@@ -314,7 +314,7 @@ CreateChecksumDlg::CreateChecksumDlg(const QStringList& files, bool containFolde
proc.setStandardErrorFile(tmpErr->fileName());
proc.setWorkingDirectory(path);
krApp->startWaiting(i18n("Calculating checksums ..."), 0, true);
krApp->startWaiting(i18n("Calculating checksums..."), 0, true);
QApplication::setOverrideCursor(Qt::WaitCursor);
proc.start();
// TODO make use of asynchronous process starting. waitForStarted(int msec = 30000) is blocking
......@@ -456,7 +456,7 @@ MatchChecksumDlg::MatchChecksumDlg(const QStringList& files, bool containFolders
proc.setStandardErrorFile(tmpErr->fileName());
proc.setWorkingDirectory(path);
krApp->startWaiting(i18n("Verifying checksums ..."), 0, true);
krApp->startWaiting(i18n("Verifying checksums..."), 0, true);
QApplication::setOverrideCursor(Qt::WaitCursor);
proc.start();
// TODO make use of asynchronous process starting. waitForStarted(int msec = 30000) is blocking
......
......@@ -34,7 +34,7 @@
#include "../krglobal.h"
//This is the filter in the KFileDialog of Import/Export:
static const char* FILE_FILTER = I18N_NOOP("*.keymap|Krusader keymaps\n*|all files");
static const char* FILE_FILTER = I18N_NOOP("*.keymap|Krusader keymaps\n*|All files");
KrKeyDialog::KrKeyDialog(QWidget * parent) : KShortcutsDialog(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsDisallowed /* allow letter shortcuts */, parent)
......@@ -80,8 +80,8 @@ void KrKeyDialog::slotImportShortcuts()
if (! conf.hasGroup("Shortcuts")) {
int answer = KMessageBox::warningContinueCancel(this, //parent
i18n("This file does not seem to be a valid keymap.\n"
"It may be a keymap using a legacy format. The import cannot be undone!"), //text
i18n("Try to import legacy format?"), //caption
"It may be a keymap using a legacy format. The import cannot be undone."), //text
i18n("Try to Import Legacy Format?"), //caption
KGuiItem(i18n("Import Anyway")), //Label for the continue-button
KStandardGuiItem::cancel(),
"Confirm Import Legacy Shortcuts" //dontAskAgainName (for the config-file)
......@@ -155,7 +155,7 @@ void KrKeyDialog::slotExportShortcuts()
// shortcuts
f.close();
else {
KMessageBox::error(this, i18n("<qt>Cannot open <b>%1</b> for writing!</qt>", filename));
KMessageBox::error(this, i18n("<qt>Cannot open <b>%1</b> for writing.</qt>", filename));
return;
}
......
......@@ -196,8 +196,8 @@ RadialMap::Widget::mousePressEvent(QMouseEvent *e)
else if (result == actEditDel) {
const KUrl url = Widget::url(m_focus->file());
const QString message = (m_focus->file()->isDir()
? i18n("<qt>The directory at <i>'%1'</i> will be <b>recursively</b> and <b>permanently</b> deleted!</qt>", url.prettyUrl())
: i18n("<qt><i>'%1'</i> will be <b>permanently</b> deleted!</qt>", url.prettyUrl()));
? i18n("<qt>The directory at <i>'%1'</i> will be <b>recursively</b> and <b>permanently</b> deleted.</qt>", url.prettyUrl())
: i18n("<qt><i>'%1'</i> will be <b>permanently</b> deleted.</qt>", url.prettyUrl()));
const int userIntention = KMessageBox::warningContinueCancel(this, message, QString(), KGuiItem(i18n("&Delete"), "edit-delete"));
if (userIntention == KMessageBox::Continue) {
......
......@@ -488,7 +488,7 @@ bool AdvancedFilter::getSettings(FilterSettings &s)
s.maxSize.unit = static_cast<FilterSettings::SizeUnit>(maxSizeType->currentIndex());
if (s.minSizeEnabled && s.maxSizeEnabled && (s.maxSize.size() < s.minSize.size())) {
KMessageBox::detailedError(this, i18n("Specified sizes are inconsistent!"),
KMessageBox::detailedError(this, i18n("Specified sizes are inconsistent."),
i18n("Please re-enter the values, so that the left side size "
"will be smaller than (or equal to) the right side size."));
minSizeAmount->setFocus();
......@@ -508,7 +508,7 @@ bool AdvancedFilter::getSettings(FilterSettings &s)
invalidDateMessage(modifiedBetweenData2);
return false;
} else if (s.modifiedBetween1 > s.modifiedBetween2) {
KMessageBox::detailedError(this, i18n("Dates are inconsistent!"),
KMessageBox::detailedError(this, i18n("Dates are inconsistent."),
i18n("The date on the left is later than the date on the right. "
"Please re-enter the dates, so that the left side date "
"will be earlier than the right side date."));
......@@ -536,7 +536,7 @@ bool AdvancedFilter::getSettings(FilterSettings &s)
if (s.modifiedInTheLastEnabled &&
s.modifiedInTheLast.amount && s.notModifiedInTheLast.amount) {
if (s.modifiedInTheLast.days() < s.notModifiedInTheLast.days()) {
KMessageBox::detailedError(this, i18n("Dates are inconsistent!"),
KMessageBox::detailedError(this, i18n("Dates are inconsistent."),
i18n("The date on top is later than the date on the bottom. "
"Please re-enter the dates, so that the top date "
"will be earlier than the bottom date."));
......
......@@ -118,7 +118,7 @@ void FilterTabs::loadFromProfile(QString name)
FilterSettings s;
s.load(KConfigGroup(krConfig, name));
if(!s.isValid())
KMessageBox::error(tabWidget, i18n("Couldn't load profile."));
KMessageBox::error(tabWidget, i18n("Could not load profile."));
else
applySettings(s);
}
......
......@@ -103,7 +103,7 @@ GeneralFilter::GeneralFilter(FilterTabs *tabs, int properties, QWidget *parent,
// Options for name filtering
QGroupBox *nameGroup = new QGroupBox(this);
nameGroup->setTitle(i18n("File name"));
nameGroup->setTitle(i18n("File Name"));
QGridLayout *nameGroupLayout = new QGridLayout(nameGroup);
nameGroupLayout->setAlignment(Qt::AlignTop);
nameGroupLayout->setSpacing(6);
......@@ -219,7 +219,7 @@ GeneralFilter::GeneralFilter(FilterTabs *tabs, int properties, QWidget *parent,
// Options for don't search in
QGroupBox *dontSearchInGroup = new QGroupBox(this);
dontSearchInGroup->setTitle(i18n("&Don't search in"));
dontSearchInGroup->setTitle(i18n("&Do not search in"));
QGridLayout *dontSearchInLayout = new QGridLayout(dontSearchInGroup);
dontSearchInLayout->setAlignment(Qt::AlignTop);
dontSearchInLayout->setSpacing(6);
......@@ -526,7 +526,7 @@ bool GeneralFilter::getSettings(FilterSettings &s)
{
// check that we have (at least) what to search, and where to search in
if (searchFor->currentText().simplified().isEmpty()) {
KMessageBox::error(this , i18n("No search criteria entered!"));
KMessageBox::error(this , i18n("No search criteria entered."));
searchFor->setFocus();
return false;
}
......
......@@ -193,7 +193,7 @@ KCMDLine::KCMDLine(QWidget *parent) : QWidget(parent)
connect(cmdLine, SIGNAL(returnPressed(const QString &)), cmdLine->lineEdit(), SLOT(clear()));
connect(cmdLine, SIGNAL(returnToPanel()), this, SLOT(slotReturnFocus()));
cmdLine->setWhatsThis(i18n("<qt><p>Well, it's actually quite simple: You type your command here and Krusader obeys.</p><p><b>Tip</b>: Move within command line history with &lt;Up&gt; and &lt;Down&gt; arrows.</p></qt>"));
cmdLine->setWhatsThis(i18n("<qt><p>Well, it is actually quite simple: you type your command here and Krusader obeys.</p><p><b>Tip</b>: move within command line history with &lt;Up&gt; and &lt;Down&gt; arrows.</p></qt>"));
layout->addWidget(cmdLine, 0, 1);
buttonAddPlaceholder = new QToolButton(this);
......
......@@ -1284,7 +1284,7 @@ void Lister::slotFileFinished(KJob *job)
_tempFile->flush();
if (job->error()) { /* any error occurred? */
KIO::TransferJob *kioJob = (KIO::TransferJob *)job;
KMessageBox::error(_textArea, i18n("Error reading file %1!", kioJob->url().pathOrUrl()));
KMessageBox::error(_textArea, i18n("Error reading file %1.", kioJob->url().pathOrUrl()));
}
_downloading = false;
}
......@@ -1757,7 +1757,7 @@ void Lister::jumpToPosition()
bool ok;
qulonglong upos = res.toULongLong(&ok, 16);
if (!ok) {
KMessageBox::error(_textArea, i18n("Invalid number!"), i18n("Jump to position"));
KMessageBox::error(_textArea, i18n("Invalid number."), i18n("Jump to position"));
return;
}
pos = (qint64)upos;
......@@ -1765,14 +1765,14 @@ void Lister::jumpToPosition()
bool ok;
qulonglong upos = res.toULongLong(&ok);
if (!ok) {
KMessageBox::error(_textArea, i18n("Invalid number!"), i18n("Jump to position"));
KMessageBox::error(_textArea, i18n("Invalid number."), i18n("Jump to position"));
return;
}
pos = (qint64)upos;
}
if (pos < 0 || pos > _fileSize) {
KMessageBox::error(_textArea, i18n("Number out of range!"), i18n("Jump to position"));
KMessageBox::error(_textArea, i18n("Number out of range."), i18n("Jump to position"));
return;
}
......@@ -1807,7 +1807,7 @@ void Lister::saveSelected()
qint64 start = _textArea->getCursorAnchor();
qint64 end = _textArea->getCursorPosition(isfirst);
if (start == -1 || start == end) {
KMessageBox::error(_textArea, i18n("Nothing is selected!"), i18n("Save selection..."));
KMessageBox::error(_textArea, i18n("Nothing is selected."), i18n("Save selection..."));
return;
}
if (start > end) {
......
......@@ -47,7 +47,7 @@ PanelViewerBase::PanelViewerBase(QWidget *parent) :
mimes = new QHash<QString, QPointer<KParts::ReadOnlyPart> >();
cpart = 0;
fallback = new QLabel(i18n("No file selected or selected file can't be displayed."), this);
fallback = new QLabel(i18n("No file selected or selected file cannot be displayed."), this);
fallback->setAlignment(Qt::Alignment(QFlag(Qt::AlignCenter | Qt::TextExpandTabs)));
fallback->setWordWrap(true);
addWidget(fallback);
......@@ -316,7 +316,7 @@ void PanelEditor::configureDeps()
QString PanelEditor::missingKPartMsg()
{
return i18n("No text editor plugin available.<br/>Internal editor won't work without this.<br/>"
return i18n("No text editor plugin available.<br/>Internal editor will not work without this.<br/>"
"You can fix this by installing Kate:<br/>") +
QString("<a href='%1'>%1</a>").arg("http://www.kde.org/applications/utilities/kate");
}
......@@ -366,7 +366,7 @@ KParts::ReadOnlyPart* PanelEditor::openUrl(const KUrl &url, KrViewer::Mode mode)
return cpart;
} // else: don't show error message - assume this has been done by the editor part
} else
KMessageBox::sorry(this, missingKPartMsg(), i18n("Can't edit %1", curl.pathOrUrl()),
KMessageBox::sorry(this, missingKPartMsg(), i18n("Cannot edit %1", curl.pathOrUrl()),
KMessageBox::AllowLink);
setCurrentWidget(fallback);
......
......@@ -62,7 +62,7 @@ KgAdvanced::KgAdvanced(bool first, QWidget* parent) :
generalGrid->addWidget(generals, 1, 0);
addLabel(generalGrid, 2, 0, i18n("MountMan won't (un)mount the following mount-points:"),
addLabel(generalGrid, 2, 0, i18n("MountMan will not (un)mount the following mount-points:"),
generalGrp);
KonfiguratorEditBox *nonMountPoints = createEditBox("Advanced", "Nonmount Points", _NonMountPoints, generalGrp, false);
generalGrid->addWidget(nonMountPoints, 2, 1);
......
......@@ -226,8 +226,8 @@ void KgGeneral::createGeneralTab()
KonfiguratorCheckBox *checkBox = createCheckBox("General", "Mimetype Magic", _MimetypeMagic,
i18n("Use mimetype magic"), generalGrp, false,
i18n("Mimetype magic allows better distinction of file types, but is slower."), PAGE_GENERAL);
i18n("Use MIME type magic"), generalGrp, false,
i18n("MIME type magic allows better distinction of file types, but is slower."), PAGE_GENERAL);
generalGrid->addWidget(checkBox, 1, 0, 1, 1);
......@@ -281,7 +281,7 @@ void KgGeneral::createGeneralTab()
terminalGrid->addWidget(urlReq2, 0, 1);
KONFIGURATOR_CHECKBOX_PARAM terminal_settings[] = { // cfg_class cfg_name default text restart tooltip
{"General", "Send CDs", _SendCDs, i18n("Terminal Emulator sends Chdir on panel change"), false, i18n("When checked, whenever the panel is changed (for example, by pressing TAB), krusader changes the current directory in the terminal emulator.") },
{"General", "Send CDs", _SendCDs, i18n("Terminal Emulator sends Chdir on panel change"), false, i18n("When checked, whenever the panel is changed (for example, by pressing Tab), Krusader changes the current directory in the terminal emulator.") },
{"Look&Feel", "Fullscreen Terminal Emulator", false, i18n("Fullscreen terminal (mc-style)"), false, i18n("Terminal is shown instead of the Krusader window (full screen).") },
};
cbs = createCheckBoxGroup(1, 0, terminal_settings, 2 /*count*/, terminalGrp, PAGE_GENERAL);
......
......@@ -566,7 +566,7 @@ void KgPanel::setupMouseModeTab()
i18n("If checked, left clicking an item will select it, but will not unselect other, already selected items.") },
{"Custom Selection Mode", "ShiftCtrl Left Selects", _ShiftCtrlLeft,
i18n("Shift/Ctrl-Left mouse button selects"), true,
i18n("If checked, shift/ctrl left clicking will select items. \nNote: This is meaningless if 'Left Button Selects' is checked.") },
i18n("If checked, Shift/Ctrl left clicking will select items.\nNote: this is meaningless if 'Left Button Selects' is checked.") },
{"Custom Selection Mode", "Right Selects", _RightSelects,
i18n("Right mouse button selects"), true,
i18n("If checked, right clicking an item will select it.") },
......@@ -575,19 +575,19 @@ void KgPanel::setupMouseModeTab()
i18n("If checked, right clicking an item will select it, but will not unselect other, already selected items.") },
{"Custom Selection Mode", "ShiftCtrl Right Selects", _ShiftCtrlRight,
i18n("Shift/Ctrl-Right mouse button selects"), true,
i18n("If checked, shift/ctrl right clicking will select items. \nNote: This is meaningless if 'Right Button Selects' is checked.") },
i18n("If checked, Shift/Ctrl right clicking will select items.\nNote: this is meaningless if 'Right Button Selects' is checked.") },
{"Custom Selection Mode", "Space Moves Down", _SpaceMovesDown,
i18n("Spacebar moves down"), true,
i18n("If checked, pressing the spacebar will select the current item and move down. \nOtherwise, current item is selected, but remains the current item.") },
i18n("If checked, pressing the spacebar will select the current item and move down.\nOtherwise, current item is selected, but remains the current item.") },
{"Custom Selection Mode", "Space Calc Space", _SpaceCalcSpace,
i18n("Spacebar calculates disk space"), true,
i18n("If checked, pressing the spacebar while the current item is a directory, will (except from selecting the directory) \ncalculate space occupied of the directory (recursively).") },
i18n("If checked, pressing the spacebar while the current item is a directory, will (except from selecting the directory)\ncalculate space occupied of the directory (recursively).") },
{"Custom Selection Mode", "Insert Moves Down", _InsertMovesDown,
i18n("Insert moves down"), true,
i18n("If checked, pressing INSERT will select the current item, and move down to the next item. \nOtherwise, current item is not changed.") },
i18n("If checked, pressing Insert will select the current item, and move down to the next item.\nOtherwise, current item is not changed.") },
{"Custom Selection Mode", "Immediate Context Menu", _ImmediateContextMenu,
i18n("Right clicking pops context menu immediately"), true,
i18n("If checked, right clicking will result in an immediate showing of the context menu. \nOtherwise, user needs to click and hold the right mouse button for 500ms.") },
i18n("If checked, right clicking will result in an immediate showing of the context menu.\nOtherwise, user needs to click and hold the right mouse button for 500ms.") },
};
......
......@@ -106,12 +106,12 @@ KgProtocols::KgProtocols(bool first, QWidget* parent) :
addSpacer(vbox2);
btnAddMime = new QPushButton(vbox2Widget);
btnAddMime->setIcon(krLoader->loadIcon("arrow-left", KIconLoader::Small));
btnAddMime->setWhatsThis(i18n("Add mime to the selected protocol on the link list."));
btnAddMime->setWhatsThis(i18n("Add MIME to the selected protocol on the link list."));
vbox2->addWidget(btnAddMime);
btnRemoveMime = new QPushButton(vbox2Widget);
btnRemoveMime->setIcon(krLoader->loadIcon("arrow-right", KIconLoader::Small));
btnRemoveMime->setWhatsThis(i18n("Remove mime from the link list."));
btnRemoveMime->setWhatsThis(i18n("Remove MIME from the link list."));
vbox2->addWidget(btnRemoveMime);
addSpacer(vbox2);
......@@ -130,7 +130,7 @@ KgProtocols::KgProtocols(bool first, QWidget* parent) :
// -------------------------- MIMES LISTBOX ----------------------------------
QGroupBox *mimeGrp = createFrame(i18n("Mimes"), this);
QGroupBox *mimeGrp = createFrame(i18n("MIMEs"), this);
QGridLayout *mimeGrid = createGridLayout(mimeGrp);
mimeList = new KrListWidget(mimeGrp);
......
......@@ -74,7 +74,7 @@ KgStartup::KgStartup(bool first, QWidget* parent) :
panelsGrid->addWidget(createLine(panelsGrp), 1, 0, 1, 2);
KONFIGURATOR_CHECKBOX_PARAM settings[] = { // cfg_class cfg_name default text restart tooltip
{"Look&Feel", "Show splashscreen", _ShowSplashScreen, i18n("Show splashscreen"), false, i18n("Display a splashscreen when starting krusader.") },
{"Look&Feel", "Show splashscreen", _ShowSplashScreen, i18n("Show splashscreen"), false, i18n("Display a splashscreen when starting Krusader.") },
{"Look&Feel", "Single Instance Mode", _SingleInstanceMode, i18n("Single instance mode"), false, i18n("Only one Krusader instance is allowed to run.") }
};
......@@ -99,10 +99,10 @@ KgStartup::KgStartup(bool first, QWidget* parent) :
{"Startup", "Show Terminal Emulator", _ShowTerminalEmulator, i18n("Show terminal emulator"), false,
i18n("Terminal emulator will be visible after startup.") },
{"Startup", "Remember Position", _RememberPos,i18n("Save last position, size and panel settings"), false,
i18n("<p>At startup, the main window will resize itself to the size it was when last shutdown. \
It will also appear in the same location of the screen, having panels sorted and aligned as they were before.</p>\
<p>If this option is disabled, you can use the menu <i>Window -> Save Position</i> option \
to manually set the main window's size and position at startup.</p>") },
i18n("<p>At startup, the main window will resize itself to the size it was when last shutdown. "
"It will also appear in the same location of the screen, having panels sorted and aligned as they were before.</p> "
"<p>If this option is disabled, you can use the menu <i>Window -> Save Position</i> option "
"to manually set the main window's size and position at startup.</p>") },
{"Startup", "Update Default Panel Settings", _RememberPos, i18n("Update default panel settings"), true,
i18n("When settings of a panel are changed, save them as the default for new panels of the same type.") },
{"Startup", "Start To Tray", _StartToTray, i18n("Start to tray"), false,
......
......@@ -146,7 +146,7 @@ void Konfigurator::createLayout(int startPage)
// general
newPage(new KgGeneral(firstTime, this), i18n("General"), i18n("Basic Operations"), KIcon("preferences-other", krLoader));
// advanced
newPage(new KgAdvanced(firstTime, this), i18n("Advanced"), i18n("Be sure you know what you're doing!"), KIcon("dialog-warning", krLoader));
newPage(new KgAdvanced(firstTime, this), i18n("Advanced"), i18n("Be sure you know what you are doing."), KIcon("dialog-warning", krLoader));
// archives
newPage(