Commit 6793aba1 authored by Pietro Battiston's avatar Pietro Battiston

Make error message translatable

parent 639181f4
......@@ -78,10 +78,10 @@ class ToolPreferences(GObject.GObject):
break
i += 1
os.rename(filename, destname)
open_error("The file \"%s\" is corrupted and cannot be "
"parsed." % filename,
"It was moved to \"%s\", and the Latex Plugin will "
"now fallback to the default tools." % destname)
open_error(_("The file \"%s\" is corrupted and cannot be "
"parsed. It was moved to \"%s\", and the Latex "
"Plugin will now fallback to the default tools.")
% (filename, destname))
filename = Resources().get_data_file("tools.xml")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment