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




commit 7862addb4990227d8481f0863dd8107624a42773
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 ce00418ce..709d4bf5d 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -7376,7 +7376,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)
     {
@@ -7407,7 +7408,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]