From 0e63702ef830f123d735cbbb436e3e805ad0b2d0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 20 Nov 2012 14:00:12 +0100 Subject: command: use yes/no instead of enabled/disabled for consistency The idea is that the OSD uses the same names as the options, if possible. --- core/command.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'core/command.c') diff --git a/core/command.c b/core/command.c index a7e7153c34..739f0feb13 100644 --- a/core/command.c +++ b/core/command.c @@ -754,7 +754,7 @@ static int property_switch_track(m_option_t *prop, int action, void *arg, return M_PROPERTY_OK; case M_PROPERTY_PRINT: if (!track) - *(char **) arg = talloc_strdup(NULL, mp_gtext("disabled")); + *(char **) arg = talloc_strdup(NULL, "no"); else { char *lang = track->lang; if (!lang) @@ -1919,9 +1919,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) opts->osd_level = v > max ? max : v; if (msg_osd && opts->osd_level <= 1) set_osd_tmsg(mpctx, OSD_MSG_OSD_STATUS, 0, osd_duration, - "OSD: %s", - opts->osd_level ? mp_gtext("enabled") : - mp_gtext("disabled")); + "OSD: %s", opts->osd_level ? "yes" : "no"); else rm_osd_msg(mpctx, OSD_MSG_OSD_STATUS); break; -- cgit v1.2.3