Refactor Encounters, use new translations format for save space
This commit is contained in:
parent
7d9f58650a
commit
908f45eb9b
59 changed files with 103852 additions and 58396 deletions
4
.support/utils/array.ts
Normal file
4
.support/utils/array.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
export function splitByIndexes(input: string, indexes: number[]): string[] {
|
||||
const parts = input.split('_');
|
||||
return indexes.map((index) => parts[index]).filter((item) => item !== undefined);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue