Move Localizations into core

This commit is contained in:
Daan Boerlage 2021-10-31 20:15:08 +01:00
parent 29e22acbc0
commit 89ea6df6e2
Signed by: daan
GPG key ID: FCE070E1E4956606
54 changed files with 245 additions and 339 deletions

View file

@ -41,127 +41,8 @@
<ProjectReference Include="..\Web\Web.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Localization\Ship.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Ship.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Rank.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Rank.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Karma.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Karma.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Internal.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Internal.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Cookies.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Cookies.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Roll.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Roll.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Choose.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Choose.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Admin.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Admin.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Quote.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Quote.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Role.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Role.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Stats.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Stats.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Corona.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Corona.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\EightBall.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>EightBall.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Localization\Ship.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>ship.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Rank.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Rank.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Ship.Designer.cs">
<DependentUpon>Ship.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Karma.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Karma.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Internal.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Internal.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Cookies.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Cookies.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Roll.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Roll.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Choose.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Choose.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Admin.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Admin.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Quote.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Quote.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Role.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Role.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Stats.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Stats.resx</DependentUpon>
</Compile>
<Compile Update="Localization\Corona.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Corona.resx</DependentUpon>
</Compile>
<Compile Update="Localization\EightBall.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>EightBall.resx</DependentUpon>
</Compile>
</ItemGroup>
</Project>

View file

@ -14,6 +14,7 @@ using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Admin
{

View file

@ -14,6 +14,7 @@ using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Geekbot.Core.ReactionListener;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Admin
{

View file

@ -6,6 +6,7 @@ using Discord.Commands;
using Geekbot.Core;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.GuildSettingsManager;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Randomness
{

View file

@ -10,6 +10,7 @@ using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Geekbot.Core.RandomNumberGenerator;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Randomness
{

View file

@ -3,7 +3,6 @@ using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Geekbot.Bot.Utils;
using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database;
@ -12,6 +11,7 @@ using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Geekbot.Core.RandomNumberGenerator;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Rpg
{

View file

@ -3,7 +3,6 @@ using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Geekbot.Bot.Utils;
using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database;
@ -11,6 +10,7 @@ using Geekbot.Core.Database.Models;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.User.Karma
{

View file

@ -12,6 +12,7 @@ using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Geekbot.Core.Highscores;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.User.Ranking
{

View file

@ -10,6 +10,7 @@ using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Geekbot.Core.Levels;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.User
{

View file

@ -4,6 +4,7 @@ using Discord.Commands;
using Geekbot.Core;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.GuildSettingsManager;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Utils
{

View file

@ -10,6 +10,7 @@ using Geekbot.Core.Converters;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Utils.Corona
{

View file

@ -17,6 +17,7 @@ using Geekbot.Core.UserRepository;
using Microsoft.EntityFrameworkCore;
using Sentry;
using Constants = Geekbot.Core.Constants;
using Localization = Geekbot.Core.Localization;
namespace Geekbot.Bot.Commands.Utils.Quote
{

View file

@ -172,7 +172,7 @@ namespace Geekbot.Bot
var randomNumberGenerator = new RandomNumberGenerator();
var mediaProvider = new MediaProvider(_logger, randomNumberGenerator);
var kvMemoryStore = new KvInInMemoryStore();
var errorHandler = new ErrorHandler(_logger, _runParameters, () => Localization.Internal.SomethingWentWrong);
var errorHandler = new ErrorHandler(_logger, _runParameters, () => Geekbot.Core.Localization.Internal.SomethingWentWrong);
var diceParser = new DiceParser(randomNumberGenerator);
services.AddSingleton(_userRepository);

View file

@ -36,4 +36,59 @@
<PackageReference Include="SumoLogic.Logging.NLog" Version="1.0.1.4" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Localization\Admin.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Admin.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Choose.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Choose.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Cookies.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Cookies.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Corona.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Corona.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\EightBall.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>EightBall.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Internal.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Internal.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Karma.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Karma.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Quote.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Quote.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Rank.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Rank.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Role.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Role.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Roll.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Roll.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Ship.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Ship.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Stats.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Stats.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>

View file

@ -1,7 +1,7 @@
using System;
using System.Text;
namespace Geekbot.Bot.Utils
namespace Geekbot.Core
{
public class DateLocalization
{

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Admin {
public class Admin {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Admin() {
public Admin() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Admin", typeof(Admin).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Admin", typeof(Admin).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to I&apos;m talking english.
/// </summary>
internal static string GetLanguage {
public static string GetLanguage {
get {
return ResourceManager.GetString("GetLanguage", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to I will reply in english from now on.
/// </summary>
internal static string NewLanguageSet {
public static string NewLanguageSet {
get {
return ResourceManager.GetString("NewLanguageSet", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Choose {
public class Choose {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Choose() {
public Choose() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Choose", typeof(Choose).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Choose", typeof(Choose).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to I Choose **{0}**.
/// </summary>
internal static string Choice {
public static string Choice {
get {
return ResourceManager.GetString("Choice", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Cookies {
public class Cookies {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Cookies() {
public Cookies() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Cookies", typeof(Cookies).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Cookies", typeof(Cookies).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You ate {0} cookies, you&apos;ve only got {1} cookies left.
/// </summary>
internal static string AteCookies {
public static string AteCookies {
get {
return ResourceManager.GetString("AteCookies", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You got {0} cookies, there are now {1} cookies in you cookie jar.
/// </summary>
internal static string GetCookies {
public static string GetCookies {
get {
return ResourceManager.GetString("GetCookies", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You gave {0} cookies to {1}.
/// </summary>
internal static string Given {
public static string Given {
get {
return ResourceManager.GetString("Given", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to There are {0} cookies in you cookie jar.
/// </summary>
internal static string InYourJar {
public static string InYourJar {
get {
return ResourceManager.GetString("InYourJar", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Your cookie jar looks almost empty, you should probably not eat a cookie.
/// </summary>
internal static string NotEnoughCookiesToEat {
public static string NotEnoughCookiesToEat {
get {
return ResourceManager.GetString("NotEnoughCookiesToEat", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You don&apos;t have enough cookies.
/// </summary>
internal static string NotEnoughToGive {
public static string NotEnoughToGive {
get {
return ResourceManager.GetString("NotEnoughToGive", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You already got cookies today, you can have more cookies in {0}.
/// </summary>
internal static string WaitForMoreCookies {
public static string WaitForMoreCookies {
get {
return ResourceManager.GetString("WaitForMoreCookies", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Corona {
public class Corona {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Corona() {
public Corona() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Corona", typeof(Corona).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Corona", typeof(Corona).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Active.
/// </summary>
internal static string Active {
public static string Active {
get {
return ResourceManager.GetString("Active", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Confirmed Corona Cases.
/// </summary>
internal static string ConfirmedCases {
public static string ConfirmedCases {
get {
return ResourceManager.GetString("ConfirmedCases", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Deaths.
/// </summary>
internal static string Deaths {
public static string Deaths {
get {
return ResourceManager.GetString("Deaths", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Recovered.
/// </summary>
internal static string Recovered {
public static string Recovered {
get {
return ResourceManager.GetString("Recovered", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Source.
/// </summary>
internal static string Source {
public static string Source {
get {
return ResourceManager.GetString("Source", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Total.
/// </summary>
internal static string Total {
public static string Total {
get {
return ResourceManager.GetString("Total", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class EightBall {
public class EightBall {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal EightBall() {
public EightBall() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.EightBall", typeof(EightBall).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.EightBall", typeof(EightBall).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to As I see it, yes.
/// </summary>
internal static string AsISeeItYes {
public static string AsISeeItYes {
get {
return ResourceManager.GetString("AsISeeItYes", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Ask again later.
/// </summary>
internal static string AskAgainLater {
public static string AskAgainLater {
get {
return ResourceManager.GetString("AskAgainLater", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Better not tell you now.
/// </summary>
internal static string BetterNotTellYouNow {
public static string BetterNotTellYouNow {
get {
return ResourceManager.GetString("BetterNotTellYouNow", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Cannot predict now.
/// </summary>
internal static string CannotPredictNow {
public static string CannotPredictNow {
get {
return ResourceManager.GetString("CannotPredictNow", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Concentrate and ask again.
/// </summary>
internal static string ConcentrateAndAskAgain {
public static string ConcentrateAndAskAgain {
get {
return ResourceManager.GetString("ConcentrateAndAskAgain", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Don&apos;t count on it.
/// </summary>
internal static string DontCountOnIt {
public static string DontCountOnIt {
get {
return ResourceManager.GetString("DontCountOnIt", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to It is certain.
/// </summary>
internal static string ItIsCertain {
public static string ItIsCertain {
get {
return ResourceManager.GetString("ItIsCertain", resourceCulture);
}
@ -126,7 +123,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to It is decidedly so.
/// </summary>
internal static string ItIsDecidedlySo {
public static string ItIsDecidedlySo {
get {
return ResourceManager.GetString("ItIsDecidedlySo", resourceCulture);
}
@ -135,7 +132,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Most likely.
/// </summary>
internal static string MostLikely {
public static string MostLikely {
get {
return ResourceManager.GetString("MostLikely", resourceCulture);
}
@ -144,7 +141,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to My reply is no.
/// </summary>
internal static string MyReplyIsNo {
public static string MyReplyIsNo {
get {
return ResourceManager.GetString("MyReplyIsNo", resourceCulture);
}
@ -153,7 +150,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to My sources say no.
/// </summary>
internal static string MySourcesSayNo {
public static string MySourcesSayNo {
get {
return ResourceManager.GetString("MySourcesSayNo", resourceCulture);
}
@ -162,7 +159,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Outlook good.
/// </summary>
internal static string OutlookGood {
public static string OutlookGood {
get {
return ResourceManager.GetString("OutlookGood", resourceCulture);
}
@ -171,7 +168,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Outlook not so good.
/// </summary>
internal static string OutlookNotSoGood {
public static string OutlookNotSoGood {
get {
return ResourceManager.GetString("OutlookNotSoGood", resourceCulture);
}
@ -180,7 +177,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Reply hazy try again.
/// </summary>
internal static string ReplyHazyTryAgain {
public static string ReplyHazyTryAgain {
get {
return ResourceManager.GetString("ReplyHazyTryAgain", resourceCulture);
}
@ -189,7 +186,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Signs point to yes.
/// </summary>
internal static string SignsPointToYes {
public static string SignsPointToYes {
get {
return ResourceManager.GetString("SignsPointToYes", resourceCulture);
}
@ -198,7 +195,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Very doubtful.
/// </summary>
internal static string VeryDoubtful {
public static string VeryDoubtful {
get {
return ResourceManager.GetString("VeryDoubtful", resourceCulture);
}
@ -207,7 +204,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Without a doubt.
/// </summary>
internal static string WithoutADoubt {
public static string WithoutADoubt {
get {
return ResourceManager.GetString("WithoutADoubt", resourceCulture);
}
@ -216,7 +213,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Yes.
/// </summary>
internal static string Yes {
public static string Yes {
get {
return ResourceManager.GetString("Yes", resourceCulture);
}
@ -225,7 +222,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Yes, definitely.
/// </summary>
internal static string YesDefinitely {
public static string YesDefinitely {
get {
return ResourceManager.GetString("YesDefinitely", resourceCulture);
}
@ -234,7 +231,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You may rely on it.
/// </summary>
internal static string YouMayRelyOnIt {
public static string YouMayRelyOnIt {
get {
return ResourceManager.GetString("YouMayRelyOnIt", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Internal {
public class Internal {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Internal() {
public Internal() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Internal", typeof(Internal).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Internal", typeof(Internal).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to and.
/// </summary>
internal static string And {
public static string And {
get {
return ResourceManager.GetString("And", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to day|days.
/// </summary>
internal static string Days {
public static string Days {
get {
return ResourceManager.GetString("Days", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to hour|hours.
/// </summary>
internal static string Hours {
public static string Hours {
get {
return ResourceManager.GetString("Hours", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Seems like i don&apos;t have enough permission to that :confused:.
/// </summary>
internal static string Http403 {
public static string Http403 {
get {
return ResourceManager.GetString("Http403", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to minute|minutes.
/// </summary>
internal static string Minutes {
public static string Minutes {
get {
return ResourceManager.GetString("Minutes", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to second|seconds.
/// </summary>
internal static string Seconds {
public static string Seconds {
get {
return ResourceManager.GetString("Seconds", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Something went wrong :confused:.
/// </summary>
internal static string SomethingWentWrong {
public static string SomethingWentWrong {
get {
return ResourceManager.GetString("SomethingWentWrong", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Karma {
public class Karma {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Karma() {
public Karma() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Karma", typeof(Karma).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Karma", typeof(Karma).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Amount.
/// </summary>
internal static string Amount {
public static string Amount {
get {
return ResourceManager.GetString("Amount", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to By.
/// </summary>
internal static string By {
public static string By {
get {
return ResourceManager.GetString("By", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Sorry {0}, but you can&apos;t lower your own karma.
/// </summary>
internal static string CannotChangeOwnDown {
public static string CannotChangeOwnDown {
get {
return ResourceManager.GetString("CannotChangeOwnDown", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Sorry {0}, but you can&apos;t give yourself neutral karma.
/// </summary>
internal static string CannotChangeOwnSame {
public static string CannotChangeOwnSame {
get {
return ResourceManager.GetString("CannotChangeOwnSame", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Sorry {0}, but you can&apos;t give yourself karma.
/// </summary>
internal static string CannotChangeOwnUp {
public static string CannotChangeOwnUp {
get {
return ResourceManager.GetString("CannotChangeOwnUp", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Current.
/// </summary>
internal static string Current {
public static string Current {
get {
return ResourceManager.GetString("Current", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Karma lowered.
/// </summary>
internal static string Decreased {
public static string Decreased {
get {
return ResourceManager.GetString("Decreased", resourceCulture);
}
@ -126,7 +123,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Gained Karma.
/// </summary>
internal static string Increased {
public static string Increased {
get {
return ResourceManager.GetString("Increased", resourceCulture);
}
@ -135,7 +132,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Neutral Karma.
/// </summary>
internal static string Neutral {
public static string Neutral {
get {
return ResourceManager.GetString("Neutral", resourceCulture);
}
@ -144,7 +141,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Sorry {0}, but you have to wait {1} before you can give karma again....
/// </summary>
internal static string WaitUntill {
public static string WaitUntill {
get {
return ResourceManager.GetString("WaitUntill", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Quote {
public class Quote {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Quote() {
public Quote() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Quote", typeof(Quote).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Quote", typeof(Quote).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You can&apos;t save quotes by a bot....
/// </summary>
internal static string CannotQuoteBots {
public static string CannotQuoteBots {
get {
return ResourceManager.GetString("CannotQuoteBots", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You can&apos;t save your own quotes....
/// </summary>
internal static string CannotSaveOwnQuotes {
public static string CannotSaveOwnQuotes {
get {
return ResourceManager.GetString("CannotSaveOwnQuotes", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Most quoted person.
/// </summary>
internal static string MostQuotesPerson {
public static string MostQuotesPerson {
get {
return ResourceManager.GetString("MostQuotesPerson", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to This server doesn&apos;t seem to have any quotes yet. You can add a quote with `!quote save @user` or `!quote save &lt;messageId&gt;`.
/// </summary>
internal static string NoQuotesFound {
public static string NoQuotesFound {
get {
return ResourceManager.GetString("NoQuotesFound", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to That is not a valid message link.
/// </summary>
internal static string NotAValidMessageLink {
public static string NotAValidMessageLink {
get {
return ResourceManager.GetString("NotAValidMessageLink", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to I couldn&apos;t find a quote with that ID :disappointed:.
/// </summary>
internal static string NotFoundWithId {
public static string NotFoundWithId {
get {
return ResourceManager.GetString("NotFoundWithId", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You can only quote messages from the same server.
/// </summary>
internal static string OnlyQuoteFromSameServer {
public static string OnlyQuoteFromSameServer {
get {
return ResourceManager.GetString("OnlyQuoteFromSameServer", resourceCulture);
}
@ -126,7 +123,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to **Quote Added**.
/// </summary>
internal static string QuoteAdded {
public static string QuoteAdded {
get {
return ResourceManager.GetString("QuoteAdded", resourceCulture);
}
@ -135,7 +132,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Quote Stats.
/// </summary>
internal static string QuoteStats {
public static string QuoteStats {
get {
return ResourceManager.GetString("QuoteStats", resourceCulture);
}
@ -144,7 +141,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to **Removed #{0}**.
/// </summary>
internal static string Removed {
public static string Removed {
get {
return ResourceManager.GetString("Removed", resourceCulture);
}
@ -153,7 +150,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Total.
/// </summary>
internal static string TotalQuotes {
public static string TotalQuotes {
get {
return ResourceManager.GetString("TotalQuotes", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Rank {
public class Rank {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Rank() {
public Rank() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Rank", typeof(Rank).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Rank", typeof(Rank).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to :warning: I couldn&apos;t find all usernames. Maybe they left the server?.
/// </summary>
internal static string FailedToResolveAllUsernames {
public static string FailedToResolveAllUsernames {
get {
return ResourceManager.GetString("FailedToResolveAllUsernames", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to :bar_chart: **{0} Highscore for {1}**.
/// </summary>
internal static string HighscoresFor {
public static string HighscoresFor {
get {
return ResourceManager.GetString("HighscoresFor", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Valid types are &apos;`messages`&apos; &apos;`karma`&apos;, &apos;`rolls`&apos;, &apos;`cookies`&apos;, &apos;`seasons`&apos; and &apos;`quotes`&apos;.
/// </summary>
internal static string InvalidType {
public static string InvalidType {
get {
return ResourceManager.GetString("InvalidType", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to :warning: Limiting to 20.
/// </summary>
internal static string LimitingTo20Warning {
public static string LimitingTo20Warning {
get {
return ResourceManager.GetString("LimitingTo20Warning", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to No {0} found on this server.
/// </summary>
internal static string NoTypeFoundForServer {
public static string NoTypeFoundForServer {
get {
return ResourceManager.GetString("NoTypeFoundForServer", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Role {
public class Role {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Role() {
public Role() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Role", typeof(Role).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Role", typeof(Role).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Added {0} to the whitelist.
/// </summary>
internal static string AddedRoleToWhitelist {
public static string AddedRoleToWhitelist {
get {
return ResourceManager.GetString("AddedRoleToWhitelist", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Added you to {0}.
/// </summary>
internal static string AddedUserFromRole {
public static string AddedUserFromRole {
get {
return ResourceManager.GetString("AddedUserFromRole", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You cannot add that role to self service because it contains one or more dangerous permissions.
/// </summary>
internal static string CannotAddDangerousRole {
public static string CannotAddDangerousRole {
get {
return ResourceManager.GetString("CannotAddDangerousRole", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to You can&apos;t add a role that is managed by discord.
/// </summary>
internal static string CannotAddManagedRole {
public static string CannotAddManagedRole {
get {
return ResourceManager.GetString("CannotAddManagedRole", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to **Self Service Roles on {0}**.
/// </summary>
internal static string ListHeader {
public static string ListHeader {
get {
return ResourceManager.GetString("ListHeader", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to To get a role, use `!role [name]`.
/// </summary>
internal static string ListInstruction {
public static string ListInstruction {
get {
return ResourceManager.GetString("ListInstruction", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to There are no roles configured for this server.
/// </summary>
internal static string NoRolesConfigured {
public static string NoRolesConfigured {
get {
return ResourceManager.GetString("NoRolesConfigured", resourceCulture);
}
@ -126,7 +123,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Removed {0} from the whitelist.
/// </summary>
internal static string RemovedRoleFromWhitelist {
public static string RemovedRoleFromWhitelist {
get {
return ResourceManager.GetString("RemovedRoleFromWhitelist", resourceCulture);
}
@ -135,7 +132,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Removed you from {0}.
/// </summary>
internal static string RemovedUserFromRole {
public static string RemovedUserFromRole {
get {
return ResourceManager.GetString("RemovedUserFromRole", resourceCulture);
}
@ -144,7 +141,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to That role doesn&apos;t exist or is not on the whitelist.
/// </summary>
internal static string RoleNotFound {
public static string RoleNotFound {
get {
return ResourceManager.GetString("RoleNotFound", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Roll {
public class Roll {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Roll() {
public Roll() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Roll", typeof(Roll).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Roll", typeof(Roll).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Congratulations {0}, your guess was correct!.
/// </summary>
internal static string Gratz {
public static string Gratz {
get {
return ResourceManager.GetString("Gratz", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to :red_circle: {0}, you can&apos;t guess the same number again, guess another number or wait {1}.
/// </summary>
internal static string NoPrevGuess {
public static string NoPrevGuess {
get {
return ResourceManager.GetString("NoPrevGuess", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to {0}, you rolled {1}, your guess was {2}.
/// </summary>
internal static string Rolled {
public static string Rolled {
get {
return ResourceManager.GetString("Rolled", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to {0}, you rolled {1}.
/// </summary>
internal static string RolledNoGuess {
public static string RolledNoGuess {
get {
return ResourceManager.GetString("RolledNoGuess", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Ship {
public class Ship {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Ship() {
public Ship() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Ship", typeof(Ship).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Ship", typeof(Ship).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Almost a match.
/// </summary>
internal static string CouldWork {
public static string CouldWork {
get {
return ResourceManager.GetString("CouldWork", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to It&apos;s a match.
/// </summary>
internal static string ItsAMatch {
public static string ItsAMatch {
get {
return ResourceManager.GetString("ItsAMatch", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Matchmaking.
/// </summary>
internal static string Matchmaking {
public static string Matchmaking {
get {
return ResourceManager.GetString("Matchmaking", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Not going happen.
/// </summary>
internal static string NotGoingToHappen {
public static string NotGoingToHappen {
get {
return ResourceManager.GetString("NotGoingToHappen", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Not such a good idea.
/// </summary>
internal static string NotSuchAGoodIdea {
public static string NotSuchAGoodIdea {
get {
return ResourceManager.GetString("NotSuchAGoodIdea", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to There might be a chance.
/// </summary>
internal static string ThereMightBeAChance {
public static string ThereMightBeAChance {
get {
return ResourceManager.GetString("ThereMightBeAChance", resourceCulture);
}

View file

@ -8,10 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Geekbot.Bot.Localization {
using System;
namespace Geekbot.Core.Localization {
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -22,24 +19,24 @@ namespace Geekbot.Bot.Localization {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Stats {
public class Stats {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Stats() {
public Stats() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Bot.Localization.Stats", typeof(Stats).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Geekbot.Core.Localization.Stats", typeof(Stats).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -51,7 +48,7 @@ namespace Geekbot.Bot.Localization {
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@ -63,7 +60,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Cookies.
/// </summary>
internal static string Cookies {
public static string Cookies {
get {
return ResourceManager.GetString("Cookies", resourceCulture);
}
@ -72,7 +69,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Days.
/// </summary>
internal static string Days {
public static string Days {
get {
return ResourceManager.GetString("Days", resourceCulture);
}
@ -81,7 +78,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Guessed Rolls.
/// </summary>
internal static string GuessedRolls {
public static string GuessedRolls {
get {
return ResourceManager.GetString("GuessedRolls", resourceCulture);
}
@ -90,7 +87,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Joined Server.
/// </summary>
internal static string JoinedServer {
public static string JoinedServer {
get {
return ResourceManager.GetString("JoinedServer", resourceCulture);
}
@ -99,7 +96,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Karma.
/// </summary>
internal static string Karma {
public static string Karma {
get {
return ResourceManager.GetString("Karma", resourceCulture);
}
@ -108,7 +105,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Level.
/// </summary>
internal static string Level {
public static string Level {
get {
return ResourceManager.GetString("Level", resourceCulture);
}
@ -117,7 +114,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Messages Sent.
/// </summary>
internal static string MessagesSent {
public static string MessagesSent {
get {
return ResourceManager.GetString("MessagesSent", resourceCulture);
}
@ -126,7 +123,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to On Discord Since.
/// </summary>
internal static string OnDiscordSince {
public static string OnDiscordSince {
get {
return ResourceManager.GetString("OnDiscordSince", resourceCulture);
}
@ -135,7 +132,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Quotes.
/// </summary>
internal static string Quotes {
public static string Quotes {
get {
return ResourceManager.GetString("Quotes", resourceCulture);
}
@ -144,7 +141,7 @@ namespace Geekbot.Bot.Localization {
/// <summary>
/// Looks up a localized string similar to Server Total.
/// </summary>
internal static string ServerTotal {
public static string ServerTotal {
get {
return ResourceManager.GetString("ServerTotal", resourceCulture);
}