diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-07-14 19:20:21 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-07-14 19:21:34 -0400 |
commit | 837255cc81fb59b12f5a70ac2a8a9850bccf13e0 (patch) | |
tree | 59436ebfad738c69539afc346ff182664e39c7c1 /src/bin/pg_upgrade/option.c | |
parent | decb08ebdf07f2fea4b6bb43380366ef5defbafb (diff) | |
download | postgresql-837255cc81fb59b12f5a70ac2a8a9850bccf13e0.tar.gz postgresql-837255cc81fb59b12f5a70ac2a8a9850bccf13e0.zip |
pg_upgrade i18n: Fix "%s server/cluster" wording
The original wording was impossible to translate correctly.
Discussion: https://postgr.es/m/20170523002827.lzc2jkzh2gubclqb@alvherre.pgsql
Diffstat (limited to 'src/bin/pg_upgrade/option.c')
-rw-r--r-- | src/bin/pg_upgrade/option.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/pg_upgrade/option.c b/src/bin/pg_upgrade/option.c index cb77665cdab..bbe364741ce 100644 --- a/src/bin/pg_upgrade/option.c +++ b/src/bin/pg_upgrade/option.c @@ -405,8 +405,10 @@ adjust_data_dir(ClusterInfo *cluster) /* Must be a configuration directory, so find the real data directory. */ - prep_status("Finding the real data directory for the %s cluster", - CLUSTER_NAME(cluster)); + if (cluster == &old_cluster) + prep_status("Finding the real data directory for the source cluster"); + else + prep_status("Finding the real data directory for the target cluster"); /* * We don't have a data directory yet, so we can't check the PG version, |