mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-07 15:09:30 +00:00
fix(dialogs): finish discard, switch and room polish (#603)
Issue: #603 User-Visible: yes
This commit is contained in:
@@ -151,7 +151,6 @@ export function renderRoomSettingsDialog(this: HouseplanEditorRuntime): Template
|
||||
${batchProgress ? html`<p class="hpf-hint" role="status" aria-live="polite">${batchProgress}</p>` : nothing}
|
||||
${formCard({
|
||||
id: 'basics',
|
||||
title: t('room.group_basics'),
|
||||
// §6.1: «?» стоит у зоны — пояснение про свободные зоны относится к ней, а не к карточке
|
||||
body: fieldGrid([
|
||||
field({
|
||||
|
||||
@@ -781,7 +781,6 @@
|
||||
"toast.room_updated": "Raum aktualisiert",
|
||||
"space.card_font": "Schriftgröße der Raumkarten",
|
||||
"room.sizes_section": "Schriftgrößen",
|
||||
"room.group_basics": "Allgemein",
|
||||
"room.group_basics.help": "Der Bereich verbindet den Raum mit einem Home-Assistant-Bereich, aus dem seine Sensoren stammen. Ohne Bereich bleibt er Geometrie.",
|
||||
"room.group_basics.help.aria": "Hilfe: Name und Bereich des Raums",
|
||||
"room.group_fill": "Füllung",
|
||||
|
||||
@@ -781,7 +781,6 @@
|
||||
"toast.room_updated": "Room updated",
|
||||
"space.card_font": "Room-card font size",
|
||||
"room.sizes_section": "Font sizes",
|
||||
"room.group_basics": "Basics",
|
||||
"room.group_basics.help": "The area links the room to a Home Assistant area, which is where its sensors come from. Without one the room stays geometry.",
|
||||
"room.group_basics.help.aria": "Help: room name and area",
|
||||
"room.group_fill": "Fill",
|
||||
|
||||
@@ -781,7 +781,6 @@
|
||||
"toast.room_updated": "Pièce mise à jour",
|
||||
"space.card_font": "Taille de police des cartes",
|
||||
"room.sizes_section": "Tailles de police",
|
||||
"room.group_basics": "Général",
|
||||
"room.group_basics.help": "La zone relie la pièce à une zone Home Assistant, d’où viennent ses capteurs. Sans zone, la pièce reste géométrique.",
|
||||
"room.group_basics.help.aria": "Aide : nom et zone de la pièce",
|
||||
"room.group_fill": "Remplissage",
|
||||
|
||||
@@ -781,7 +781,6 @@
|
||||
"toast.room_updated": "Комната обновлена",
|
||||
"space.card_font": "Размер шрифта карточек",
|
||||
"room.sizes_section": "Размеры шрифтов",
|
||||
"room.group_basics": "Основное",
|
||||
"room.group_basics.help": "Область связывает комнату с зоной Home Assistant: из неё берутся датчики. Без области комната остаётся геометрией.",
|
||||
"room.group_basics.help.aria": "Подсказка: имя и область комнаты",
|
||||
"room.group_fill": "Заливка",
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
"dialog.review_fields": "{n} Feld(er) prüfen",
|
||||
"dialog.discard_title": "Änderungen verwerfen?",
|
||||
"dialog.discard_message": "Ihre Änderungen wurden nicht gespeichert.",
|
||||
"dialog.discard_confirm": "Änderungen verwerfen",
|
||||
"dialog.discard_keep": "Weiter bearbeiten",
|
||||
"dialog.discard_confirm": "Verwerfen",
|
||||
"dialog.discard_keep": "Fortfahren",
|
||||
"gs.show_room_tooltip_hint": "Zeigen Sie auf einen Raum im Plan, um seine Übersicht zu sehen.",
|
||||
"gs.radar_show_live_hint": "Blendet alle Live-Radarziele ein oder aus. Die Beobachtungsaufzeichnung wird dadurch nicht gestartet oder gestoppt.",
|
||||
"gs.bg_custom_hint": "Eigene Hintergrundfarbe.",
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
"dialog.review_fields": "Review {n} field(s)",
|
||||
"dialog.discard_title": "Discard your changes?",
|
||||
"dialog.discard_message": "Your changes haven’t been saved.",
|
||||
"dialog.discard_confirm": "Discard changes",
|
||||
"dialog.discard_keep": "Keep editing",
|
||||
"dialog.discard_confirm": "Discard",
|
||||
"dialog.discard_keep": "Continue",
|
||||
"gs.show_room_tooltip_hint": "Hover a room on the plan to see its summary.",
|
||||
"gs.radar_show_live_hint": "Hides or shows all live radar targets. This does not start or stop observation recording.",
|
||||
"gs.bg_custom_hint": "Custom background color.",
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
"dialog.discard_title": "Abandonner vos modifications ?",
|
||||
"dialog.discard_message": "Vos modifications n’ont pas été enregistrées.",
|
||||
"dialog.discard_confirm": "Abandonner",
|
||||
"dialog.discard_keep": "Continuer la modification",
|
||||
"dialog.discard_keep": "Continuer",
|
||||
"gs.show_room_tooltip_hint": "Survolez une pièce sur le plan pour voir son résumé.",
|
||||
"gs.radar_show_live_hint": "Affiche ou masque toutes les cibles radar en direct. Cela ne démarre ni n’arrête l’enregistrement d’observation.",
|
||||
"gs.bg_custom_hint": "Couleur de fond personnalisée.",
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
"dialog.review_fields": "Проверьте поля: {n}",
|
||||
"dialog.discard_title": "Отменить изменения?",
|
||||
"dialog.discard_message": "Изменения не сохранены.",
|
||||
"dialog.discard_confirm": "Отменить изменения",
|
||||
"dialog.discard_keep": "Продолжить редактирование",
|
||||
"dialog.discard_confirm": "Отменить",
|
||||
"dialog.discard_keep": "Продолжить",
|
||||
"gs.show_room_tooltip_hint": "Наведите на комнату на плане, чтобы увидеть сводку.",
|
||||
"gs.radar_show_live_hint": "Показывает или скрывает все живые цели радаров. Запись наблюдения не запускается и не останавливается.",
|
||||
"gs.bg_custom_hint": "Свой цвет фона.",
|
||||
|
||||
@@ -267,6 +267,7 @@ function extrasCss(options: FormKitCssOptions): string {
|
||||
.${p}-toggle > input::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
width: 36px;
|
||||
height: 22px;
|
||||
inset: 11px 4px;
|
||||
|
||||
Reference in New Issue
Block a user