[gnome-shell] Run dialog: Make error message translatable
- From: Adel Gadllah <agadllah src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Run dialog: Make error message translatable
- Date: Mon, 5 Oct 2009 21:55:05 +0000 (UTC)
commit 3bf88b8988a5f8abb157decf412c8b33f3b4e7ff
Author: Adel Gadllah <adel gadllah gmail com>
Date: Mon Oct 5 23:53:50 2009 +0200
Run dialog: Make error message translatable
Allow the error message to be translated.
https://bugzilla.gnome.org/show_bug.cgi?id=597422
js/ui/runDialog.js | 2 +-
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();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]