chore(control): title case for buttons and headings

This commit is contained in:
2026-01-18 18:46:21 +01:00
parent a0cf45c8dc
commit ea3cbcb8c6
5 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -102,7 +102,7 @@
popup_content = {
open: true,
snippet: display_popup,
title: 'Neuen Bildschirm hinzufügen',
title: 'Neuen Bildschirm Hinzufügen',
title_icon: Monitor,
title_class: '!text-xl',
window_class: 'w-3xl',
@@ -374,7 +374,7 @@
menu_options={[
{
icon: Plus,
name: 'Neuen Bildschirm hinzufügen',
name: 'Neuen Bildschirm Hinzufügen',
on_select: show_new_display_popup
},
{
+11 -11
View File
@@ -51,7 +51,7 @@
popup_content = {
open: true,
snippet: send_keys_popup,
title: 'Tastatur-Eingaben durchgeben',
title: 'Tastatur-Eingaben Durchgeben',
title_icon: Keyboard,
closable: true
};
@@ -61,7 +61,7 @@
popup_content = {
open: true,
snippet: text_popup,
title: 'Text anzeigen',
title: 'Text Anzeigen',
title_icon: TextAlignStart,
closable: true,
window_class: 'size-full'
@@ -72,7 +72,7 @@
popup_content = {
open: true,
snippet: website_popup,
title: 'Webseite anzeigen',
title: 'Webseite Anzeigen',
window_class: 'w-xl',
title_icon: Globe,
closable: true
@@ -208,7 +208,7 @@
<div class="grid grid-rows-[2.5rem_auto] bg-stone-800 rounded-2xl min-w-0">
<div class="text-xl font-bold pl-3 content-center bg-stone-700 rounded-t-2xl truncate min-w-0">
Bildschirme steuern
Bildschirme Steuern
</div>
<div class="relative flex flex-col gap-2 p-2 overflow-auto">
<div class="flex flex-row justify-between gap-2">
@@ -235,13 +235,13 @@
<Button
className="px-3 flex gap-3 w-75 justify-normal"
disabled={$selected_display_ids.length === 0}
click_function={show_text_popup}><TextAlignStart /> Text anzeigen</Button
click_function={show_text_popup}><TextAlignStart /> Text Anzeigen</Button
>
<Button
className="px-3 flex gap-3 w-75 justify-normal"
disabled={$selected_display_ids.length === 0}
click_function={show_website_popup}><Globe /> Webseite anzeigen</Button
click_function={show_website_popup}><Globe /> Webseite Anzeigen</Button
>
<Button
@@ -254,7 +254,7 @@
<div class="flex flex-row justify-normal">
<Button className="rounded-r-none pl-3 flex gap-3 grow w-65 justify-normal" disabled>
<TrafficCone /> Fallback-Bild anzeigen
<TrafficCone /> Fallback-Bild Anzeigen
</Button>
<Button className="rounded-l-none flex grow-0 w-10" disabled><ChevronDown /></Button>
</div>
@@ -262,7 +262,7 @@
<Button
className="px-3 flex gap-3 w-75 justify-normal"
disabled={$selected_display_ids.length === 0}
click_function={show_send_keys_popup}><Keyboard /> Tastatur-Eingaben durchgeben</Button
click_function={show_send_keys_popup}><Keyboard /> Tastatur-Eingaben Durchgeben</Button
>
</div>
<div class="flex flex-col gap-2 justify-between">
@@ -272,7 +272,7 @@
disabled={$all_display_states === 'on' || $selected_display_ids.length === 0}
click_function={startup_action}
>
<Power /> Display hochfahren
<Power /> Display Hochfahren
</Button>
<Button
@@ -280,12 +280,12 @@
disabled={$all_display_states === 'off' || $selected_display_ids.length === 0}
click_function={ask_shutdonw}
>
<PowerOff /> Display herunterfahren</Button
<PowerOff /> Display Herunterfahren</Button
>
</div>
<Button className="px-3 flex gap-3 w-full xl:w-75 justify-normal" disabled>
<SquareTerminal />
Shell-Befehl ausführen
Shell-Befehl Ausführen
</Button>
</div>
</div>
@@ -218,7 +218,7 @@
class="min-w-40 px-4 rounded-xl cursor-pointer duration-200 transition-colors bg-stone-600"
onclick={async () => await toggle_all_selected_displays($display_groups)}
>
<span>{$all_groups_selected || false ? 'Alle abwählen' : 'Alle auswählen'}</span>
<span>{$all_groups_selected || false ? 'Alle Abwählen' : 'Alle Auswählen'}</span>
</button>
<div class="flex flex-row">
<Button
+1 -1
View File
@@ -285,7 +285,7 @@
<div class="bg-stone-800 h-full rounded-2xl grid grid-rows-[2.5rem_1fr] min-h-0">
<div class="bg-stone-700 flex justify-between w-full p-1 rounded-t-2xl min-w-0 gap-2">
<span class="text-xl font-bold pl-2 content-center truncate min-w-0">
Dateien anzeigen und verwalten
Dateien Anzeigen und Verwalten
</span>
<div class="flex flex-row">
<Button
@@ -210,7 +210,7 @@
</div>
{/each}
</div>
<Button click_function={show_text} className="w-full font-bold">Text Anzeigen</Button>
</div>
</div>