francostellari / NppPlugins

Other
105 stars 6 forks source link

icon folder flat localization #38

Closed HelloWorldFR closed 1 year ago

HelloWorldFR commented 1 year ago

Hello,

icon folder flat look not workibng with another localization than EN-US. (notepadpp 8.4.8 64bit windows)

Its can be better to have the same directory without localization , to share the work. The best way is to use ID + flat, but the "Command ID match" not found icon too.

francostellari commented 1 year ago

Hello, can you please clarify your issue? The file name of the icons needs to match the name of the menu item, which is dependent on the language used by n++. You can use the button "generate list" to get the expected filename based on your settings.

On Thu, Jan 12, 2023, 11:08 AM HeIIoW0RLD @.***> wrote:

Hello,

icon folder flat look not workibng with another localization than EN-US. (notepadpp 8.4.8 64bit windows)

Its can be better to have the same directory without localization , to share the work. The best way is to use ID + flat, but the "Command ID match" not found icon too.

— Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXISWLBAH6ZFMVS3X3K3WSAT6XANCNFSM6AAAAAATZNRENU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HelloWorldFR commented 1 year ago

We have 3 option :

With the 3th we can generate a list number in the name of icons, we cant use it?

francostellari commented 1 year ago

I apologize but I'm not sure I fully understand your question.

Assuming that you want to select:

Icons folder = $PDIR$\MenuIcons\EN-US ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US Icons name mode = 3 Icons folder mode = 1 &File -1 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US-1.ico &New 41001 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41001.ico &Open... 41002 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41002.ico Open Containing &Folder -1 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US-1.ico Explorer 41019 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41019.ico cmd 41020 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41020.ico Folder as Workspace 41025 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41025.ico Open in &Default Viewer 41023 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41023.ico Open Folder as &Workspace... 41022 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41022.ico Re&load from Disk 41014 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41014.ico &Save 41006 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41006.ico Save &As... 41008 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41008.ico Save a Cop&y As... 41015 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41015.ico Sa&ve All 41007 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41007.ico &Rename... 41017 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41017.ico &Close 41003 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41003.ico Clos&e All 41004 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41004.ico Close &Multiple Documents -1 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US-1.ico Close All but Active Document 41005 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41005.ico Close All to the Left 41009 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41009.ico Close All to the Right 41018 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41018.ico Close All Unchanged 41024 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41024.ico Move to Recycle &Bin 41016 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41016.ico Load Sess&ion... 41012 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41012.ico Save Sess&ion... 41013 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41013.ico &Print... 41010 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41010.ico Print No&w 1001 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\1001.ico &Recent Files -1 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US-1.ico Restore Recent Closed File 41021 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41021.ico Open All Recent Files 42040 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\42040.ico Empty Recent Files List 42041 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\42041.ico &1: C:\Bin\git\etc\ssh\ssh_config 41055 ==> C:\scoop\apps\notepadplusplus\current\Plugins\MenuIcons\EN-US\41055.ico

On Thu, Jan 12, 2023 at 3:21 PM HeIIoW0RLD @.***> wrote:

We have 3 option :

  • exact name
  • strip name
  • ID icone

With the 3th we can generate a list number in the name of icons, we cant use it?

— Reply to this email directly, view it on GitHub https://github.com/francostellari/NppPlugins/issues/38#issuecomment-1380953577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL5TXISCA26WGQGJKEG5P2LWSBRT3ANCNFSM6AAAAAATZNRENU . You are receiving this because you commented.Message ID: @.***>

-- Franco

HelloWorldFR commented 1 year ago

I understand the process: select the mapping and the icons format, generate the list, close the softaware, put the icon with the right name in the good path.

I mean icon are not show in the menu (only work in the right click on the tab) with Command ID match mapping and Flat folder format. Same in Tree folder format

Its working fine with Plain text match mapping and Tree folder format

Ps: What is the programing language of this plugin? Python? Ps2: why dont share the code?

Best regard.

francostellari commented 1 year ago

This issue should be fixed in v2.02 https://github.com/francostellari/NppPlugins/blob/main/MenuIcons/MenuIcons_dll_2v02_x64.zip

HelloWorldFR commented 1 year ago

Its work fine,

I make a folder to work for all localization (without translate needed) : $PDIR$\MenuIcons\All Command ID match mapping Flat folder format

New upload, actually 116 icon with language. ALL_2.zip

New language icone (33) if you need them: icone2.zip

francostellari commented 1 year ago

I'm glad that it worked.