localization
This commit is contained in:
parent
65f87f2021
commit
f7ca6ec0e0
@ -101,7 +101,7 @@ namespace NadekoBot.Modules.Administration
|
||||
public async Task LanguagesList()
|
||||
{
|
||||
await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor()
|
||||
.WithTitle(GetText("lang_list", ""))
|
||||
.WithTitle(GetText("lang_list"))
|
||||
.WithDescription(string.Join("\n",
|
||||
supportedLocales.Select(x => $"{Format.Code(x.Key), -10} => {x.Value}"))));
|
||||
}
|
||||
|
17
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
17
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
@ -557,7 +557,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to User Kicked.
|
||||
/// Looks up a localized string similar to User kicked.
|
||||
/// </summary>
|
||||
public static string administration_kicked_user {
|
||||
get {
|
||||
@ -566,8 +566,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Languages
|
||||
///{0}.
|
||||
/// Looks up a localized string similar to List of languages.
|
||||
/// </summary>
|
||||
public static string administration_lang_list {
|
||||
get {
|
||||
@ -747,7 +746,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Message Deleted in #{0}.
|
||||
/// Looks up a localized string similar to Message deleted in #{0}.
|
||||
/// </summary>
|
||||
public static string administration_msg_del {
|
||||
get {
|
||||
@ -756,7 +755,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Message Updated in #{0}.
|
||||
/// Looks up a localized string similar to Message updated in #{0}.
|
||||
/// </summary>
|
||||
public static string administration_msg_update {
|
||||
get {
|
||||
@ -1848,7 +1847,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Not a Valid war size..
|
||||
/// Looks up a localized string similar to Not a valid war size..
|
||||
/// </summary>
|
||||
public static string clashofclans_invalid_size {
|
||||
get {
|
||||
@ -1857,7 +1856,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to List Of Active Wars.
|
||||
/// Looks up a localized string similar to List of active wars.
|
||||
/// </summary>
|
||||
public static string clashofclans_list_active_wars {
|
||||
get {
|
||||
@ -1866,7 +1865,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No active wars..
|
||||
/// Looks up a localized string similar to No active war..
|
||||
/// </summary>
|
||||
public static string clashofclans_no_active_wars {
|
||||
get {
|
||||
@ -2010,7 +2009,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No custom reactions found..
|
||||
/// Looks up a localized string similar to No custom reaction found..
|
||||
/// </summary>
|
||||
public static string customreactions_no_found {
|
||||
get {
|
||||
|
@ -151,10 +151,10 @@
|
||||
<value>Invalid base number.</value>
|
||||
</data>
|
||||
<data name="clashofclans_invalid_size" xml:space="preserve">
|
||||
<value>Not a Valid war size.</value>
|
||||
<value>Not a valid war size.</value>
|
||||
</data>
|
||||
<data name="clashofclans_list_active_wars" xml:space="preserve">
|
||||
<value>List Of Active Wars</value>
|
||||
<value>List of active wars</value>
|
||||
</data>
|
||||
<data name="clashofclans_not_claimed" xml:space="preserve">
|
||||
<value>not claimed</value>
|
||||
@ -166,7 +166,7 @@
|
||||
<value>@{0} You are either not participating in that war, or that base is already destroyed.</value>
|
||||
</data>
|
||||
<data name="clashofclans_no_active_wars" xml:space="preserve">
|
||||
<value>No active wars.</value>
|
||||
<value>No active war.</value>
|
||||
</data>
|
||||
<data name="clashofclans_size" xml:space="preserve">
|
||||
<value>Size</value>
|
||||
@ -205,7 +205,7 @@
|
||||
<value>New Custom Reaction</value>
|
||||
</data>
|
||||
<data name="customreactions_no_found" xml:space="preserve">
|
||||
<value>No custom reactions found.</value>
|
||||
<value>No custom reaction found.</value>
|
||||
</data>
|
||||
<data name="customreactions_no_found_id" xml:space="preserve">
|
||||
<value>No custom reaction found with that id.</value>
|
||||
@ -467,11 +467,10 @@ Reason: {1}</value>
|
||||
Reason: {1}</value>
|
||||
</data>
|
||||
<data name="administration_kicked_user" xml:space="preserve">
|
||||
<value>User Kicked</value>
|
||||
<value>User kicked</value>
|
||||
</data>
|
||||
<data name="administration_lang_list" xml:space="preserve">
|
||||
<value>List Of Languages
|
||||
{0}</value>
|
||||
<value>List of languages</value>
|
||||
</data>
|
||||
<data name="administration_lang_set" xml:space="preserve">
|
||||
<value>Your server's locale is now {0} - {1}</value>
|
||||
@ -528,10 +527,10 @@ Reason: {1}</value>
|
||||
<value>{0} moved from {1} to {2}</value>
|
||||
</data>
|
||||
<data name="administration_msg_del" xml:space="preserve">
|
||||
<value>Message Deleted in #{0}</value>
|
||||
<value>Message deleted in #{0}</value>
|
||||
</data>
|
||||
<data name="administration_msg_update" xml:space="preserve">
|
||||
<value>Message Updated in #{0}</value>
|
||||
<value>Message updated in #{0}</value>
|
||||
</data>
|
||||
<data name="administration_muted_pl" xml:space="preserve">
|
||||
<value>Muted</value>
|
||||
|
Loading…
Reference in New Issue
Block a user