feat(web): add privacy policy page and trim the memory block text
This commit is contained in:
parent
8ce307e25b
commit
309b77e63c
7 changed files with 89 additions and 15 deletions
|
|
@ -42,6 +42,10 @@ test("every translation key used in code exists and every key is used", async ()
|
|||
used.add(`faq${part}`);
|
||||
used.add(`faq${part}Answer`);
|
||||
}
|
||||
for (const part of ["Collect", "Cookies", "Track", "Other", "Delete"]) {
|
||||
used.add(`privacy${part}Title`);
|
||||
used.add(`privacy${part}Text`);
|
||||
}
|
||||
for (const m of code.matchAll(/\b(?:tr|t)\(\s*"([A-Za-z]+)"/g))
|
||||
used.add(m[1]!);
|
||||
for (const m of code.matchAll(/\(\[((?:"[a-z]+",?\s*)+)\] as const\)/g))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue