rename WLED to LED

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2026-01-01 17:34:44 +01:00
parent b0e93d613c
commit a66c48e713
5 changed files with 29 additions and 39 deletions

View File

@@ -1200,7 +1200,7 @@ body {
}
}
/* WLED Configuration */
/* LED Configuration */
.segment-header {
display: flex;
justify-content: space-between;
@@ -1305,7 +1305,7 @@ body {
color: white;
}
/* Responsive for WLED */
/* Responsive for LED */
@media (max-width: 600px) {
.segment-header {
flex-direction: column;

View File

@@ -188,10 +188,11 @@
<!-- Schema Sub-Tab (Lichtsteuerung) -->
<div id="subtab-schema" class="sub-tab-content">
<!-- WLED Konfiguration -->
<!-- LED Konfiguration -->
<div class="card">
<h2 data-i18n="wled.config.title">WLED Konfiguration</h2>
<p class="card-description" data-i18n="wled.config.desc">Konfiguriere die WLED-Segmente und LEDs pro
<h2 data-i18n="wled.config.title">LED Konfiguration</h2>
<p class="card-description" data-i18n="wled.config.desc">Konfiguriere die LED-Segmente und Anzahl
LEDs pro
Segment</p>
<div class="segment-header">

View File

@@ -16,11 +16,9 @@ const translations = {
'subtab.devices': '🔗 Geräte',
'subtab.scenes': '🎬 Szenen',
// WLED Configuration
'wled.config.title': 'WLED Konfiguration',
'wled.config.desc': 'Konfiguriere die WLED-Segmente und LEDs pro Segment',
'wled.host': 'WLED Host',
'wled.host.placeholder': 'z.B. 192.168.1.100 oder wled.local',
// LED Configuration
'wled.config.title': 'LED Konfiguration',
'wled.config.desc': 'Konfiguriere die LED-Segmente und Anzahl LEDs pro Segment',
'wled.segments.title': 'Segmente',
'wled.segments.empty': 'Keine Segmente konfiguriert',
'wled.segments.empty.hint': 'Klicke auf "Segment hinzufügen" um ein Segment zu erstellen',
@@ -29,10 +27,9 @@ const translations = {
'wled.segment.leds': 'Anzahl LEDs',
'wled.segment.start': 'Start-LED',
'wled.segment.remove': 'Entfernen',
'wled.saved': 'WLED-Konfiguration gespeichert!',
'wled.error.host': 'Bitte WLED Host eingeben',
'wled.error.save': 'Fehler beim Speichern der WLED-Konfiguration',
'wled.loaded': 'WLED-Konfiguration geladen',
'wled.saved': 'LED-Konfiguration gespeichert!',
'wled.error.save': 'Fehler beim Speichern der LED-Konfiguration',
'wled.loaded': 'LED-Konfiguration geladen',
// Light Control
'control.light.title': 'Lichtsteuerung',
@@ -190,11 +187,9 @@ const translations = {
'subtab.devices': '🔗 Devices',
'subtab.scenes': '🎬 Scenes',
// WLED Configuration
'wled.config.title': 'WLED Configuration',
'wled.config.desc': 'Configure WLED segments and LEDs per segment',
'wled.host': 'WLED Host',
'wled.host.placeholder': 'e.g. 192.168.1.100 or wled.local',
// LED Configuration
'wled.config.title': 'LED Configuration',
'wled.config.desc': 'Configure LED segments and number of LEDs per segment',
'wled.segments.title': 'Segments',
'wled.segments.empty': 'No segments configured',
'wled.segments.empty.hint': 'Click "Add Segment" to create a segment',
@@ -203,10 +198,9 @@ const translations = {
'wled.segment.leds': 'Number of LEDs',
'wled.segment.start': 'Start LED',
'wled.segment.remove': 'Remove',
'wled.saved': 'WLED configuration saved!',
'wled.error.host': 'Please enter WLED host',
'wled.error.save': 'Error saving WLED configuration',
'wled.loaded': 'WLED configuration loaded',
'wled.saved': 'LED configuration saved!',
'wled.error.save': 'Error saving LED configuration',
'wled.loaded': 'LED configuration loaded',
// Light Control
'control.light.title': 'Light Control',

View File

@@ -1,5 +1,5 @@
// WLED Configuration Module
// Manages WLED segments and LED configuration
// LED Configuration Module
// Manages LED segments and configuration
let wledConfig = {
segments: []
@@ -24,7 +24,7 @@ async function loadWledConfig() {
showStatus('wled-status', t('wled.loaded'), 'success');
}
} catch (error) {
console.log('Using default WLED config');
console.log('Using default LED config');
wledConfig = { segments: [] };
renderWledSegments();
}