summaryrefslogtreecommitdiffstats
path: root/src/CLI
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-07-12 13:43:30 +0200
committerKarel Klic <kklic@redhat.com>2010-07-12 13:43:30 +0200
commit39d1eb82b56410e41ee8dccf5b2d6f3cad217996 (patch)
treeb9ebc7eb53eae6ace922406db1d5a1de0b08b106 /src/CLI
parent2ff305d1e59f9683642a58ec29df55fdb8dd2297 (diff)
downloadabrt-39d1eb82b56410e41ee8dccf5b2d6f3cad217996.tar.gz
abrt-39d1eb82b56410e41ee8dccf5b2d6f3cad217996.tar.xz
abrt-39d1eb82b56410e41ee8dccf5b2d6f3cad217996.zip
String updates
Diffstat (limited to 'src/CLI')
-rw-r--r--src/CLI/CLI.cpp6
-rw-r--r--src/CLI/report.cpp14
2 files changed, 10 insertions, 10 deletions
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp
index 0852ed46..6055cec0 100644
--- a/src/CLI/CLI.cpp
+++ b/src/CLI/CLI.cpp
@@ -179,11 +179,11 @@ static void usage(char *argv0)
" -V, --version display the version of %s and exit\n"
" -?, --help print this help\n\n"
"Actions:\n"
- " -l, --list print list of crashes which are not reported yet\n"
- " -f, --full list all crashes, including already reported ones\n"
+ " -l, --list print a list of all crashes which are not yet reported\n"
+ " -f, --full print a list of all crashes, including the already reported ones\n"
" -r, --report CRASH_ID create and send a report\n"
" -y, --always create and send a report without asking\n"
- " -d, --delete CRASH_ID remove crash\n"
+ " -d, --delete CRASH_ID remove a crash\n"
"CRASH_ID can be:\n"
" UID:UUID pair,\n"
" unique UUID prefix - the crash with matching UUID will be acted upon\n"
diff --git a/src/CLI/report.cpp b/src/CLI/report.cpp
index 6bbeb95b..8f0e98e1 100644
--- a/src/CLI/report.cpp
+++ b/src/CLI/report.cpp
@@ -176,7 +176,7 @@ static void write_crash_report_field(FILE *fp, const map_crash_data_t &report,
fprintf(fp, "%s\n", description);
if (it->second[CD_EDITABLE] != CD_ISEDITABLE)
- fprintf(fp, _("# This field is read only.\n"));
+ fprintf(fp, _("# This field is read only\n"));
char *escaped_content = escape(it->second[CD_CONTENT].c_str());
fprintf(fp, "%s\n", escaped_content);
@@ -196,11 +196,11 @@ static void write_crash_report(const map_crash_data_t &report, FILE *fp)
"# Lines starting with '%%----' separate fields, please do not delete them.\n\n");
write_crash_report_field(fp, report, FILENAME_COMMENT,
- _("# Describe the circumstances of this crash below."));
+ _("# Describe the circumstances of this crash below"));
write_crash_report_field(fp, report, FILENAME_REPRODUCE,
_("# How to reproduce the crash?"));
write_crash_report_field(fp, report, FILENAME_BACKTRACE,
- _("# Backtrace\n# Check that it does not contain any sensitive data such as passwords."));
+ _("# Backtrace\n# Check that it does not contain any sensitive data (passwords, etc.)"));
write_crash_report_field(fp, report, CD_DUPHASH, "# DUPHASH");
write_crash_report_field(fp, report, FILENAME_ARCHITECTURE, _("# Architecture"));
write_crash_report_field(fp, report, FILENAME_CMDLINE, _("# Command line"));
@@ -333,7 +333,7 @@ static int launch_editor(const char *path)
terminal = getenv("TERM");
if (!editor && (!terminal || strcmp(terminal, "dumb") == 0))
{
- error_msg(_("Can't run vi: $TERM, $VISUAL and $EDITOR are not set"));
+ error_msg(_("Cannot run vi: $TERM, $VISUAL and $EDITOR are not set"));
return 1;
}
@@ -421,9 +421,9 @@ static int run_report_editor(map_crash_data_t &cr)
int report_changed = read_crash_report(cr, text);
free(text);
if (report_changed)
- puts(_("\nThe report has been updated."));
+ puts(_("\nThe report has been updated"));
else
- puts(_("\nNo changes were detected in the report."));
+ puts(_("\nNo changes were detected in the report"));
return 0;
}
@@ -643,7 +643,7 @@ static void get_reporter_plugin_settings(const vector_string_t& reporters,
continue;
// Read the missing information and push it to plugin settings.
- printf(_("Wrong settings were detected for plugin %s.\n"), it->first.c_str());
+ printf(_("Wrong settings were detected for plugin %s\n"), it->first.c_str());
char result[64];
if (loginMissing)
{