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