summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-30 13:18:42 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-30 13:18:42 +0200
commit749ae5083c2c663eb10a985bf5c27b99c5247542 (patch)
tree3b5ea061332737d15e4d9f8ca8f265377886a1a5 /lib/Plugins/Bugzilla.cpp
parent842d1a6d7ab1fe62c6e9bce6d776b0d73dab0e23 (diff)
downloadabrt-749ae5083c2c663eb10a985bf5c27b99c5247542.tar.gz
abrt-749ae5083c2c663eb10a985bf5c27b99c5247542.tar.xz
abrt-749ae5083c2c663eb10a985bf5c27b99c5247542.zip
English and message format fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r--lib/Plugins/Bugzilla.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index aca2665b..cde1712e 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -780,7 +780,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData,
throw CABRTException(EXCEP_PLUGIN, _("Bugzilla entry creation failed"));
}
- log("adding attachments to bug(%d)...", bug_id);
+ log("Adding attachments to bug %d...", bug_id);
int ret = bz_server.add_attachments(to_string(bug_id).c_str(), pCrashData);
if (ret == -1)
{
@@ -815,14 +815,13 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData,
{
if (ii == MAX_HOPS)
{
- VERB3 log("Bugzilla couldn't find parent of bug(%d)", (int)original_bug_id);
+ VERB3 log("Bugzilla couldn't find parent of bug %d", (int)original_bug_id);
bug_info_destroy(&bz);
- throw CABRTException(EXCEP_PLUGIN, _("Bugzilla couldn't find parent of bug(%d)"), (int)original_bug_id);
+ throw CABRTException(EXCEP_PLUGIN, _("Bugzilla couldn't find parent of bug %d"), (int)original_bug_id);
}
- VERB3 log("Bugzilla(%d): Jump to bug %d", bug_id, (int)bz.bug_dup_id);
+ log("Bug %d is a duplicate, using parent bug %d", bug_id, (int)bz.bug_dup_id);
bug_id = bz.bug_dup_id;
- update_client(_("Jump to bug %d"), (int)bug_id);
bug_info_destroy(&bz);
bug_info_init(&bz);
@@ -847,8 +846,8 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData,
int status = 0;
if ((strcmp(bz.bug_reporter, Login.c_str()) != 0) && (am_i_in_cc(&bz, Login.c_str())))
{
- VERB2 log(_("Add %s to CC list"), Login.c_str());
- update_client(_("Add %s to CC list"), Login.c_str());
+ VERB2 log(_("Adding %s to CC list"), Login.c_str());
+ update_client(_("Adding %s to CC list"), Login.c_str());
status = bz_server.add_plus_one_cc(bug_id, Login.c_str());
}
@@ -872,7 +871,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData,
"%s", package, arch, release, description.c_str()
);
- update_client(_("Add new comment into bug(%d)"), (int)bug_id);
+ update_client(_("Adding new comment to bug %d"), (int)bug_id);
bool is_priv = is_private && (is_private[0] == '1');
if (bz_server.add_comment(bug_id, description.c_str(), is_priv) == -1)