mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +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:
@@ -541,7 +541,7 @@ static void show_audio_subs_languages(dvdnav_t *nav)
|
||||
format = 1; //unknown
|
||||
id = i + base[format];
|
||||
if (lang != 0xFFFF) {
|
||||
mp_tmsg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDaudioStreamInfo, i,
|
||||
mp_tmsg(MSGT_OPEN,MSGL_STATUS,"audio stream: %d format: %s (%s) language: %s aid: %d.\n", i,
|
||||
dvd_audio_stream_types[format], dvd_audio_stream_channels[channels], tmp, id);
|
||||
if(lang && tmp[0])
|
||||
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AID_%d_LANG=%s\n", id, tmp);
|
||||
@@ -562,7 +562,7 @@ static void show_audio_subs_languages(dvdnav_t *nav)
|
||||
}
|
||||
tmp[2] = 0;
|
||||
if (lang != 0xFFFF)
|
||||
mp_tmsg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDsubtitleLanguage, i+0x20, tmp);
|
||||
mp_tmsg(MSGT_OPEN,MSGL_STATUS,"subtitle ( sid ): %d language: %s\n", i+0x20, tmp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -575,7 +575,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
|
||||
else if(dvd_device) filename= dvd_device;
|
||||
else filename = DEFAULT_DVD_DEVICE;
|
||||
if(!(priv=new_dvdnav_stream(filename))) {
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,MSGTR_CantOpenDVD,filename, strerror(errno));
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,"Couldn't open DVD device: %s (%s)\n",filename, strerror(errno));
|
||||
return STREAM_UNSUPPORTED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user