[gedit-latex] Make error message translatable
- From: Pietro Battiston <pbattiston src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Make error message translatable
- Date: Thu, 19 May 2016 15:13:43 +0000 (UTC)
commit 6793aba107e7880139477ed1631a781a3c04a1a2
Author: Pietro Battiston <pbattiston src gnome org>
Date: Thu May 19 17:12:07 2016 +0200
Make error message translatable
latex/preferences/tools.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/latex/preferences/tools.py b/latex/preferences/tools.py
index e996d52..b451a1a 100644
--- a/latex/preferences/tools.py
+++ b/latex/preferences/tools.py
@@ -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")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]