diff options
| author | Peter Penz <[email protected]> | 2007-07-09 17:51:39 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-07-09 17:51:39 +0000 |
| commit | 50d9e030e7855080c037b826f06433495972f503 (patch) | |
| tree | f50bb6ddc6750c9c598b0806411896b8e72ca446 /src/renamedialog.cpp | |
| parent | ea3e0005018997b83984203e7c1fc7f745d6dbe2 (diff) | |
KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685763
Diffstat (limited to 'src/renamedialog.cpp')
| -rw-r--r-- | src/renamedialog.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/renamedialog.cpp b/src/renamedialog.cpp index 32112b388..330fbd643 100644 --- a/src/renamedialog.cpp +++ b/src/renamedialog.cpp @@ -36,11 +36,13 @@ RenameDialog::RenameDialog(const KUrl::List& items) : Q_ASSERT(itemCount >= 1); m_renameOneItem = (itemCount == 1); - setCaption(m_renameOneItem ? i18n("Rename Item") : i18n("Rename Items")); + setCaption(m_renameOneItem ? + i18nc("@title:window", "Rename Item") : + i18nc("@title:window", "Rename Items")); setButtons(Ok | Cancel); setDefaultButton(Ok); - setButtonGuiItem(Ok, KGuiItem(i18n("Rename"), "dialog-apply")); + setButtonGuiItem(Ok, KGuiItem(i18nc("@action:button", "Rename"), "dialog-apply")); QWidget* page = new QWidget(this); setMainWidget(page); @@ -111,10 +113,11 @@ void RenameDialog::slotButtonClicked(int button) if (button == Ok) { m_newName = m_lineEdit->text(); if (m_newName.isEmpty()) { - m_errorString = i18n("The new name is empty. A name with at least one character must be entered."); + m_errorString = i18nc("@info:status", + "The new name is empty. A name with at least one character must be entered."); } else if (!m_renameOneItem && m_newName.contains('#') != 1) { m_newName.truncate(0); - m_errorString = i18n("The name must contain exactly one # character."); + m_errorString = i18nc("@info:status", "The name must contain exactly one # character."); } } |
