feat: add smart_tv, printer and smartphone device types

Add three new device types (21 total) with Lucide icons (Tv2, Printer,
Smartphone), colour-coded badges, and translations in fr/en/es.
No backend migration needed — type is a free string field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 11:48:23 +02:00
parent 8b39554982
commit 7b32e9b4fd
6 changed files with 25 additions and 4 deletions
+9
View File
@@ -91,6 +91,9 @@ const LANGS = {
typeAccessPoint: 'Borne WiFi / Access Point',
typeDesktop: 'Ordinateur fixe',
typeLaptop: 'Ordinateur portable',
typeSmartTv: 'TV connectée',
typePrinter: 'Imprimante',
typeSmartphone: 'Smartphone',
typeOther: 'Autre',
virtBaremetal: 'Bare-metal',
virtLxc: 'LXC',
@@ -246,6 +249,9 @@ const LANGS = {
typeAccessPoint: 'WiFi Access Point',
typeDesktop: 'Desktop computer',
typeLaptop: 'Laptop',
typeSmartTv: 'Smart TV',
typePrinter: 'Printer',
typeSmartphone: 'Smartphone',
typeOther: 'Other',
virtBaremetal: 'Bare-metal',
virtLxc: 'LXC',
@@ -398,6 +404,9 @@ const LANGS = {
typeAccessPoint: 'Punto de acceso WiFi',
typeDesktop: 'Ordenador de sobremesa',
typeLaptop: 'Portátil',
typeSmartTv: 'Smart TV',
typePrinter: 'Impresora',
typeSmartphone: 'Smartphone',
typeOther: 'Otro',
virtBaremetal: 'Bare-metal',
virtLxc: 'LXC',