Added a missed string

This commit is contained in:
Kwoth 2017-03-20 18:19:11 +01:00
parent a24b151b2a
commit 4ba487534e
3 changed files with 13 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace NadekoBot.Modules.Searches
.AddField(fb => fb.WithName(GetText("compet_loses")).WithValue($"{model.Games.Competitive.lost}").WithIsInline(true)) .AddField(fb => fb.WithName(GetText("compet_loses")).WithValue($"{model.Games.Competitive.lost}").WithIsInline(true))
.AddField(fb => fb.WithName(GetText("compet_played")).WithValue($"{model.Games.Competitive.played}").WithIsInline(true)) .AddField(fb => fb.WithName(GetText("compet_played")).WithValue($"{model.Games.Competitive.played}").WithIsInline(true))
.AddField(fb => fb.WithName(GetText("compet_rank")).WithValue(rank).WithIsInline(true)) .AddField(fb => fb.WithName(GetText("compet_rank")).WithValue(rank).WithIsInline(true))
.AddField(fb => fb.WithName(GetText("compet_played")).WithValue($"{model.Playtime.competitive}").WithIsInline(true)) .AddField(fb => fb.WithName(GetText("compet_playtime")).WithValue($"{model.Playtime.competitive}").WithIsInline(true))
.AddField(fb => fb.WithName(GetText("quick_playtime")).WithValue($"{model.Playtime.quick}").WithIsInline(true)) .AddField(fb => fb.WithName(GetText("quick_playtime")).WithValue($"{model.Playtime.quick}").WithIsInline(true))
.WithColor(NadekoBot.OkColor); .WithColor(NadekoBot.OkColor);
await Context.Channel.EmbedAsync(embed).ConfigureAwait(false); await Context.Channel.EmbedAsync(embed).ConfigureAwait(false);

View File

@ -4900,6 +4900,15 @@ namespace NadekoBot.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to Competitive playtime.
/// </summary>
public static string searches_compet_playtime {
get {
return ResourceManager.GetString("searches_compet_playtime", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Competitive rank. /// Looks up a localized string similar to Competitive rank.
/// </summary> /// </summary>

View File

@ -2275,4 +2275,7 @@ Owner ID: {2}</value>
<data name="utility_alias_remove_fail" xml:space="preserve"> <data name="utility_alias_remove_fail" xml:space="preserve">
<value>Trigger {0} didn't have an alias.</value> <value>Trigger {0} didn't have an alias.</value>
</data> </data>
<data name="searches_compet_playtime" xml:space="preserve">
<value>Competitive playtime</value>
</data>
</root> </root>