[nautilus/wip/antoniof/properties-followup] file: Update unknown labels



commit d9262da55a3a35bf4f8d6c7bbed2e5511e7efdaa
Author: António Fernandes <antoniof gnome org>
Date:   Thu Aug 4 23:00:59 2022 +0100

    file: Update unknown labels
    
    "Unknown" is displayed in Properties without a description, so
    add " type" to allow the user to make sense of it.
    
    Also capitalize "unknown" fallback.

 src/nautilus-file.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index be2eecde1..3a2d57276 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -7372,7 +7372,8 @@ nautilus_file_get_string_attribute_with_default_q (NautilusFile *file,
         || attribute_q == attribute_detailed_type_q
         || attribute_q == attribute_mime_type_q)
     {
-        return g_strdup (_("Unknown"));
+        /* Translators: This about a file type. */
+        return g_strdup (_("Unknown type"));
     }
     if (attribute_q == attribute_trashed_on_q)
     {
@@ -7403,7 +7404,7 @@ nautilus_file_get_string_attribute_with_default_q (NautilusFile *file,
     /* Fallback, use for both unknown attributes and attributes
      * for which we have no more appropriate default.
      */
-    return g_strdup (_("unknown"));
+    return g_strdup (_("Unknown"));
 }
 
 char *


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