Commit eaec6d35 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

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.
parent 736f4c87
......@@ -16,6 +16,8 @@
connected or not, so it's easier to just not try getting the
volume name for them. See the bug report for discussion.
Make volume name display formats translatable.
Fix for #163702, from Ivan Wong:
* gdk/win32/gdkprivate-win32.h
......
......@@ -16,6 +16,8 @@
connected or not, so it's easier to just not try getting the
volume name for them. See the bug report for discussion.
Make volume name display formats translatable.
Fix for #163702, from Ivan Wong:
* gdk/win32/gdkprivate-win32.h
......
......@@ -16,6 +16,8 @@
connected or not, so it's easier to just not try getting the
volume name for them. See the bug report for discussion.
Make volume name display formats translatable.
Fix for #163702, from Ivan Wong:
* gdk/win32/gdkprivate-win32.h
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment