🔠 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,
+4 -2
View File
@@ -1,5 +1,7 @@
<?php
use App\Models\LibraryItem;
return [
'feeds' => [
'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:
* [App\Model::class, 'getAllFeedItems', 'parameterName' => 'argument']
*/
'items' => [\App\Models\LibraryItem::class, 'getFeedItems'],
'items' => [LibraryItem::class, 'getFeedItems'],
/*
* The feed will be available on this url.
*/
'url' => 'feed',
'title' => 'Einundzwanzig - Feed',
'title' => 'EINUNDZWANZIG - Feed',
'description' => 'Toximalist infotainment for bullish bitcoiners.',
'language' => 'de',
+3 -3
View File
@@ -42,8 +42,8 @@ return [
* Description rendered on the home page of the API documentation (`/docs/api`).
*/
'description' => <<<'MARKDOWN'
Willkommen bei der **Einundzwanzig API** der öffentlichen Schnittstelle der
[Einundzwanzig](https://portal.einundzwanzig.space) Bitcoin-Community-Plattform.
Willkommen bei der **EINUNDZWANZIG API** der öffentlichen Schnittstelle der
[EINUNDZWANZIG](https://portal.einundzwanzig.space) Bitcoin-Community-Plattform.
Über diese API erreichst du die Daten der dezentralen deutschsprachigen Bitcoin-Bewegung:
Meetups und ihre Termine, Kurse und Kurs-Events, Referenten, Veranstaltungsorte sowie die
@@ -68,7 +68,7 @@ return [
],
'ui' => [
'title' => 'Einundzwanzig API',
'title' => 'EINUNDZWANZIG API',
],
'renderer' => 'scalar',
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Team bearbeiten",
"Edit Venue": "",
"Einführung": "",
"Einundzwanzig Community": "",
"Einundzwanzig Portal": "",
"EINUNDZWANZIG Community": "",
"EINUNDZWANZIG Portal": "",
"Email": "E-Mail",
"Email Address": "E-Mail-Adresse",
"Email address": "E-Mail-Adresse",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team",
"Edit Venue": "Edit Venue",
"Einführung": "Introduction",
"Einundzwanzig Community": "Twenty One Community",
"Einundzwanzig Portal": "Twenty One Portal",
"EINUNDZWANZIG Community": "Twenty One Community",
"EINUNDZWANZIG Portal": "Twenty One Portal",
"Email": "Email",
"Email Address": "Email Address",
"Email address": "Email address",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Editar equipo",
"Edit Venue": "Editar lugar",
"Einführung": "Introducción",
"Einundzwanzig Community": "Comunidad Veintiuno",
"Einundzwanzig Portal": "Portal Veintiuno",
"EINUNDZWANZIG Community": "Comunidad Veintiuno",
"EINUNDZWANZIG Portal": "Portal Veintiuno",
"Email": "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 Venue": "Helyszín szerkesztése",
"Einführung": "Bevezetés",
"Einundzwanzig Community": "Huszonegy Közösség",
"Einundzwanzig Portal": "Huszonegy Portál",
"EINUNDZWANZIG Community": "Huszonegy Közösség",
"EINUNDZWANZIG Portal": "Huszonegy Portál",
"Email": "E-mail",
"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 Venue": "Rediģēt norises vietu",
"Einführung": "Ievads",
"Einundzwanzig Community": "Einundzwanzig kopiena",
"Einundzwanzig Portal": "Einundzwanzig portāls",
"EINUNDZWANZIG Community": "EINUNDZWANZIG kopiena",
"EINUNDZWANZIG Portal": "EINUNDZWANZIG portāls",
"Email": "Pasts",
"Email address": "E -pasta adrese",
"Email Address": "E-pasta adrese",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team",
"Edit Venue": "Locatie bewerken",
"Einführung": "Introductie",
"Einundzwanzig Community": "Eenentwintig Community",
"Einundzwanzig Portal": "Eenentwintig Portaal",
"EINUNDZWANZIG Community": "Eenentwintig Community",
"EINUNDZWANZIG Portal": "Eenentwintig Portaal",
"Email": "E-mail",
"Email Address": "E-mailadres",
"Email address": "E-mailadres",
+2 -2
View File
@@ -164,8 +164,8 @@
"Edit team": "Edit team",
"Edit Venue": "Edytuj miejsce",
"Einführung": "Wprowadzenie",
"Einundzwanzig Community": "Społeczność Einundzwanzig",
"Einundzwanzig Portal": "Portal Dwadzieścia Jeden",
"EINUNDZWANZIG Community": "Społeczność EINUNDZWANZIG",
"EINUNDZWANZIG Portal": "Portal Dwadzieścia Jeden",
"Email": "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 Venue": "Editar Local",
"Einführung": "Introdução",
"Einundzwanzig Community": "Comunidade Einundzwanzig",
"Einundzwanzig Portal": "Portal Vinte e Um",
"EINUNDZWANZIG Community": "Comunidade EINUNDZWANZIG",
"EINUNDZWANZIG Portal": "Portal Vinte e Um",
"Email": "E-mail",
"Email Address": "Endereço de e-mail",
"Email address": "Email address",
+2 -2
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Login bestätigt') }} Einundzwanzig</title>
<title>{{ __('Login bestätigt') }} EINUNDZWANZIG</title>
<style>
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; }
@@ -23,7 +23,7 @@
<div class="card">
<div class="check"></div>
<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>
</div>
</body>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Anmeldung mit Nostr') }} Einundzwanzig</title>
<title>{{ __('Anmeldung mit Nostr') }} EINUNDZWANZIG</title>
<style>
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; }
@@ -40,11 +40,11 @@
const eventEnc = encodeURIComponent(JSON.stringify(event));
const callbackUrl = @js($callbackUrl);
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
+ '#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
+ ';end';
}
@@ -3,5 +3,5 @@
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black"/>
</div>
<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>
@@ -278,7 +278,7 @@ class extends Component {
<flux:label>{{ __('Gemeinschaft') }}</flux:label>
<flux:select wire:model="community">
<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>
<flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description>
@@ -381,7 +381,7 @@ class extends Component {
<flux:label>{{ __('Gemeinschaft') }}</flux:label>
<flux:select wire:model="community">
<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>
<flux:description>{{ __('Gemeinschafts- oder Organisationsname') }}</flux:description>
@@ -149,7 +149,7 @@ class extends Component {
@if ($meetup->community === 'bitcoin')
{{ __('Allgemeine Bitcoin Community') }}
@elseif ($meetup->community === 'einundzwanzig')
{{ __('Einundzwanzig Community') }}
{{ __('EINUNDZWANZIG Community') }}
@else
{{ $meetup->community }}
@endif