#include <sys/stat.h>
#include <errno.h>
+#include "general.h"
+
#endif
using namespace std;
{
String ext(filename_extension(filename));
if(ext!=".sif" && ext!=".sifz" && !App::dialog_yes_no(_("Unknown extension"),
- _("You have given the file name an extension\nwhich I do not recognise. Are you sure this is what you want?")))
+ _("You have given the file name an extension\nwhich I do not recognize. Are you sure this is what you want?")))
continue;
}
catch(...)
}
catch(...)
{
- App::dialog_error_blocking(_("Error"),_("An error has occured when trying to COMMIT"));
+ App::dialog_error_blocking(_("Error"),_("An error has occurred when trying to COMMIT"));
}
update_all_titles();
}
}
catch(...)
{
- App::dialog_error_blocking(_("Error"),_("An error has occured when trying to ADD"));
+ App::dialog_error_blocking(_("Error"),_("An error has occurred when trying to ADD"));
}
update_all_titles();
}
}
catch(...)
{
- App::dialog_error_blocking(_("Error"),_("An error has occured when trying to UPDATE"));
+ App::dialog_error_blocking(_("Error"),_("An error has occurred when trying to UPDATE"));
}
//update_all_titles();
}
}
catch(...)
{
- App::dialog_error_blocking(_("Error"),_("An error has occured when trying to UPDATE"));
+ App::dialog_error_blocking(_("Error"),_("An error has occurred when trying to UPDATE"));
}
//update_all_titles();
}
if(candidate_list2.empty())
synfig::warning("%s:%d Action CandidateList2 is empty!", __FILE__, __LINE__);
- // Seperate out the candidate lists so that there are no conflicts
+ // Separate out the candidate lists so that there are no conflicts
for(iter=candidate_list.begin();iter!=candidate_list.end();++iter)
{
synfigapp::Action::CandidateList::iterator iter2(candidate_list2.find(iter->name));