mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00:00
Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English string.
This commit is contained in:
+3
-3
@@ -40,9 +40,9 @@ mp_input_lirc_init(void) {
|
||||
int lirc_sock;
|
||||
int mode;
|
||||
|
||||
mp_tmsg(MSGT_LIRC,MSGL_V,MSGTR_SettingUpLIRC);
|
||||
mp_tmsg(MSGT_LIRC,MSGL_V,"Setting up LIRC support...\n");
|
||||
if((lirc_sock=lirc_init("mplayer",1))==-1){
|
||||
mp_tmsg(MSGT_LIRC,MSGL_ERR,MSGTR_LIRCopenfailed);
|
||||
mp_tmsg(MSGT_LIRC,MSGL_ERR,"Failed to open LIRC support. You will not be able to use your remote control.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ mp_input_lirc_init(void) {
|
||||
}
|
||||
|
||||
if(lirc_readconfig( lirc_configfile,&lirc_config,NULL )!=0 ){
|
||||
mp_tmsg(MSGT_LIRC,MSGL_ERR,MSGTR_LIRCcfgerr,
|
||||
mp_tmsg(MSGT_LIRC,MSGL_ERR,"Failed to read LIRC config file %s.\n",
|
||||
lirc_configfile == NULL ? "~/.lircrc" : lirc_configfile);
|
||||
lirc_deinit();
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user