french translation added for responses, Some string fixes
This commit is contained in:
parent
1fbe7a034e
commit
81adc259d9
@ -19,7 +19,8 @@ namespace NadekoBot.Modules.Administration
|
||||
private ImmutableDictionary<string, string> supportedLocales { get; } = new Dictionary<string, string>()
|
||||
{
|
||||
{"en-US", "English, United States" },
|
||||
{"sr-cyrl-rs", "Serbian, Cyrillic" }
|
||||
{"fr-FR", "French, France" }
|
||||
//{"sr-cyrl-rs", "Serbian, Cyrillic" }
|
||||
}.ToImmutableDictionary();
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
@ -94,9 +95,10 @@ namespace NadekoBot.Modules.Administration
|
||||
[OwnerOnly]
|
||||
public async Task LanguagesList()
|
||||
{
|
||||
await ReplyConfirmLocalized("lang_list",
|
||||
string.Join("\n", supportedLocales.Select(x => $"{Format.Code(x.Key)} => {x.Value}")))
|
||||
.ConfigureAwait(false);
|
||||
await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor()
|
||||
.WithTitle(GetText("lang_list", ""))
|
||||
.WithDescription(string.Join("\n",
|
||||
supportedLocales.Select(x => $"{Format.Code(x.Key), -10} => {x.Value}"))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -818,7 +818,7 @@ namespace NadekoBot.Modules.Music
|
||||
MusicPlayer musicPlayer;
|
||||
if (!MusicPlayers.TryGetValue(Context.Guild.Id, out musicPlayer))
|
||||
{
|
||||
await ReplyErrorLocalized("player_none").ConfigureAwait(false);
|
||||
await ReplyErrorLocalized("no_player").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
13
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
13
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
@ -1443,7 +1443,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Text Channel Destroyed .
|
||||
/// Looks up a localized string similar to Text Channel Created.
|
||||
/// </summary>
|
||||
public static string administration_text_chan_created {
|
||||
get {
|
||||
@ -3604,15 +3604,6 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No music player active..
|
||||
/// </summary>
|
||||
public static string music_player_none {
|
||||
get {
|
||||
return ResourceManager.GetString("music_player_none", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Player Queue - Page {0}/{1}.
|
||||
/// </summary>
|
||||
@ -4884,7 +4875,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Joes not loaded..
|
||||
/// Looks up a localized string similar to Jokes not loaded..
|
||||
/// </summary>
|
||||
public static string searches_jokes_not_loaded {
|
||||
get {
|
||||
|
2202
src/NadekoBot/Resources/ResponseStrings.fr-fr.resx
Normal file
2202
src/NadekoBot/Resources/ResponseStrings.fr-fr.resx
Normal file
File diff suppressed because it is too large
Load Diff
@ -755,7 +755,7 @@ Reason: {1}</value>
|
||||
__IgnoredChannels__: {2}</value>
|
||||
</data>
|
||||
<data name="administration_text_chan_created" xml:space="preserve">
|
||||
<value>Text Channel Destroyed </value>
|
||||
<value>Text Channel Created</value>
|
||||
</data>
|
||||
<data name="administration_text_chan_destroyed" xml:space="preserve">
|
||||
<value>Text Channel Destroyed </value>
|
||||
@ -1401,9 +1401,6 @@ Don't forget to leave your discord name or id in the message.
|
||||
<data name="music_paused" xml:space="preserve">
|
||||
<value>Music playback paused.</value>
|
||||
</data>
|
||||
<data name="music_player_none" xml:space="preserve">
|
||||
<value>No music player active.</value>
|
||||
</data>
|
||||
<data name="music_player_queue" xml:space="preserve">
|
||||
<value>Player Queue - Page {0}/{1}</value>
|
||||
</data>
|
||||
@ -1757,7 +1754,7 @@ Don't forget to leave your discord name or id in the message.
|
||||
<value>Invalid source or target language.</value>
|
||||
</data>
|
||||
<data name="searches_jokes_not_loaded" xml:space="preserve">
|
||||
<value>Joes not loaded.</value>
|
||||
<value>Jokes not loaded.</value>
|
||||
</data>
|
||||
<data name="searches_latlong" xml:space="preserve">
|
||||
<value>Lat/Long</value>
|
||||
|
Loading…
Reference in New Issue
Block a user