summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2009-10-05 21:53:50 (GMT)
committerAdel Gadllah <adel.gadllah@gmail.com>2009-10-05 21:53:50 (GMT)
commit3bf88b8988a5f8abb157decf412c8b33f3b4e7ff (patch)
tree637476f21642756f662a51fc5e7c57f3e814cace
parent4ddc1118bb745a489f3b37c4d2475131ba4c36ae (diff)
downloadgnome-shell-3bf88b8988a5f8abb157decf412c8b33f3b4e7ff.tar.gz
gnome-shell-3bf88b8988a5f8abb157decf412c8b33f3b4e7ff.tar.xz
Run dialog: Make error message translatable
Allow the error message to be translated. https://bugzilla.gnome.org/show_bug.cgi?id=597422
-rw-r--r--js/ui/runDialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 1d6ae4a..69c2434 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -170,7 +170,7 @@ RunDialog.prototype = {
* We are only interested in the actual error, so parse that out.
*/
let m = /.+\((.+)\)/.exec(e);
- let errorStr = "Execution of '" + command + "' failed:\n" + m[1];
+ let errorStr = _("Execution of '%s' failed:").format(command) + "\n" + m[1];
this._errorMessage.set_text(errorStr);
this._errorBox.show();
}