summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-01-19 21:19:38 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-01-19 21:19:38 +0000
commit1526c18cd5a8cf5927bcb4b8abe3565eb4dbb88c (patch)
treed0785d746612586b2b097ad885cc72976ef36b1c
parentaf13c5a81f40869b9c99ffd3aafd25b8168420d4 (diff)
Desktop is localized
SVN revision: 45345
-rw-r--r--src/bin/e_fm.c2
-rw-r--r--src/bin/e_fm_hal.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 7274e3f..bbcc9e9 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -9748,7 +9748,7 @@ _e_fm2_volume_icon_update(E_Volume *v)
9748 if (!v || !v->storage) return; 9748 if (!v || !v->storage) return;
9749 9749
9750 e_user_dir_snprintf(fav, sizeof(fav), "fileman/favorites"); 9750 e_user_dir_snprintf(fav, sizeof(fav), "fileman/favorites");
9751 e_user_homedir_snprintf(desk, sizeof(desk), "Desktop"); 9751 e_user_homedir_concat_static(desk, _("Desktop"));
9752 snprintf(file, sizeof(file), "|%s_%d.desktop", 9752 snprintf(file, sizeof(file), "|%s_%d.desktop",
9753 ecore_file_file_get(v->storage->udi), v->partition_number); 9753 ecore_file_file_get(v->storage->udi), v->partition_number);
9754 9754
diff --git a/src/bin/e_fm_hal.c b/src/bin/e_fm_hal.c
index f4038d7..aabd798 100644
--- a/src/bin/e_fm_hal.c
+++ b/src/bin/e_fm_hal.c
@@ -324,8 +324,8 @@ _e_fm2_volume_write(E_Volume *v)
324 if (e_config->hal_desktop) 324 if (e_config->hal_desktop)
325 { 325 {
326 e_user_homedir_snprintf(buf2, sizeof(buf2), 326 e_user_homedir_snprintf(buf2, sizeof(buf2),
327 "Desktop/|%s_%d.desktop", 327 "%s/|%s_%d.desktop",
328 id, v->partition_number); 328 _("Desktop"), id, v->partition_number);
329 ecore_file_symlink(buf, buf2); 329 ecore_file_symlink(buf, buf2);
330 } 330 }
331 331
@@ -348,8 +348,8 @@ _e_fm2_volume_erase(E_Volume *v)
348 348
349 if (!v->storage) return; 349 if (!v->storage) return;
350 id = ecore_file_file_get(v->storage->udi); 350 id = ecore_file_file_get(v->storage->udi);
351 e_user_homedir_snprintf(buf, sizeof(buf), "Desktop/|%s_%d.desktop", 351 e_user_homedir_snprintf(buf, sizeof(buf), "%s/|%s_%d.desktop",
352 id, v->partition_number); 352 _("Desktop"), id, v->partition_number);
353 ecore_file_unlink(buf); 353 ecore_file_unlink(buf);
354 _e_fm2_file_force_update(buf); 354 _e_fm2_file_force_update(buf);
355 355
@@ -624,8 +624,8 @@ e_fm2_hal_show_desktop_icons(void)
624 id, v->partition_number); 624 id, v->partition_number);
625 625
626 e_user_homedir_snprintf(buf2, sizeof(buf2), 626 e_user_homedir_snprintf(buf2, sizeof(buf2),
627 "Desktop/|%s_%d.desktop", 627 "%s/|%s_%d.desktop",
628 id, v->partition_number); 628 _("Desktop"), id, v->partition_number);
629 629
630 if (ecore_file_exists(buf) && !ecore_file_exists(buf2)) 630 if (ecore_file_exists(buf) && !ecore_file_exists(buf2))
631 { 631 {
@@ -651,8 +651,8 @@ e_fm2_hal_hide_desktop_icons(void)
651 id = ecore_file_file_get(v->storage->udi); 651 id = ecore_file_file_get(v->storage->udi);
652 652
653 e_user_homedir_snprintf(buf, sizeof(buf), 653 e_user_homedir_snprintf(buf, sizeof(buf),
654 "Desktop/|%s_%d.desktop", 654 "%s/|%s_%d.desktop",
655 id, v->partition_number); 655 _("Desktop"), id, v->partition_number);
656 656
657 if (ecore_file_exists(buf)) 657 if (ecore_file_exists(buf))
658 { 658 {