summaryrefslogtreecommitdiffstats
path: root/parser-mecmd.c
diff options
context:
space:
mode:
authorAmar Takhar <mplayer@darkbeer.org>2009-07-07 01:15:02 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 01:38:20 +0300
commite306174952d42e1cd6cc5efc50ae6bb0410501bc (patch)
treea7eb451f2c634f17d8e36a72b6305c1aff508904 /parser-mecmd.c
parentb5972d6f14c04384d88d3f813b435d484562403f (diff)
downloadmpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.bz2
mpv-e306174952d42e1cd6cc5efc50ae6bb0410501bc.tar.xz
Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English string.
Diffstat (limited to 'parser-mecmd.c')
-rw-r--r--parser-mecmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parser-mecmd.c b/parser-mecmd.c
index 85c4f0708d..5792475f32 100644
--- a/parser-mecmd.c
+++ b/parser-mecmd.c
@@ -78,7 +78,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
no_more_opts = 1;
if (i+1 >= argc)
{
- mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, MSGTR_NoFileGivenOnCommandLine);
+ mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, "'--' indicates no more options, but no filename was given on the command line.\n");
goto err_out;
}
continue;
@@ -93,7 +93,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
mp_opt = m_config_get_option(config,opt);
if(!mp_opt) {
tmp = M_OPT_UNKNOWN;
- mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, MSGTR_NotAnMEncoderOption, opt);
+ mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, "-%s is not an MEncoder option\n", opt);
goto err_out;
}
if(!entry || (mp_opt->flags & M_OPT_GLOBAL)){
@@ -105,7 +105,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
else
if(tmp < 0){
// mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp);
- mp_tmsg(MSGT_CFGPARSER, MSGL_FATAL, MSGTR_ErrorParsingOptionOnCommandLine, opt);
+ mp_tmsg(MSGT_CFGPARSER, MSGL_FATAL, "Error parsing option on the command line: -%s\n", opt);
goto err_out;
}
} else {
@@ -142,7 +142,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
exit(0);
if(nf == 0) {
m_entry_list_free(lst);
- mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, MSGTR_NoFileGiven);
+ mp_tmsg(MSGT_CFGPARSER, MSGL_ERR, "No file given\n");
return NULL;
}
return lst;