Code

Finished translation stuff for filedialogimpl-win32.cpp
authormfloryan <mfloryan@users.sourceforge.net>
Tue, 26 Feb 2008 15:53:12 +0000 (15:53 +0000)
committermfloryan <mfloryan@users.sourceforge.net>
Tue, 26 Feb 2008 15:53:12 +0000 (15:53 +0000)
src/ui/dialog/filedialogimpl-win32.cpp

index 4dfa36b488620648294f880433aeca0bb27c8ebd..db49b4a8668521a28970cf3d1208874d926eb175 100644 (file)
@@ -239,7 +239,7 @@ void FileOpenDialogImplWin32::createFilterMenu()
     _extension_map = new Inkscape::Extension::Extension*[filter_count];
 
     // Filter Image Files
-    all_image_files.name = g_utf8_to_utf16(all_image_files_filter_name,
+    all_image_files.name = g_utf8_to_utf16(_(all_image_files_filter_name),
         -1, NULL, &all_image_files.name_length, NULL);
     all_image_files.filter = g_utf8_to_utf16(all_image_files_filter.data(),
             -1, NULL, &all_image_files.filter_length, NULL);
@@ -247,7 +247,7 @@ void FileOpenDialogImplWin32::createFilterMenu()
     _extension_map[extension_index++] = NULL;
 
     // Filter Inkscape Files
-    all_inkscape_files.name = g_utf8_to_utf16(all_inkscape_files_filter_name,
+    all_inkscape_files.name = g_utf8_to_utf16(_(all_inkscape_files_filter_name),
         -1, NULL, &all_inkscape_files.name_length, NULL);
     all_inkscape_files.filter = g_utf8_to_utf16(all_inkscape_files_filter.data(),
             -1, NULL, &all_inkscape_files.filter_length, NULL);
@@ -255,7 +255,7 @@ void FileOpenDialogImplWin32::createFilterMenu()
     _extension_map[extension_index++] = NULL;
 
     // Filter All Files
-    all_files.name = g_utf8_to_utf16(all_files_filter_name,
+    all_files.name = g_utf8_to_utf16(_(all_files_filter_name),
         -1, NULL, &all_files.name_length, NULL);
     all_files.filter = NULL;
     all_files.filter_length = 0;