[epiphany] ephy-file-helpers: use localized folder names



commit 24f9ae66d93292f4f54472a44aabd67e0eff8bad
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Mon Feb 1 15:22:45 2010 -0500

    ephy-file-helpers: use localized folder names
    
    Bug #608749

 lib/ephy-file-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 7ea3716..c265849 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -156,12 +156,12 @@ ephy_file_get_downloads_dir (void)
 
 	download_dir = eel_gconf_get_string (CONF_STATE_DOWNLOAD_DIR);
 
-	if (download_dir && strcmp (download_dir, "Downloads") == 0)
+	if (download_dir && strcmp (download_dir, _("Downloads")) == 0)
 	{
 		g_free (download_dir);
 		download_dir = ephy_file_downloads_dir ();
 	}
-  	else if (download_dir && strcmp (download_dir, "Desktop") == 0)
+  	else if (download_dir && strcmp (download_dir, _("Desktop")) == 0)
 	{
 		g_free (download_dir);
 		download_dir = ephy_file_desktop_dir ();



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