poll localization, fixed pollstats
This commit is contained in:
parent
6fb0822bfd
commit
b09c39cf5b
@ -1,4 +1,5 @@
|
||||
using Discord;
|
||||
using System;
|
||||
using Discord;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using NadekoBot.Attributes;
|
||||
@ -8,6 +9,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ImageSharp.Processing;
|
||||
|
||||
namespace NadekoBot.Modules.Games
|
||||
{
|
||||
@ -39,7 +41,7 @@ namespace NadekoBot.Modules.Games
|
||||
if (!ActivePolls.TryGetValue(Context.Guild.Id, out poll))
|
||||
return;
|
||||
|
||||
await Context.Channel.EmbedAsync(poll.GetStats("Current Poll Results"));
|
||||
await Context.Channel.EmbedAsync(poll.GetStats(GetText("current_poll_results")));
|
||||
}
|
||||
|
||||
private async Task InternalStartPoll(string arg, bool isPublic = false)
|
||||
@ -58,7 +60,7 @@ namespace NadekoBot.Modules.Games
|
||||
await poll.StartPoll().ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
await channel.SendErrorAsync("Poll is already running on this server.").ConfigureAwait(false);
|
||||
await ReplyErrorLocalized("poll_already_running").ConfigureAwait(false);
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
@ -108,21 +110,24 @@ namespace NadekoBot.Modules.Games
|
||||
var totalVotesCast = 0;
|
||||
if (results.Length == 0)
|
||||
{
|
||||
sb.AppendLine("No votes cast.");
|
||||
sb.AppendLine(GetText("no_votes_cast"));
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < results.Length; i++)
|
||||
{
|
||||
var result = results[i];
|
||||
sb.AppendLine($"`{i + 1}.` {Format.Bold(answers[result.Key - 1])} with {Format.Bold(result.Value.ToString())} votes.");
|
||||
sb.AppendLine(GetText("poll_result",
|
||||
result.Key,
|
||||
Format.Bold(answers[result.Key - 1]),
|
||||
Format.Bold(result.Value.ToString())));
|
||||
totalVotesCast += result.Value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
eb.WithDescription(sb.ToString())
|
||||
.WithFooter(efb => efb.WithText(totalVotesCast + " total votes cast."));
|
||||
.WithFooter(efb => efb.WithText(GetText("x_votes_cast", totalVotesCast)));
|
||||
|
||||
return eb;
|
||||
}
|
||||
@ -130,13 +135,13 @@ namespace NadekoBot.Modules.Games
|
||||
public async Task StartPoll()
|
||||
{
|
||||
NadekoBot.Client.MessageReceived += Vote;
|
||||
var msgToSend = $"📃**{_originalMessage.Author.Username}** has created a poll which requires your attention:\n\n**{_question}**\n";
|
||||
var msgToSend = GetText("poll_created", Format.Bold(_originalMessage.Author.Username)) + "\n\n" + Format.Bold(_question) + "\n";
|
||||
var num = 1;
|
||||
msgToSend = answers.Aggregate(msgToSend, (current, answ) => current + $"`{num++}.` **{answ}**\n");
|
||||
if (!IsPublic)
|
||||
msgToSend += "\n**Private Message me with the corresponding number of the answer.**";
|
||||
msgToSend += "\n" + Format.Bold(GetText("poll_vote_private"));
|
||||
else
|
||||
msgToSend += "\n**Send a Message here with the corresponding number of the answer.**";
|
||||
msgToSend += "\n" + Format.Bold(GetText("poll_vote_public"));
|
||||
await _originalMessage.Channel.SendConfirmAsync(msgToSend).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
@ -187,17 +192,23 @@ namespace NadekoBot.Modules.Games
|
||||
{
|
||||
if (!IsPublic)
|
||||
{
|
||||
await ch.SendConfirmAsync($"Thanks for voting **{msg.Author.Username}**.").ConfigureAwait(false);
|
||||
await ch.SendConfirmAsync(GetText("thanks_for_voting", Format.Bold(msg.Author.Username))).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
var toDelete = await ch.SendConfirmAsync($"{msg.Author.Mention} cast their vote.").ConfigureAwait(false);
|
||||
var toDelete = await ch.SendConfirmAsync(GetText("poll_voted", Format.Bold(msg.Author.ToString()))).ConfigureAwait(false);
|
||||
toDelete.DeleteAfter(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
private string GetText(string key, params object[] replacements)
|
||||
=> NadekoTopLevelModule.GetTextStatic(key,
|
||||
NadekoBot.Localization.GetCultureInfo(_guild.Id),
|
||||
typeof(Games).Name.ToLowerInvariant(),
|
||||
replacements);
|
||||
}
|
||||
}
|
||||
}
|
276
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
276
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
@ -809,7 +809,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to New Message.
|
||||
/// Looks up a localized string similar to New message.
|
||||
/// </summary>
|
||||
public static string administration_new_msg {
|
||||
get {
|
||||
@ -818,7 +818,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to New Nickname.
|
||||
/// Looks up a localized string similar to New nickname.
|
||||
/// </summary>
|
||||
public static string administration_new_nick {
|
||||
get {
|
||||
@ -827,7 +827,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to New Topic.
|
||||
/// Looks up a localized string similar to New topic.
|
||||
/// </summary>
|
||||
public static string administration_new_topic {
|
||||
get {
|
||||
@ -836,7 +836,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Nickname Changed.
|
||||
/// Looks up a localized string similar to Nickname changed.
|
||||
/// </summary>
|
||||
public static string administration_nick_change {
|
||||
get {
|
||||
@ -863,7 +863,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Old Message.
|
||||
/// Looks up a localized string similar to Old message.
|
||||
/// </summary>
|
||||
public static string administration_old_msg {
|
||||
get {
|
||||
@ -872,7 +872,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Old Nickname.
|
||||
/// Looks up a localized string similar to Old nickname.
|
||||
/// </summary>
|
||||
public static string administration_old_nick {
|
||||
get {
|
||||
@ -881,7 +881,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Old Topic.
|
||||
/// Looks up a localized string similar to Old topic.
|
||||
/// </summary>
|
||||
public static string administration_old_topic {
|
||||
get {
|
||||
@ -908,7 +908,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Presence Updates.
|
||||
/// Looks up a localized string similar to Presence updates.
|
||||
/// </summary>
|
||||
public static string administration_presence_updates {
|
||||
get {
|
||||
@ -917,7 +917,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Active Protections.
|
||||
/// Looks up a localized string similar to Active protections.
|
||||
/// </summary>
|
||||
public static string administration_prot_active {
|
||||
get {
|
||||
@ -953,7 +953,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No protections enabled..
|
||||
/// Looks up a localized string similar to No protection enabled..
|
||||
/// </summary>
|
||||
public static string administration_prot_none {
|
||||
get {
|
||||
@ -1170,7 +1170,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Soft-Banned.
|
||||
/// Looks up a localized string similar to User soft-banned.
|
||||
/// </summary>
|
||||
public static string administration_sb_user {
|
||||
get {
|
||||
@ -1442,7 +1442,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Text Channel Created.
|
||||
/// Looks up a localized string similar to Text channel created..
|
||||
/// </summary>
|
||||
public static string administration_text_chan_created {
|
||||
get {
|
||||
@ -1451,7 +1451,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Text Channel Destroyed .
|
||||
/// Looks up a localized string similar to Text channel destroyed..
|
||||
/// </summary>
|
||||
public static string administration_text_chan_destroyed {
|
||||
get {
|
||||
@ -1478,7 +1478,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Banned.
|
||||
/// Looks up a localized string similar to User banned.
|
||||
/// </summary>
|
||||
public static string administration_user_banned {
|
||||
get {
|
||||
@ -1505,7 +1505,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Joined.
|
||||
/// Looks up a localized string similar to User joined.
|
||||
/// </summary>
|
||||
public static string administration_user_joined {
|
||||
get {
|
||||
@ -1514,7 +1514,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Left.
|
||||
/// Looks up a localized string similar to User left.
|
||||
/// </summary>
|
||||
public static string administration_user_left {
|
||||
get {
|
||||
@ -1532,7 +1532,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User's Role Added.
|
||||
/// Looks up a localized string similar to User's role added.
|
||||
/// </summary>
|
||||
public static string administration_user_role_add {
|
||||
get {
|
||||
@ -1541,7 +1541,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User's Role Removed.
|
||||
/// Looks up a localized string similar to User's role removed.
|
||||
/// </summary>
|
||||
public static string administration_user_role_rem {
|
||||
get {
|
||||
@ -1559,7 +1559,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Unbanned.
|
||||
/// Looks up a localized string similar to User unbanned.
|
||||
/// </summary>
|
||||
public static string administration_user_unbanned {
|
||||
get {
|
||||
@ -1631,7 +1631,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Username Changed.
|
||||
/// Looks up a localized string similar to Username changed.
|
||||
/// </summary>
|
||||
public static string administration_username_changed {
|
||||
get {
|
||||
@ -1649,7 +1649,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Voice Channel Created.
|
||||
/// Looks up a localized string similar to Voice channel created.
|
||||
/// </summary>
|
||||
public static string administration_voice_chan_created {
|
||||
get {
|
||||
@ -1658,7 +1658,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Voice Channel Destroyed.
|
||||
/// Looks up a localized string similar to Voice channel destroyed.
|
||||
/// </summary>
|
||||
public static string administration_voice_chan_destroyed {
|
||||
get {
|
||||
@ -2072,7 +2072,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Animal Race.
|
||||
/// Looks up a localized string similar to Animal race.
|
||||
/// </summary>
|
||||
public static string gambling_animal_race {
|
||||
get {
|
||||
@ -2207,7 +2207,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Changes Of Heart.
|
||||
/// Looks up a localized string similar to Changes of heart.
|
||||
/// </summary>
|
||||
public static string gambling_changes_of_heart {
|
||||
get {
|
||||
@ -2216,7 +2216,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Claimed By.
|
||||
/// Looks up a localized string similar to Claimed by.
|
||||
/// </summary>
|
||||
public static string gambling_claimed_by {
|
||||
get {
|
||||
@ -2342,7 +2342,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Heads.
|
||||
/// Looks up a localized string similar to Head.
|
||||
/// </summary>
|
||||
public static string gambling_heads {
|
||||
get {
|
||||
@ -2450,7 +2450,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Raffled User.
|
||||
/// Looks up a localized string similar to Raffled user.
|
||||
/// </summary>
|
||||
public static string gambling_raffled_user {
|
||||
get {
|
||||
@ -2559,7 +2559,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Tails.
|
||||
/// Looks up a localized string similar to Tail.
|
||||
/// </summary>
|
||||
public static string gambling_tails {
|
||||
get {
|
||||
@ -2931,6 +2931,15 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Current poll results.
|
||||
/// </summary>
|
||||
public static string games_current_poll_results {
|
||||
get {
|
||||
return ResourceManager.GetString("games_current_poll_results", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed loading a question..
|
||||
/// </summary>
|
||||
@ -2941,7 +2950,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Game Started.
|
||||
/// Looks up a localized string similar to Game started.
|
||||
/// </summary>
|
||||
public static string games_game_started {
|
||||
get {
|
||||
@ -3003,6 +3012,15 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No votes cast..
|
||||
/// </summary>
|
||||
public static string games_no_votes_cast {
|
||||
get {
|
||||
return ResourceManager.GetString("games_no_votes_cast", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You don't have enough {0}.
|
||||
/// </summary>
|
||||
@ -3030,6 +3048,60 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Poll is already running on this server..
|
||||
/// </summary>
|
||||
public static string games_poll_already_running {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_already_running", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 📃 {0} has created a poll which requires your attention:.
|
||||
/// </summary>
|
||||
public static string games_poll_created {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to `{0}.` {1} with {2} votes..
|
||||
/// </summary>
|
||||
public static string games_poll_result {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_result", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Private Message me with the corresponding number of the answer..
|
||||
/// </summary>
|
||||
public static string games_poll_vote_private {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_vote_private", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Send a Message here with the corresponding number of the answer..
|
||||
/// </summary>
|
||||
public static string games_poll_vote_public {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_vote_public", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} voted..
|
||||
/// </summary>
|
||||
public static string games_poll_voted {
|
||||
get {
|
||||
return ResourceManager.GetString("games_poll_voted", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Question.
|
||||
/// </summary>
|
||||
@ -3058,7 +3130,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Submissions Closed.
|
||||
/// Looks up a localized string similar to Submissions closed.
|
||||
/// </summary>
|
||||
public static string games_submissions_closed {
|
||||
get {
|
||||
@ -3066,6 +3138,15 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Thank you for voting, {0}.
|
||||
/// </summary>
|
||||
public static string games_thanks_for_voting {
|
||||
get {
|
||||
return ResourceManager.GetString("games_thanks_for_voting", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Trivia game is already running on this server..
|
||||
/// </summary>
|
||||
@ -3175,7 +3256,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} has Won!.
|
||||
/// Looks up a localized string similar to {0} has won!.
|
||||
/// </summary>
|
||||
public static string games_ttt_has_won {
|
||||
get {
|
||||
@ -3184,7 +3265,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Matched Three.
|
||||
/// Looks up a localized string similar to Matched three.
|
||||
/// </summary>
|
||||
public static string games_ttt_matched_three {
|
||||
get {
|
||||
@ -3202,7 +3283,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Time Expired!.
|
||||
/// Looks up a localized string similar to Time expired!.
|
||||
/// </summary>
|
||||
public static string games_ttt_time_expired {
|
||||
get {
|
||||
@ -3228,6 +3309,15 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} total votes cast..
|
||||
/// </summary>
|
||||
public static string games_x_votes_cast {
|
||||
get {
|
||||
return ResourceManager.GetString("games_x_votes_cast", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Back to ToC.
|
||||
/// </summary>
|
||||
@ -3238,7 +3328,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bot Owner Only.
|
||||
/// Looks up a localized string similar to Bot owner only.
|
||||
/// </summary>
|
||||
public static string help_bot_owner_only {
|
||||
get {
|
||||
@ -3256,7 +3346,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Command and aliases.
|
||||
/// Looks up a localized string similar to Commands and aliases.
|
||||
/// </summary>
|
||||
public static string help_cmd_and_alias {
|
||||
get {
|
||||
@ -3283,7 +3373,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Commandlist Regenerated..
|
||||
/// Looks up a localized string similar to Commandlist regenerated..
|
||||
/// </summary>
|
||||
public static string help_commandlist_regen {
|
||||
get {
|
||||
@ -3324,8 +3414,8 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to **List of Commands**: <{0}>
|
||||
///**Hosting Guides and docs can be found here**: <{1}>.
|
||||
/// Looks up a localized string similar to **List of commands**: <{0}>
|
||||
///**Hosting guides and docs can be found here**: <{1}>.
|
||||
/// </summary>
|
||||
public static string help_guide {
|
||||
get {
|
||||
@ -3334,7 +3424,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Commands.
|
||||
/// Looks up a localized string similar to List of commands.
|
||||
/// </summary>
|
||||
public static string help_list_of_commands {
|
||||
get {
|
||||
@ -3343,7 +3433,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Modules.
|
||||
/// Looks up a localized string similar to List of modules.
|
||||
/// </summary>
|
||||
public static string help_list_of_modules {
|
||||
get {
|
||||
@ -3379,7 +3469,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Table Of Contents.
|
||||
/// Looks up a localized string similar to Table of contents.
|
||||
/// </summary>
|
||||
public static string help_table_of_contents {
|
||||
get {
|
||||
@ -3451,7 +3541,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Finished Song.
|
||||
/// Looks up a localized string similar to Finished song.
|
||||
/// </summary>
|
||||
public static string music_finished_song {
|
||||
get {
|
||||
@ -3577,7 +3667,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Now Playing.
|
||||
/// Looks up a localized string similar to Now playing.
|
||||
/// </summary>
|
||||
public static string music_now_playing {
|
||||
get {
|
||||
@ -3604,7 +3694,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Player Queue - Page {0}/{1}.
|
||||
/// Looks up a localized string similar to Player queue - Page {0}/{1}.
|
||||
/// </summary>
|
||||
public static string music_player_queue {
|
||||
get {
|
||||
@ -3613,7 +3703,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Playing Song.
|
||||
/// Looks up a localized string similar to Playing song.
|
||||
/// </summary>
|
||||
public static string music_playing_song {
|
||||
get {
|
||||
@ -3658,7 +3748,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Playlist Saved.
|
||||
/// Looks up a localized string similar to Playlist saved.
|
||||
/// </summary>
|
||||
public static string music_playlist_saved {
|
||||
get {
|
||||
@ -3676,7 +3766,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Page {0} of Saved Playlists.
|
||||
/// Looks up a localized string similar to Page {0} of saved playlists.
|
||||
/// </summary>
|
||||
public static string music_playlists_page {
|
||||
get {
|
||||
@ -3712,7 +3802,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Queued Song.
|
||||
/// Looks up a localized string similar to Queued song.
|
||||
/// </summary>
|
||||
public static string music_queued_song {
|
||||
get {
|
||||
@ -3730,7 +3820,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Repeating Current Song.
|
||||
/// Looks up a localized string similar to Repeating current song.
|
||||
/// </summary>
|
||||
public static string music_repeating_cur_song {
|
||||
get {
|
||||
@ -3739,7 +3829,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Repeating Playlist.
|
||||
/// Looks up a localized string similar to Repeating playlist.
|
||||
/// </summary>
|
||||
public static string music_repeating_playlist {
|
||||
get {
|
||||
@ -3748,7 +3838,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Repeating Track.
|
||||
/// Looks up a localized string similar to Repeating track.
|
||||
/// </summary>
|
||||
public static string music_repeating_track {
|
||||
get {
|
||||
@ -3811,7 +3901,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Song Moved.
|
||||
/// Looks up a localized string similar to Song moved.
|
||||
/// </summary>
|
||||
public static string music_song_moved {
|
||||
get {
|
||||
@ -3820,7 +3910,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Songs shuffled..
|
||||
/// Looks up a localized string similar to Songs shuffled.
|
||||
/// </summary>
|
||||
public static string music_songs_shuffled {
|
||||
get {
|
||||
@ -3911,7 +4001,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES on {0} channel..
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES on channel {0}..
|
||||
/// </summary>
|
||||
public static string permissions_acm_disable {
|
||||
get {
|
||||
@ -3920,7 +4010,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES on {0} channel..
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES on channel {0}..
|
||||
/// </summary>
|
||||
public static string permissions_acm_enable {
|
||||
get {
|
||||
@ -3938,7 +4028,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES for {0} role..
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES for role {0}..
|
||||
/// </summary>
|
||||
public static string permissions_arm_disable {
|
||||
get {
|
||||
@ -3947,7 +4037,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES for {0} role..
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES for role {0}..
|
||||
/// </summary>
|
||||
public static string permissions_arm_enable {
|
||||
get {
|
||||
@ -3974,7 +4064,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES for {0} user..
|
||||
/// Looks up a localized string similar to Disabled usage of ALL MODULES for user {0}..
|
||||
/// </summary>
|
||||
public static string permissions_aum_disable {
|
||||
get {
|
||||
@ -3983,7 +4073,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES for {0} user..
|
||||
/// Looks up a localized string similar to Enabled usage of ALL MODULES for user {0}..
|
||||
/// </summary>
|
||||
public static string permissions_aum_enable {
|
||||
get {
|
||||
@ -4010,7 +4100,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Command {0} has no coooldown now and all existing cooldowns have been cleared..
|
||||
/// Looks up a localized string similar to Command {0} has no cooldown now and all existing cooldowns have been cleared..
|
||||
/// </summary>
|
||||
public static string permissions_cmdcd_cleared {
|
||||
get {
|
||||
@ -4028,7 +4118,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Command Costs.
|
||||
/// Looks up a localized string similar to Command costs.
|
||||
/// </summary>
|
||||
public static string permissions_command_costs {
|
||||
get {
|
||||
@ -4037,7 +4127,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disabled usage of {0} {1} on {2} channel..
|
||||
/// Looks up a localized string similar to Disabled usage of {0} {1} on channel {2}..
|
||||
/// </summary>
|
||||
public static string permissions_cx_disable {
|
||||
get {
|
||||
@ -4046,7 +4136,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enabled usage of {0} {1} on {2} channel..
|
||||
/// Looks up a localized string similar to Enabled usage of {0} {1} on channel {2}..
|
||||
/// </summary>
|
||||
public static string permissions_cx_enable {
|
||||
get {
|
||||
@ -4073,7 +4163,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Filtered Words.
|
||||
/// Looks up a localized string similar to List of filtered words.
|
||||
/// </summary>
|
||||
public static string permissions_filter_word_list {
|
||||
get {
|
||||
@ -4667,7 +4757,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Competitive Loses.
|
||||
/// Looks up a localized string similar to Competitive losses.
|
||||
/// </summary>
|
||||
public static string searches_compet_loses {
|
||||
get {
|
||||
@ -4676,7 +4766,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Competitive Played.
|
||||
/// Looks up a localized string similar to Competitive played.
|
||||
/// </summary>
|
||||
public static string searches_compet_played {
|
||||
get {
|
||||
@ -4685,7 +4775,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Competitive Rank.
|
||||
/// Looks up a localized string similar to Competitive rank.
|
||||
/// </summary>
|
||||
public static string searches_compet_rank {
|
||||
get {
|
||||
@ -4847,7 +4937,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Image Search For:.
|
||||
/// Looks up a localized string similar to Image search for:.
|
||||
/// </summary>
|
||||
public static string searches_image_search_for {
|
||||
get {
|
||||
@ -4973,7 +5063,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to On-Hold.
|
||||
/// Looks up a localized string similar to On-hold.
|
||||
/// </summary>
|
||||
public static string searches_on_hold {
|
||||
get {
|
||||
@ -4982,7 +5072,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Original Url.
|
||||
/// Looks up a localized string similar to Original url.
|
||||
/// </summary>
|
||||
public static string searches_original_url {
|
||||
get {
|
||||
@ -5063,7 +5153,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Profile Link:.
|
||||
/// Looks up a localized string similar to Profile link:.
|
||||
/// </summary>
|
||||
public static string searches_profile_link {
|
||||
get {
|
||||
@ -5081,7 +5171,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Quick Playtime.
|
||||
/// Looks up a localized string similar to Quick playtime.
|
||||
/// </summary>
|
||||
public static string searches_quick_playtime {
|
||||
get {
|
||||
@ -5090,7 +5180,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Quick Wins.
|
||||
/// Looks up a localized string similar to Quick wins.
|
||||
/// </summary>
|
||||
public static string searches_quick_wins {
|
||||
get {
|
||||
@ -5117,7 +5207,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search For:.
|
||||
/// Looks up a localized string similar to Search for:.
|
||||
/// </summary>
|
||||
public static string searches_search_for {
|
||||
get {
|
||||
@ -5126,7 +5216,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Short Url.
|
||||
/// Looks up a localized string similar to Short url.
|
||||
/// </summary>
|
||||
public static string searches_short_url {
|
||||
get {
|
||||
@ -5171,7 +5261,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Store Url.
|
||||
/// Looks up a localized string similar to Store url.
|
||||
/// </summary>
|
||||
public static string searches_store_url {
|
||||
get {
|
||||
@ -5378,7 +5468,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Wind Speed.
|
||||
/// Looks up a localized string similar to Wind speed.
|
||||
/// </summary>
|
||||
public static string searches_wind_speed {
|
||||
get {
|
||||
@ -5423,7 +5513,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Activity Page #{0}.
|
||||
/// Looks up a localized string similar to Activity page #{0}.
|
||||
/// </summary>
|
||||
public static string utility_activity_page {
|
||||
get {
|
||||
@ -5468,7 +5558,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Channel Topic.
|
||||
/// Looks up a localized string similar to Channel topic.
|
||||
/// </summary>
|
||||
public static string utility_channel_topic {
|
||||
get {
|
||||
@ -5486,7 +5576,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Commands Ran.
|
||||
/// Looks up a localized string similar to Commands ran.
|
||||
/// </summary>
|
||||
public static string utility_commands_ran {
|
||||
get {
|
||||
@ -5531,7 +5621,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Created At.
|
||||
/// Looks up a localized string similar to Created at.
|
||||
/// </summary>
|
||||
public static string utility_created_at {
|
||||
get {
|
||||
@ -5567,7 +5657,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Custom Emojis.
|
||||
/// Looks up a localized string similar to Custom emojis.
|
||||
/// </summary>
|
||||
public static string utility_custom_emojis {
|
||||
get {
|
||||
@ -5621,7 +5711,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to you are not allowed to use this command on roles with a lot of users in them to prevent abuse..
|
||||
/// Looks up a localized string similar to You are not allowed to use this command on roles with a lot of users in them to prevent abuse..
|
||||
/// </summary>
|
||||
public static string utility_inrole_not_allowed {
|
||||
get {
|
||||
@ -5648,7 +5738,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Joined Server.
|
||||
/// Looks up a localized string similar to Joined server.
|
||||
/// </summary>
|
||||
public static string utility_joined_server {
|
||||
get {
|
||||
@ -5657,7 +5747,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List of Repeaters.
|
||||
/// Looks up a localized string similar to List of repeater.
|
||||
/// </summary>
|
||||
public static string utility_list_of_repeaters {
|
||||
get {
|
||||
@ -5668,7 +5758,7 @@ namespace NadekoBot.Resources {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ID: {0}
|
||||
///Members: {1}
|
||||
///OwnerID: {2}.
|
||||
///Owner ID: {2}.
|
||||
/// </summary>
|
||||
public static string utility_listservers {
|
||||
get {
|
||||
@ -5704,7 +5794,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Message Repeater.
|
||||
/// Looks up a localized string similar to Message repeater.
|
||||
/// </summary>
|
||||
public static string utility_message_repeater {
|
||||
get {
|
||||
@ -5886,7 +5976,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Registered On.
|
||||
/// Looks up a localized string similar to Registered on.
|
||||
/// </summary>
|
||||
public static string utility_registered_on {
|
||||
get {
|
||||
@ -5949,7 +6039,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Repeaters.
|
||||
/// Looks up a localized string similar to List of repeaters.
|
||||
/// </summary>
|
||||
public static string utility_repeaters_list {
|
||||
get {
|
||||
@ -6030,7 +6120,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Server Info.
|
||||
/// Looks up a localized string similar to Server info.
|
||||
/// </summary>
|
||||
public static string utility_server_info {
|
||||
get {
|
||||
@ -6057,7 +6147,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Shard Stats.
|
||||
/// Looks up a localized string similar to Shard stats.
|
||||
/// </summary>
|
||||
public static string utility_shard_stats {
|
||||
get {
|
||||
@ -6102,7 +6192,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Text Channels.
|
||||
/// Looks up a localized string similar to Text channels.
|
||||
/// </summary>
|
||||
public static string utility_text_channels {
|
||||
get {
|
||||
@ -6147,7 +6237,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Voice Channels.
|
||||
/// Looks up a localized string similar to Voice channels.
|
||||
/// </summary>
|
||||
public static string utility_voice_channels {
|
||||
get {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
@ -2187,4 +2187,35 @@ Owner ID: {2}</value>
|
||||
<data name="utility_voice_channels" xml:space="preserve">
|
||||
<value>Voice channels</value>
|
||||
</data>
|
||||
<data name="games_current_poll_results" xml:space="preserve">
|
||||
<value>Current poll results</value>
|
||||
</data>
|
||||
<data name="games_no_votes_cast" xml:space="preserve">
|
||||
<value>No votes cast.</value>
|
||||
</data>
|
||||
<data name="games_poll_already_running" xml:space="preserve">
|
||||
<value>Poll is already running on this server.</value>
|
||||
</data>
|
||||
<data name="games_poll_created" xml:space="preserve">
|
||||
<value>📃 {0} has created a poll which requires your attention:</value>
|
||||
</data>
|
||||
<data name="games_poll_result" xml:space="preserve">
|
||||
<value>`{0}.` {1} with {2} votes.</value>
|
||||
</data>
|
||||
<data name="games_poll_voted" xml:space="preserve">
|
||||
<value>{0} voted.</value>
|
||||
<comment>Kwoth voted.</comment>
|
||||
</data>
|
||||
<data name="games_poll_vote_private" xml:space="preserve">
|
||||
<value>Private Message me with the corresponding number of the answer.</value>
|
||||
</data>
|
||||
<data name="games_poll_vote_public" xml:space="preserve">
|
||||
<value>Send a Message here with the corresponding number of the answer.</value>
|
||||
</data>
|
||||
<data name="games_thanks_for_voting" xml:space="preserve">
|
||||
<value>Thank you for voting, {0}</value>
|
||||
</data>
|
||||
<data name="games_x_votes_cast" xml:space="preserve">
|
||||
<value>{0} total votes cast.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user