mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
Give message string a more meaningful name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23894 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
22fc24fe56
commit
cc95003d5f
@ -1573,7 +1573,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Chyba při čekání na PID: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Chyba výběru.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Chyba čtení na popisovači souboru potomka: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Chyba čtení na popisovači souboru potomka: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Spuštění v konsoli: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Potomek už běží.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Forkování selhalo!!!\n"
|
||||
|
@ -1634,7 +1634,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid-Fehler: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Fehler bei der Auswahl.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Lesefehler bei child-Dateideskriptor: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Lesefehler bei child-Dateideskriptor: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Konsolenaufruf: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Es läuft schon ein Child.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork fehlgeschlagen!!!\n"
|
||||
|
@ -1596,7 +1596,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid error: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Select error.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Read error on child's file descriptor: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Read error on child's file descriptor: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Console run: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] A child is already running.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork failed !!!\n"
|
||||
|
@ -1568,7 +1568,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Error Waitpid: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Error en Select.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Error de lectura en el descriptor de archivo hijo: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Error de lectura en el descriptor de archivo hijo: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Consola corriendo: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Ya hay un hijo/child corriendo.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Falló el Fork!!!\n"
|
||||
|
@ -1565,7 +1565,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Erreur attente identificateur processus : %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Erreur sélection.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Erreur lecture sur processus enfant : %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Erreur lecture sur processus enfant : %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Console run : %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Processus enfant déjà en cours.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Échec branchement !!!\n"
|
||||
|
@ -1595,7 +1595,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid hiba: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Kiválasztási hiba.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Olvasási hiba a gyerek fájlleírójában: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Olvasási hiba a gyerek fájlleírójában: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Konzol futtatás: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Egy gyermek már fut.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork sikertelen !!!\n"
|
||||
|
@ -1593,7 +1593,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Errore di attesa pid: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Errore di selezione.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Errore di lettura sul descrittore file del processo figlio: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Errore di lettura sul descrittore file del processo figlio: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Esecuzione in console: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Un processo figlio è già in esecuzione.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork fallito !!!\n"
|
||||
|
@ -1476,7 +1476,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] błąd waitpid: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Błąd wyboru.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Błąd odczytu deskryptora pliku potomnego: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Błąd odczytu deskryptora pliku potomnego: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Uruchom: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Proces potomny już działa.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork nie powiodło się !!!\n"
|
||||
|
@ -1707,7 +1707,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[МЕНЮ] Ошибка вызова waitpid: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[МЕНЮ] Ошибка вызова select.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[МЕНЮ] Ошибка чтения дочернего файлового описателя: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[МЕНЮ] Ошибка чтения дочернего файлового описателя: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[МЕНЮ] Запуск консоли: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[МЕНЮ] Дочерний процесс уже запущен.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[МЕНЮ] Вызов fork не удался !!!\n"
|
||||
|
@ -1465,7 +1465,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid hatası: %s.\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Seçim hatası.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] Alt süreçte okuma hatası: %s.\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] Alt süreçte okuma hatası: %s.\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] Console işlemi: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] Bir alt süreç zaten çalışıyor.\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Çatallama başarısız !!!\n"
|
||||
|
@ -1588,7 +1588,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid 错误: %s。\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Select 错误。\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] 子进程的文件描述符读取错误: %s。\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] 子进程的文件描述符读取错误: %s。\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] 终端运行: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] 子进程已经运行。\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork 失败!!!\n"
|
||||
|
@ -1573,7 +1573,7 @@ static char help_text[]=
|
||||
// libmenu/menu_console.c
|
||||
#define MSGTR_LIBMENU_WaitPidError "[MENU] Waitpid 錯誤: %s。\n"
|
||||
#define MSGTR_LIBMENU_SelectError "[MENU] Select 錯誤。\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildren "[MENU] 子進程的文件描述符讀取錯誤: %s。\n"
|
||||
#define MSGTR_LIBMENU_ReadErrorOnChildFD "[MENU] 子進程的文件描述符讀取錯誤: %s。\n"
|
||||
#define MSGTR_LIBMENU_ConsoleRun "[MENU] 終端運行: %s ...\n"
|
||||
#define MSGTR_LIBMENU_AChildIsAlreadyRunning "[MENU] 子進程已經運行。\n"
|
||||
#define MSGTR_LIBMENU_ForkFailed "[MENU] Fork 失敗!!!\n"
|
||||
|
@ -275,7 +275,7 @@ static void check_child(menu_t* menu) {
|
||||
if(w) mpriv->add_line = 1;
|
||||
r = read(mpriv->child_fd[i],buffer,255);
|
||||
if(r < 0)
|
||||
mp_msg(MSGT_GLOBAL,MSGL_ERR,MSGTR_LIBMENU_ReadErrorOnChildren, i == 1 ? "stdout":"stderr");
|
||||
mp_msg(MSGT_GLOBAL,MSGL_ERR,MSGTR_LIBMENU_ReadErrorOnChildFD, i == 1 ? "stdout":"stderr");
|
||||
else if(r>0) {
|
||||
buffer[r] = '\0';
|
||||
add_string(mpriv,buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user