mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
authPrompt: Also replace full-width colon
It is used instead of the regular colon in some locales, for example Chinese. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5716 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2598>
This commit is contained in:
parent
0c16e09002
commit
096ef1fa9b
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ var AuthPrompt = GObject.registerClass({
|
|||
if (question === 'Password:' || question === 'Password: ')
|
||||
this.setQuestion(_('Password'));
|
||||
else
|
||||
this.setQuestion(question.replace(/: *$/, '').trim());
|
||||
this.setQuestion(question.replace(/[::] *$/, '').trim());
|
||||
|
||||
this.updateSensitivity(true);
|
||||
this.emit('prompted');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue