mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
wip strings rework, experimenting, nothing works
This commit is contained in:
@@ -114,10 +114,10 @@ namespace NadekoBot.Modules.Games.Common
|
||||
if (_phase == Phase.Ended)
|
||||
embed.WithFooter(GetText(strs.ttt_no_moves));
|
||||
else
|
||||
embed.WithFooter(GetText("ttt_users_move", _users[_curUserIndex]));
|
||||
embed.WithFooter(GetText(strs.ttt_users_move, _users[_curUserIndex]));
|
||||
}
|
||||
else
|
||||
embed.WithFooter(GetText("ttt_has_won", _winner));
|
||||
embed.WithFooter(GetText(strs.ttt_has_won, _winner));
|
||||
|
||||
return embed;
|
||||
}
|
||||
|
@@ -246,7 +246,7 @@ namespace NadekoBot.Modules.Games.Common.Trivia
|
||||
{
|
||||
var embedS = _eb.Create().WithOkColor()
|
||||
.WithTitle(GetText(strs.trivia_game))
|
||||
.WithDescription(GetText("trivia_win",
|
||||
.WithDescription(GetText(strs.trivia_win,
|
||||
guildUser.Mention,
|
||||
Format.Bold(CurrentQuestion.Answer)));
|
||||
if (Uri.IsWellFormedUriString(CurrentQuestion.AnswerImageUrl, UriKind.Absolute))
|
||||
@@ -264,7 +264,7 @@ namespace NadekoBot.Modules.Games.Common.Trivia
|
||||
}
|
||||
var embed = _eb.Create().WithOkColor()
|
||||
.WithTitle(GetText(strs.trivia_game))
|
||||
.WithDescription(GetText("trivia_guess", guildUser.Mention, Format.Bold(CurrentQuestion.Answer)));
|
||||
.WithDescription(GetText(strs.trivia_guess, guildUser.Mention, Format.Bold(CurrentQuestion.Answer)));
|
||||
if (Uri.IsWellFormedUriString(CurrentQuestion.AnswerImageUrl, UriKind.Absolute))
|
||||
embed.WithImageUrl(CurrentQuestion.AnswerImageUrl);
|
||||
await Channel.EmbedAsync(embed).ConfigureAwait(false);
|
||||
@@ -283,7 +283,7 @@ namespace NadekoBot.Modules.Games.Common.Trivia
|
||||
|
||||
foreach (var kvp in Users.OrderByDescending(kvp => kvp.Value))
|
||||
{
|
||||
sb.AppendLine(GetText("trivia_points", Format.Bold(kvp.Key.ToString()), kvp.Value).SnPl(kvp.Value));
|
||||
sb.AppendLine(GetText(strs.trivia_points, Format.Bold(kvp.Key.ToString()), kvp.Value).SnPl(kvp.Value));
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
|
Reference in New Issue
Block a user