mirror of https://github.com/ppy/osu
Localise user history graph.
This commit is contained in:
parent
6095aa2791
commit
be26414fe3
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue