diff --git a/lang/de/auth.php b/lang/de/auth.php index 1885447..35167c4 100644 --- a/lang/de/auth.php +++ b/lang/de/auth.php @@ -34,7 +34,7 @@ return [ 'register_brand_sub' => 'Konto erstellen, Paket wählen — die Einrichtung läuft danach automatisch an.', 'fact_location_term' => 'Serverstandort', - 'fact_location' => 'EU — Österreich / Deutschland', + 'fact_location' => 'EU', 'fact_backup_term' => 'Sicherung', 'fact_backup' => 'Täglich, verschlüsselt', 'fact_restore_term' => 'Wiederherstellung', diff --git a/lang/en/auth.php b/lang/en/auth.php index 418e151..ac418cb 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -34,7 +34,7 @@ return [ 'register_brand_sub' => 'Create an account, pick a plan — provisioning starts automatically.', 'fact_location_term' => 'Server location', - 'fact_location' => 'EU — Austria / Germany', + 'fact_location' => 'EU', 'fact_backup_term' => 'Backup', 'fact_backup' => 'Daily, encrypted', 'fact_restore_term' => 'Restore', diff --git a/resources/views/landing.blade.php b/resources/views/landing.blade.php index ba04b09..08dc0a0 100644 --- a/resources/views/landing.blade.php +++ b/resources/views/landing.blade.php @@ -463,7 +463,7 @@
StammblattAusgabe 2026
Betriebsform
Eigene isolierte Instanz
-
Serverstandort
EU — Österreich / Deutschland
+
Serverstandort
EU
Sicherung
Täglich, verschlüsselt
Wiederherstellung
Monatlich getestet
Updates & Wartung
Im Betrieb enthalten
diff --git a/tests/Feature/Auth/BrandFactsTest.php b/tests/Feature/Auth/BrandFactsTest.php new file mode 100644 index 0000000..5209196 --- /dev/null +++ b/tests/Feature/Auth/BrandFactsTest.php @@ -0,0 +1,21 @@ +get('/login')->assertOk()->assertSee('EU', false) + ->assertDontSee('Österreich / Deutschland', false); +}); + +it('names only the EU in the specification plate on the public site', function () { + // The approved template (docs/design/tpl-home.html:728, :996) says only "EU" + // in both places. The row that spelled out the countries was never in it. + $this->get('/')->assertOk()->assertDontSee('EU — Österreich / Deutschland', false); +}); + +it('keeps the countries out of the translation files entirely', function () { + expect(__('auth.fact_location'))->toBe('EU'); + + app()->setLocale('en'); + expect(__('auth.fact_location'))->toBe('EU'); +});