[nautilus] files-view: Make the wallpapers folder translatable



commit 81ad0a0ab9386fde276d3a1e951b738c03421ee4
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Wed Jan 3 16:40:20 2018 +0000

    files-view: Make the wallpapers folder translatable
    
    Worries me a bit that it was not done before, maybe we are missing
    something... but let's try.

 src/nautilus-files-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 7a8f3fe74..cdf4abe67 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -6607,7 +6607,7 @@ action_set_as_wallpaper (GSimpleAction *action,
 {
     GList *selection;
 
-    /* Copy the item to Pictures/Wallpaper since it may be
+    /* Copy the item to Pictures/Wallpaper (internationalized) since it may be
      *  remote. Then set it as the current wallpaper. */
 
     g_assert (NAUTILUS_IS_FILES_VIEW (user_data));
@@ -6625,7 +6625,7 @@ action_set_as_wallpaper (GSimpleAction *action,
         file = NAUTILUS_FILE (selection->data);
 
         parent = g_file_new_for_path (g_get_user_special_dir (G_USER_DIRECTORY_PICTURES));
-        target = g_file_get_child (parent, "Wallpapers");
+        target = g_file_get_child (parent, _("Wallpapers"));
         g_object_unref (parent);
         g_file_make_directory_with_parents (target, NULL, NULL);
         target_uri = g_file_get_uri (target);


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