From 7daa90dd89594add33fad7d214bb7bac57ab56b4 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 15 Nov 2026 15:37:56 +0100 Subject: [PATCH] content(messen): shorten fair names to Windenergietage and Intersolar The location already appears in its own field, so repeating it in the name is redundant. Use "Windenergietage" and "Intersolar" in DE, and "Wind Energy Days" and "Intersolar" in EN. Co-Authored-By: Claude Haiku 5.5 --- content/de/messen.mdx | 4 ++-- content/en/messen.mdx | 4 ++-- tests/messen-content.test.ts | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/de/messen.mdx b/content/de/messen.mdx index c7e9864f2..9cb46750b 100644 --- a/content/de/messen.mdx +++ b/content/de/messen.mdx @@ -21,8 +21,8 @@ layout: "fullBleed" showJobs={false} fairs={[ { name: 'Werkstatt Kabel 2026', date: '24. - 25. November 2026', type: 'Fachtagung', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' }, - { name: 'Intersolar München', date: '8. - 10. Juni 2027', type: 'Messe', location: 'München', url: 'https://www.intersolar.de/' }, - { name: 'Windenergietage Potsdam', date: '09. - 11. November 2027', type: 'Fachkongress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } + { name: 'Intersolar', date: '8. - 10. Juni 2027', type: 'Messe', location: 'München', url: 'https://www.intersolar.de/' }, + { name: 'Windenergietage', date: '09. - 11. November 2027', type: 'Fachkongress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } ]} /> diff --git a/content/en/messen.mdx b/content/en/messen.mdx index e0ceefefc..bf331b848 100644 --- a/content/en/messen.mdx +++ b/content/en/messen.mdx @@ -21,8 +21,8 @@ layout: "fullBleed" showJobs={false} fairs={[ { name: 'Werkstatt Kabel 2026', date: 'November 24–25, 2026', type: 'Symposium', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' }, - { name: 'Intersolar Munich', date: 'June 8–10, 2027', type: 'Fair', location: 'Munich', url: 'https://www.intersolar.de/' }, - { name: 'Wind Energy Days Potsdam', date: 'November 9–11, 2027', type: 'Specialist Congress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } + { name: 'Intersolar', date: 'June 8–10, 2027', type: 'Fair', location: 'Munich', url: 'https://www.intersolar.de/' }, + { name: 'Wind Energy Days', date: 'November 9–11, 2027', type: 'Specialist Congress', location: 'Potsdam', url: 'https://www.windenergietage.de/' } ]} /> diff --git a/tests/messen-content.test.ts b/tests/messen-content.test.ts index 133f37721..8d6145768 100644 --- a/tests/messen-content.test.ts +++ b/tests/messen-content.test.ts @@ -10,7 +10,7 @@ describe('Messen Content and Translations', () => { const content = fs.readFileSync(deMessenPath, 'utf8'); // 1. Intersolar München - expect(content).toContain("name: 'Intersolar München'"); + expect(content).toContain("name: 'Intersolar'"); expect(content).toContain("date: '8. - 10. Juni 2027'"); expect(content).toContain("type: 'Messe'"); expect(content).toContain("location: 'München'"); @@ -24,7 +24,7 @@ describe('Messen Content and Translations', () => { // 3. Windenergietage Potsdam (replaces Linstow 2026) expect(content).not.toContain("Linstow"); - expect(content).toContain("name: 'Windenergietage Potsdam'"); + expect(content).toContain("name: 'Windenergietage'"); expect(content).toContain("date: '09. - 11. November 2027'"); expect(content).toContain("type: 'Fachkongress'"); expect(content).toContain("location: 'Potsdam'"); @@ -34,7 +34,7 @@ describe('Messen Content and Translations', () => { const content = fs.readFileSync(enMessenPath, 'utf8'); // 1. Intersolar Munich - expect(content).toContain("name: 'Intersolar Munich'"); + expect(content).toContain("name: 'Intersolar'"); expect(content).toContain("date: 'June 8–10, 2027'"); expect(content).toContain("type: 'Fair'"); expect(content).toContain("location: 'Munich'"); @@ -49,7 +49,7 @@ describe('Messen Content and Translations', () => { // 3. Wind Energy Days Potsdam (replaces Linstow 2026) expect(content).not.toContain("Linstow"); - expect(content).toContain("name: 'Wind Energy Days Potsdam'"); + expect(content).toContain("name: 'Wind Energy Days'"); expect(content).toContain("date: 'November 9–11, 2027'"); expect(content).toContain("type: 'Specialist Congress'"); expect(content).toContain("location: 'Potsdam'");