# Copyright (C) 2026 Alles Watt lauft
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# Module
ModuleKundenKarteName = KundenKarte
ModuleKundenKarteDesc = Customer card with favorites and technical installations
KundenKarteSetupPage = Configure the settings for the KundenKarte module here.

# Tabs
FavoriteProducts = Favorites
TechnicalInstallations = Installations

# Favorite Products
FavoriteProductsList = Favorite Products
AddFavoriteProduct = Add product
NoFavoriteProducts = No favorite products
GenerateOrder = Generate Order
SelectProducts = Select products
DefaultQuantity = Default quantity
OrderGenerated = Order %s has been created
ConfirmGenerateOrder = Do you want to create an order from the selected products?
OrderGeneratedFromFavorites = Generated from favorite products
NoProductsSelected = No products selected
SelectAll = Select all
Up = Up
Down = Down
Qty = Qty
UnitPriceHT = Price (excl. tax)
Total = Total

# Technical Installations
AnlagenSystems = Installation Systems
AnlagenTypes = Element Types
AnlagenTypeFields = Type Fields
AddSystem = Add system
AddType = Add type
AddField = Add field
AddElement = Add element
EditElement = Edit element
DeleteElement = Delete element
NoInstallations = No installations
SelectSystem = Select system
Category = Category
SelectCategory = Select category
SelectType = Select type
SelectParent = Parent element
TechnicalElement = Element / Device
Root = Root

# Customer System Management
SystemAdded = System has been added
SystemRemoved = System has been removed
RemoveSystem = Remove system
ConfirmRemoveSystem = Are you sure you want to remove this system from this customer?
NoSystemsConfigured = No systems configured
ClickAddSystemToStart = Click "Add system" to add systems for this customer
ContactAdminToAddSystems = Please create systems in the admin area first
SelectSystemToAdd = Select system to add
ErrorSystemHasElements = System cannot be removed because it still has elements
NoTypesDefinedForSystem = No types defined for this system
AvailableSystems = Available systems
NoMoreSystemsAvailable = All available systems have already been added

# Fields
FieldSize = Size
FieldFieldCount = Field count
FieldManufacturer = Manufacturer
FieldModel = Model/Type
FieldSerialNumber = Serial number
FieldPowerRating = Power rating
FieldLocation = Location
FieldInstallationDate = Installation date
FieldWarrantyUntil = Warranty until
FieldNotes = Notes

# Tree
CanHaveChildren = Can have children
CanBeNested = Can be nested
SameTypeUnderItself = Same type under itself allowed
AllowedParentTypes = Allowed parent types
AllowedParentTypesHelp = Empty = all types allowed
CommaSeperatedRefs = Comma separated refs
ShowInTree = Show in tree
ShowInHover = Show on hover
IsRequired = Required
ExpandAll = Expand all
CollapseAll = Collapse all

# Files
UploadFiles = Upload files
AttachedFiles = Attached files
NoFiles = No files
SetAsCover = Set as cover
ConfirmDeleteFile = Are you sure you want to delete this file?
FileDeleted = File has been deleted
FileUploaded = File has been uploaded

# Admin
Settings = Settings
About = About
ManageSystems = Manage systems
ManageTypes = Manage types
ManageFields = Manage fields
SystemCode = System code
SystemLabel = Label
SystemPicto = Icon
SystemColor = Color
TypeRef = Reference
TypeLabel = Label
TypeShortLabel = Short label
FieldCode = Field code
FieldLabel = Field label
FieldType = Field type
FieldOptions = Options (JSON)
FontAwesomeIcon = FontAwesome icon
SelectIcon = Select icon
Position = Position
Status = Status
Actions = Actions
System = System
Description = Description
FilterBySystem = Filter by system
All = All
NoRecords = No records
NoFieldsDefined = No fields defined
EditFieldsInDatabase = Fields can be edited in database or via SQL
FieldOptionsHelp = For type "Select": separate options with | (e.g. Option1|Option2|Option3)

# Field Types
Text = Text
Number = Number
Date = Date
Textarea = Textarea (multiline)
Checkbox = Checkbox

# Setup Page
KundenKarteSetup = KundenKarte Settings
Parameter = Parameter
Value = Value
ShowFavoritesTab = Show "Favorites" tab
ShowAnlagenTab = Show "Installations" tab
DefaultOrderType = Default order type for favorites
OrderTypeOrder = Order (Commande)
OrderTypeProposal = Proposal (Propal)
ConfigurationHelp = Configuration tips
ConfigHelpSystems = Manage systems: Go to the "Installation Systems" tab to create custom system categories
ConfigHelpTypes = Manage element types: Go to the "Element Types" tab to define device types and fields
SetupSaved = Settings saved

# Confirmations
ConfirmDeleteSystem = Are you sure you want to delete this system?
ConfirmDeleteType = Are you sure you want to delete this type?
ConfirmDeleteElement = Are you sure you want to delete this element?
ConfirmDeleteField = Are you sure you want to delete this field?

# Errors
ErrorSystemInUse = System cannot be deleted because it is still in use
ErrorTypeInUse = Type cannot be deleted because it is still in use
ErrorParentNotAllowed = This element cannot be placed under the selected parent
ErrorCannotDeleteSystemType = System types cannot be deleted
ErrorFieldRequired = Required field not filled

# PDF Export
PDFExportTemplate = PDF Export Template
PDFFontSettings = PDF Font Sizes
PDFFontHeader = Header Font Size
PDFFontContent = Content Font Size
PDFFontFields = Field Label Font Size
PDFFontHeaderHelp = Font size for element names (Default: 9pt)
PDFFontContentHelp = Font size for field values (Default: 7pt)
PDFFontFieldsHelp = Font size for field labels (Default: 7pt)
PDFTemplate = PDF Template
CurrentTemplate = Current Template
NoTemplateUploaded = No template uploaded
UploadNewTemplate = Upload new template
DeleteTemplate = Delete template
ConfirmDeleteTemplate = Are you sure you want to delete this template?
TemplateUploadSuccess = Template has been uploaded successfully
TemplateDeleted = Template has been deleted
ErrorOnlyPDFAllowed = Only PDF files are allowed
ErrorUploadFailed = Upload failed
ErrorNoFileSelected = No file selected
PDFTemplateHelp = Upload a PDF file as background/letterhead for export. The first page will be used as template.
ExportTreeAsPDF = Export as PDF

# View Mode
DefaultViewMode = Default view mode for installations
ViewModeTree = Tree view (classic)
ViewModeGraph = Graph view (Cytoscape)
SpatialView = Spatial
TechnicalView = Technical
GraphLoading = Loading graph...
GraphLegendRoom = Room/Building
GraphLegendDevice = Device
GraphLegendCable = Cable
GraphLegendPassthrough = Passthrough
GraphLegendHierarchy = Hierarchy

# Tree Display Settings
TreeDisplaySettings = Tree Display Settings
TreeInfoDisplayMode = Info Display Mode
DisplayAsBadge = As Badge (with icon)
DisplayInParentheses = In Parentheses
DisplayNone = Hidden
TreeBadgeColor = Badge Color
TreeBadgeColorHelp = Select the background color for the info badges
Hidden = Hidden
TreeDisplayMode = Display Mode
Badge = Badge
Parentheses = Parentheses

# File Pinning
Pin = Pin
Unpin = Unpin
Pinned = Pinned
FilePinned = File has been pinned
FileUnpinned = File has been unpinned

# Backup & Restore
BackupRestore = Backup & Restore
CreateBackup = Create Backup
BackupOptions = Backup Options
IncludeUploadedFiles = Include uploaded files
IncludeFilesHelp = All images and documents from installations will be saved in the backup
CreateBackupNow = Create Backup Now
UploadBackup = Upload Backup
UploadBackupFile = Upload Backup File
SelectBackupFile = Select backup file
ExistingBackups = Existing Backups
NoBackupsFound = No backups found
BackupCreatedSuccess = Backup created: %s
BackupCreatedError = Backup could not be created
BackupDeleted = Backup deleted
BackupUploaded = Backup uploaded
InvalidBackupFile = Invalid backup file
DeleteBackup = Delete Backup
ConfirmDeleteBackup = Do you really want to delete the backup "%s"?
RestoreBackup = Restore Backup
ConfirmRestoreBackup = Do you really want to restore the backup "%s"? This may overwrite existing data.
ClearExistingData = Clear existing data first
RestoreSuccess = Restore successful
RestoreError = Restore failed
TotalElements = Total Elements
TotalFiles = Total Files
TotalConnections = Total Connections
CustomersWithAnlagen = Customers with Installations
FilesStorageSize = Files Storage Size
BackupInfo = Backup Information
BackupInfoContent = The backup contains all installations, types, systems, fields and connections
BackupInfoFiles = If enabled, all uploaded files (images, PDFs, documents) will also be backed up
BackupInfoRestore = When restoring, existing data can be overwritten or supplemented

# Standard Dolibarr
Save = Save
Cancel = Cancel
Delete = Delete
Enabled = Enabled
Disabled = Disabled
RecordSaved = Record saved
RecordDeleted = Record deleted
BackToModuleList = Back to module list
Error = Error
Select = Select
Add = Add
AddChild = Add child element
Label = Label
Type = Type
Upload = Upload
View = View
Back = Back
Modify = Modify
Edit = Edit
Close = Close
Confirm = Confirm
Yes = Yes
No = No

# Building Types
BuildingStructure = Building / Location
BuildingLevelBuilding = Building
BuildingLevelFloor = Floor / Level
BuildingLevelWing = Wing
BuildingLevelCorridor = Corridor / Hallway
BuildingLevelRoom = Room
BuildingLevelArea = Area / Zone

# Graph View
TreeView = Tree View
GraphView = Graph View
GraphLoading = Loading graph...
SearchPlaceholder = Search...
