From 6352fa90375d66a8416774223afeb16e328c510d Mon Sep 17 00:00:00 2001 From: mfloryan Date: Thu, 28 Feb 2008 17:12:19 +0000 Subject: [PATCH] fixed another localization issue - file extension names are now localized properly. --- src/ui/dialog/filedialogimpl-win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp index 354d673bc..8dfd61075 100644 --- a/src/ui/dialog/filedialogimpl-win32.cpp +++ b/src/ui/dialog/filedialogimpl-win32.cpp @@ -208,7 +208,7 @@ void FileOpenDialogImplWin32::createFilterMenu() if (imod->deactivated()) continue; // Type - filter.name = g_utf8_to_utf16(imod->get_filetypename(), + filter.name = g_utf8_to_utf16(_(imod->get_filetypename()), -1, NULL, &filter.name_length, NULL); // Extension @@ -1296,7 +1296,7 @@ void FileSaveDialogImplWin32::createFilterMenu() // Type filter.name = g_utf8_to_utf16( - omod->get_filetypename(), -1, NULL, &filter.name_length, NULL); + _(omod->get_filetypename()), -1, NULL, &filter.name_length, NULL); filter.mod = omod; -- 2.30.2