🔠 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']; $domainImage = $domainAttributes['image'];
$domainAuthor = $domainAttributes['author']; $domainAuthor = $domainAttributes['author'];
$domainTwitter = $domainAttributes['twitter']; $domainTwitter = $domainAttributes['twitter'];
$domainSiteName = __('Einundzwanzig Portal'); $domainSiteName = __('EINUNDZWANZIG Portal');
self::$seoDefinitions = [ self::$seoDefinitions = [
'login' => new SEOData( 'login' => new SEOData(
@@ -30,7 +30,7 @@ final class MobileAuthController extends Controller
/** @var list<string> */ /** @var list<string> */
public const ALLOWED_REDIRECT_URIS = ['einundzwanzig://auth']; 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). * 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\Attributes\Version;
use Laravel\Mcp\Server\Tool; use Laravel\Mcp\Server\Tool;
#[Name('Einundzwanzig API')] #[Name('EINUNDZWANZIG API')]
#[Version('1.0.0')] #[Version('1.0.0')]
#[Instructions(<<<'TXT' #[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. 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 Schreib- und Eigentums-Operationen (update, show-my-*) sind nur für den Ersteller oder einen
Super-Admin erlaubt. Super-Admin erlaubt.
+5 -5
View File
@@ -1,9 +1,9 @@
<?php <?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 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'; $country = request()->route('country') ?? 'de';
} else { } else {
$country = str(session('lang_country', 'de'))->after('-')->lower(); $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 function get_domain_attributes(): array
{ {
$langCountry = session('lang_country', 'de-DE'); $langCountry = session('lang_country', 'de-DE');
// Check if specific domain image exists // 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'; $langCountry = 'de-DE';
} }
@@ -73,7 +73,7 @@ if (!function_exists('get_domain_attributes')) {
$author = $countryAuthorMapping[$langCountry] ?? 'einundzwanzig'; $author = $countryAuthorMapping[$langCountry] ?? 'einundzwanzig';
$twitter = $countryTwitterMapping[$langCountry] ?? '_einundzwanzig_'; $twitter = $countryTwitterMapping[$langCountry] ?? '_einundzwanzig_';
$siteName = $countrySiteNameMapping[$langCountry] ?? 'Einundzwanzig Portal'; $siteName = $countrySiteNameMapping[$langCountry] ?? 'EINUNDZWANZIG Portal';
return [ return [
'image' => $image, 'image' => $image,
+4 -2
View File
@@ -1,5 +1,7 @@
<?php <?php
use App\Models\LibraryItem;
return [ return [
'feeds' => [ 'feeds' => [
'main' => [ 'main' => [
@@ -11,14 +13,14 @@ return [
* You can also pass an argument to that method. Note that their key must be the name of the parameter: * You can also pass an argument to that method. Note that their key must be the name of the parameter:
* [App\Model::class, 'getAllFeedItems', 'parameterName' => 'argument'] * [App\Model::class, 'getAllFeedItems', 'parameterName' => 'argument']
*/ */
'items' => [\App\Models\LibraryItem::class, 'getFeedItems'], 'items' => [LibraryItem::class, 'getFeedItems'],
/* /*
* The feed will be available on this url. * The feed will be available on this url.
*/ */
'url' => 'feed', 'url' => 'feed',
'title' => 'Einundzwanzig - Feed', 'title' => 'EINUNDZWANZIG - Feed',
'description' => 'Toximalist infotainment for bullish bitcoiners.', 'description' => 'Toximalist infotainment for bullish bitcoiners.',
'language' => 'de', 'language' => 'de',
+3 -3
View File
@@ -42,8 +42,8 @@ return [
* Description rendered on the home page of the API documentation (`/docs/api`). * Description rendered on the home page of the API documentation (`/docs/api`).
*/ */
'description' => <<<'MARKDOWN' 'description' => <<<'MARKDOWN'
Willkommen bei der **Einundzwanzig API** der öffentlichen Schnittstelle der Willkommen bei der **EINUNDZWANZIG API** der öffentlichen Schnittstelle der
[Einundzwanzig](https://portal.einundzwanzig.space) Bitcoin-Community-Plattform. [EINUNDZWANZIG](https://portal.einundzwanzig.space) Bitcoin-Community-Plattform.
Über diese API erreichst du die Daten der dezentralen deutschsprachigen Bitcoin-Bewegung: Über diese API erreichst du die Daten der dezentralen deutschsprachigen Bitcoin-Bewegung:
Meetups und ihre Termine, Kurse und Kurs-Events, Referenten, Veranstaltungsorte sowie die Meetups und ihre Termine, Kurse und Kurs-Events, Referenten, Veranstaltungsorte sowie die
@@ -68,7 +68,7 @@ return [
], ],
'ui' => [ 'ui' => [
'title' => 'Einundzwanzig API', 'title' => 'EINUNDZWANZIG API',
], ],
'renderer' => 'scalar', 'renderer' => 'scalar',
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Team bearbeiten", "Edit team": "Team bearbeiten",
"Edit Venue": "", "Edit Venue": "",
"Einführung": "", "Einführung": "",
"Einundzwanzig Community": "", "EINUNDZWANZIG Community": "",
"Einundzwanzig Portal": "", "EINUNDZWANZIG Portal": "",
"Email": "E-Mail", "Email": "E-Mail",
"Email Address": "E-Mail-Adresse", "Email Address": "E-Mail-Adresse",
"Email address": "E-Mail-Adresse", "Email address": "E-Mail-Adresse",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Edit Venue", "Edit Venue": "Edit Venue",
"Einführung": "Introduction", "Einführung": "Introduction",
"Einundzwanzig Community": "Twenty One Community", "EINUNDZWANZIG Community": "Twenty One Community",
"Einundzwanzig Portal": "Twenty One Portal", "EINUNDZWANZIG Portal": "Twenty One Portal",
"Email": "Email", "Email": "Email",
"Email Address": "Email Address", "Email Address": "Email Address",
"Email address": "Email address", "Email address": "Email address",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Editar equipo", "Edit team": "Editar equipo",
"Edit Venue": "Editar lugar", "Edit Venue": "Editar lugar",
"Einführung": "Introducción", "Einführung": "Introducción",
"Einundzwanzig Community": "Comunidad Veintiuno", "EINUNDZWANZIG Community": "Comunidad Veintiuno",
"Einundzwanzig Portal": "Portal Veintiuno", "EINUNDZWANZIG Portal": "Portal Veintiuno",
"Email": "Correo electrónico", "Email": "Correo electrónico",
"Email Address": "Correo electrónico", "Email Address": "Correo electrónico",
"Email address": "Correo electrónico", "Email address": "Correo electrónico",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Helyszín szerkesztése", "Edit Venue": "Helyszín szerkesztése",
"Einführung": "Bevezetés", "Einführung": "Bevezetés",
"Einundzwanzig Community": "Huszonegy Közösség", "EINUNDZWANZIG Community": "Huszonegy Közösség",
"Einundzwanzig Portal": "Huszonegy Portál", "EINUNDZWANZIG Portal": "Huszonegy Portál",
"Email": "E-mail", "Email": "E-mail",
"Email Address": "E-Mail Cím", "Email Address": "E-Mail Cím",
"Email address": "E -mail cím", "Email address": "E -mail cím",
+2 -2
View File
@@ -159,8 +159,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Rediģēt norises vietu", "Edit Venue": "Rediģēt norises vietu",
"Einführung": "Ievads", "Einführung": "Ievads",
"Einundzwanzig Community": "Einundzwanzig kopiena", "EINUNDZWANZIG Community": "EINUNDZWANZIG kopiena",
"Einundzwanzig Portal": "Einundzwanzig portāls", "EINUNDZWANZIG Portal": "EINUNDZWANZIG portāls",
"Email": "Pasts", "Email": "Pasts",
"Email address": "E -pasta adrese", "Email address": "E -pasta adrese",
"Email Address": "E-pasta adrese", "Email Address": "E-pasta adrese",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Locatie bewerken", "Edit Venue": "Locatie bewerken",
"Einführung": "Introductie", "Einführung": "Introductie",
"Einundzwanzig Community": "Eenentwintig Community", "EINUNDZWANZIG Community": "Eenentwintig Community",
"Einundzwanzig Portal": "Eenentwintig Portaal", "EINUNDZWANZIG Portal": "Eenentwintig Portaal",
"Email": "E-mail", "Email": "E-mail",
"Email Address": "E-mailadres", "Email Address": "E-mailadres",
"Email address": "E-mailadres", "Email address": "E-mailadres",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Edytuj miejsce", "Edit Venue": "Edytuj miejsce",
"Einführung": "Wprowadzenie", "Einführung": "Wprowadzenie",
"Einundzwanzig Community": "Społeczność Einundzwanzig", "EINUNDZWANZIG Community": "Społeczność EINUNDZWANZIG",
"Einundzwanzig Portal": "Portal Dwadzieścia Jeden", "EINUNDZWANZIG Portal": "Portal Dwadzieścia Jeden",
"Email": "E-mail", "Email": "E-mail",
"Email Address": "Adres e-mail", "Email Address": "Adres e-mail",
"Email address": "Adres e-mail", "Email address": "Adres e-mail",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team", "Edit team": "Edit team",
"Edit Venue": "Editar Local", "Edit Venue": "Editar Local",
"Einführung": "Introdução", "Einführung": "Introdução",
"Einundzwanzig Community": "Comunidade Einundzwanzig", "EINUNDZWANZIG Community": "Comunidade EINUNDZWANZIG",
"Einundzwanzig Portal": "Portal Vinte e Um", "EINUNDZWANZIG Portal": "Portal Vinte e Um",
"Email": "E-mail", "Email": "E-mail",
"Email Address": "Endereço de e-mail", "Email Address": "Endereço de e-mail",
"Email address": "Email address", "Email address": "Email address",
+2 -2
View File
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Login bestätigt') }} Einundzwanzig</title> <title>{{ __('Login bestätigt') }} EINUNDZWANZIG</title>
<style> <style>
body { margin: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center; body { margin: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
background: #09090b; color: #fafafa; font-family: ui-sans-serif, system-ui, sans-serif; } background: #09090b; color: #fafafa; font-family: ui-sans-serif, system-ui, sans-serif; }
@@ -23,7 +23,7 @@
<div class="card"> <div class="card">
<div class="check"></div> <div class="check"></div>
<h1>{{ __('Login bestätigt') }}</h1> <h1>{{ __('Login bestätigt') }}</h1>
<p>{{ __('Tippe auf den Button, um zurück zur Einundzwanzig-App zu gelangen.') }}</p> <p>{{ __('Tippe auf den Button, um zurück zur EINUNDZWANZIG-App zu gelangen.') }}</p>
<a class="button" href="{{ $deepLink }}">{{ __('Zurück zur App') }}</a> <a class="button" href="{{ $deepLink }}">{{ __('Zurück zur App') }}</a>
</div> </div>
</body> </body>
@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Anmeldung mit Nostr') }} Einundzwanzig</title> <title>{{ __('Anmeldung mit Nostr') }} EINUNDZWANZIG</title>
<style> <style>
body { margin: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center; body { margin: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
background: #09090b; color: #fafafa; font-family: ui-sans-serif, system-ui, sans-serif; } background: #09090b; color: #fafafa; font-family: ui-sans-serif, system-ui, sans-serif; }
@@ -40,11 +40,11 @@
const eventEnc = encodeURIComponent(JSON.stringify(event)); const eventEnc = encodeURIComponent(JSON.stringify(event));
const callbackUrl = @js($callbackUrl); const callbackUrl = @js($callbackUrl);
const query = 'compressionType=none&returnType=event&type=sign_event' const query = 'compressionType=none&returnType=event&type=sign_event'
+ '&appName=Einundzwanzig&callbackUrl=' + encodeURIComponent(callbackUrl); + '&appName=EINUNDZWANZIG&callbackUrl=' + encodeURIComponent(callbackUrl);
window.location.href = 'intent:' + eventEnc + '?' + query window.location.href = 'intent:' + eventEnc + '?' + query
+ '#Intent;scheme=nostrsigner;category=android.intent.category.BROWSABLE' + '#Intent;scheme=nostrsigner;category=android.intent.category.BROWSABLE'
+ ';S.type=sign_event;S.returnType=event;S.appName=Einundzwanzig' + ';S.type=sign_event;S.returnType=event;S.appName=EINUNDZWANZIG'
+ ';S.callbackUrl=' + callbackUrl + ';S.callbackUrl=' + callbackUrl
+ ';end'; + ';end';
} }
@@ -3,5 +3,5 @@
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black"/> <x-app-logo-icon class="size-5 fill-current text-white dark:text-black"/>
</div> </div>
<div class="ms-1 grid flex-1 text-start text-sm"> <div class="ms-1 grid flex-1 text-start text-sm">
<span class="mb-0.5 truncate leading-tight font-semibold">{{ __('Einundzwanzig Portal') }}</span> <span class="mb-0.5 truncate leading-tight font-semibold">{{ __('EINUNDZWANZIG Portal') }}</span>
</div> </div>
@@ -278,7 +278,7 @@ class extends Component {
<flux:label>{{ __('Gemeinschaft') }}</flux:label> <flux:label>{{ __('Gemeinschaft') }}</flux:label>
<flux:select wire:model="community"> <flux:select wire:model="community">
<flux:select.option value="">{{ __('Keine') }}</flux:select.option> <flux:select.option value="">{{ __('Keine') }}</flux:select.option>
<flux:select.option value="einundzwanzig">{{ __('Einundzwanzig Community') }}</flux:select.option> <flux:select.option value="einundzwanzig">{{ __('EINUNDZWANZIG Community') }}</flux:select.option>
<flux:select.option value="bitcoin">{{ __('Allgemeine Bitcoin Community') }}</flux:select.option> <flux:select.option value="bitcoin">{{ __('Allgemeine Bitcoin Community') }}</flux:select.option>
</flux:select> </flux:select>
<flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description> <flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description>
@@ -381,7 +381,7 @@ class extends Component {
<flux:label>{{ __('Gemeinschaft') }}</flux:label> <flux:label>{{ __('Gemeinschaft') }}</flux:label>
<flux:select wire:model="community"> <flux:select wire:model="community">
<flux:select.option value="">{{ __('Keine') }}</flux:select.option> <flux:select.option value="">{{ __('Keine') }}</flux:select.option>
<flux:select.option value="einundzwanzig">{{ __('Einundzwanzig Community') }}</flux:select.option> <flux:select.option value="einundzwanzig">{{ __('EINUNDZWANZIG Community') }}</flux:select.option>
<flux:select.option value="bitcoin">{{ __('Allgemeine Bitcoin Community') }}</flux:select.option> <flux:select.option value="bitcoin">{{ __('Allgemeine Bitcoin Community') }}</flux:select.option>
</flux:select> </flux:select>
<flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description> <flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description>
@@ -149,7 +149,7 @@ class extends Component {
@if ($meetup->community === 'bitcoin') @if ($meetup->community === 'bitcoin')
{{ __('Allgemeine Bitcoin Community') }} {{ __('Allgemeine Bitcoin Community') }}
@elseif ($meetup->community === 'einundzwanzig') @elseif ($meetup->community === 'einundzwanzig')
{{ __('Einundzwanzig Community') }} {{ __('EINUNDZWANZIG Community') }}
@else @else
{{ $meetup->community }} {{ $meetup->community }}
@endif @endif