From bb6a9ee158780ff34441514bf93c08ad6311edeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Marciniak?= Date: Wed, 20 Nov 2024 18:22:59 +0100 Subject: [PATCH] I18N: Mark "Total" message in MultiProgressBar() for a translation --- libdnf5-cli/progressbar/multi_progress_bar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libdnf5-cli/progressbar/multi_progress_bar.cpp b/libdnf5-cli/progressbar/multi_progress_bar.cpp index 8cd9eb499..2aa67dfb6 100644 --- a/libdnf5-cli/progressbar/multi_progress_bar.cpp +++ b/libdnf5-cli/progressbar/multi_progress_bar.cpp @@ -22,6 +22,8 @@ along with libdnf. If not, see . #include "libdnf5-cli/tty.hpp" +#include "libdnf5/utils/bgettext/bgettext-lib.h" + #include #include @@ -31,7 +33,7 @@ along with libdnf. If not, see . namespace libdnf5::cli::progressbar { -MultiProgressBar::MultiProgressBar() : total(0, "Total") { +MultiProgressBar::MultiProgressBar() : total(0, _("Total")) { total.set_auto_finish(false); total.start(); if (tty::is_interactive()) {