Say EU and stop there, as the approved template does

feat/operator-identity
nexxo 2026-07-28 09:19:24 +02:00
parent e6793c4dae
commit 2a06b5dfb2
4 changed files with 24 additions and 3 deletions

View File

@ -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',

View File

@ -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',

View File

@ -463,7 +463,7 @@
<div class="plateHead"><span>Stammblatt</span><b>Ausgabe 2026</b></div>
<dl>
<div class="row"><dt>Betriebsform</dt><dd>Eigene isolierte Instanz</dd></div>
<div class="row"><dt>Serverstandort</dt><dd>EU Österreich / Deutschland</dd></div>
<div class="row"><dt>Serverstandort</dt><dd>EU</dd></div>
<div class="row"><dt>Sicherung</dt><dd class="ok">Täglich, verschlüsselt</dd></div>
<div class="row"><dt>Wiederherstellung</dt><dd class="ok">Monatlich getestet</dd></div>
<div class="row"><dt>Updates &amp; Wartung</dt><dd class="ok">Im Betrieb enthalten</dd></div>

View File

@ -0,0 +1,21 @@
<?php
use App\Models\Mailbox;
it('names only the EU as the server location, on the sign-in page', function () {
$this->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');
});