eplan/langs/en_US/eplan.lang
Eduard Wisch 593c93f377
All checks were successful
Deploy Eplan / deploy (push) Successful in 9s
feat: PWA-Token-Auth statt Dolibarr-REST-API-Key [deploy]
Das ElektroPlan-Backend spricht nicht mehr die Dolibarr-REST-API an
(API-Key-Flow kaputt, REST-Modul nicht zuverlässig), sondern einen
eigenen NOLOGIN-Endpoint im Eplan-Modul.

- ajax/pwa_api.php: NOLOGIN-Endpoint, Auth via X-Eplan-Token-Header
  gegen EPLAN_PWA_SECRET (hash_equals, timing-safe)
  Actions: ping, auftraege_listen, auftrag_details, kunden_suchen,
  dokument_upload (multipart POST)
- lib/eplan_token.lib.php: Lazy-init Token, Rotation, Verifikation
- admin/setup.php: Token-Feld (readonly, anklickbar zum Markieren),
  Endpoint-URL zum Kopieren, Button "Neuen Token erzeugen"
- de/en-Sprachdateien: EplanApiToken* Keys

Muster aus KB #354 (Bericht/Baustelle-PWA).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 11:02:27 +02:00

40 lines
2 KiB
Text

# Eplan — English
Module500037Name = Eplan
Module500037Desc = Link to ElektroPlan PWA — Room measurement with Bluetooth laser
Module500037DescLong = Adds an "Aufmass" tab to orders and customer cards. Shows linked floor plans, opens the ElektroPlan PWA with order context and allows PDF export directly as a Dolibarr document.
# Rights
EplanRightRead = View measurement
EplanRightWrite = Edit measurement
EplanRightAdmin = Manage Eplan settings
# PWA token
EplanApiToken = PWA connection (token)
EplanApiTokenDesc = The token authenticates the ElektroPlan PWA against this Dolibarr. Enter URL + token in the PWA settings (gear icon).
EplanApiTokenValue = Token
EplanApiTokenHint = Click once to select, then Ctrl+C to copy.
EplanApiEndpoint = API endpoint
EplanTokenRotieren = Generate new token
EplanTokenRotierenConfirm = Generate new token? The old one is immediately invalid and the PWA must be reconfigured.
EplanTokenRotiert = New token generated. Update the PWA with the new token.
EplanSetup = Eplan Settings
EplanPwaUrl = PWA URL
EplanPwaUrlDesc = Full URL to the ElektroPlan PWA (e.g. https://elektroplan.example.com)
EplanPwaUrlPlaceholder = https://elektroplan.example.com
EplanSettingsSaved = Settings saved
Einstellungen = Settings
EplanOpenPwa = Open ElektroPlan
EplanOpenPwaDesc = Opens the ElektroPlan PWA in a new tab. On mobile devices the app can be installed.
EplanInstallHint = Tip: On mobile select "Add to Home Screen" to install the app.
EplanNotConfigured = ElektroPlan PWA URL is not configured yet.
EplanAbout = About ElektroPlan
EplanAboutText = ElektroPlan is a PWA for mobile room measurement. Using Bosch GLM Bluetooth laser rooms can be measured on-site and scale floor plans created.
EplanFeatures = Features
EplanFeature1 = Create and edit rooms via rectangles
EplanFeature2 = Bluetooth laser (Bosch GLM) for precise measurements
EplanFeature3 = Offline capable — works without internet
EplanFeature4 = PDF and DXF export (CAD compatible)
EplanFeature5 = Measure multiple rooms per project