Conversation
|
@awawa-dev , during the latest edits to the localization files, I noticed that they contained many outdated keys. General list of keys at the moment: Translation keys that were not found in any project file (excluding localization files): 527 of 1309 |
|
Unfortunately it's a bit tricky ;-) HyperHDR/www/js/light_source.js Line 884 in e3dfe92 |
Yeah, I didn't think about that)) I came across this line: I remembered the service had been gone for years, so I started looking to see if this key was still in use. I started searching further, but apparently not quite correctly. |
|
Since I don't have a good idea how to approach this, and it doesn't cause any serious problems, and any change could mess everything up, I've been leaving it as is for years ;-) Fortunately, or unfortunately, JS doesn't have compile-time validation... maybe I could hook in some JS procedure that would count the use of a given key at runtime, then click through the entire interface, including all the LED drivers (unfortunately, they should be real and available), and then check what hasn't been used? Or try refactoring it using AI, having the project context, or at least all the HTML and JS? |
|
I can't even imagine how to do this correctly. |
|
Moved the discussion (so it doesn't get lost) |
Summary
What kind of change does this PR introduce? (check at least one)
Other information: