🔠 Standardize brand name casing to **EINUNDZWANZIG** across translations, controllers, views, and configurations

This commit is contained in:
HolgerHatGarKeineNode
2026-06-13 23:53:11 +02:00
parent d07b141b40
commit 8fd4900138
20 changed files with 41 additions and 39 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class SeoDataAttribute
$domainImage = $domainAttributes['image'];
$domainAuthor = $domainAttributes['author'];
$domainTwitter = $domainAttributes['twitter'];
$domainSiteName = __('Einundzwanzig Portal');
$domainSiteName = __('EINUNDZWANZIG Portal');
self::$seoDefinitions = [
'login' => new SEOData(
@@ -30,7 +30,7 @@ final class MobileAuthController extends Controller
/** @var list<string> */
public const ALLOWED_REDIRECT_URIS = ['einundzwanzig://auth'];
public const DEFAULT_DEVICE_NAME = 'Einundzwanzig Mobile App';
public const DEFAULT_DEVICE_NAME = 'EINUNDZWANZIG Mobile App';
/**
* Handle the NIP-55 signer callback (e.g. Amber on Android).
+2 -2
View File
@@ -46,10 +46,10 @@ use Laravel\Mcp\Server\Attributes\Name;
use Laravel\Mcp\Server\Attributes\Version;
use Laravel\Mcp\Server\Tool;
#[Name('Einundzwanzig API')]
#[Name('EINUNDZWANZIG API')]
#[Version('1.0.0')]
#[Instructions(<<<'TXT'
Dieser Server spiegelt die authentifizierte Einundzwanzig-API. Jeder Aufruf läuft im Kontext
Dieser Server spiegelt die authentifizierte EINUNDZWANZIG-API. Jeder Aufruf läuft im Kontext
des angemeldeten Nutzers; beim Anlegen wird der Ersteller (created_by) automatisch gesetzt.
Schreib- und Eigentums-Operationen (update, show-my-*) sind nur für den Ersteller oder einen
Super-Admin erlaubt.
+5 -5
View File
@@ -1,9 +1,9 @@
<?php
if (!function_exists('route_with_country')) {
if (! function_exists('route_with_country')) {
function route_with_country(string $name, array $parameters = [], bool $absolute = true): string
{
if (!isset($parameters['country'])) {
if (! isset($parameters['country'])) {
$country = request()->route('country') ?? 'de';
} else {
$country = str(session('lang_country', 'de'))->after('-')->lower();
@@ -14,13 +14,13 @@ if (!function_exists('route_with_country')) {
}
}
if (!function_exists('get_domain_attributes')) {
if (! function_exists('get_domain_attributes')) {
function get_domain_attributes(): array
{
$langCountry = session('lang_country', 'de-DE');
// Check if specific domain image exists
if (!file_exists(public_path('img/domains/'.$langCountry.'.jpg'))) {
if (! file_exists(public_path('img/domains/'.$langCountry.'.jpg'))) {
$langCountry = 'de-DE';
}
@@ -73,7 +73,7 @@ if (!function_exists('get_domain_attributes')) {
$author = $countryAuthorMapping[$langCountry] ?? 'einundzwanzig';
$twitter = $countryTwitterMapping[$langCountry] ?? '_einundzwanzig_';
$siteName = $countrySiteNameMapping[$langCountry] ?? 'Einundzwanzig Portal';
$siteName = $countrySiteNameMapping[$langCountry] ?? 'EINUNDZWANZIG Portal';
return [
'image' => $image,