summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-03-25 22:37:16 -0400
committerKris Maglione <maglione.k@gmail.com>2011-03-25 22:37:16 -0400
commit204f8ca25c713e3420023786c37a31385bdbc4f3 (patch)
treea14eda819a197d61ef93ea17068b555c63dd577e /common/content/editor.js
parent75bf52f46f272c5e1db885648aad6ab768657ccc (diff)
downloadpentadactyl-204f8ca25c713e3420023786c37a31385bdbc4f3.tar.gz
Annotate most strings which need to be explicitly localified.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r--common/content/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/editor.js b/common/content/editor.js
index 6e9069ef..6f4e8836 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -321,7 +321,7 @@ var Editor = Module("editor", {
try {
var tmpfile = io.createTempFile();
if (!tmpfile)
- throw Error("Couldn't create temporary file");
+ throw Error(/*L*/"Couldn't create temporary file");
if (textBox) {
highlight.highlightNode(textBox, origGroup + " EditorEditing");
@@ -329,7 +329,7 @@ var Editor = Module("editor", {
}
if (!tmpfile.write(text))
- throw Error("Input contains characters not valid in the current " +
+ throw Error(/*L*/"Input contains characters not valid in the current " +
"file encoding");
var lastUpdate = Date.now();