[Xfce4-commits] [xfce/thunar] 01/01: Make usage/free string more clear (bug #11345)

noreply at xfce.org noreply at xfce.org
Thu Jan 29 00:20:03 CET 2015


This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/thunar.

commit 7fde0c0a35dca940e763361216c1da263748adcb
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Wed Jan 28 23:19:38 2015 +0000

    Make usage/free string more clear (bug #11345)
    
    This string is used in multiple places, e.g. in the properties dialog
    (where it is clear that the first number means free space) and in the
    device tooltip (where it is not clear).
---
 thunar/thunar-gio-extensions.c    |    2 +-
 thunar/thunar-properties-dialog.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
index 9c852d9..3cd9824 100644
--- a/thunar/thunar-gio-extensions.c
+++ b/thunar/thunar-gio-extensions.c
@@ -431,7 +431,7 @@ thunar_g_file_get_free_space_string (GFile *file)
       fs_free_str = g_format_size_full (fs_free, file_size_binary ? G_FORMAT_SIZE_IEC_UNITS : G_FORMAT_SIZE_DEFAULT);
       fs_size_str = g_format_size_full (fs_size, file_size_binary ? G_FORMAT_SIZE_IEC_UNITS : G_FORMAT_SIZE_DEFAULT);
       /* free disk space string */
-      fs_string = g_strdup_printf (_("%s of %s (%d%% used)"),
+      fs_string = g_strdup_printf (_("%s of %s free (%d%% used)"),
                                    fs_free_str, fs_size_str,
                                    (gint) ((fs_size - fs_free) * 100 / fs_size));
       g_free (fs_free_str);
diff --git a/thunar/thunar-properties-dialog.c b/thunar/thunar-properties-dialog.c
index 7239195..caf2dbc 100644
--- a/thunar/thunar-properties-dialog.c
+++ b/thunar/thunar-properties-dialog.c
@@ -493,7 +493,7 @@ thunar_properties_dialog_init (ThunarPropertiesDialog *dialog)
 
   ++row;
 
-  label = gtk_label_new (_("Free Space:"));
+  label = gtk_label_new (_("Usage:"));
   gtk_label_set_attributes (GTK_LABEL (label), thunar_pango_attr_list_bold ());
   gtk_misc_set_alignment (GTK_MISC (label), 1.0f, 0.0f);
   gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1, GTK_FILL, GTK_FILL, 0, 3);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list