1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:02:38 +01:00

More polyglotization.

This commit is contained in:
Kris Maglione
2011-04-29 14:28:02 -04:00
parent c2acfadc85
commit 7115948106
18 changed files with 96 additions and 60 deletions

View File

@@ -321,7 +321,7 @@ var Editor = Module("editor", {
try {
var tmpfile = io.createTempFile();
if (!tmpfile)
throw Error(/*L*/"Couldn't create temporary file");
throw Error(_("io.cantCreateTempFile"));
if (textBox) {
highlight.highlightNode(textBox, origGroup + " EditorEditing");
@@ -329,8 +329,7 @@ var Editor = Module("editor", {
}
if (!tmpfile.write(text))
throw Error(/*L*/"Input contains characters not valid in the current " +
"file encoding");
throw Error(_("io.cantEncode"));
var lastUpdate = Date.now();