[gnome-control-center] wifi: Fixed plural handling for different languages
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wifi: Fixed plural handling for different languages
- Date: Thu, 4 Nov 2021 09:18:48 +0000 (UTC)
commit dfd0e38f3baeb95c7f82c3217310f36f3d294585
Author: Tejal Palwankar <tejal30palwankar gmail com>
Date: Wed Oct 20 19:24:44 2021 +0000
wifi: Fixed plural handling for different languages
Fixes #1463
panels/network/cc-wifi-hotspot-dialog.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/panels/network/cc-wifi-hotspot-dialog.c b/panels/network/cc-wifi-hotspot-dialog.c
index ece2091a3..57f6d52a4 100644
--- a/panels/network/cc-wifi-hotspot-dialog.c
+++ b/panels/network/cc-wifi-hotspot-dialog.c
@@ -269,7 +269,8 @@ hotspot_entry_changed_cb (CcWifiHotspotDialog *self)
else
{
guint max_chars = self->wpa_supported ? 63 : 16;
- error_label = g_strdup_printf (_("Must have a maximum of %d characters"), max_chars);
+ error_label = g_strdup_printf (ngettext ("Must have a maximum of %d character",
+ "Must have a maximum of %d characters", max_chars),
max_chars);
}
widget_set_error (GTK_WIDGET(self->password_entry));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]