From a9793b43a5e0ed4e4fe88497b1f9cc413cd08266 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 28 Nov 2010 23:08:26 +0100 Subject: [PATCH] Alter WinBoard menu text The texts are slightly adapted, mostly by choosing more convenient tabbing characters for the new menu organization. The translation template is updated accordingly. --- winboard/language.txt | 103 ++++++++++++++++++++++++++---------------------- winboard/winboard.rc | 64 +++++++++++++++--------------- 2 files changed, 88 insertions(+), 79 deletions(-) diff --git a/winboard/language.txt b/winboard/language.txt index e63e74f..ab2a553 100644 --- a/winboard/language.txt +++ b/winboard/language.txt @@ -41,46 +41,64 @@ MENUS: ## the keystrokes the same (for now). (Alt, Ctrl and Shift can be translated.) "New &Game\tCtrl-N" === "" -"New Shuffle Game..." === "" -"New Variant...\tAlt+Shift+V" === "" +"New Sh&uffle Game..." === "" +"New &Variant...\tAlt+Shift+V" === "" "&Load Game...\tCtrl-O" === "" "Load &Next Game\tAlt+PgDn" === "" "Load &Previous Game\tAlt+PgUp" === "" "&Reload Same Game" === "" "&Save Game...\tCtrl-S" === "" -"&Copy Game To Clipboard\tCtrl+C" === "" -"Paste Game &From Clipboard\tCtrl+V" === "" -"Copy Game List to Clipboard" === "" "L&oad Position...\tCtrl+Shift+O" === "" "Load N&ext Position\tAlt+Shift+PgDn" === "" "Load Pre&vious Position\tAlt+Shift+PgUp" === "" "Reload Sa&me Position" === "" "S&ave Position...\tCtrl+Shift+S" === "" -"Save &Diagram..." === "" -"Cop&y Position To Clipboard\tCtrl+Shift+C" === "" -"Pas&te Position From Clipboard\tCtrl+Shift+V" === "" -"E&xit" === "" +"Save as &Diagram..." === "" "&Quit" === "" +"&Copy Game To Clipboard\tCtrl+C" === "" +"C&opy Position To Clipboard\tCtrl+Shift+C" === "" +"Copy Game List to Clipboard" === "" +"&Paste Game From Clipboard\tCtrl+V" === "" +"P&aste Position From Clipboard\tCtrl+Shift+V" === "" +"&Edit Game\tCtrl+E" === "" +"E&dit Position\tCtrl+Shift+E" === "" +"Edit Ta&gs..." === "" +"Edit &Comment..." === "" +"Enter &Username..." === "" +"&Revert\tHome" === "" +"&Annotate" === "" +"&Truncate Game\tEnd" === "" +"&Backward\tAlt+Left" === "" +"&Forward\tAlt+Right" === "" +"Back to &Start\tAlt+Home" === "" +"For&ward to End\tAlt+End" === "" + +"Flip &View\tF2" === "" +"&Swap Clocks" === "" +"Engine &Output\tAlt+Shift+O" === "" +"Move &History\tAlt+Shift+H" === "" +"Evaluation &Graph\tAlt+Shift+E" === "" +"Game &List\tAlt+Shift+G" === "" +"Open &New Chat Window" === "" +"Type In &Move...\tAlt+I" === "" +"&Tags" === "" +"&Comments" === "" +"&Game List Tags..." === "" +"&Board..." === "" +"&Fonts..." === "" + "Machine &White\tCtrl+W" === "" "Machine &Black\tCtrl+B" === "" -"Two &Machines\tCtrl+T" === "" +"&Two Machines\tCtrl+T" === "" "Machine Both" === "" -"Machine Matc&h" === "" "&Analysis Mode\tCtrl+A" === "" "Analyze &File\tCtrl+F" === "" -"&ICS Client" === "" -"Edit &Game\tCtrl+E" === "" -"&Edit Position\tShift+Ctrl+E" === "" +"&Edit Game\tCtrl+E" === "" +"E&dit Position\tCtrl+Shift+E" === "" "Trai&ning" === "" -"Show Engine &Output\tAlt+Shift+O" === "" -"Show Evaluation Graph\tAlt+Shift+E" === "" -"Show Game &List\tAlt+Shift+G" === "" -"Show Move History\tAlt+Shift+H" === "" -"Open Chat Window" === "" -"Edit &Tags..." === "" -"Edit &Comment..." === "" -"Enter &Username..." === "" +"&ICS Client" === "" +"&Machine Match" === "" "&Pause\tPause" === "" "&Accept\tF3" === "" @@ -98,42 +116,30 @@ MENUS: "Adjudicate to &Black" === "" "Adjudicate &Draw" === "" -"T&ype In Move...\tAlt+I" === "" -"&Backward\tAlt+Left" === "" -"&Forward\tAlt+Right" === "" -"Back to &Start\tAlt+Home" === "" -"Forward to &End\tAlt+End" === "" -"Re&vert" === "" -"&Annotate" === "" -"&Truncate Game" === "" +"Engine #&1 Settings..." === "" +"Engine #&2 Settings..." === "" +"&Hint..." === "" +"&Book..." === "" "&Move Now\tCtrl+M" === "" "&Retract Move\tCtrl+X" === "" -"Flip &View\tF2" === "" -"Swap &Clocks" === "" "&Mute all Sounds" === "" "&General..." === "" -"&Board..." === "" -"Adjudications...\tAlt+Shift+J" === "" -"Common Engine...\tAlt+Shift+U" === "" -"Engine #1 Settings..." === "" -"Engine #2 Settings..." === "" -"&ICS..." === "" -"&Fonts..." === "" -"Soun&ds..." === "" -"Game List..." === "" -"Comm&unications..." === "" +"&Time Control...\tAlt+Shift+T" === "" +"Common &Engine...\tAlt+Shift+U" === "" +"Ad&judications...\tAlt+Shift+J" === "" "&Load Game...\tAlt+Shift+L" === "" "&Save Game...\tAlt+Shift+S" === "" -"&Time Control...\tAlt+Shift+T" === "" +"G&ame List..." === "" +"Soun&ds..." === "" +"&ICS..." === "" +"Comm&unications..." === "" "Save Settings &Now" === "" "Save Settings on E&xit" === "" "Help &Contents\tF1" === "" "Help &Index" === "" "How to &Use Help" === "" -"&Hint..." === "" -"&Book..." === "" "&About WinBoard" === "" "White" === "" @@ -588,11 +594,15 @@ CHAT BOXES winboard.c "&File" === "" +"&Edit" === "" +"&View" === "" "&Mode" === "" "&Action" === "" "&Step" === "" +"E&ngine" === "" "&Options" === "" "&Help" === "" +"You can only start a match from the initial position" === "" "Font name too long:" === "" "Font point size missing:" === "" "Can't parse color name %s" === "" @@ -902,8 +912,7 @@ backend.c "Bad FEN position in clipboard" === "" "No response from ICS" === "" "You cannot do this while you are playing or observing" === "" -"Click in holdings to choose piece" === "" -"You can only start a match from the initial position." === "" +"Click in holdings to choose piece" === "" END-OF-GAME MESSAGES (should they be translated?) ## I think that only for visualization and not for PGN, as PGN files are shared all around the world diff --git a/winboard/winboard.rc b/winboard/winboard.rc index 2390a52..770f58d 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -1099,9 +1099,9 @@ WINBOARD MENU DISCARDABLE BEGIN POPUP "&File" BEGIN - MENUITEM "New &Game\tCtrl-N", IDM_NewGame - MENUITEM "New Shuffle Game...", IDM_NewGameFRC - MENUITEM "New Variant...\tAlt+Shift+V", IDM_NewVariant + MENUITEM "&New Game\tCtrl-N", IDM_NewGame + MENUITEM "New Sh&uffle Game...", IDM_NewGameFRC + MENUITEM "New &Variant...\tAlt+Shift+V",IDM_NewVariant MENUITEM SEPARATOR MENUITEM "&Load Game...\tCtrl-O", IDM_LoadGame MENUITEM "L&oad Position...\tCtrl+Shift+O", IDM_LoadPosition @@ -1118,51 +1118,51 @@ BEGIN MENUITEM SEPARATOR MENUITEM "Save as &Diagram...", IDM_SaveDiagram MENUITEM SEPARATOR - MENUITEM "E&xit", IDM_Exit + MENUITEM "&Quit", IDM_Exit END POPUP "&Edit" BEGIN MENUITEM "&Copy Game To Clipboard\tCtrl+C", IDM_CopyGame - MENUITEM "Cop&y Position To Clipboard\tCtrl+Shift+C", + MENUITEM "C&opy Position To Clipboard\tCtrl+Shift+C", IDM_CopyPosition MENUITEM "Copy Game List to Clipboard", IDM_CopyGameListToClipboard MENUITEM SEPARATOR - MENUITEM "Paste Game &From Clipboard\tCtrl+V", IDM_PasteGame - MENUITEM "Pas&te Position From Clipboard\tCtrl+Shift+V", + MENUITEM "&Paste Game From Clipboard\tCtrl+V", IDM_PasteGame + MENUITEM "P&aste Position From Clipboard\tCtrl+Shift+V", IDM_PasteAny MENUITEM SEPARATOR - MENUITEM "Edit &Game\tCtrl+E", IDM_EditGame - MENUITEM "&Edit Position\tShift+Ctrl+E",IDM_EditPosition + MENUITEM "&Edit Game\tCtrl+E", IDM_EditGame + MENUITEM "E&dit Position\tCtrl+Shift+E",IDM_EditPosition MENUITEM SEPARATOR - MENUITEM "Edit &Tags...", IDM_EditTags + MENUITEM "Edit Ta&gs...", IDM_EditTags MENUITEM "Edit &Comment...", IDM_EditComment MENUITEM "Enter &Username...", IDM_TypeInName MENUITEM SEPARATOR - MENUITEM "Re&vert", IDM_Revert + MENUITEM "&Revert\tHome", IDM_Revert MENUITEM "&Annotate", IDM_Annotate - MENUITEM "&Truncate Game", IDM_TruncateGame + MENUITEM "&Truncate Game\tEnd", IDM_TruncateGame MENUITEM SEPARATOR MENUITEM "&Backward\tAlt+Left", IDM_Backward MENUITEM "&Forward\tAlt+Right", IDM_Forward MENUITEM "Back to &Start\tAlt+Home", IDM_ToStart - MENUITEM "Forward to &End\tAlt+End", IDM_ToEnd + MENUITEM "For&ward to End\tAlt+End", IDM_ToEnd END POPUP "&View" BEGIN MENUITEM "Flip &View\tF2", IDM_FlipView - MENUITEM "Swap &Clocks", IDM_FlipClock + MENUITEM "&Swap Clocks", IDM_FlipClock MENUITEM SEPARATOR - MENUITEM "Show Engine &Output\tAlt+Shift+O", IDM_ShowEngineOutput - MENUITEM "Show Move History\tAlt+Shift+H", IDM_ShowMoveHistory - MENUITEM "Show Evaluation Graph\tAlt+Shift+E",IDM_ShowEvalGraph - MENUITEM "Show Game &List\tAlt+Shift+G", IDM_ShowGameList - MENUITEM "Open New Chat Window", IDM_NewChat - MENUITEM "T&ype In Move...\tAlt+I", IDM_TypeInMove + MENUITEM "Engine &Output\tAlt+Shift+O", IDM_ShowEngineOutput + MENUITEM "Move &History\tAlt+Shift+H", IDM_ShowMoveHistory + MENUITEM "Evaluation &Graph\tAlt+Shift+E",IDM_ShowEvalGraph + MENUITEM "Game &List\tAlt+Shift+G", IDM_ShowGameList + MENUITEM "Open &New Chat Window", IDM_NewChat + MENUITEM "Type In &Move...\tAlt+I", IDM_TypeInMove MENUITEM SEPARATOR - MENUITEM "Show &Tags...", IDM_EditTags - MENUITEM "Show &Comments...", IDM_EditComment + MENUITEM "&Tags", IDM_EditTags + MENUITEM "&Comments", IDM_EditComment MENUITEM SEPARATOR - MENUITEM "Game List...", IDM_GameListOptions + MENUITEM "&Game List Tags...", IDM_GameListOptions MENUITEM "&Board...", IDM_BoardOptions MENUITEM "&Fonts...", IDM_Fonts END @@ -1170,16 +1170,16 @@ BEGIN BEGIN MENUITEM "Machine &White\tCtrl+W", IDM_MachineWhite MENUITEM "Machine &Black\tCtrl+B", IDM_MachineBlack - MENUITEM "Two &Machines\tCtrl+T", IDM_TwoMachines + MENUITEM "&Two Machines\tCtrl+T", IDM_TwoMachines // MENUITEM "Machine Both", IDM_MachineBoth MENUITEM "&Analysis Mode\tCtrl+A", IDM_AnalysisMode MENUITEM "Analyze &File\tCtrl+F", IDM_AnalyzeFile - MENUITEM "Edit &Game\tCtrl+E", IDM_EditGame - MENUITEM "&Edit Position\tShift+Ctrl+E",IDM_EditPosition + MENUITEM "&Edit Game\tCtrl+E", IDM_EditGame + MENUITEM "E&dit Position\tCtrl+Shift+E",IDM_EditPosition MENUITEM "Trai&ning", IDM_Training, GRAYED MENUITEM "&ICS Client", IDM_IcsClient MENUITEM SEPARATOR - MENUITEM "Machine Matc&h", IDM_Match + MENUITEM "&Machine Match", IDM_Match MENUITEM "&Pause\tPause", IDM_Pause END POPUP "&Action" @@ -1205,8 +1205,8 @@ BEGIN POPUP "E&ngine" BEGIN MENUITEM SEPARATOR - MENUITEM "Engine #1 Settings...", IDM_Engine1Options - MENUITEM "Engine #2 Settings...", IDM_Engine2Options + MENUITEM "Engine #&1 Settings...", IDM_Engine1Options + MENUITEM "Engine #&2 Settings...", IDM_Engine2Options MENUITEM SEPARATOR MENUITEM "&Hint...", IDM_Hint MENUITEM "&Book...", IDM_Book @@ -1220,12 +1220,12 @@ BEGIN MENUITEM SEPARATOR MENUITEM "&General...", IDM_GeneralOptions MENUITEM "&Time Control...\tAlt+Shift+T",IDM_TimeControl - MENUITEM "Common Engine...\tAlt+Shift+U",IDM_OptionsUCI - MENUITEM "Adjudications...\tAlt+Shift+J",IDM_EnginePlayOptions + MENUITEM "Common &Engine...\tAlt+Shift+U",IDM_OptionsUCI + MENUITEM "Ad&judications...\tAlt+Shift+J",IDM_EnginePlayOptions MENUITEM SEPARATOR MENUITEM "&Load Game...\tAlt+Shift+L", IDM_LoadOptions MENUITEM "&Save Game...\tAlt+Shift+S", IDM_SaveOptions - MENUITEM "Game List...", IDM_GameListOptions + MENUITEM "G&ame List...", IDM_GameListOptions MENUITEM SEPARATOR MENUITEM "Soun&ds...", IDM_Sounds MENUITEM "&ICS...", IDM_IcsOptions, GRAYED -- 1.7.0.4