mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Run dialog: Make error message translatable
Allow the error message to be translated. https://bugzilla.gnome.org/show_bug.cgi?id=597422
This commit is contained in:
parent
4ddc1118bb
commit
3bf88b8988
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue