Re: [PATCH v6 1/8] fetch: lowercase error messages
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Nov 22, 2021, 01:14 UTC
- Message-ID
- <CANYiYbFJiTfrErw9etMHsHLBkj3jQ2jPCqJ7H1gBGZmT6QF9kA@mail.gmail.com>
- In-Reply-To
- <20211113033358.2179376-2-andersk@mit.edu>
On Sat, Nov 13, 2021 at 11:34 AM Anders Kaseorg <andersk@mit.edu> wrote:
Show 13 quoted lines
> static const char warn_show_forced_updates[] =
> -N_("Fetch normally indicates which branches had a forced update,\n"
> - "but that check has been disabled. To re-enable, use '--show-forced-updates'\n"
> - "flag or run 'git config fetch.showForcedUpdates true'.");
> +N_("fetch normally indicates which branches had a forced update,\n"
> + "but that check has been disabled; to re-enable, use '--show-forced-updates'\n"
> + "flag or run 'git config fetch.showForcedUpdates true'");
> static const char warn_time_show_forced_updates[] =
> -N_("It took %.2f seconds to check forced updates. You can use\n"
> +N_("it took %.2f seconds to check forced updates; you can use\n"
> "'--no-show-forced-updates' or run 'git config fetch.showForcedUpdates false'\n"
> - " to avoid this check.\n");
> + " to avoid this check\n");The leading space character before "to avoid ..." is not necessary. This will change "po/git.pot" like this:
https://github.com/git-l10n/git-po/blob/pot/seen/2021-11-19.diff#L374-L377
It was introduced in commit 182f59daf0 (l10n: reformat some localized strings for v2.23.0, 2019-08-06).
-- Jiang Xin