fix table with handling, icons implemented

This commit is contained in:
root
2026-08-09 08:50:13 +02:00
parent 5e32be7d0c
commit 3ff0794cfc
43 changed files with 1027 additions and 95 deletions
+32 -8
View File
@@ -144,7 +144,8 @@ BASE_TRANSLATIONS = {
"field.gpu_name": ("Graphics adapter", "Grafikkarte"), "field.tpm_version": ("TPM version", "TPM-Version"),
"field.memory_details": ("Memory modules", "Arbeitsspeicher-Module"), "field.antivirus": ("Active antivirus", "Aktiver Virenschutz"),
"field.mesh_group": ("MeshCentral group", "MeshCentral-Gruppe"), "field.mesh_node_id": ("MeshCentral node ID", "MeshCentral Node-ID"),
"field.mesh_mtype": ("MeshCentral device type (mtype)", "MeshCentral-Gerätetyp (mtype)"),
"field.mesh_mtype": ("MeshCentral group type (mtype)", "MeshCentral-Gruppentyp (mtype)"),
"field.mesh_icon": ("MeshCentral device icon", "MeshCentral-Geräte-Icon"),
"common.close": ("Close", "Schließen"),
"common.loading": ("Loading…", "Lade…"),
@@ -463,13 +464,13 @@ BASE_TRANSLATIONS.update({
BASE_TRANSLATIONS.update({
"settings.mesh_type_desktop": ("Desktop / PC", "Desktop / PC"),
"settings.mesh_type_notebook": ("Notebook / laptop", "Notebook / Laptop"),
"settings.mesh_type_mobile": ("Mobile device", "Mobilgerät"),
"settings.mesh_type_server": ("Server", "Server"),
"settings.mesh_type_5": ("Device type 5", "Gerätetyp 5"),
"settings.mesh_type_6": ("Device type 6", "Gerätetyp 6"),
"settings.mesh_type_7": ("Device type 7", "Gerätetyp 7"),
"settings.mesh_type_linux_other": ("Linux / other device", "Linux / sonstiges Gerät"),
"settings.meshcentral_type": ("MeshCentral type", "MeshCentral-Typ"),
"settings.mesh_type_mobile": ("Tablet / mobile device", "Tablet / Mobilgerät"),
"settings.mesh_type_server": ("Server / appliance", "Server / Appliance"),
"settings.mesh_type_5": ("Embedded / appliance", "Embedded / Appliance"),
"settings.mesh_type_6": ("Network device / appliance", "Netzwerkgerät / Appliance"),
"settings.mesh_type_7": ("Raspberry Pi", "Raspberry Pi"),
"settings.mesh_type_linux_other": ("Display / terminal", "Display / Terminal"),
"settings.meshcentral_type": ("MeshCentral icon", "MeshCentral-Icon"),
"settings.ldap_server": ("LDAP server", "LDAP-Server"),
"settings.port": ("Port", "Port"),
"settings.use_ssl": ("Use SSL/LDAPS", "SSL/LDAPS verwenden"),
@@ -481,6 +482,29 @@ BASE_TRANSLATIONS.update({
"settings.display_name_attribute": ("Display name attribute", "Attribut Anzeigename"),
"settings.email_attribute": ("Email attribute", "Attribut E-Mail"),
"settings.bind_password_help": ("The bind password remains outside the config, for example in .env as LDAP_BIND_PASSWORD=...", "Das Bind-Passwort bleibt außerhalb der Config, z. B. in .env als LDAP_BIND_PASSWORD=..."),
"settings.mesh_icon_mapping_help": ("The MeshCentral device icon (node.icon/platformType) is used for category selection when a new asset is created. Existing assets are not recategorized automatically.", "Für die Kategorieauswahl bei neu angelegten Assets wird das MeshCentral-Geräte-Icon (node.icon/platformType) verwendet. Bestehende Assets werden nicht automatisch umkategorisiert."),
"assets.device_visual": ("Device", "Gerät"),
"assets.current_image": ("Current asset image", "Aktuelles Assetbild"),
"assets.remove_image": ("Remove asset image", "Assetbild entfernen"),
"assets.image_remove_pending": ("The asset image will be removed when you save.", "Assetbild wird beim Speichern entfernt."),
"assets.image_replace_help": ("A newly selected image replaces the current asset image.", "Ein neu ausgewähltes Bild ersetzt das vorhandene Assetbild."),
"assets.visual_source": ("Display source", "Anzeigequelle"),
"assets.visual_source.auto": ("Automatic: asset image → category image → MeshCentral icon", "Automatisch: Assetbild → Kategoriebild → MeshCentral-Icon"),
"assets.visual_source.asset_image": ("Asset image only", "Nur Assetbild"),
"assets.visual_source.category_image": ("Category image", "Kategoriebild"),
"assets.visual_source.mesh_icon": ("MeshCentral icon", "MeshCentral-Icon"),
"assets.visual_source.help": ("Selects which image or icon is preferred for this asset in lists and details.", "Legt fest, welches Bild oder Icon für dieses Asset in Listen und Details bevorzugt angezeigt wird."),
"categories.image_help": ("This image is used as the category icon when an asset does not use its own image.", "Dieses Bild wird als Kategorie-Icon verwendet, wenn ein Asset kein eigenes Bild verwendet."),
"categories.current_image": ("Current category image", "Aktuelles Kategoriebild"),
"categories.remove_image": ("Remove category image", "Kategoriebild entfernen"),
"categories.image_remove_pending": ("The category image will be removed when you save.", "Kategoriebild wird beim Speichern entfernt."),
"images.direct_upload": ("Upload individual image", "Eigenes Bild hochladen"),
"images.library": ("Standard image library", "Standardbild-Bibliothek"),
"images.library_help": ("Select an existing standard image or add an image to the library once.", "Wähle ein bereits vorhandenes Standardbild oder füge ein Bild einmalig zur Bibliothek hinzu."),
"images.library_empty": ("No standard images available yet.", "Noch keine Standardbilder vorhanden."),
"images.library_upload": ("Add new standard image and use it", "Neues Standardbild hinzufügen und verwenden"),
"images.library_upload_help": ("The image is stored once in the shared library and can then be reused for other assets and categories.", "Das Bild wird einmal in der gemeinsamen Bibliothek gespeichert und kann danach bei weiteren Assets und Kategorien wiederverwendet werden."),
"assets.mesh_icon_title": ("MeshCentral device icon {icon}", "MeshCentral-Geräte-Icon {icon}"),
})