# HG changeset patch # User ib # Date 1325167145 0 # Node ID 960c785cb6ef848a10382a9ee9e8d2f3b5b4ce3f # Parent 73af1364a09d6483fdaeba99f85cfdb37136c6a4 Rename MSGTR_SelectChapter MSGTR_SelectTitleChapter. This menu allows selecting titles and chapters. Change its definition accordingly. diff -r 73af1364a09d -r 960c785cb6ef gui/win32/dialogs.c --- a/gui/win32/dialogs.c Thu Dec 29 01:14:48 2011 +0000 +++ b/gui/win32/dialogs.c Thu Dec 29 13:59:05 2011 +0000 @@ -872,7 +872,7 @@ int x, y; if (guiInfo.StreamType != STREAMTYPE_DVD) return; - if (FindWindow(NULL, acp(MSGTR_SelectChapter))) return; + if (FindWindow(NULL, acp(MSGTR_SelectTitleChapter))) return; wc.style = CS_HREDRAW | CS_VREDRAW; wc.lpfnWndProc = TitleChapterWndProc; @@ -882,13 +882,13 @@ wc.hCursor = LoadCursor(NULL,IDC_ARROW); wc.hIcon = gui->icon; wc.hbrBackground = SOLID_GREY2; - wc.lpszClassName = acp(MSGTR_SelectChapter); + wc.lpszClassName = acp(MSGTR_SelectTitleChapter); wc.lpszMenuName = NULL; RegisterClass(&wc); x = (GetSystemMetrics(SM_CXSCREEN) / 2) - (180 / 2); y = (GetSystemMetrics(SM_CYSCREEN) / 2) - (100 / 2); - hWnd = CreateWindow(acp(MSGTR_SelectChapter), - acp(MSGTR_SelectChapter), + hWnd = CreateWindow(acp(MSGTR_SelectTitleChapter), + acp(MSGTR_SelectTitleChapter), WS_POPUPWINDOW | WS_CAPTION, x, y, diff -r 73af1364a09d -r 960c785cb6ef gui/win32/gui.c --- a/gui/win32/gui.c Thu Dec 29 01:14:48 2011 +0000 +++ b/gui/win32/gui.c Thu Dec 29 13:59:05 2011 +0000 @@ -1260,7 +1260,7 @@ AppendMenu(gui->submenu, MF_STRING | MF_POPUP, (UINT_PTR) gui->subtitlemenu, acp(MSGTR_MENU_Subtitles)); AppendMenu(gui->submenu, MF_STRING | MF_POPUP, (UINT_PTR) gui->dvdmenu, acp(MSGTR_MENU_DVD)); #ifdef CONFIG_DVDREAD - AppendMenu(gui->dvdmenu, MF_STRING | MF_GRAYED, ID_CHAPTERSEL, acp(MSGTR_SelectChapter)); + AppendMenu(gui->dvdmenu, MF_STRING | MF_GRAYED, ID_CHAPTERSEL, acp(MSGTR_SelectTitleChapter)); #endif AppendMenu(gui->subtitlemenu, MF_STRING, IDSUB_TOGGLE, acp(MSGTR_MENU_SubtitlesOnOff)); AppendMenu(gui->subtitlemenu, MF_STRING, IDSUB_CYCLE, acp(MSGTR_MENU_SubtitleLanguages)); diff -r 73af1364a09d -r 960c785cb6ef help/help_mp-de.h --- a/help/help_mp-de.h Thu Dec 29 01:14:48 2011 +0000 +++ b/help/help_mp-de.h Thu Dec 29 13:59:05 2011 +0000 @@ -1015,7 +1015,7 @@ #define MSGTR_DirectorySelect "Wähle ein Verzeichnis ..." #define MSGTR_PlaylistSave "Speichere Wiedergabeliste ..." #define MSGTR_PlaylistSelect "Wähle Wiedergabeliste ..." -#define MSGTR_SelectChapter "Wähle Kapitel ..." +#define MSGTR_SelectTitleChapter "Wähle Titel/Kapitel ..." #define MSGTR_MENU_DebugConsole "Debugging-Konsole" #define MSGTR_MENU_OnlineHelp "Online-Hilfe" #define MSGTR_MENU_PlayDirectory "Spiele ein Verzeichnis..." diff -r 73af1364a09d -r 960c785cb6ef help/help_mp-en.h --- a/help/help_mp-en.h Thu Dec 29 01:14:48 2011 +0000 +++ b/help/help_mp-en.h Thu Dec 29 13:59:05 2011 +0000 @@ -820,7 +820,7 @@ #define MSGTR_DirectorySelect "Select directory..." #define MSGTR_PlaylistSave "Save playlist..." #define MSGTR_PlaylistSelect "Select playlist..." -#define MSGTR_SelectChapter "Select chapter..." +#define MSGTR_SelectTitleChapter "Select title/chapter..." #define MSGTR_MENU_DebugConsole "Debug Console" #define MSGTR_MENU_OnlineHelp "Online Help" #define MSGTR_MENU_PlayDirectory "Play directory..." diff -r 73af1364a09d -r 960c785cb6ef help/help_mp-zh_CN.h --- a/help/help_mp-zh_CN.h Thu Dec 29 01:14:48 2011 +0000 +++ b/help/help_mp-zh_CN.h Thu Dec 29 13:59:05 2011 +0000 @@ -820,7 +820,6 @@ #define MSGTR_DirectorySelect "选择目录..." #define MSGTR_PlaylistSave "保存播放列表..." #define MSGTR_PlaylistSelect "选择播放列表..." -#define MSGTR_SelectChapter "选择章节..." #define MSGTR_MENU_DebugConsole "调试控制终端" #define MSGTR_MENU_OnlineHelp "线上帮助内容" #define MSGTR_MENU_PlayDirectory "播放目录内容..."