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