pg_checksums has an untranslatable string.

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема pg_checksums has an untranslatable string.
Дата
Msg-id 20190606.200612.110313249.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответы Re: pg_checksums has an untranslatable string.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hello.

# My email address has changed. Apologize in advance for possible
# duplicate of this mail because this is the seconf try after
# mail server seems to have failed the first try...

I found a string that ought to be translatable but actually not,
in pg_checksums.c.

>  fprintf(stderr, "%*s/%s MB (%d%%) computed",

It seems to be the only instance in the file.

regards.
-- 
Kyotaro Horiguchi
NTT Open Source Software Center
diff --git a/src/bin/pg_checksums/pg_checksums.c b/src/bin/pg_checksums/pg_checksums.c
index 1d75aa0282..7c7a75cdcd 100644
--- a/src/bin/pg_checksums/pg_checksums.c
+++ b/src/bin/pg_checksums/pg_checksums.c
@@ -146,7 +146,7 @@ progress_report(bool force)
     snprintf(current_size_str, sizeof(current_size_str), INT64_FORMAT,
              current_size / (1024 * 1024));
 
-    fprintf(stderr, "%*s/%s MB (%d%%) computed",
+    fprintf(stderr, _("%*s/%s MB (%d%%) computed"),
             (int) strlen(current_size_str), current_size_str, total_size_str,
             percent);


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavlo Golub
Дата:
Сообщение: Re: "WIP: Data at rest encryption" patch and, PostgreSQL 11-beta3
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: "long" type is not appropriate for counting tuples