fix: migrate all hardcoded eyebrow labels and text to CMS to fix locale bleeding
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user