[gimp-help] tools: to correctly line out the numbers we need a width of 3



commit 3a7b7f0c104ca21d987533ef81c401d07ef53270
Author: Jacob Boerema <jgboerema gmail com>
Date:   Sat Jun 5 15:24:13 2021 -0400

    tools: to correctly line out the numbers we need a width of 3

 tools/get_po_status.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/get_po_status.pl b/tools/get_po_status.pl
index 075e56a4f..be6326622 100644
--- a/tools/get_po_status.pl
+++ b/tools/get_po_status.pl
@@ -235,7 +235,7 @@ sub print_summary
                $untranslated = $width - ($translated + $fuzzy);
 
                print "\n" if $Print_file_list || $Print_summary;
-               printf "[%s%s%s]  %2d%%  %s\n",
+               printf "[%s%s%s]  %3d%%  %s\n",
                    ">" x $translated,
                    "~" x $fuzzy,
                    "_" x $untranslated,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]