Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
---
lib/plugins/KerneloopsReporter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/plugins/KerneloopsReporter.cpp b/lib/plugins/KerneloopsReporter.cpp
index 76f8ed1..54a92ba 100644
--- a/lib/plugins/KerneloopsReporter.cpp
+++ b/lib/plugins/KerneloopsReporter.cpp
@@ -96,7 +96,7 @@ std::string CKerneloopsReporter::Report(const map_crash_data_t&
pCrashData,
map_crash_data_t::const_iterator it = pCrashData.find(FILENAME_BACKTRACE);
if (it == pCrashData.end())
- return "Kernel oops report was failed, missiging backtrace";
+ return _("Kernel oops report was failed, missiging backtrace");
ret = http_post_to_kerneloops_site(
m_sSubmitURL.c_str(),
@@ -104,7 +104,7 @@ std::string CKerneloopsReporter::Report(const map_crash_data_t&
pCrashData,
);
if (ret != CURLE_OK)
{
- char* err_str = xasprintf("Kernel oops has not been sent due to %s",
curl_easy_strerror(ret));
+ char* err_str = xasprintf(_("Kernel oops has not been sent due to %s"),
curl_easy_strerror(ret));
CABRTException e(EXCEP_PLUGIN, err_str);
free(err_str);
throw e;
@@ -115,7 +115,7 @@ std::string CKerneloopsReporter::Report(const map_crash_data_t&
pCrashData,
* RemoteIP: 34192fd15e34bf60fac6a5f01bba04ddbd3f0558
* - no URL or bug ID apparently...
*/
- return "Kernel oops report was uploaded";
+ return _("Kernel oops report was uploaded");
}
void CKerneloopsReporter::SetSettings(const map_plugin_settings_t& pSettings)
--
1.7.1