mirror of
https://github.com/osukey/osukey.git
synced 2025-05-14 18:17:22 +09:00
20 lines
498 B
C#
20 lines
498 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using Humanizer;
|
|
|
|
namespace osu.Game.Overlays.Comments.Buttons
|
|
{
|
|
public class ShowRepliesButton : CommentRepliesButton
|
|
{
|
|
private readonly int count;
|
|
|
|
public ShowRepliesButton(int count)
|
|
{
|
|
this.count = count;
|
|
}
|
|
|
|
protected override string GetText() => "reply".ToQuantity(count);
|
|
}
|
|
}
|