[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:59:43 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=6f4848c
The following commit has been merged in the master branch:
commit 6f4848c53bcb4a3a2fc7cdf3e73814e9429de836
Author: Pino Toscano <pino at kde.org>
Date: Thu Jun 16 14:23:21 2011 +0200
i18n: style fixes
- remove extra exclamation marks
- diretly pass the arguments, instead of using .arg()
---
src/KCMTelepathyAccounts/parameter-edit-model.cpp | 4 ++--
src/add-account-assistant.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/KCMTelepathyAccounts/parameter-edit-model.cpp b/src/KCMTelepathyAccounts/parameter-edit-model.cpp
index 31da4be..4b27cee 100644
--- a/src/KCMTelepathyAccounts/parameter-edit-model.cpp
+++ b/src/KCMTelepathyAccounts/parameter-edit-model.cpp
@@ -302,8 +302,8 @@ bool ParameterEditModel::validateParameterValues()
{
foreach (ParameterItem *item, m_items) {
if (item->validity() != QValidator::Acceptable) {
- emit feedbackMessage(i18n("Parameter \"<b>%1</b>\" is not valid!")
- .arg(item->localizedName()),
+ emit feedbackMessage(i18n("Parameter \"<b>%1</b>\" is not valid.",
+ item->localizedName()),
QString(),
KTitleWidget::ErrorMessage);
return false;
diff --git a/src/add-account-assistant.cpp b/src/add-account-assistant.cpp
index 9d00d44..a8096e4 100644
--- a/src/add-account-assistant.cpp
+++ b/src/add-account-assistant.cpp
@@ -202,7 +202,7 @@ void AddAccountAssistant::onAccountCreated(Tp::PendingOperation *op)
kDebug();
if (op->isError()) {
- Q_EMIT feedbackMessage(i18n("Failed to create account!"),
+ Q_EMIT feedbackMessage(i18n("Failed to create account"),
i18n("Possibly not all required fields are valid"),
KTitleWidget::ErrorMessage);
kWarning() << "Adding Account failed:" << op->errorName() << op->errorMessage();
@@ -212,7 +212,7 @@ void AddAccountAssistant::onAccountCreated(Tp::PendingOperation *op)
// Get the PendingAccount.
Tp::PendingAccount *pendingAccount = qobject_cast<Tp::PendingAccount*>(op);
if (!pendingAccount) {
- Q_EMIT feedbackMessage(i18n("Something went wrong with Telepathy!"),
+ Q_EMIT feedbackMessage(i18n("Something went wrong with Telepathy"),
QString(),
KTitleWidget::ErrorMessage);
kWarning() << "Method called with wrong type.";
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list