Files
lmms/tests/check-strings
Johannes Lorenz 230aece217 Add check-strings (#6379)
This adds a script `check-strings` that checks whether strings, such as file paths or class names, are valid in files outside of the source code, e.g. in translations or themes. This also adds a verify script to verify `check-strings` on a constant git commit. Both scripts are under CI.
2022-05-23 20:35:06 +02:00
..
2022-05-23 20:35:06 +02:00
2022-05-23 20:35:06 +02:00
2022-05-23 20:35:06 +02:00
2022-05-23 20:35:06 +02:00

Check strings

This tool checks for invalid strings not necessarily in the code.

Background: When you move a lot of classes and files, the code may be OK, but many strings outside the code (translations, style.css, .gitmodules etc.) may still need to be updated. This script checks whether these strings are still matching the code.

Content:

  • check-strings: Script to check for invalid strings
  • verify: Script verifying check-strings
  • expectation.txt: Expectation file for verify script