diff options
author | wm4 <wm4@nowhere> | 2012-11-20 14:00:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:16 +0100 |
commit | 0e63702ef830f123d735cbbb436e3e805ad0b2d0 (patch) | |
tree | 43171a9e49c9f39e81a14d7c06e01ccd5cde7a8f /core/command.c | |
parent | 62e78fab7927d7604913225bfb551457f64e4e33 (diff) | |
download | mpv-0e63702ef830f123d735cbbb436e3e805ad0b2d0.tar.bz2 mpv-0e63702ef830f123d735cbbb436e3e805ad0b2d0.tar.xz |
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.
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |