- Sonepar Metal Note API: CU/AL Tageswerte + Monatsdurchschnitte - Dashboard mit Chart.js Verlaufsdiagramm (30/90/365 Tage) - Trigger: Kupfergehalt (kg/km) = Aderanzahl × Querschnitt × 8,89 - Trigger: Kupferzuschlag (€/m) auf Einkaufspreisen berechnen - CU-Logik: Lieferant-eigener Wert oder aktuellster aus History - Cronjobs: Wöchentlicher API-Abruf + Kupferzuschlag-Neuberechnung - Extrafields: Lieferantenkarte (CU/AL/Datum/Quelle), Produkt (Aderanzahl/Querschnitt/Kupfergehalt) - Admin-Seite mit API-URL, Auto-Fetch, Lieferantenübersicht - Mehrsprachig (de_DE, en_US) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
81 lines
3.1 KiB
Text
Executable file
81 lines
3.1 KiB
Text
Executable file
# Copyright (C) 2026 Eduard Wisch
|
||
#
|
||
# Metallzuschlag Module - English language file
|
||
#
|
||
|
||
# Module
|
||
ModuleMetallzuschlagName = Metal Surcharge
|
||
ModuleMetallzuschlagDesc = Fetch metal surcharges (copper/aluminum) from wholesalers
|
||
MetallzuschlagDescription = Fetch and manage metal surcharges from wholesalers
|
||
MetallzuschlagDescriptionLong = Fetches current metal surcharges (copper, aluminum) from wholesaler APIs and provides them centrally in Dolibarr. Supports automatic updates via cron job.
|
||
|
||
# Permissions
|
||
MetallzuschlagPermRead = View metal surcharges
|
||
MetallzuschlagPermConfig = Configure metal surcharges
|
||
|
||
# Areas
|
||
MetallzuschlagArea = Metal Surcharge
|
||
MetallzuschlagSetup = Metal Surcharge Setup
|
||
MetallzuschlagSetupPage = Metal Surcharge Configuration
|
||
MetallzuschlagAbout = About Metal Surcharge
|
||
|
||
# Dashboard
|
||
MetallzuschlagDashboard = Metal Surcharge Overview
|
||
MetallzuschlagCurrentValues = Current Rates
|
||
MetallzuschlagHistory = History
|
||
MetallzuschlagNoData = No data available yet. Please fetch rates first.
|
||
MetallzuschlagFetchNow = Fetch now
|
||
MetallzuschlagFetchSuccess = Metal rates fetched successfully
|
||
MetallzuschlagFetchError = Error fetching metal rates
|
||
MetallzuschlagLastUpdate = Last update
|
||
|
||
# Metals
|
||
MetallzuschlagCU = Copper surcharge (€/100kg)
|
||
MetallzuschlagAL = Aluminum surcharge (€/100kg)
|
||
MetallzuschlagCUHelp = Current copper surcharge in EUR per 100kg (DEL notation)
|
||
MetallzuschlagALHelp = Current aluminum surcharge in EUR per 100kg
|
||
MetallzuschlagCUShort = Copper (CU)
|
||
MetallzuschlagALShort = Aluminum (AL)
|
||
|
||
# Extrafields
|
||
MetallzuschlagSeparator = Metal Surcharge
|
||
MetallzuschlagDate = Rate date
|
||
MetallzuschlagSource = Source
|
||
MetallzuschlagSourceHelp = Source of the metal rate
|
||
|
||
# Table
|
||
MetallzuschlagMetal = Metal
|
||
MetallzuschlagValue = Daily rate
|
||
MetallzuschlagMonthAvg = Avg. prev. month
|
||
MetallzuschlagSourceCol = Source
|
||
MetallzuschlagUnit = €/100kg
|
||
|
||
# Setup
|
||
MetallzuschlagApiUrl = API Base URL
|
||
MetallzuschlagApiUrlHelp = Base URL for the metal rate API (e.g. Sonepar)
|
||
MetallzuschlagAutoFetch = Automatic fetch
|
||
MetallzuschlagAutoFetchHelp = Automatically fetch metal rates via cron job
|
||
MetallzuschlagSupplierMapping = Supplier mapping
|
||
MetallzuschlagSupplierMappingHelp = Which suppliers should be updated automatically
|
||
|
||
# Suppliers
|
||
MetallzuschlagSuppliers = Suppliers with metal surcharge
|
||
MetallzuschlagNoSuppliers = No suppliers configured with metal surcharge source
|
||
MetallzuschlagUpdatedSuppliers = %s supplier(s) updated
|
||
|
||
# Product extrafields
|
||
Aderanzahl = Number of conductors
|
||
AderanzahlHelp = Number of copper conductors in the cable
|
||
Querschnitt = Cross-section (mm²)
|
||
QuerschnittHelp = Conductor cross-section in mm²
|
||
Kupfergehalt = Copper content (kg/km)
|
||
KupfergehaltHelp = Copper weight in kg per km cable (conductors × cross-section × 8.89)
|
||
MetallzuschlagKupfergehaltCalc = Copper content is calculated automatically: conductors × cross-section × 8.89 kg/(km·mm²)
|
||
|
||
# Chart
|
||
MetallzuschlagChart = Rate history chart
|
||
MetallzuschlagChartCU = Copper (CU) €/100kg
|
||
MetallzuschlagChartAL = Aluminum (AL) €/100kg
|
||
MetallzuschlagLast30Days = Last 30 days
|
||
MetallzuschlagLast90Days = Last 90 days
|
||
MetallzuschlagLast365Days = Last 365 days
|