microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.08k stars 6.48k forks source link

Ideas for resources #32479

Open Jay-o-Way opened 5 months ago

Jay-o-Way commented 5 months ago

Description of the new feature / enhancement

niels9001 commented 5 months ago

I wonder if there's an automated way to filter out all unused strings from the Resources file. I think, due to UI changes and other things, we might have a lot of dead strings that can be removed.

Jay-o-Way commented 5 months ago

I wonder if there's an automated way to filter out all unused strings from the Resources file. I think, due to UI changes and other things, we might have a lot of dead strings that can be removed.

I can't think of anything. Maybe somebody can write a AutoIt script that takes the data-names from the res, crawls through all the files and makes a list of all the ones that it can't find 😅

(edit)

I actually made a script that does this! At the moment, on a per-folder basis. Not perfect, but still... 😆 image