util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cfdisk: actually translate the partition types in the menu
@ 2014-07-21 11:37 Benno Schulenberg
  2014-07-21 13:38 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2014-07-21 11:37 UTC (permalink / raw)
  To: util-linux

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 disk-utils/cfdisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 715e07d..f3ca42c 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1507,7 +1507,7 @@ static struct fdisk_parttype *ui_get_parttype(struct cfdisk *cf,
 			continue;
 		cm[i].userdata = x;
 		if (!has_typestr)
-			xasprintf(&name, "%2x %s", x->type, x->name);
+			xasprintf(&name, "%2x %s", x->type, _(x->name));
 		else {
 			name = (char *) x->name;
 			cm[i].desc = x->typestr;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cfdisk: actually translate the partition types in the menu
  2014-07-21 11:37 [PATCH] cfdisk: actually translate the partition types in the menu Benno Schulenberg
@ 2014-07-21 13:38 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-07-21 13:38 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: util-linux

On Mon, Jul 21, 2014 at 01:37:11PM +0200, Benno Schulenberg wrote:
>  disk-utils/cfdisk.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

 Applied with a minor change, thanks!
    
    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-21 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 11:37 [PATCH] cfdisk: actually translate the partition types in the menu Benno Schulenberg
2014-07-21 13:38 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).