Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Find result panel traduction

    General Discussion
    2
    2
    1213
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • los amigos
      los amigos last edited by los amigos

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

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @los amigos last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors