diff options
author | Tor Lillqvist <tml@novell.com> | 2005-01-23 01:14:59 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-01-23 01:14:59 +0000 |
commit | eaec6d352c7e66e7dac43ad93dc86cddc1fbbf8a (patch) | |
tree | 880146d3765fc29e687502dcf74af8873f36f570 /gtk/gtkfilesystemwin32.c | |
parent | 736f4c87588d28919e9d2f27c904f17c78fc5d5e (diff) | |
download | gtk+-eaec6d352c7e66e7dac43ad93dc86cddc1fbbf8a.tar.gz |
Make volume name display formats translatable.
2005-01-23 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
Make volume name display formats translatable.
Diffstat (limited to 'gtk/gtkfilesystemwin32.c')
-rw-r--r-- | gtk/gtkfilesystemwin32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesystemwin32.c b/gtk/gtkfilesystemwin32.c index 4555299d91..7821b4b21d 100644 --- a/gtk/gtkfilesystemwin32.c +++ b/gtk/gtkfilesystemwin32.c @@ -608,7 +608,7 @@ gtk_file_system_win32_volume_get_display_name (GtkFileSystem *file_system, if (filename_is_drive_root (volume->drive) && volume->drive_type == DRIVE_REMOTE) - real_display_name = g_strdup (volume->drive); + real_display_name = g_strdup_printf (_("Network Drive (%s)"), volume->drive); else if ((filename_is_drive_root (volume->drive) && volume->drive[0] >= 'C') || volume->drive_type != DRIVE_REMOVABLE) { @@ -623,7 +623,7 @@ gtk_file_system_win32_volume_get_display_name (GtkFileSystem *file_system, wname[0]) { gchar *name = g_utf16_to_utf8 (wname, -1, NULL, NULL, NULL); - real_display_name = g_strconcat (name, " (", volume->drive, ")", NULL); + real_display_name = g_strdup_printf (_("%s (%s)"), name, volume->drive); g_free (name); } else |