(non) translatable string splicing

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема (non) translatable string splicing
Дата
Msg-id 20221216132452.GM1153@telsasoft.com
обсуждение исходный текст
Ответы Re: (non) translatable string splicing  (Michael Paquier <michael@paquier.xyz>)
Re: (non) translatable string splicing  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: (non) translatable string splicing  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
I was surprised to see that this has been here for a few years (since
77517ba59) without complaints or inquiries from translators.

src/bin/pg_upgrade/option.c:    check_required_directory(&old_cluster.bindir, "PGBINOLD", false,
src/bin/pg_upgrade/option.c-                                                     "-b", _("old cluster binaries
reside"),false);
 
src/bin/pg_upgrade/option.c:    check_required_directory(&new_cluster.bindir, "PGBINNEW", false,
src/bin/pg_upgrade/option.c-                                                     "-B", _("new cluster binaries
reside"),true);
 
src/bin/pg_upgrade/option.c:    check_required_directory(&old_cluster.pgdata, "PGDATAOLD", false,
src/bin/pg_upgrade/option.c-                                                     "-d", _("old cluster data resides"),
false);
src/bin/pg_upgrade/option.c:    check_required_directory(&new_cluster.pgdata, "PGDATANEW", false,
src/bin/pg_upgrade/option.c-                                                     "-D", _("new cluster data resides"),
false);
src/bin/pg_upgrade/option.c:    check_required_directory(&user_opts.socketdir, "PGSOCKETDIR", true,
src/bin/pg_upgrade/option.c-                                                     "-s", _("sockets will be created"),
false);

src/bin/pg_upgrade/option.c:                    pg_fatal("You must identify the directory where the %s.\n"
src/bin/pg_upgrade/option.c-                                     "Please use the %s command-line option or the %s
environmentvariable.",
 
src/bin/pg_upgrade/option.c-                                     description, cmdLineOption, envVarName);

Due to incomplete translation, that allows some pretty fancy output,
like:
| You must identify the directory where the residen los binarios del clúster antiguo.

That commit also does this a couple times:

+                        _(" which is an index on \"%s.%s\""),

-- 
Justin



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

Предыдущее
От: vinay kumar
Дата:
Сообщение: Feature request to add rows extracted using pg_dump utility
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: pg_upgrade allows itself to be run twice