Implement utility function that recursively localizes based on the config data (implements #54)
This commit is contained in:
parent
34c7dbed87
commit
c1fa5b3d9b
3 changed files with 33 additions and 0 deletions
6
scripts/preventLocalizationCycles.mjs
Normal file
6
scripts/preventLocalizationCycles.mjs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
The purpose of this script is to validate all of the language files to ensure
|
||||
that there are no cycles in them to prevent infinite recursion. This must pull
|
||||
the pattern to match subkeys on via the config, otherwise this could result in
|
||||
inconsistencies with the localizer logic.
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue