Browse Source

Merge pull request #935 from sabrogden/translate-desc-right-click-menu

Allow translating the description window right click menu
sabrogden 1 month ago
parent
commit
9c217f7b5e
2 changed files with 13 additions and 1 deletions
  1. 12 0
      Debug/Language/English.xml
  2. 1 1
      src/ToolTipEx.cpp

+ 12 - 0
Debug/Language/English.xml

@@ -157,6 +157,18 @@
 		<Item English_Text = "Replace Top Sticky Clip" ID = "32938"></Item>
 		<Item English_Text = "Set Drag File Name" ID = "32970"></Item>
 		
+		//Added 9/4/25 for description window right click menu
+		<Item English_Text = "Remember window position" ID = "32882"></Item>
+		<Item English_Text = "Size window to content" ID = "32883"></Item>
+		<Item English_Text = "Scale images to fit window" ID = "32884"></Item>
+		<Item English_Text = "Hide description window on mouse clip selection" ID = "32926"></Item>
+		<Item English_Text = "Wrap Text" ID = "32928"></Item>
+		<Item English_Text = "Always on top" ID = "32942"></Item>
+		<Item English_Text = "View as Text" ID = "32972"></Item>
+		<Item English_Text = "View as RTF" ID = "32973"></Item>
+		<Item English_Text = "View as HTML" ID = "32974"></Item>
+		<Item English_Text = "View as Image" ID = "32975"></Item>
+		
 	</Ditto_Right_Click_Menu>
 	<Ditto_Clip_Properties>
 		<Item English_Text = "Hot Key" ID = "2039"></Item>

+ 1 - 1
src/ToolTipEx.cpp

@@ -1182,7 +1182,7 @@ void CToolTipEx::OnOptions()
 
 		GetCursorPos(&pp);
 
-		//theApp.m_Language.UpdateRightClickMenu(cmSubMenu);
+		theApp.m_Language.UpdateRightClickMenu(cmSubMenu);
 
 		if(CGetSetOptions::GetRememberDescPos())
 			cmSubMenu->CheckMenuItem(ID_FIRST_REMEMBERWINDOWPOSITION, MF_CHECKED);