Update text resources and enhance interaction dialog headers
Adjusted the header text in ProspectContainer to include the prospect's name for better context. Refined translation terms for interaction types in TermHelper to improve clarity and consistency.
This commit is contained in:
@@ -40,7 +40,7 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
{
|
||||
if (Prospect != null && OnDataChanged != null)
|
||||
{
|
||||
var headerText = $"{type.Translate(AppSettings)} eintragen";
|
||||
var headerText = $"{type.Translate(AppSettings)} für {Prospect.Name} eintragen";
|
||||
|
||||
await InteractionDialog.ShowAsync(ModalService, new(type, Prospect.Id, headerText, OnDataChanged));
|
||||
}
|
||||
|
||||
@@ -22,13 +22,13 @@ namespace FoodsharingSiegen.Shared.Helper
|
||||
{
|
||||
InteractionType.EinAb => "Einführung",
|
||||
InteractionType.Welcome => "Begrüßung",
|
||||
InteractionType.IdCheck => "Perso prüfen",
|
||||
InteractionType.PrintPass => "FS-Ausweis (Print)",
|
||||
InteractionType.IdCheck => "Perso-Check",
|
||||
InteractionType.PrintPass => "FS-Ausweis",
|
||||
InteractionType.PdfPass => "FS-Ausweis (PDF)",
|
||||
InteractionType.Verify => "Verifizieren",
|
||||
InteractionType.Verify => "Verifizierung",
|
||||
InteractionType.Complete => "Fertig",
|
||||
InteractionType.StepInBriefing => appSettings.Terms.StepInName ?? "StepIn",
|
||||
InteractionType.ReleasedForVerification => "Freigabe zur Verifizierung",
|
||||
InteractionType.ReleasedForVerification => "Freigabe zum Freischalten",
|
||||
_ => type.ToString()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user