Meta upgrades

This commit is contained in:
Martin
2022-12-16 13:52:54 +01:00
parent c85345cba0
commit 499fbac2b2
15 changed files with 688 additions and 415 deletions

View File

@@ -0,0 +1,8 @@
export function formatString(text: string, params: string[]): string {
let textWithParams = text;
for (let i = 0; i < params.length; i++) {
textWithParams = textWithParams.replace(`{${i}}`, params[i]);
}
return textWithParams;
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "ceda74cb-8b1e-4bd3-9cfb-0bbf0315fc40",
"files": [],
"subMetas": {},
"userData": {}
}