X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Ffiledialogimpl-win32.cpp;h=db49b4a8668521a28970cf3d1208874d926eb175;hb=d18b4d7c4eb090852371bf44013cd4e2b0e620ad;hp=e47154649abdf8476361843a3c538f9aa865f387;hpb=6bffd52160c0be8ad7b402099c7e1c70eeed4556;p=inkscape.git diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp index e47154649..db49b4a86 100644 --- a/src/ui/dialog/filedialogimpl-win32.cpp +++ b/src/ui/dialog/filedialogimpl-win32.cpp @@ -189,9 +189,9 @@ void FileOpenDialogImplWin32::createFilterMenu() ustring all_inkscape_files_filter, all_image_files_filter; Filter all_files, all_inkscape_files, all_image_files; - const gchar *all_files_filter_name = _("All Files"); - const gchar *all_inkscape_files_filter_name = ("All Inkscape Files"); - const gchar *all_image_files_filter_name = _("All Image Files"); + const gchar *all_files_filter_name = N_("All Files"); + const gchar *all_inkscape_files_filter_name = N_("All Inkscape Files"); + const gchar *all_image_files_filter_name = N_("All Image Files"); // Calculate the amount of memory required int filter_count = 3; // 3 - one for All Files, All Images and All Inkscape Files @@ -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;