1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

Localize deleted string

This commit is contained in:
ansel 2022-11-29 07:02:02 +03:00
parent a4819e5c9c
commit 16962d9a57

View File

@ -553,12 +553,12 @@ namespace osu.Game.Overlays.Comments
};
}
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;
}
}
}