[gnome-disk-utility] Bug 600996 — Add support for ReiserFS



commit c7a6252bf82648b0169f53cf865e77043ae5ccad
Author: Michael Biebl <biebl debian org>
Date:   Fri Nov 6 02:24:01 2009 +0100

    Bug 600996 â?? Add support for ReiserFS
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 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 d157c94..36ff331 100644
--- a/src/gdu/gdu-util.c
+++ b/src/gdu/gdu-util.c
@@ -287,6 +287,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 (_("ReiserFS (version %s)"), fsversion);
+                        else
+                                /* Translators: reiserfs is a filesystem type */
+                                s = g_strdup_printf (_("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 */



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