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
|
|
@ -42,6 +42,11 @@ export const syncMilestones = [
|
|||
|
||||
export const syncDice = `1d20`;
|
||||
|
||||
export const localizerConfig = {
|
||||
subKeyPattern: /@(?<key>[a-zA-Z\.]+)/gm,
|
||||
maxDepth: 10,
|
||||
};
|
||||
|
||||
export default {
|
||||
stats,
|
||||
statDice,
|
||||
|
|
@ -57,4 +62,5 @@ export default {
|
|||
itemTiers,
|
||||
syncMilestones,
|
||||
syncDice,
|
||||
localizerConfig
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue