diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-06-04 11:41:16 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-06-04 11:41:16 -0400 |
commit | 55cd9a8ff6a7cc244a33776c447cb0f0f10b6b94 (patch) | |
tree | be270dbf731665340705af6a82071b456c3a5efc /src/backend/utils/misc/pg_rusage.c | |
parent | 8a7cd781ee9486584c1262b0f8598b1162ceb73a (diff) |
Assorted translatable string fixes
Mark our rusage reportage string translatable; remove quotes from type
names; unify formatting of very similar messages.
Diffstat (limited to 'src/backend/utils/misc/pg_rusage.c')
-rw-r--r-- | src/backend/utils/misc/pg_rusage.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/utils/misc/pg_rusage.c b/src/backend/utils/misc/pg_rusage.c index 8781a383c08..c21b9501517 100644 --- a/src/backend/utils/misc/pg_rusage.c +++ b/src/backend/utils/misc/pg_rusage.c @@ -61,7 +61,9 @@ pg_rusage_show(const PGRUsage *ru0) } snprintf(result, sizeof(result), - "CPU %d.%02ds/%d.%02du sec elapsed %d.%02d sec", + /*--- + * translator: %d.%02ds is system CPU time, %d.%02du is user CPU time */ + _("CPU %d.%02ds/%d.%02du sec elapsed %d.%02d sec"), (int) (ru1.ru.ru_stime.tv_sec - ru0->ru.ru_stime.tv_sec), (int) (ru1.ru.ru_stime.tv_usec - ru0->ru.ru_stime.tv_usec) / 10000, (int) (ru1.ru.ru_utime.tv_sec - ru0->ru.ru_utime.tv_sec), |