From ac226f18a397fdcce622b8dbf767985ee455caa9 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 6 Nov 2009 02:24:01 +0100 Subject: [PATCH] Add support for ReiserFS --- src/gdu/gdu-util.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/gdu/gdu-util.c b/src/gdu/gdu-util.c index 2d9d2a9..cd6ddc0 100644 --- a/src/gdu/gdu-util.c +++ b/src/gdu/gdu-util.c @@ -264,6 +264,18 @@ gdu_util_get_fstype_for_display (const char *fstype, const char *fsversion, gboo /* Translators: xfs is a filesystem type */ s = g_strdup (_("xfs")); } + } else if (strcmp (fstype, "reiserfs") == 0) { + if (long_string) { + if (strlen (fsversion) > 0) + /* Translators: reiserfs is a filesystem type */ + s = g_strdup_printf (_("Linux ReiserFS (version %s)"), fsversion); + else + /* Translators: reiserfs is a filesystem type */ + s = g_strdup_printf (_("Linux ReiserFS")); + } else { + /* Translators: reiserfs is a filesystem type */ + s = g_strdup (_("reiserfs")); + } } else if (strcmp (fstype, "iso9660") == 0) { if (long_string) { /* Translators: iso9660 is a filesystem type */ -- 1.6.5.2