Code

screen: added "mode" in mode message
authorMax Kellermann <max@duempel.org>
Tue, 31 Mar 2009 19:24:22 +0000 (21:24 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 31 Mar 2009 19:24:22 +0000 (21:24 +0200)
Print "Single _mode_ is on" instead of just "Single is on".  This is
intended to be clearer for both users and translators.

src/screen.c

index e245f0d449b0290bdbd3b71d9b6114ae501eb69f..899c9a615f1a32f04db6042c16a5ce876eb71cc3 100644 (file)
@@ -630,23 +630,23 @@ screen_update(mpdclient_t *c)
 
                if (repeat != c->status->repeat)
                        screen_status_printf(c->status->repeat ?
-                                            _("Repeat is on") :
-                                            _("Repeat is off"));
+                                            _("Repeat mode is on") :
+                                            _("Repeat mode is off"));
 
                if (random_enabled != c->status->random)
                        screen_status_printf(c->status->random ?
-                                            _("Random is on") :
-                                            _("Random is off"));
+                                            _("Random mode is on") :
+                                            _("Random mode is off"));
 
                if (single != c->status->single)
                        screen_status_printf(c->status->single ?
-                                            _("Single is on") :
-                                            _("Single is off"));
+                                            _("Single mode is on") :
+                                            _("Single mode is off"));
 
                if (consume != c->status->consume)
                        screen_status_printf(c->status->consume ?
-                                            _("Consume is on") :
-                                            _("Consume is off"));
+                                            _("Consume mode is on") :
+                                            _("Consume mode is off"));
 
                if (crossfade != c->status->crossfade)
                        screen_status_printf(_("Crossfade %d seconds"), c->status->crossfade);