summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-15 21:56:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-15 21:56:11 (GMT)
commit136c9f6a320d6e1a38b0d332e6e83c45a97fb70f (patch)
tree066a1a1484ff201f3b2efc8c8339dc0a9998d692
parent35faa9f75ceeb39df5618a7854ed70a6212c3eb5 (diff)
downloadswift-136c9f6a320d6e1a38b0d332e6e83c45a97fb70f.zip
swift-136c9f6a320d6e1a38b0d332e6e83c45a97fb70f.tar.bz2
Make the Rename Group dialog text a bit friendlier.
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.cpp2
-rw-r--r--Swift/Translations/swift_nl.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp
index 571169a..1296872 100644
--- a/Swift/QtUI/Roster/QtTreeWidget.cpp
+++ b/Swift/QtUI/Roster/QtTreeWidget.cpp
@@ -164,7 +164,7 @@ void QtTreeWidget::contextMenuEvent(QContextMenuEvent* event) {
void QtTreeWidget::renameGroup(GroupRosterItem* group) {
bool ok;
- QString newName = QInputDialog::getText(NULL, tr("Rename group"), tr("New name for %1").arg(P2QSTRING(group->getDisplayName())), QLineEdit::Normal, P2QSTRING(group->getDisplayName()), &ok);
+ QString newName = QInputDialog::getText(NULL, tr("Rename group"), tr("Enter a new name for group '%1':").arg(P2QSTRING(group->getDisplayName())), QLineEdit::Normal, P2QSTRING(group->getDisplayName()), &ok);
if (ok) {
eventStream_->send(boost::make_shared<RenameGroupUIEvent>(group->getDisplayName(), Q2PSTRING(newName)));
}
diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts
index 6034841..fa621c1 100644
--- a/Swift/Translations/swift_nl.ts
+++ b/Swift/Translations/swift_nl.ts
@@ -1052,8 +1052,8 @@ afbeelding</translation>
<translation>Groepsnaam wijzigen</translation>
</message>
<message>
- <source>New name for %1</source>
- <translation>Niewe naam voor %1</translation>
+ <source>Enter a new name for group &apos;%1&apos;:</source>
+ <translation>Geef een niewe naam voor groep &apos;%1&apos;:</translation>
</message>
</context>
<context>