add languages

This commit is contained in:
Benjamin Takats
2022-12-18 21:15:23 +01:00
parent 31c9a66244
commit cf6afdcb43
489 changed files with 589 additions and 36883 deletions

View File

@@ -16,7 +16,7 @@
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
{{ __('Back to the website') }}
</x-button>
</div>

View File

@@ -10,7 +10,7 @@
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
{{ __('Back to the website') }}
</x-button>
</div>

View File

@@ -7,14 +7,14 @@
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_minus.webp') }}" alt="">
@endif
<div class="flex items-center space-x-1">
<x-button class="whitespace-nowrap" primary class="text-21gray whitespace-nowrap" wire:click="viewHistoryModal({{ $row->id }})">💊 Orange Pill Now</x-button>
<x-button class="whitespace-nowrap" :href="route('bookCases.comment.bookcase', ['bookCase' => $row->id, 'country' => $country])">Details</x-button>
<x-button class="whitespace-nowrap" primary class="text-21gray whitespace-nowrap" wire:click="viewHistoryModal({{ $row->id }})">{{ __('💊 Orange Pill Now') }}</x-button>
<x-button class="whitespace-nowrap" :href="route('bookCases.comment.bookcase', ['bookCase' => $row->id, 'country' => $country])">{{ __('Details') }}</x-button>
</div>
@else
<div>
<x-badge class="whitespace-nowrap" amber>
<i class="fa fa-thin fa-shelves-empty mr-2"></i>
{{ __('noch keine Bitcoin-Bücher') }}
{{ __('no bitcoin books yet') }}
</x-badge>
</div>
@endauth

View File

@@ -4,13 +4,13 @@
@if($row->course_events_count > 0)
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
{{ __('Perimeter search course date :name (100km)', ['name' => $row->name]) }}
</x-button>
@endif
@if($row->course_events_count < 1)
<x-button outlined wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
{{ __('Perimeter search course date :name (100km)', ['name' => $row->name]) }}
</x-button>
@endif
</div>
@@ -19,7 +19,7 @@
<div>
<x-button amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
<i class="fa fa-thin fa-book mr-2"></i>
Umkreis-Suche Bücher-Schrank {{ $row->name }} (5km)
{{ __('Perimeter search bookcase :name (5km)', ['name' => $row->name]) }}
</x-button>
</div>
@endif

View File

@@ -1 +1,3 @@
<x-button amber wire:click="courseSearch({{ $row->id }})">Termine anzeigen</x-button>
<x-button amber wire:click="courseSearch({{ $row->id }})">
{{ __('Show dates') }}
</x-button>

View File

@@ -1 +1 @@
<x-button class="whitespace-nowrap" amber wire:click="viewHistoryModal({{ $row->id }})">Anmelden</x-button>
<x-button class="whitespace-nowrap" amber wire:click="viewHistoryModal({{ $row->id }})">{{ __('Register') }}</x-button>

View File

@@ -2,25 +2,25 @@
@if($row->courses_count > 0)
<x-button amber wire:click="lecturerSearch({{ $row->id }})">
<i class="fa fa-thin fa-calendar mr-2"></i>
Termine anzeigen ({{ $row->courses_count }})
{{ __('Show dates') }} ({{ $row->courses_count }})
</x-button>
@endif
@if($row->courses_count < 1)
<x-button outlined wire:click="lecturerSearch({{ $row->id }})">
<i class="fa fa-thin fa-calendar mr-2"></i>
Termine anzeigen ({{ $row->courses_count }})
{{ __('Show dates') }} ({{ $row->courses_count }})
</x-button>
@endif
@if($row->library_items_count > 0)
<x-button amber wire:click="lecturerSearch({{ $row->id }})">
<i class="fa fa-thin fa-book mr-2"></i>
Inhalte anzeigen ({{ $row->library_items_count }})
{{ __('Show content') }} ({{ $row->library_items_count }})
</x-button>
@endif
@if($row->library_items_count < 1)
<x-button outlined wire:click="lecturerSearch({{ $row->id }})">
<i class="fa fa-thin fa-book mr-2"></i>
Inhalte anzeigen ({{ $row->library_items_count }})
{{ __('Show content') }} ({{ $row->library_items_count }})
</x-button>
@endif
</div>

View File

@@ -2,19 +2,19 @@
@if(str($row->value)->contains('http'))
<x-button amber href="{{ $row->value }}" target="_blank">
<i class="fa fa-thin fa-book-open mr-2"></i>
Öffnen
{{ __('Open') }}
</x-button>
@endif
@if($row->type === 'downloadable_file')
<x-button amber href="{{ $row->getFirstMediaUrl('single_file') }}" target="_blank">
<i class="fa fa-thin fa-download mr-2"></i>
Download
{{ __('Download') }}
</x-button>
@endif
@if($row->type === 'podcast_episode')
<x-button amber href="{{ $row->episode->data['enclosureUrl'] }}" target="_blank">
<i class="fa fa-thin fa-headphones mr-2"></i>
Anhören
{{ __('Listen') }}
</x-button>
@endif
</div>

View File

@@ -2,7 +2,7 @@
<a href="{{ $row->link }}" target="_blank">
<x-badge class="whitespace-nowrap">
<i class="fa fa-thin fa-external-link mr-2"></i>
Öffnen
{{ __('Open') }}
</x-badge>
</a>
</div>

View File

@@ -3,14 +3,14 @@
<x-button
amber
wire:click="meetupEventSearch({{ $row->id }})">
Termine anzeigen ({{ $row->meetup_events_count }})
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
@if($row->meetup_events_count < 1)
<x-button
outlined
wire:click="meetupEventSearch({{ $row->id }})">
Termine anzeigen ({{ $row->meetup_events_count }})
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
</x-button>
@endif
</div>

View File

@@ -2,7 +2,7 @@
<a href="{{ $row->link }}" target="_blank">
<x-badge class="whitespace-nowrap">
<i class="fa fa-thin fa-external-link mr-2"></i>
Öffnen
{{ __('Open') }}
</x-badge>
</a>
</div>

View File

@@ -1,12 +1,12 @@
<div>
@if($row->course_events_count > 0)
<x-button amber wire:click="venueSearch({{ $row->id }})">
Termine anzeigen ({{ $row->course_events_count }})
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
@if($row->course_events_count < 1)
<x-button outlined wire:click="venueSearch({{ $row->id }})">
Termine anzeigen ({{ $row->course_events_count }})
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
</div>

View File

@@ -10,70 +10,7 @@
<div class="bg-21gray overflow-hidden shadow-xl sm:rounded-lg">
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
@if(auth()->user()->is_lecturer)
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="/nova/resources/lecturers" target="_blank" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Dozent anlegen</p>
<p class="truncate text-sm text-gray-300">Damit du Inhalte zuweisen kannst.</p>
</a>
</div>
</div>
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="/nova/resources/courses" target="_blank" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Kurs anlegen</p>
<p class="truncate text-sm text-gray-300">Damit du Kurs-Termine anlegen kannst.</p>
</a>
</div>
</div>
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="/nova/resources/events" target="_blank" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Kurs-Termin anlegen</p>
<p class="truncate text-sm text-gray-300">Damit Interessenten sich bei deinen Kursen
anmelden können.</p>
</a>
</div>
</div>
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="/nova/resources/library-items" target="_blank" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Inhalte anlegen</p>
<p class="truncate text-sm text-gray-300">Damit sich Bitcoin-Interessierte
weiterbilden können.</p>
</a>
</div>
</div>
@endif
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="{{ route('profile.show') }}" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Profil</p>
<p class="truncate text-sm text-gray-300">Vervollständige dein Profil</p>
</a>
</div>
</div>
<div
class="relative flex items-center space-x-3 rounded-lg border border-amber-300 bg-21gray px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-amber-500 focus-within:ring-offset-2 hover:border-amber-400">
<div class="min-w-0 flex-1">
<a href="{{ route('school.table.course', ['country' => 'de']) }}" class="focus:outline-none">
<span class="absolute inset-0" aria-hidden="true"></span>
<p class="text-sm font-medium text-gray-200">Übersicht der Kurse</p>
<p class="truncate text-sm text-gray-300">Zeige das Benutzer Frontend</p>
</a>
</div>
</div>
WIP
</div>
</div>

View File

@@ -0,0 +1 @@
Translators please contact me at https://t.me/HolgerHatGarKeineNode

View File

@@ -7,7 +7,7 @@
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
{{ __('Back to the website') }}
</x-button>
</div>
@@ -31,7 +31,7 @@
xs
>
<i class="fa fa-thin fa-clipboard"></i>
Kopiere
{{ __('Copy') }}
</x-button>
</div>
</div>
@@ -41,18 +41,18 @@
<div class="flex items-center justify-end mt-4">
<x-button icon="login" secondary class="ml-4" wire:click="switchToEmailLogin">
{{ __('E-Mail login') }}
{{ __('Email login') }}
</x-button>
<x-button icon="at-symbol" primary class="ml-4" wire:click="switchToEmailSignup">
{{ __('E-Mail Registrierung') }}
{{ __('Email registration') }}
</x-button>
</div>
@endif
<div class="pt-12">
<p class="text-xs">Zeus not working: <a target="_blank" href="https://github.com/ZeusLN/zeus/issues/1045">https://github.com/ZeusLN/zeus/issues/1045</a>
<p class="text-xs">{{ __('Zeus bug:') }} <a target="_blank" href="https://github.com/ZeusLN/zeus/issues/1045">https://github.com/ZeusLN/zeus/issues/1045</a>
</p>
</div>
</div>

View File

@@ -4,32 +4,32 @@
{{-- MAIN --}}
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10" id="table">
<div class="flex items-start">
<div class="w-1/2">
<h1 class="mb-6 text-5xl font-extrabold leading-none max-w-5xl mx-auto tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoin <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">Bücher-Schränke</span>
für deine<br class="lg:block hidden"> Reise in den Kaninchenbau.
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24"> Suche einen öffentlichen
Bücher-Schrank aus. </p>
</div>
<div class="flex items-start">
<div class="w-1/2">
<h1 class="mb-6 text-5xl font-extrabold leading-none max-w-5xl mx-auto tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoin <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Bookcases') }}</span>
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Search out a public bookcase') }}
</p>
</div>
<div class="w-1/2">
<div class="rounded" wire:ignore>
@if($markers[0] ?? false)
<div>
@map([
'lat' => $markers[0]['lat'],
'lng' => $markers[0]['lng'],
'zoom' => 12,
'markers' => $markers
])
</div>
@endif
</div>
<div class="w-1/2">
<div class="rounded" wire:ignore>
@if($markers[0] ?? false)
<div>
@map([
'lat' => $markers[0]['lat'],
'lng' => $markers[0]['lng'],
'zoom' => 12,
'markers' => $markers
])
</div>
@endif
</div>
</div>
</div>
<livewire:tables.book-case-table :country="$c"/>
</div>

View File

@@ -4,6 +4,18 @@
{{-- MAIN --}}
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4" id="table">
<div class="flex items-start">
<div class="w-1/2">
<h1 class="mb-6 text-5xl font-extrabold leading-none max-w-5xl mx-auto tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoin <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Bookcases') }}</span>
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Search out a public bookcase') }}
</p>
</div>
</div>
<livewire:tables.city-table :country="$country->code" type="bookCase"/>
</div>
</section>

View File

@@ -20,19 +20,31 @@
</div>
</div>
<div class="flex flex-col justify-between text-center md:flex-row">
<p class="order-last text-sm leading-tight text-gray-500 md:order-first"> Built with ❤️ by our
team. </p>
<p class="order-last text-sm leading-tight text-gray-500 md:order-first">
{{ __('Built with ❤️ by our team.') }}
</p>
<ul class="flex flex-row justify-center pb-3 -ml-4 -mr-4 text-sm">
<li><a href="https://github.com/affektde/einundzwanzig-bitcoin-school" target="_blank"
<li>
<a href="https://github.com/affektde/einundzwanzig-bitcoin-school" target="_blank"
class="px-4 text-gray-500 hover:text-white">
<i class="fa fab fa-github mr-1"></i>
Github
</a></li>
<li><a href="https://bitcoin.productlift.dev/t/wunschzettel" target="_blank"
{{ __('Github') }}
</a>
</li>
<li>
<a href="https://bitcoin.productlift.dev/t/wunschzettel" target="_blank"
class="px-4 text-gray-500 hover:text-white">
<i class="fa fa-thin fa-thought-bubble mr-1"></i>
Wunschzettel/Feedback
</a></li>
{{ __('Wish List/Feedback') }}
</a>
</li>
<li>
<a href="/languages" target="_blank"
class="px-4 text-gray-500 hover:text-white">
<i class="fa fa-thin fa-language mr-1"></i>
{{ __('Translate (:lang :percent%)', ['lang' => $language->language, 'percent' => $percentTranslated]) }}
</a>
</li>
{{-- <li><a href="#_" class="px-4 text-gray-500 hover:text-white">FAQ's</a></li>--}}
{{-- <li><a href="#_" class="px-4 text-gray-500 hover:text-white">Terms</a></li>--}}
</ul>

View File

@@ -13,80 +13,80 @@
<a href="{{ route('welcome', ['c' => $c]) }}"
class="text-gray-400 mr-5 font-medium leading-6 hover:text-gray-300">
Zurück zur Übersicht
{{ __('Back to the overview') }}
</a>
@if(str(request()->route()->getName())->contains('school.'))
<a href="{{ route('school.table.city', ['country' => $c, '#table']) }}"
class="{{ request()->routeIs('school.table.city') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Städte
{{ __('Cities') }}
</a>
<a href="{{ route('school.table.lecturer', ['country' => $c, '#table']) }}"
class="{{ request()->routeIs('school.table.lecturer') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Dozenten
{{ __('Lecturers') }}
</a>
<a href="{{ route('school.table.venue', ['country' => $c, '#table']) }}"
class="{{ request()->routeIs('school.table.venue') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Veranstaltungs-Orte
{{ __('Venues') }}
</a>
<a href="{{ route('school.table.course', ['country' => $c, '#table']) }}"
class="{{ request()->routeIs('school.table.course') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Kurse
{{ __('Courses') }}
</a>
<a href="{{ route('school.table.event', ['country' => $c, '#table']) }}"
class="{{ request()->routeIs('school.table.event') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Termine
{{ __('Events') }}
</a>
@endif
@if(str(request()->route()->getName())->contains('library.'))
<a href="{{ route('library.table.libraryItems', ['country' => $c]) }}"
class="{{ request()->routeIs('library.table.libraryItems') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Bibliothek
{{ __('Library') }}
</a>
@if(auth()->user()?->is_lecturer)
<a href="{{ route('library.table.lecturer', ['country' => $c]) }}"
class="{{ request()->routeIs('library.table.lecturer') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Dozenten-Bibliothek
{{ __('Library for lecturers') }}
</a>
@endif
@endif
@if(str(request()->route()->getName())->contains('bookCases.'))
<a href="{{ route('bookCases.table.city', ['country' => $c]) }}"
class="{{ request()->routeIs('bookCases.table.city') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Stadt-Suche
{{ __('City search') }}
</a>
<a href="{{ route('bookCases.table.bookcases', ['country' => $c]) }}"
class="{{ request()->routeIs('bookCases.table.bookcases') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Bücher-Schränke
{{ __('Bookcases') }}
</a>
@endif
@if(str(request()->route()->getName())->contains('meetup.'))
<a href="{{ route('meetup.world', ['country' => $c]) }}"
class="{{ request()->routeIs('meetup.world') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Welt-Karte
{{ __('World map') }}
</a>
<a href="{{ route('meetup.table.meetup', ['country' => $c]) }}"
class="{{ request()->routeIs('meetup.table.meetup') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Meetups
{{ __('Meetups') }}
</a>
<a href="{{ route('meetup.table.meetupEvent', ['country' => $c]) }}"
class="{{ request()->routeIs('meetup.table.meetupEvent') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Meetup-Termine
{{ __('Meetup dates') }}
</a>
@endif
@if(str(request()->route()->getName())->contains('bitcoinEvent.'))
<a href="{{ route('bitcoinEvent.table.bitcoinEvent', ['country' => $c]) }}"
class="{{ request()->routeIs('bitcoinEvent.table.bitcoinEvent') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
Veranstaltungen
{{ __('Events') }}
</a>
@endif
</nav>
</div>
<div class="max-w-sm text-lg text-gray-200">
<div class="max-w-sm text-lg text-gray-200 flex flex-row space-x-2">
<x-select
label="Land wechseln"
placeholder="Land wechseln"
label="{{ __('Change country') }}"
placeholder="{{ __('Change country') }}"
wire:model="c"
:clearable="false"
:searchable="true"
@@ -98,6 +98,16 @@
'config' => ['src' => 'flag']
]"
/>
<x-select
label="{{ __('Change language') }}"
placeholder="{{ __('Change language') }}"
wire:model="l"
:clearable="false"
:searchable="true"
:async-data="route('api.languages.index')"
option-label="language"
option-value="language"
/>
</div>
@auth
<div></div>
@@ -105,11 +115,11 @@
<div class="inline-flex items-center ml-5 my-2 text-lg space-x-6 lg:justify-end">
<a href="{{ route('auth.ln') }}"
class="text-xs sm:text-base font-medium leading-6 text-gray-400 hover:text-gray-300 whitespace-no-wrap transition duration-150 ease-in-out">
Login
{{ __('Login') }}
</a>
<a href="{{ route('auth.ln') }}"
class="text-xs sm:text-base inline-flex items-center justify-center px-4 py-2 font-medium leading-6 text-gray-200 hover:text-white whitespace-no-wrap bg-gray-800 border border-transparent rounded shadow-sm hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-800">
Registrieren
{{ __('Registration') }}
</a>
</div>
@endauth
@@ -124,12 +134,11 @@
<div>
<h1 class="mb-6 text-5xl font-extrabold leading-none max-w-5xl mx-auto tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoin <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">Kurse</span>
für deine<br class="lg:block hidden"> Reise in den Kaninchenbau.
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Courses') }}</span>
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24"> Wähle deine Stadt, suche im
Umkreis nach
Kursen und wähle ein für dich passendes Thema aus. </p>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Choose your city, search for courses in the surrounding area and select a topic that suits you.') }}
</p>
</div>
@endif
@@ -137,11 +146,11 @@
<div>
<h1 class="mb-6 text-5xl font-extrabold leading-none max-w-5xl mx-auto tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoin <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">Content</span>
für deine<br class="lg:block hidden"> Reise in den Kaninchenbau.
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Content') }}</span>
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24"> Wähle ein für dich passendes
Thema aus. </p>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Choose a topic that is right for you.') }}
</p>
</div>
@endif

View File

@@ -1,6 +1,6 @@
<div>
<div class="border-b border-gray-200 pb-5 sm:pb-0 my-6">
<h3 class="text-lg font-medium leading-6 text-gray-200">Suche</h3>
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Search') }}</h3>
<div class="mt-3 sm:mt-4">
<!-- Tabs at small breakpoint and up -->
<div class="hidden sm:block">
@@ -10,19 +10,19 @@
$notCurrentTab = 'border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300';
@endphp
<a href="{{ route('school.table.city', ['country' => $country]).'#table' }}"
class="{{ request()->routeIs('school.table.city') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Städte</a>
class="{{ request()->routeIs('school.table.city') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Cities') }}</a>
<a href="{{ route('school.table.lecturer', ['country' => $country]).'#table' }}"
class="{{ request()->routeIs('school.table.lecturer') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Dozenten</a>
class="{{ request()->routeIs('school.table.lecturer') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Lecturers') }}</a>
<a href="{{ route('school.table.venue', ['country' => $country]).'#table' }}"
class="{{ request()->routeIs('school.table.venue') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Veranstaltungs-Orte</a>
class="{{ request()->routeIs('school.table.venue') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Venues') }}</a>
<a href="{{ route('school.table.course', ['country' => $country]).'#table' }}"
class="{{ request()->routeIs('school.table.course') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Kurse</a>
class="{{ request()->routeIs('school.table.course') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Courses') }}</a>
<a href="{{ route('school.table.event', ['country' => $country]).'#table' }}"
class="{{ request()->routeIs('school.table.event') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Termine</a>
class="{{ request()->routeIs('school.table.event') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Dates') }}</a>
</nav>
</div>

View File

@@ -6,15 +6,15 @@
src="https://cdn.devdojo.com/tails/images/swirl-white.svg">
<div class="container relative z-10 px-4 mx-auto">
<div class="w-full mb-8 sm:w-1/2 md:w-3/4 sm:pr-4 md:pr-12 sm:-mb-32 md:-mb-24 lg:-mb-36 xl:-mb-28">
<h2 class="tracking-widest text-amber-500 uppercase">Einundzwanzig</h2>
<p class="my-3 text-5xl font-bold tracking-tighter text-amber-500 lg:text-6xl">Bitcoin Portal</p>
<h2 class="tracking-widest text-amber-500 uppercase">{{ __('Einundzwanzig') }}</h2>
<p class="my-3 text-5xl font-bold tracking-tighter text-amber-500 lg:text-6xl">{{ __('Bitcoin Portal') }}</p>
<p class="max-w-sm text-lg text-gray-200">
{{ __('Eine Bitcoin Community für alle.') }}
{{ __('A Bitcoin community for all.') }}
</p>
<div class="max-w-sm text-lg text-gray-200">
<div class="max-w-sm text-lg text-gray-200 space-x-2 flex flex-row">
<x-select
label="Land wechseln"
placeholder="Land wechseln"
label="{{ __('Change country') }}"
placeholder="{{ __('Change country') }}"
wire:model="c"
:clearable="false"
:searchable="true"
@@ -26,6 +26,16 @@
'config' => ['src' => 'flag']
]"
/>
<x-select
label="{{ __('Change language') }}"
placeholder="{{ __('Change language') }}"
wire:model="l"
:clearable="false"
:searchable="true"
:async-data="route('api.languages.index')"
option-label="language"
option-value="language"
/>
</div>
</div>
<div class="grid w-full grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4">
@@ -45,9 +55,9 @@
</div>
<div class="relative z-10 flex flex-col items-start justify-start w-full px-6 py-7">
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Plebs together strong</span>
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">{{ __('Plebs together strong') }}</span>
<h4 class="text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Meetups
{{ __('Meetups') }}
</h4>
</div>
</a>
@@ -69,9 +79,9 @@
</div>
<div class="relative z-10 flex flex-col items-start justify-start w-full px-6 py-7">
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Education</span>
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">{{ __('Education') }}</span>
<h4 class="text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Kurse
{{ __('Courses') }}
</h4>
</div>
</a>
@@ -90,9 +100,9 @@
</div>
<div class="relative z-10 flex flex-col items-start justify-start w-full px-6 py-7">
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Content</span>
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">{{ _('Content') }}</span>
<h4 class="text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Bibliothek
{{ __('Library') }}
</h4>
</div>
</a>
@@ -114,9 +124,9 @@
</div>
<div class="relative z-10 flex flex-col items-start justify-start w-full px-6 py-7">
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Worldwide</span>
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">{{ __('Worldwide') }}</span>
<h4 class="text-2xl sm:text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Veranstaltungen
{{ __('Events') }}
</h4>
</div>
</a>
@@ -138,9 +148,9 @@
</div>
<div class="relative z-10 flex flex-col items-start justify-start w-full px-6 py-7">
<span
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">Reading</span>
class="px-2 py-1 mb-3 text-xs font-semibold tracking-tight text-white uppercase bg-amber-500 rounded-md">{{ __('Reading') }}</span>
<h4 class="text-4xl font-bold tracking-tight text-gray-100 sm:text-3xl md:text-2xl lg:text-3xl">
Bücher-Schränke
{{ __('Bookcases') }}
</h4>
</div>
</a>

View File

@@ -9,20 +9,20 @@
</a>
<nav
class="flex flex-wrap items-center mb-5 text-lg md:mb-0 md:pl-8 md:ml-8 md:border-l md:border-gray-800">
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Städte</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Dozenten</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Kurse</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Termine</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">{{ __('Cities') }}</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">{{ __('Lecturers') }}</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">{{ __('Courses') }}</a>
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">{{ __('Dates') }}</a>
</nav>
</div>
<div class="inline-flex items-center ml-5 text-lg space-x-6 lg:justify-end">
<a href="{{ route('nova.login') }}"
class="text-base font-medium leading-6 text-gray-400 hover:text-gray-300 whitespace-no-wrap transition duration-150 ease-in-out">
Login
{{ __('Login') }}
</a>
<a href="#"
class="inline-flex items-center justify-center px-4 py-2 font-medium leading-6 text-gray-200 hover:text-white whitespace-no-wrap bg-gray-800 border border-transparent rounded shadow-sm hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-800">
Registrieren
{{ __('Registration') }}
</a>
</div>
</div>
@@ -31,13 +31,14 @@
class="w-full lg:w-1/2 flex lg:px-0 px-5 flex-col md:items-center lg:items-start justify-center -mt-12">
<h1 class="text-white text-3xl sm:text-5xl lg:max-w-none max-w-4xl lg:text-left text-left md:text-center xl:text-7xl font-black">
Bitcoin <span
class="bg-clip-text text-transparent bg-gradient-to-br from-yellow-400 via-yellow-500 to-yellow-700 mt-1 lg:block">School</span>
class="bg-clip-text text-transparent bg-gradient-to-br from-yellow-400 via-yellow-500 to-yellow-700 mt-1 lg:block">{{ __('School') }}</span>
</h1>
<p class="text-gray-500 sm:text-lg md:text-xl xl:text-2xl lg:max-w-none max-w-2xl md:text-center lg:text-left lg:pr-32 mt-6">
Finde Bitcoin Kurse in deiner City</p>
{{ __('Find Bitcoin courses in your city') }}
</p>
<a href="#_"
class="bg-white px-12 lg:px-16 py-4 text-center lg:py-5 font-bold rounded text-lg md:text-xl lg:text-2xl mt-8 inline-block w-auto">
👇 Kurs finden 👇
{{ __('👇 Find a course 👇') }}
</a>
<p class="text-gray-400 font-normal mt-4">{{-- TEXT --}}</p>
</div>
@@ -54,17 +55,17 @@
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-10">
<div class="border-b border-gray-200 pb-5 sm:pb-0 my-6">
<h3 class="text-lg font-medium leading-6 text-gray-200">Suche</h3>
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Search') }}</h3>
<div class="mt-3 sm:mt-4">
<!-- Dropdown menu on small screens -->
<div class="sm:hidden">
<label for="current-tab" class="sr-only">Select a tab</label>
<label for="current-tab" class="sr-only">{{ __('Select a tab') }}</label>
<select id="current-tab" name="current-tab"
class="block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm">
<option>Städte</option>
<option>Dozenten</option>
<option>Kurse</option>
<option>Termine</option>
<option>{{ __('Cities') }}</option>
<option>{{ __('Lecturers') }}</option>
<option>{{ __('Courses') }}</option>
<option>{{ __('Dates') }}</option>
</select>
</div>
<!-- Tabs at small breakpoint and up -->
@@ -72,16 +73,16 @@
<nav class="-mb-px flex space-x-8">
<!-- Current: "border-indigo-200 text-indigo-600", Default: "border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300" -->
<a href="#"
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Städte</a>
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Cities') }}</a>
<a href="#"
class="border-amber-500 text-amber-500 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Dozenten</a>
class="border-amber-500 text-amber-500 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Lecturers') }}</a>
<a href="#"
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Kurse</a>
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Courses') }}</a>
<a href="#"
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Termine</a>
class="border-transparent text-gray-200 hover:text-gray-400 hover:border-gray-300 whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">{{ __('Dates') }}</a>
</nav>
</div>
</div>

View File

@@ -8,9 +8,9 @@
<div class="relative border-b border-gray-200 pb-5 sm:pb-0">
<div class="md:flex md:items-center md:justify-between">
@if(request()->route()->getName() === 'library.table.lecturer')
<h3 class="text-2xl font-medium leading-6 text-gray-200">Dozenten-Bibliotheken</h3>
<h3 class="text-2xl font-medium leading-6 text-gray-200">{{ __('Lecturer Libraries') }}</h3>
@else
<h3 class="text-2xl font-medium leading-6 text-gray-200">Bibliotheken</h3>
<h3 class="text-2xl font-medium leading-6 text-gray-200">{{ __('Libraries') }}</h3>
@endif
</div>
<div class="mt-4">

View File

@@ -36,14 +36,14 @@
class="hidden p-0 m-0 text-sm leading-3 text-left text-blue-100 align-baseline border-0 border-solid md:block md:text-blue-100 whitespace-nowrap"
>
{{ $tag->libraryItems->pluck('lecturer.name')->unique()->count() }}
Ersteller
{{ __('Creator') }}
<span
class="inline-block relative top-px py-0 px-1 m-0 text-xs leading-4 align-baseline border-0 border-solid"
>
</span>
{{ $tag->library_items_count }}
Inhalte
{{ __('Contents') }}
</div>
</div>
</div>

View File

@@ -5,13 +5,13 @@
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4 flex flex-col sm:flex-row">
<h1 class="mb-6 text-5xl font-extrabold leading-none tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoiner <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">Meetups</span><br
{{ __('Bitcoiner') }} <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Meetups') }}</span><br
class="lg:block hidden">
Plebs together strong 💪
{{ __('Plebs together strong 💪') }}
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24"> Finde Bitcoiner in deiner Stadt und lerne
sie auf einem der Meetups kennen. </p>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Bitcoiner Meetups are a great way to meet other Bitcoiners in your area. You can learn from each other, share ideas, and have fun!') }}
@php
$focus = '';
$map = $country->code . '_merc';

View File

@@ -5,13 +5,14 @@
<section class="w-full mb-12">
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4 flex flex-col sm:flex-row">
<h1 class="mb-6 text-5xl font-extrabold leading-none tracking-normal text-gray-200 sm:text-6xl md:text-6xl lg:text-7xl md:tracking-tight">
Bitcoiner <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">Meetups</span><br
{{ __('Bitcoiner') }} <span
class="w-full text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-200 lg:inline">{{ __('Meetups') }}</span><br
class="lg:block hidden">
Plebs together strong 💪
{{ __('Plebs together strong 💪') }}
</h1>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24"> Finde Bitcoiner in deiner Stadt und lerne
sie auf einem der Meetups kennen. </p>
<p class="px-0 mb-6 text-lg text-gray-600 md:text-xl lg:px-24">
{{ __('Bitcoiner Meetups are a great way to meet other Bitcoiners in your area. You can learn from each other, share ideas, and have fun!') }}
</p>
</div>
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4" id="table">
<div

View File

@@ -35,18 +35,13 @@
<div
class="hidden p-0 m-0 text-sm leading-3 text-left text-blue-100 align-baseline border-0 border-solid md:block md:text-blue-100 whitespace-nowrap"
>
@php
$lecturerCount = $tag->courses->pluck('lecturer.name')->unique()->count();
@endphp
{{ $lecturerCount > 0 ? $lecturerCount : 'kein' }}
Dozent{{ $lecturerCount > 1 ? 'en' : '' }}
{{ __('Lecturers') }}
<span
class="inline-block relative top-px py-0 px-1 m-0 text-xs leading-4 align-baseline border-0 border-solid"
>
</span>
{{ $tag->courses_count > 0 ? $tag->courses_count : 'kein' }}
Kurs{{ $tag->courses_count > 1 ? 'e' : '' }}
{{ __('Courses') }}
</div>
</div>
</div>

View File

@@ -10,7 +10,7 @@
<div class="my-4">
<div class="border-b border-gray-200 pb-5">
<h3 class="text-lg font-medium leading-6 text-gray-200">Bisher waren hier</h3>
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('So far here were') }}</h3>
</div>
<ul role="list" class="divide-y divide-gray-200">
@foreach($currentModal?->orangePills ?? [] as $orangePill)
@@ -18,7 +18,7 @@
<img class="h-10 w-10 rounded-full" src="{{ $orangePill->user->profile_photo_url }}" alt="">
<div class="ml-3">
<p class="text-sm text-gray-200">
{{ $orangePill->user->name }} hat am {{ $orangePill->date->asDateTime() }} {{ $orangePill->amount }} Bitcoin-Bücher hinzugefügt
{{ __('On :asDateTime :name has added :amount Bitcoin books.', ['asDateTime' => $orangePill->date->asDateTime(), 'name' => $orangePill->user->name, 'amount' => $orangePill->amount]) }}
</p>
</div>
</li>
@@ -32,24 +32,24 @@
min="1"
type="number"
wire:model.debounce="orangepill.amount"
label="Anzahl der Bücher"
placeholder="Anzahl der Bücher"
corner-hint="Wie viele Bitcoin-Bücher hast du reingestellt?"
label="{{ __('Number of books') }}"
placeholder="{{ __('Number of books') }}"
corner-hint="{{ __('How many bitcoin books have you put in?') }}"
/>
</div>
<div class="col-span-6 sm:col-span-4">
<x-datetime-picker
label="Datum"
placeholder="Datum"
label="{{ __('Date') }}"
placeholder="{{ __('Date') }}"
display-format="DD.MM.YYYY"
wire:model.defer="orangepill.date"
without-time
corner-hint="Wann hast du Bitcoin-Bücher reingestellt?"
corner-hint="{{ __('When did you put bitcoin books in?') }}"
/>
</div>
<div class="col-span-6 sm:col-span-4">
<x-textarea wire:model.defer="orangepill.comment" label="Kommentar" placeholder="Kommentar"
corner-hint="Zum Beispiel welche Bücher du reingestellt hast."/>
<x-textarea wire:model.defer="orangepill.comment" label="{{ __('Comment') }}" placeholder="{{ __('Comment') }}"
corner-hint="{{ __('For example, what books you put in.') }}"/>
</div>
</div>
</x-slot>

View File

@@ -45,14 +45,14 @@
<h2 class="text-3xl font-bold tracking-tight text-white"
id="join-heading">{{ __('Bis') }}: {{ $currentModal?->to->asDateTime() }}</h2>
<a class="block w-full rounded-md border border-transparent bg-white py-3 px-5 text-center text-base font-medium text-amber-500 shadow-md hover:bg-gray-50 sm:inline-block sm:w-auto"
href="{{ $currentModal?->link }}" target="_blank">Link zur Anmeldung</a>
href="{{ $currentModal?->link }}" target="_blank">{{ __('Link to the registration') }}</a>
<div class="prose-xl prose-white">
<x-markdown>
{{ $currentModal?->course->description }}
</x-markdown>
</div>
<a class="block w-full rounded-md border border-transparent bg-white py-3 px-5 text-center text-base font-medium text-amber-500 shadow-md hover:bg-gray-50 sm:inline-block sm:w-auto"
href="{{ $currentModal?->link }}" target="_blank">Link zur Anmeldung</a>
href="{{ $currentModal?->link }}" target="_blank">{{ __('Link to the registration') }}</a>
</div>
</div>
</div>

View File

@@ -15,45 +15,39 @@
@if(str(request()->route()->getName())->contains('meetup.'))
<x-jet-nav-link href="/nova/resources/meetups" target="_blank">
{{ __('Meetup eintragen') }}
{{ __('Submit Meetup') }}
</x-jet-nav-link>
<x-jet-nav-link href="/nova/resources/meetup-events" target="_blank">
{{ __('Meetup-Termin eintragen') }}
{{ __('Register Meetup date') }}
</x-jet-nav-link>
@endif
@if(str(request()->route()->getName())->contains('school.'))
<x-jet-nav-link href="/nova/resources/lecturers" target="_blank">
{{ __('Dozent eintragen') }}
{{ __('Register lecturer') }}
</x-jet-nav-link>
<x-jet-nav-link href="/nova/resources/courses" target="_blank">
{{ __('Kurs eintragen') }}
{{ __('Register course') }}
</x-jet-nav-link>
<x-jet-nav-link href="/nova/resources/course-events" target="_blank">
{{ __('Kurs-Termin eintragen') }}
{{ __('Register course date') }}
</x-jet-nav-link>
@endif
@if(str(request()->route()->getName())->contains('library.'))
<x-jet-nav-link href="/nova/resources/library-items" target="_blank">
{{ __('Inhalte eintragen') }}
</x-jet-nav-link>
@endif
@if(str(request()->route()->getName())->contains('bookCases.'))
<x-jet-nav-link href="/nova/resources/book-cases" target="_blank">
{{ __('Bücher-Schränke verwalten') }}
{{ __('Submit contents') }}
</x-jet-nav-link>
@endif
@if(str(request()->route()->getName())->contains('bitcoinEvent.'))
<x-jet-nav-link href="/nova/resources/bitcoin-events" target="_blank">
{{ __('Veranstaltung eintragen') }}
{{ __('Register event') }}
</x-jet-nav-link>
@endif
<x-jet-nav-link href="{{ route('profile.show') }}" :active="request()->routeIs('profile.show')">
{{ __('Mein Profil') }}
{{ __('My profile') }}
</x-jet-nav-link>
</div>
</div>

View File

@@ -12,9 +12,9 @@
<div wire:ignore>
<textarea placeholder="{{ $placeholder ?? '' }}"></textarea>
</div>
<div class="comments-form-editor-tip">
You can use <a href="https://spatie.be/markdown" target="_blank" rel="nofollow noopener noreferrer">Markdown</a>
{!! __('You can use <a href="https://spatie.be/markdown" target="_blank" rel="nofollow noopener noreferrer">Markdown</a>') !!}
</div>
</div>

View File

@@ -18,7 +18,7 @@
@endcomponent
@if($unsubscribeUrl = $commentator->unsubscribeFromCommentNotificationsUrl($comment))
<a href="{{ $unsubscribeUrl }}">Unsubscribe from receive notification about {{ $topLevelComment->commentable->commentableName() }}</a>
<a href="{{ $unsubscribeUrl }}">{{ __('Unsubscribe from receive notification about :commentableName', ['commentableName' => $topLevelComment->commentable->commentableName()]) }}</a>
@endif
@endcomponent

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
The comment has been approved.
{{ __('The comment has been approved.') }}
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to approve the comment?
{{ __('Do you want to approve the comment?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
The comment has been rejected.
{{ __('The comment has been rejected.') }}
</x-comments::signed-layout>

View File

@@ -1,6 +1,6 @@
<x-comments::signed-layout>
Do you want to reject the comment?
{{ __('Do you want to reject the comment?') }}
<form class="form" method="POST">
@csrf

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
You have been unsubscribed.
{{ __('You have been unsubscribed.') }}
</x-comments::signed-layout>

View File

@@ -1,5 +1,5 @@
<x-comments::signed-layout>
You have been unsubscribed from every comment notification.
{{ __('You have been unsubscribed from every comment notification.') }}
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to unsubscribe from every comment notification?
{{ __('Do you want to unsubscribe from every comment notification?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -1,10 +1,10 @@
<x-comments::signed-layout>
Do you want to unsubscribe?
{{ __('Do you want to unsubscribe?') }}
<form class="form" method="POST">
@csrf
<button id="confirmationButton" class="button" type="submit">Approve</button>
<button id="confirmationButton" class="button" type="submit">{{ __('Approve') }}</button>
</form>
</x-comments::signed-layout>

View File

@@ -34,7 +34,7 @@
type="button"
class="-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition"
:class="{ 'hover:bg-indigo-600 focus:bg-indigo-600': style == 'success', 'hover:bg-red-600 focus:bg-red-600': style == 'danger' }"
aria-label="Dismiss"
aria-label="{{ __('Dismiss') }}"
x-on:click="show = false">
<svg class="h-5 w-5 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />

View File

@@ -43,7 +43,7 @@
<button class="{{ $dialog }}-button-close focus:outline-none p-1 focus:ring-2 focus:ring-secondary-200 rounded-full text-secondary-300"
x-on:click="close"
type="button">
<span class="sr-only">close</span>
<span class="sr-only">{{ __('close') }}</span>
<x-dynamic-component
:component="WireUi::component('icon')"
class="w-5 h-5"

View File

@@ -102,7 +102,7 @@
<button class="rounded-md inline-flex text-secondary-400 hover:text-secondary-500 focus:outline-none"
x-show="notification.closeButton"
x-on:click="closeNotification(notification)">
<span class="sr-only">Close</span>
<span class="sr-only">{{ __('Close') }}</span>
<x-dynamic-component
:component="WireUi::component('icon')"
class="h-5 w-5"