Find result panel traduction



  • Cannot find where are available the Find Result panel title and his context menu in the translation files?
    capture



  • @los-amigos

    looks like it is hard coded.

    	case WM_CONTEXTMENU :
    	{
    		if (HWND(wParam) == _scintView.getHSelf())
    		{
    			POINT p;
    			::GetCursorPos(&p);
    			ContextMenu scintillaContextmenu;
    			vector<MenuItemUnit> tmp;
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_FINDINFINDERDLG, TEXT("Find in this finder...")));
    			if (_canBeVolatiled)
    				tmp.push_back(MenuItemUnit(NPPM_INTERNAL_REMOVEFINDER, TEXT("Close this finder")));
    			tmp.push_back(MenuItemUnit(0, TEXT("Separator")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOLLAPSE, TEXT("Collapse all")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERUNCOLLAPSE, TEXT("Uncollapse all")));
    			tmp.push_back(MenuItemUnit(0, TEXT("Separator")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOPY, TEXT("Copy")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERSELECTALL, TEXT("Select all")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCLEARALL, TEXT("Clear all")));
    			tmp.push_back(MenuItemUnit(0, TEXT("Separator")));
    			tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFEROPENALL, TEXT("Open all")));
    
    			scintillaContextmenu.create(_hSelf, tmp);
    
    			scintillaContextmenu.display(p);
    			return TRUE;
    		}
    		return ::DefWindowProc(_hSelf, message, wParam, lParam);
    	}
    

    Maybe you wanna open an issue here if it hasn’t been already addressed.

    Cheers
    Claudia

    Cheers
    Claudia


Log in to reply