summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-26 12:41:21 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-26 12:41:21 +0100
commit198d3d363d360b65b37753411ca8f6faf544f762 (patch)
tree71cc194b5e502c9ae1465d82da31c4ffdc7def96 /lib
parent0db8836cb63f60799ac7b4c5222ba9e12ca5659c (diff)
downloadabrt-198d3d363d360b65b37753411ca8f6faf544f762.tar.gz
abrt-198d3d363d360b65b37753411ca8f6faf544f762.tar.xz
abrt-198d3d363d360b65b37753411ca8f6faf544f762.zip
closing rhbz#541459: "remove word 'detected' from description"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.cpp4
-rw-r--r--lib/Plugins/Catcut.cpp18
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 57342389..f17f9a74 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -226,7 +226,7 @@ uint32_t ctx::new_bug(const map_crash_report_t& pCrashReport)
std::string arch = pCrashReport.find(FILENAME_ARCHITECTURE)->second[CD_CONTENT];
std::string uuid = pCrashReport.find(CD_UUID)->second[CD_CONTENT];
- std::string summary = "[abrt] crash detected in " + package;
+ std::string summary = "[abrt] crash in " + package;
std::string status_whiteboard = "abrt_hash:" + uuid;
std::string description = "abrt "VERSION" detected a crash.\n\n";
@@ -363,7 +363,7 @@ std::string CReporterBugzilla::Report(const map_crash_report_t& pCrashReport,
if ((Login == "") && (Password == ""))
{
VERB3 log("Empty login and password");
- throw CABRTException(EXCEP_PLUGIN, std::string(_("Empty login and password. Please check Bugzilla.conf")));
+ throw CABRTException(EXCEP_PLUGIN, _("Empty login and password. Please check Bugzilla.conf"));
}
bz_server.login(Login.c_str(), Password.c_str());
diff --git a/lib/Plugins/Catcut.cpp b/lib/Plugins/Catcut.cpp
index e353cbed..7add58c0 100644
--- a/lib/Plugins/Catcut.cpp
+++ b/lib/Plugins/Catcut.cpp
@@ -21,7 +21,7 @@ put_stream(const char *pURL, FILE* f, size_t content_length)
CURL* curl = curl_easy_init();
if (!curl)
{
- throw CABRTException(EXCEP_PLUGIN, "put_stream: Curl library error.");
+ throw CABRTException(EXCEP_PLUGIN, "put_stream: can't initialize curl library");
}
/* enable uploading */
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
@@ -31,7 +31,7 @@ put_stream(const char *pURL, FILE* f, size_t content_length)
curl_easy_setopt(curl, CURLOPT_READDATA, f);
/* get file size */
curl_easy_setopt(curl, CURLOPT_INFILESIZE, content_length);
- /*everything is done here; result 0 means success*/
+ /* everything is done here; result 0 means success */
int result = curl_easy_perform(curl);
/* goodbye */
curl_easy_cleanup(curl);
@@ -56,7 +56,7 @@ send_string(const char *pURL,
FILE* f = fmemopen((void*)pContent, content_length, "r");
if (!f)
{
- throw CABRTException(EXCEP_PLUGIN, "send_string: could not open string stream");
+ throw CABRTException(EXCEP_PLUGIN, "send_string: can't open string stream");
}
int result = put_stream(pURL, f, content_length);
fclose(f);
@@ -67,7 +67,7 @@ send_string(const char *pURL,
/*retry the upload if not succesful, wait a bit before next try*/
while (--retryCount != 0 && (sleep(retryDelaySeconds), 1));
- throw CABRTException(EXCEP_PLUGIN, "send_string: could not send string");
+ throw CABRTException(EXCEP_PLUGIN, "send_string: can't send string");
}
static void
@@ -89,7 +89,7 @@ send_file(const char *pURL,
FILE* f = fopen(pFilename, "r");
if (!f)
{
- throw CABRTException(EXCEP_PLUGIN, "send_file: could not open string stream");
+ throw CABRTException(EXCEP_PLUGIN, "send_file: can't open string stream");
}
struct stat buf;
fstat(fileno(f), &buf); /* can't fail */
@@ -103,7 +103,7 @@ send_file(const char *pURL,
/*retry the upload if not succesful, wait a bit before next try*/
while (--retryCount != 0 && (sleep(retryDelaySeconds), 1));
- throw CABRTException(EXCEP_PLUGIN, "send_file: could not send file");
+ throw CABRTException(EXCEP_PLUGIN, "send_file: can't send file");
}
static string
@@ -268,7 +268,7 @@ ctx::new_bug(const char *auth_cookie, const map_crash_report_t& pCrashReport)
string arch = pCrashReport.find(FILENAME_ARCHITECTURE)->second[CD_CONTENT];
string uuid = pCrashReport.find(CD_UUID)->second[CD_CONTENT];
- string summary = "[abrt] crash detected in " + package;
+ string summary = "[abrt] crash in " + package;
string status_whiteboard = "abrt_hash:" + uuid;
string description = make_description_catcut(pCrashReport);
@@ -462,12 +462,12 @@ string CReporterCatcut::Report(const map_crash_report_t& pCrashReport,
}
else
{
- message = "Error could not create ticket";
+ message = "Error: can't create ticket";
}
}
else
{
- message = "Error could not create ticket";
+ message = "Error: can't create ticket";
}
return message;
}