added languages in progress to the list too

This commit is contained in:
Kwoth 2017-03-01 01:48:29 +01:00
parent 172d401da7
commit b588edeeee
7 changed files with 8496 additions and 15 deletions

View File

@ -21,8 +21,11 @@ namespace NadekoBot.Modules.Administration
{"en-US", "English, United States"}, {"en-US", "English, United States"},
{"fr-FR", "French, France"}, {"fr-FR", "French, France"},
{"ru-RU", "Russian, Russia"}, {"ru-RU", "Russian, Russia"},
{"de-DE", "German, Germany"} {"de-DE", "German, Germany"},
//{"sr-cyrl-rs", "Serbian, Cyrillic" } {"nl-NL", "Dutch, Netherlands"},
{"ja-JP", "Japanese, Japan"},
{"pt-BR", "Portuguese, Brazil"},
{"sr-cyrl-rs", "Serbian, Serbia - Cyrillic"}
}.ToImmutableDictionary(); }.ToImmutableDictionary();
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]

View File

@ -110,7 +110,7 @@ namespace NadekoBot.Modules.Gambling
{ {
var toWin = (int)Math.Round(amount * NadekoBot.BotConfig.BetflipMultiplier); var toWin = (int)Math.Round(amount * NadekoBot.BotConfig.BetflipMultiplier);
str = Context.User.Mention + " " + GetText("flip_guess", toWin + CurrencySign); str = Context.User.Mention + " " + GetText("flip_guess", toWin + CurrencySign);
await CurrencyHandler.AddCurrencyAsync(Context.User, GetText("betflip_gamble"), toWin, false).ConfigureAwait(false); await CurrencyHandler.AddCurrencyAsync(Context.User, "Betflip Gamble", toWin, false).ConfigureAwait(false);
} }
else else
{ {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2180,15 +2180,6 @@ namespace NadekoBot.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to Betflip Gamble.
/// </summary>
public static string gambling_betflip_gamble {
get {
return ResourceManager.GetString("gambling_betflip_gamble", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Better luck next time ^_^. /// Looks up a localized string similar to Better luck next time ^_^.
/// </summary> /// </summary>

File diff suppressed because it is too large Load Diff

View File

@ -873,9 +873,6 @@ Reason: {1}</value>
<data name="gambling_awarded" xml:space="preserve"> <data name="gambling_awarded" xml:space="preserve">
<value>has awarded {0} to {1}</value> <value>has awarded {0} to {1}</value>
</data> </data>
<data name="gambling_betflip_gamble" xml:space="preserve">
<value>Betflip Gamble</value>
</data>
<data name="gambling_better_luck" xml:space="preserve"> <data name="gambling_better_luck" xml:space="preserve">
<value>Better luck next time ^_^</value> <value>Better luck next time ^_^</value>
</data> </data>