On 08/20/2010 06:43 PM, Denys Vlasenko wrote:
diff -x '*.po' -d -urpN abrt.2/lib/plugins/RHTSupport.cpp
abrt.3/lib/plugins/RHTSupport.cpp
--- abrt.2/lib/plugins/RHTSupport.cpp 2010-08-18 13:41:27.000000000 +0200
+++ abrt.3/lib/plugins/RHTSupport.cpp 2010-08-20 17:26:01.810918212 +0200
@@ -175,7 +175,7 @@ string CReporterRHticket::Report(const m
if (tar_fdopen(&tar, pipe_from_parent_to_child[1], tempfile,
/*fileops:(standard)*/ NULL, O_WRONLY | O_CREAT, 0644, TAR_GNU) != 0)
{
- retval = "can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
+ retval = "error: can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
- this should be translatable
_("..")
goto ret;
}
@@ -210,7 +210,7 @@ string CReporterRHticket::Report(const m
/*binary */ 1);
if (tar_append_file(tar, (char*)content, (char*)(xml_name.c_str())) !=
0)
{
- retval = "can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
+ retval = "error: can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
- this should be translatable
_("..")
goto ret;
}
}
@@ -237,7 +237,7 @@ string CReporterRHticket::Report(const m
|| full_write(tar_fd(tar), block, len512) != len512
|| tar_close(tar) != 0
) {
- retval = "can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
+ retval = "error: can't create temporary file in
"LOCALSTATEDIR"/run/abrt";
- this should be translatable
_("..")
goto ret;
the rest seems ok.