localisation

This commit is contained in:
Paul Schneider 2025-08-31 18:27:53 +01:00
commit aa2ad71cc6
50 changed files with 1614 additions and 2211 deletions

View file

@ -24,16 +24,7 @@ namespace Yavsc.Models.Haircut
string _description = null;
public override string Description
{
get
{
string type = ResourcesHelpers.GlobalLocalizer[this.GetType().Name];
string gender = ResourcesHelpers.GlobalLocalizer[this.Prestation.Gender.ToString()];
return $"{_description} {type} ({gender})";
}
set
{
_description = value;
}
get; set;
}