fix: migrate all hardcoded eyebrow labels and text to CMS to fix locale bleeding

This commit is contained in:
MichalC
2026-09-02 22:46:27 +02:00
parent a24c239ae1
commit 6c87816d13
22 changed files with 427 additions and 44 deletions
+8
View File
@@ -0,0 +1,8 @@
with open("scripts/seed.ts", "r") as f:
content = f.read()
content = content.replace("eyebrow: 'Statystyki',\n items: [\n {\n stat: '20+',", "eyebrow: 'Statistiken',\n items: [\n {\n stat: '20+',")
content = content.replace("eyebrow: 'Usługi',\n title: 'Was ich anbiete',", "eyebrow: 'Leistungen',\n title: 'Was ich anbiete',")
with open("scripts/seed.ts", "w") as f:
f.write(content)