mirror of
https://github.com/ppy/osu
synced 2025-03-19 17:44:30 +00:00
Localize actions
This commit is contained in:
parent
61bfd2f6b2
commit
a4819e5c9c
@ -331,11 +331,11 @@ namespace osu.Game.Overlays.Comments
|
||||
if (WasDeleted)
|
||||
makeDeleted();
|
||||
|
||||
actionsContainer.AddLink("Copy link", copyUrl);
|
||||
actionsContainer.AddLink(CommonStrings.ButtonsPermalink, copyUrl);
|
||||
actionsContainer.AddArbitraryDrawable(Empty().With(d => d.Width = 10));
|
||||
|
||||
if (Comment.UserId.HasValue && Comment.UserId.Value == api.LocalUser.Value.Id)
|
||||
actionsContainer.AddLink("Delete", deleteComment);
|
||||
actionsContainer.AddLink(CommonStrings.ButtonsDelete, deleteComment);
|
||||
else
|
||||
actionsContainer.AddArbitraryDrawable(new CommentReportButton(Comment));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user