Localise user history graph.

This commit is contained in:
Lucas A 2021-07-24 10:13:20 +02:00
parent 6095aa2791
commit be26414fe3
1 changed files with 4 additions and 4 deletions

View File

@ -34,8 +34,8 @@ protected override object GetTooltipContent(DateTime date, long playCount)
return new TooltipDisplayContent
{
Name = tooltipCounterName,
Count = playCount.ToString("N0"),
Date = date.ToString("MMMM yyyy")
Count = playCount.ToLocalisableString("N0"),
Date = date.ToLocalisableString("MMMM yyyy")
};
}
@ -63,8 +63,8 @@ public override bool SetContent(object content)
private class TooltipDisplayContent
{
public LocalisableString Name;
public string Count;
public string Date;
public LocalisableString Count;
public LocalisableString Date;
}
}
}