Übersetzung und

This commit is contained in:
Cay 2026-02-04 16:33:52 +00:00
parent 64fcad77f0
commit 1eaf932f1f
5 changed files with 25 additions and 17 deletions

View File

@ -53,7 +53,9 @@
"upload": "Hochladen", "upload": "Hochladen",
"lock": "Sperren", "lock": "Sperren",
"unlock": "Enrsperren", "unlock": "Enrsperren",
"name": "Name" "name": "Name",
"return": "Zurück",
"fileupload": "Hochladen"
}, },
"sidebar": { "sidebar": {
@ -115,7 +117,9 @@
"patienteoverview": { "patienteoverview": {
"patienttitle": "Patientenübersicht", "patienttitle": "Patientenübersicht",
"newpatient": "Neuer Patient", "newpatient": "Neuer Patient",
"nopatientfound": "Keine Patienten gefunden" "nopatientfound": "Keine Patienten gefunden",
"closepatient": "Patient sperren ( inaktiv)",
"openpatient": "Patient entsperren (Aktiv)"
}, },
"openinvoices": { "openinvoices": {

View File

@ -45,15 +45,17 @@
"create": "Creado", "create": "Creado",
"change": "Modificado", "change": "Modificado",
"reset2": "Restablecer", "reset2": "Restablecer",
"edit": "editar", "edit": "Editar",
"selection": "Selección", "selection": "Selección",
"waiting": "Ya está esperando", "waiting": "Ya está esperando",
"towaitingroom": "A la sala de espera", "towaitingroom": "A la sala de espera",
"overview": "Resumen", "overview": "Resumen",
"upload": "Cargar", "upload": "Subir archivo",
"lock": "bloquear", "lock": "bloquear",
"unlock": "desbloquear", "unlock": "desbloquear",
"name": "Nombre" "name": "Nombre",
"return": "Atrás",
"fileupload": "Cargar"
}, },
"sidebar": { "sidebar": {
@ -115,7 +117,9 @@
"patienteoverview": { "patienteoverview": {
"patienttitle": "Resumen de pacientes", "patienttitle": "Resumen de pacientes",
"newpatient": "Paciente nuevo", "newpatient": "Paciente nuevo",
"nopatientfound": "No se han encontrado pacientes." "nopatientfound": "No se han encontrado pacientes.",
"closepatient": "Bloquear paciente (inactivo)",
"openpatient": "Desbloquear paciente (activo)"
}, },
"openinvoices": { "openinvoices": {

Binary file not shown.

View File

@ -30,7 +30,7 @@
<!-- 🧾 RECHNUNG ERSTELLEN --> <!-- 🧾 RECHNUNG ERSTELLEN -->
<form <form
method="POST" method="POST"
action="/patients/<%= r.patient_id %>/create-invoice" action="/invoices/patients/<%= r.patient_id %>/create-invoice"
class="invoice-form d-inline float-end ms-2" class="invoice-form d-inline float-end ms-2"
> >
<button class="btn btn-sm btn-success"> <button class="btn btn-sm btn-success">

View File

@ -34,7 +34,7 @@
<!-- ✅ Zurück --> <!-- ✅ Zurück -->
<a href="<%= backUrl || '/patients' %>" class="nav-item"> <a href="<%= backUrl || '/patients' %>" class="nav-item">
<i class="bi bi-arrow-left-circle"></i> Zurück <i class="bi bi-arrow-left-circle"></i> <%= t.global.return %>
</a> </a>
<div style="margin:10px 0; border-top:1px solid rgba(255,255,255,0.12);"></div> <div style="margin:10px 0; border-top:1px solid rgba(255,255,255,0.12);"></div>
@ -54,7 +54,7 @@
<% if (isWaiting) { %> <% if (isWaiting) { %>
<div class="nav-item locked" style="opacity:0.75;"> <div class="nav-item locked" style="opacity:0.75;">
<i class="bi bi-hourglass-split"></i> Wartet bereits <i class="bi bi-hourglass-split"></i> <%= t.global.waiting %>
<span style="margin-left:auto;"><i class="bi bi-check-circle-fill"></i></span> <span style="margin-left:auto;"><i class="bi bi-check-circle-fill"></i></span>
</div> </div>
<% } else { %> <% } else { %>
@ -65,14 +65,14 @@
style="width:100%; border:none; background:transparent; text-align:left;" style="width:100%; border:none; background:transparent; text-align:left;"
title="Patient ins Wartezimmer setzen" title="Patient ins Wartezimmer setzen"
> >
<i class="bi bi-door-open"></i> Ins Wartezimmer <i class="bi bi-door-open"></i><%= t.global.towaitingroom %>
</button> </button>
</form> </form>
<% } %> <% } %>
<% } else { %> <% } else { %>
<div class="nav-item locked" style="opacity:0.7;"> <div class="nav-item locked" style="opacity:0.7;">
<i class="bi bi-door-open"></i> Ins Wartezimmer <i class="bi bi-door-open"></i> <%= t.global.towaitingroom %>
<span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span> <span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span>
</div> </div>
<% } %> <% } %>
@ -85,7 +85,7 @@
class="nav-item <%= active === 'patient_edit' ? 'active' : '' %> <%= lockClass(canUsePatient) %>" class="nav-item <%= active === 'patient_edit' ? 'active' : '' %> <%= lockClass(canUsePatient) %>"
title="<%= canUsePatient ? '' : 'Bitte zuerst einen Patienten auswählen' %>" title="<%= canUsePatient ? '' : 'Bitte zuerst einen Patienten auswählen' %>"
> >
<i class="bi bi-pencil-square"></i> Bearbeiten <i class="bi bi-pencil-square"></i> <%= t.global.edit %>
<% if (!canUsePatient) { %> <% if (!canUsePatient) { %>
<span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span> <span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span>
<% } %> <% } %>
@ -99,7 +99,7 @@
class="nav-item <%= active === 'patient_dashboard' ? 'active' : '' %> <%= lockClass(canUsePatient) %>" class="nav-item <%= active === 'patient_dashboard' ? 'active' : '' %> <%= lockClass(canUsePatient) %>"
title="<%= canUsePatient ? '' : 'Bitte zuerst einen Patienten auswählen' %>" title="<%= canUsePatient ? '' : 'Bitte zuerst einen Patienten auswählen' %>"
> >
<i class="bi bi-clipboard2-heart"></i> Übersicht <i class="bi bi-clipboard2-heart"></i> <%= t.global.overview %>
<% if (!canUsePatient) { %> <% if (!canUsePatient) { %>
<span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span> <span style="margin-left:auto;"><i class="bi bi-lock-fill"></i></span>
<% } %> <% } %>
@ -120,9 +120,9 @@
title="<%= canUsePatient ? 'Status wechseln' : 'Bitte zuerst einen Patienten auswählen' %>" title="<%= canUsePatient ? 'Status wechseln' : 'Bitte zuerst einen Patienten auswählen' %>"
> >
<% if (isActive) { %> <% if (isActive) { %>
<i class="bi bi-x-circle"></i> Patient sperren (Inaktiv) <i class="bi bi-x-circle"></i> <%= t.patienteoverview.closepatient %>
<% } else { %> <% } else { %>
<i class="bi bi-check-circle"></i> Patient aktivieren <i class="bi bi-check-circle"></i> <%= t.patienteoverview.openpatient %>
<% } %> <% } %>
<% if (!canUsePatient) { %> <% if (!canUsePatient) { %>
@ -135,7 +135,7 @@
<div class="sidebar-upload <%= lockClass(canUsePatient) %>"> <div class="sidebar-upload <%= lockClass(canUsePatient) %>">
<div style="font-weight: 600; margin: 10px 0 6px 0; color: #e5e7eb"> <div style="font-weight: 600; margin: 10px 0 6px 0; color: #e5e7eb">
<i class="bi bi-paperclip"></i> Datei Upload <i class="bi bi-paperclip"></i> <%= t.global.fileupload %>
</div> </div>
<% if (canUsePatient) { %> <% if (canUsePatient) { %>
@ -161,7 +161,7 @@
class="btn btn-sm btn-outline-light w-100" class="btn btn-sm btn-outline-light w-100"
<%= canUsePatient ? "" : "disabled" %> <%= canUsePatient ? "" : "disabled" %>
> >
📎 Hochladen 📎 <%= t.global.upload %>
<% if (!canUsePatient) { %> <% if (!canUsePatient) { %>
<span class="ms-2"><i class="bi bi-lock-fill"></i></span> <span class="ms-2"><i class="bi bi-lock-fill"></i></span>
<% } %> <% } %>