Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/components/device/new/device-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const devices = [
},
{
name: 'luftdaten.info',
label: 'Sensor.Community',
image:
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXdpbmQiPjxwYXRoIGQ9Ik0xMi44IDE5LjZBMiAyIDAgMSAwIDE0IDE2SDIiLz48cGF0aCBkPSJNMTcuNSA4YTIuNSAyLjUgMCAxIDEgMiA0SDIiLz48cGF0aCBkPSJNOS44IDQuNEEyIDIgMCAxIDEgMTEgOEgyIi8+PC9zdmc+',
imageHasPadding: false,
Expand Down Expand Up @@ -152,7 +153,7 @@ export function DeviceSelectionStep() {
<div className="border-border flex w-24 shrink-0 items-center justify-center border-r bg-white">
<img
src={device.image}
alt={device.name}
alt={'label' in device ? device.label : device.name}
className={cn(
'h-full w-full',
device.imageHasPadding
Expand All @@ -178,7 +179,7 @@ export function DeviceSelectionStep() {
)}

<h3 className="text-foreground text-lg font-semibold wrap-break-word">
{device.name}
{'label' in device ? device.label : device.name}
</h3>

{device.name === 'senseBox:Home' &&
Expand Down
2 changes: 1 addition & 1 deletion public/locales/de/data-table.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"next_page": "Nächste Seite",
"last_page": "Letzte Seite",

"device_id": "Device ID",
"device_id": "Geräte ID",
"actions": "Aktionen",
"name": "Name",
"createdAt": "Erstellt am",
Expand Down
Loading