general: Remove periods from single sentences

This is done to align with the HIG rule about periods in single sentence
strings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3280>
This commit is contained in:
Jamie Gravendeel
2024-04-24 13:14:47 +02:00
parent 779dfb6600
commit 448df5c58e
14 changed files with 33 additions and 33 deletions

View File

@ -299,11 +299,11 @@ const ShellMountPasswordDialog = GObject.registerClass({
if (disksApp) {
this._keyfilesLabel.clutter_text.set_markup(
/* Translators: %s is the Disks application */
_('To unlock a volume that uses keyfiles, use the <i>%s</i> utility instead.')
_('To unlock a volume that uses keyfiles, use the <i>%s</i> utility instead')
.format(disksApp.get_name()));
} else {
this._keyfilesLabel.clutter_text.set_markup(
_('You need an external utility like <i>Disks</i> to unlock a volume that uses keyfiles.'));
_('You need an external utility like <i>Disks</i> to unlock a volume that uses keyfiles'));
}
this._keyfilesLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
this._keyfilesLabel.clutter_text.line_wrap = true;
@ -435,7 +435,7 @@ const ShellMountPasswordDialog = GObject.registerClass({
if (isNaN(pim)) {
this._pimEntry.set_text('');
this._errorMessageLabel.text = _('The PIM must be a number or empty.');
this._errorMessageLabel.text = _('The PIM must be a number or empty');
this._errorMessageLabel.opacity = 255;
return;
}