This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=329d06a624c8fc0f49fdaa474aa42261a84239f6 commit 329d06a624c8fc0f49fdaa474aa42261a84239f6 (HEAD -> main) Author: Guillem Jover <[email protected]> AuthorDate: Wed Apr 26 23:54:36 2023 +0200 libdpkg: Mark the progress percentage for translation The percentage format is locale-dependent, so let's mark it so that translators can format it differently. Ref: #1034378 --- lib/dpkg/progress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dpkg/progress.c b/lib/dpkg/progress.c index bbf972c8b..9b6032f7d 100644 --- a/lib/dpkg/progress.c +++ b/lib/dpkg/progress.c @@ -63,7 +63,9 @@ progress_step(struct progress *progress) progress->last_percent = cur_percent; fputs(progress->text, stdout); - printf("%d%%", cur_percent); + /* TRANSLATORS: This is part of the progress output, it is a decimal + * percentage. */ + printf(_("%d%%"), cur_percent); putchar('\r'); } -- Dpkg.Org's dpkg

