diff options
Diffstat (limited to 'capplet/gsm-app-dialog.c')
-rw-r--r-- | capplet/gsm-app-dialog.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c index c6b7b26..1c038c9 100644 --- a/capplet/gsm-app-dialog.c +++ b/capplet/gsm-app-dialog.c @@ -166,7 +166,13 @@ on_spin_output (GtkSpinButton *spin, GsmAppDialog *dialog) value = gtk_adjustment_get_value (adjustment); dialog->delay = value; - text = g_strdup_printf (_("%d s"), value); + if (value == 1) + text = g_strdup_printf ("%d %s", value, _("second")); + else if (value > 1) + text = g_strdup_printf ("%d %s", value, _("seconds")); + else + text = g_strdup_printf ("%d", value); + gtk_entry_set_text (GTK_ENTRY (spin), text); g_free (text); |