index e47154649abdf8476361843a3c538f9aa865f387..db49b4a8668521a28970cf3d1208874d926eb175 100644 (file)
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
_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);
_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);
_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;