From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:17:55 +0000 (-0700) Subject: Internationalize disk shrink progress string X-Git-Tag: 2013.09.16-1328054~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0758f4374dedac711fd674ec6f0c4ebc346cdb60;p=thirdparty%2Fopen-vm-tools.git Internationalize disk shrink progress string Disk shrink is a long running operation with progress reporting. The "progress" string is visible to users and therefore needs to be internationalized. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/toolbox/toolboxcmd-shrink.c b/open-vm-tools/toolbox/toolboxcmd-shrink.c index a03a7b117..d0b9cabb8 100644 --- a/open-vm-tools/toolbox/toolboxcmd-shrink.c +++ b/open-vm-tools/toolbox/toolboxcmd-shrink.c @@ -444,7 +444,8 @@ ShrinkDoWipeAndShrink(char *mountPoint, // IN: mount point } if (!quiet) { - g_print("\rProgress: %d [", progress); + g_print(SU_(disk.wiper.progress, "\rProgress: %d"), progress); + g_print(" ["); for (i = 0; i <= progress / 10; i++) { putchar('='); }