Skip to content

Commit

Permalink
Localize deleted string
Browse files Browse the repository at this point in the history
  • Loading branch information
Feodor0090 committed Nov 29, 2022
1 parent a4819e5 commit 16962d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game/Overlays/Comments/DrawableComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,12 @@ public ParentUsername(Comment comment)
};
}

private string getParentMessage()
private LocalisableString getParentMessage()
{
if (parentComment == null)
return string.Empty;

return parentComment.HasMessage ? parentComment.Message : parentComment.IsDeleted ? "deleted" : string.Empty;
return parentComment.HasMessage ? parentComment.Message : parentComment.IsDeleted ? CommentsStrings.Deleted : string.Empty;
}
}
}
Expand Down

0 comments on commit 16962d9

Please sign in to comment.