chore: Update translations

This commit is contained in:
Martti Malmi
2024-01-04 08:50:58 +00:00
parent d31a03a565
commit 26146106d4
24 changed files with 111 additions and 6 deletions

View File

@ -84,8 +84,8 @@ export function parseIMeta(tags: Array<Array<string>>) {
}
export function getHex64(json: string, field: string): string {
let len = field.length + 3
let idx = json.indexOf(`"${field}":`) + len
let s = json.slice(idx).indexOf(`"`) + idx + 1
return json.slice(s, s + 64)
let len = field.length + 3;
let idx = json.indexOf(`"${field}":`) + len;
let s = json.slice(idx).indexOf(`"`) + idx + 1;
return json.slice(s, s + 64);
}