mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
location: Use translated reason string
Gio now has API to look up localized strings from desktop files, so we can display a correctly translated reason where available. https://bugzilla.gnome.org/show_bug.cgi?id=779413
This commit is contained in:
parent
3f3e514ff2
commit
723c49a8b7
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ var AppAuthorizer = new Lang.Class({
|
|||
_userAuthorizeApp: function() {
|
||||
let name = this._app.get_name();
|
||||
let appInfo = this._app.get_app_info();
|
||||
let reason = appInfo.get_string("X-Geoclue-Reason");
|
||||
let reason = appInfo.get_locale_string("X-Geoclue-Reason");
|
||||
|
||||
this._showAppAuthDialog(name, reason);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue