summaryrefslogtreecommitdiff
path: root/gcc/timevar.c
diff options
context:
space:
mode:
authorpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-28 23:46:27 +0000
committerpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-28 23:46:27 +0000
commita4db0a1db67624827f629d9b2c4048748db7d032 (patch)
treecf84960b7dcda6445f2020417d413146c796651f /gcc/timevar.c
parentc4bd5e71cdafa235a1013fb9c6fec6a71636afe2 (diff)
downloadgcc-a4db0a1db67624827f629d9b2c4048748db7d032.tar.gz
2000-06-28 Philipp Thomas <pthomas@suse.de>
* c-decl.c : Mark strings for translation. (parmlist_tags_warning): Use distinct messages instead of conditional expressions. * diagnostic.c (v_message_with_decl): Mark string for translation. * gcc.c: Mark messages for translation. (display_help): Combine messages into one string where necessary. * mips-tfile.c: Add intl.h. Mark messages for translation. * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark messages for translation. * timevar.c: Mark messages for translation. * tlink.c: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r--gcc/timevar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c
index 44ea96f35ab..44526cb4cba 100644
--- a/gcc/timevar.c
+++ b/gcc/timevar.c
@@ -427,7 +427,7 @@ timevar_print (fp)
TIMEVAR. */
start_time = now;
- fprintf (fp, "\nExecution times (seconds)\n");
+ fprintf (fp, _("\nExecution times (seconds)\n"));
for (id = 0; id < TIMEVAR_LAST; ++id)
{
struct timevar_def *tv = &timevars[id];
@@ -475,7 +475,7 @@ timevar_print (fp)
}
/* Print total time. */
- fprintf (fp, " TOTAL :");
+ fprintf (fp, _(" TOTAL :"));
#ifdef HAVE_USER_TIME
fprintf (fp, "%4ld.%02ld ",
total->user / 1000000, (total->user % 1000000) / 10000);
@@ -514,7 +514,7 @@ print_time (str, total)
{
long all_time = get_run_time ();
fprintf (stderr,
- "time in %s: %ld.%06ld (%ld%%)\n",
+ _("time in %s: %ld.%06ld (%ld%%)\n"),
str, total / 1000000, total % 1000000,
all_time == 0 ? 0
: (long) (((100.0 * (double) total) / (double) all_time) + .5));