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




commit a5734e00748a7dff89dbad924b93f6e571193160
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 4c16e3c09..a7f7f4aaf 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -7366,7 +7366,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)
     {
@@ -7397,7 +7398,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]