diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-06-10 12:04:27 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-10 12:04:27 +0900 |
commit | ccf03789058e9fd2a6120d88a3ad1ceac478e5ab (patch) | |
tree | cd8454b763886fbc63cf57f9116439b7aa750332 /setup.c | |
parent | Merge branch 'ah/fetch-reject-warning-grammofix' (diff) | |
parent | setup: split "extensions found" messages into singular and plural (diff) | |
download | tgif-ccf03789058e9fd2a6120d88a3ad1ceac478e5ab.tar.xz |
Merge branch 'ah/setup-extensions-message-i18n-fix'
Message update.
* ah/setup-extensions-message-i18n-fix:
setup: split "extensions found" messages into singular and plural
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -666,7 +666,9 @@ int verify_repository_format(const struct repository_format *format, if (format->version >= 1 && format->unknown_extensions.nr) { int i; - strbuf_addstr(err, _("unknown repository extensions found:")); + strbuf_addstr(err, Q_("unknown repository extension found:", + "unknown repository extensions found:", + format->unknown_extensions.nr)); for (i = 0; i < format->unknown_extensions.nr; i++) strbuf_addf(err, "\n\t%s", @@ -678,7 +680,9 @@ int verify_repository_format(const struct repository_format *format, int i; strbuf_addstr(err, - _("repo version is 0, but v1-only extensions found:")); + Q_("repo version is 0, but v1-only extension found:", + "repo version is 0, but v1-only extensions found:", + format->v1_only_extensions.nr)); for (i = 0; i < format->v1_only_extensions.nr; i++) strbuf_addf(err, "\n\t%s", |