1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 23:59:16 +08:00
This commit is contained in:
Andrei Zavatski 2019-08-20 15:29:32 +03:00
parent 832b365bd0
commit c4344f3f7c
2 changed files with 10 additions and 10 deletions

View File

@ -53,7 +53,7 @@ namespace osu.Game.Tests.Visual.Online
background.Colour = colours.GreySeafoam; background.Colour = colours.GreySeafoam;
} }
private IEnumerable<APIKudosuHistory> items = new[] private readonly IEnumerable<APIKudosuHistory> items = new[]
{ {
new APIKudosuHistory new APIKudosuHistory
{ {

View File

@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
{ {
case KudosuAction.VoteGive: case KudosuAction.VoteGive:
case KudosuAction.Give: case KudosuAction.Give:
linkFlowContainer.AddText($@"Received "); linkFlowContainer.AddText(@"Received ");
addKudosuPart(); addKudosuPart();
addMainPart(); addMainPart();
addPostPart(); addPostPart();
@ -66,14 +66,14 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
break; break;
case KudosuAction.VoteReset: case KudosuAction.VoteReset:
linkFlowContainer.AddText($@"Lost "); linkFlowContainer.AddText(@"Lost ");
addKudosuPart(); addKudosuPart();
addMainPart(); addMainPart();
addPostPart(); addPostPart();
break; break;
case KudosuAction.DenyKudosuReset: case KudosuAction.DenyKudosuReset:
linkFlowContainer.AddText($@"Denied "); linkFlowContainer.AddText(@"Denied ");
addKudosuPart(); addKudosuPart();
addMainPart(); addMainPart();
addPostPart(); addPostPart();
@ -113,27 +113,27 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
switch (historyItem.Action) switch (historyItem.Action)
{ {
case KudosuAction.Give: case KudosuAction.Give:
message = $" from {userLinkTemplate()} for a post at "; message = $@" from {userLinkTemplate()} for a post at ";
break; break;
case KudosuAction.VoteGive: case KudosuAction.VoteGive:
message = $" from obtaining votes in modding post of "; message = @" from obtaining votes in modding post of ";
break; break;
case KudosuAction.Reset: case KudosuAction.Reset:
message = $"Kudosu reset by {userLinkTemplate()} for the post "; message = $@"Kudosu reset by {userLinkTemplate()} for the post ";
break; break;
case KudosuAction.VoteReset: case KudosuAction.VoteReset:
message = $" from losing votes in modding post of "; message = @" from losing votes in modding post of ";
break; break;
case KudosuAction.DenyKudosuReset: case KudosuAction.DenyKudosuReset:
message = $" from modding post "; message = @" from modding post ";
break; break;
case KudosuAction.Revoke: case KudosuAction.Revoke:
message = $"Denied kudosu by {userLinkTemplate()} for the post "; message = $@"Denied kudosu by {userLinkTemplate()} for the post ";
break; break;
default: default: