- boost::filesystem::path file = "instant_i18n";
-
- FILE* f = fopen_boost (file, "a");
- if (!f) {
- error_dialog (_window, wxString::Format(_("Could not open translation file %s"), std_to_wx(file.string()).data()));
- return;
- }
- fprintf (f, "%s\n", wx_to_std(original).c_str());
- fprintf (f, "%s\n", wx_to_std(get_text()).c_str());
- fclose (f);