diff --git a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.Approve_Public_Api.Net4_8.verified.txt b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.Approve_Public_Api.Net4_8.verified.txt index cc662617a..91c0fcda2 100644 --- a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.Approve_Public_Api.Net4_8.verified.txt +++ b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.Approve_Public_Api.Net4_8.verified.txt @@ -199,16 +199,14 @@ namespace Humanizer } public class DefaultFormatter : Humanizer.IFormatter { - public DefaultFormatter(System.Globalization.CultureInfo culture) { } - public DefaultFormatter(string localeCode) { } + public DefaultFormatter(System.Globalization.CultureInfo culture, IResources resources) { } + public DefaultFormatter(string localeCode, IResources resources) { } protected System.Globalization.CultureInfo Culture { get; } public virtual string DataUnitHumanize(Humanizer.DataUnit dataUnit, double count, bool toSymbol = true) { } public virtual string DateHumanize(Humanizer.TimeUnit timeUnit, Humanizer.Tense timeUnitTense, int unit) { } public virtual string DateHumanize_Never() { } public virtual string DateHumanize_Now() { } - protected virtual string Format(string resourceKey) { } protected virtual string Format(Humanizer.TimeUnit unit, string resourceKey, int number, bool toWords = false) { } - protected virtual string GetResourceKey(string resourceKey) { } protected virtual string GetResourceKey(string resourceKey, int number) { } protected virtual string NumberToWords(Humanizer.TimeUnit unit, int number, System.Globalization.CultureInfo culture) { } public virtual string TimeSpanHumanize(Humanizer.TimeUnit timeUnit, int unit, bool toWords = false) { } @@ -1174,13 +1172,10 @@ namespace Humanizer { public static string GetResourceKey(Humanizer.TimeUnit unit, int count = 1, bool toWords = false) { } } - public static class TimeUnitSymbol - { - public static string GetResourceKey(Humanizer.TimeUnit unit) { } - } } public static class Resources { + public static readonly System.Resources.ResourceManager ResourceManager; public static string GetResource(string resourceKey, System.Globalization.CultureInfo? culture = null) { } public static bool TryGetResource(string resourceKey, System.Globalization.CultureInfo? culture, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out string? result) { } } @@ -1294,4 +1289,194 @@ namespace Humanizer Abbreviation = 1, Eifeler = 2, } +} +public interface IResources +{ + string Culture { get; } + string DataUnitBit { get; } + string DataUnitBitSymbol { get; } + string DataUnitByte { get; } + string DataUnitByteSymbol { get; } + string DataUnitGigabyte { get; } + string DataUnitGigabyteSymbol { get; } + string DataUnitKilobyte { get; } + string DataUnitKilobyteSymbol { get; } + string DataUnitMegabyte { get; } + string DataUnitMegabyteSymbol { get; } + string DataUnitTerabyte { get; } + string DataUnitTerabyteSymbol { get; } + string DateMultipleDaysAgo { get; } + string DateMultipleDaysAgoDual { get; } + string DateMultipleDaysAgoPaucal { get; } + string DateMultipleDaysAgoPlural { get; } + string DateMultipleDaysAgoSingular { get; } + string DateMultipleDaysFromNow { get; } + string DateMultipleDaysFromNowDual { get; } + string DateMultipleDaysFromNowPaucal { get; } + string DateMultipleDaysFromNowPlural { get; } + string DateMultipleDaysFromNowSingular { get; } + string DateMultipleHoursAgo { get; } + string DateMultipleHoursAgoDual { get; } + string DateMultipleHoursAgoPaucal { get; } + string DateMultipleHoursAgoPlural { get; } + string DateMultipleHoursAgoSingular { get; } + string DateMultipleHoursFromNow { get; } + string DateMultipleHoursFromNowDual { get; } + string DateMultipleHoursFromNowPaucal { get; } + string DateMultipleHoursFromNowPlural { get; } + string DateMultipleHoursFromNowSingular { get; } + string DateMultipleMinutesAgo { get; } + string DateMultipleMinutesAgoDual { get; } + string DateMultipleMinutesAgoPaucal { get; } + string DateMultipleMinutesAgoPlural { get; } + string DateMultipleMinutesAgoSingular { get; } + string DateMultipleMinutesFromNow { get; } + string DateMultipleMinutesFromNowDual { get; } + string DateMultipleMinutesFromNowPaucal { get; } + string DateMultipleMinutesFromNowPlural { get; } + string DateMultipleMinutesFromNowSingular { get; } + string DateMultipleMonthsAgo { get; } + string DateMultipleMonthsAgoDual { get; } + string DateMultipleMonthsAgoPaucal { get; } + string DateMultipleMonthsAgoPlural { get; } + string DateMultipleMonthsAgoSingular { get; } + string DateMultipleMonthsFromNow { get; } + string DateMultipleMonthsFromNowDual { get; } + string DateMultipleMonthsFromNowPaucal { get; } + string DateMultipleMonthsFromNowPlural { get; } + string DateMultipleMonthsFromNowSingular { get; } + string DateMultipleSecondsAgo { get; } + string DateMultipleSecondsAgoDual { get; } + string DateMultipleSecondsAgoPaucal { get; } + string DateMultipleSecondsAgoPlural { get; } + string DateMultipleSecondsAgoSingular { get; } + string DateMultipleSecondsFromNow { get; } + string DateMultipleSecondsFromNowDual { get; } + string DateMultipleSecondsFromNowPaucal { get; } + string DateMultipleSecondsFromNowPlural { get; } + string DateMultipleSecondsFromNowSingular { get; } + string DateMultipleYearsAgo { get; } + string DateMultipleYearsAgoDual { get; } + string DateMultipleYearsAgoPaucal { get; } + string DateMultipleYearsAgoPlural { get; } + string DateMultipleYearsAgoSingular { get; } + string DateMultipleYearsFromNow { get; } + string DateMultipleYearsFromNowDual { get; } + string DateMultipleYearsFromNowPaucal { get; } + string DateMultipleYearsFromNowPlural { get; } + string DateMultipleYearsFromNowSingular { get; } + string DateNever { get; } + string DateNow { get; } + string DateSingleDayAgo { get; } + string DateSingleDayFromNow { get; } + string DateSingleHourAgo { get; } + string DateSingleHourFromNow { get; } + string DateSingleMinuteAgo { get; } + string DateSingleMinuteFromNow { get; } + string DateSingleMonthAgo { get; } + string DateSingleMonthFromNow { get; } + string DateSingleSecondAgo { get; } + string DateSingleSecondFromNow { get; } + string DateSingleYearAgo { get; } + string DateSingleYearFromNow { get; } + string DateTwoDaysAgo { get; } + string DateTwoDaysFromNow { get; } + string E { get; } + string ENE { get; } + string ENEShort { get; } + string ESE { get; } + string ESEShort { get; } + string EShort { get; } + string N { get; } + string NE { get; } + string NEShort { get; } + string NNE { get; } + string NNEShort { get; } + string NNW { get; } + string NNWShort { get; } + string NShort { get; } + string NW { get; } + string NWShort { get; } + string S { get; } + string SE { get; } + string SEShort { get; } + string SSE { get; } + string SSEShort { get; } + string SSW { get; } + string SSWShort { get; } + string SShort { get; } + string SW { get; } + string SWShort { get; } + string TimeSpanAge { get; } + string TimeSpanMultipleDays { get; } + string TimeSpanMultipleDaysDual { get; } + string TimeSpanMultipleDaysPaucal { get; } + string TimeSpanMultipleDaysPlural { get; } + string TimeSpanMultipleDaysSingular { get; } + string TimeSpanMultipleHours { get; } + string TimeSpanMultipleHoursDual { get; } + string TimeSpanMultipleHoursPaucal { get; } + string TimeSpanMultipleHoursPlural { get; } + string TimeSpanMultipleHoursSingular { get; } + string TimeSpanMultipleMilliseconds { get; } + string TimeSpanMultipleMillisecondsDual { get; } + string TimeSpanMultipleMillisecondsPaucal { get; } + string TimeSpanMultipleMillisecondsPlural { get; } + string TimeSpanMultipleMillisecondsSingular { get; } + string TimeSpanMultipleMinutes { get; } + string TimeSpanMultipleMinutesDual { get; } + string TimeSpanMultipleMinutesPaucal { get; } + string TimeSpanMultipleMinutesPlural { get; } + string TimeSpanMultipleMinutesSingular { get; } + string TimeSpanMultipleMonths { get; } + string TimeSpanMultipleMonthsDual { get; } + string TimeSpanMultipleMonthsPaucal { get; } + string TimeSpanMultipleMonthsPlural { get; } + string TimeSpanMultipleMonthsSingular { get; } + string TimeSpanMultipleSeconds { get; } + string TimeSpanMultipleSecondsDual { get; } + string TimeSpanMultipleSecondsPaucal { get; } + string TimeSpanMultipleSecondsPlural { get; } + string TimeSpanMultipleSecondsSingular { get; } + string TimeSpanMultipleWeeks { get; } + string TimeSpanMultipleWeeksDual { get; } + string TimeSpanMultipleWeeksPaucal { get; } + string TimeSpanMultipleWeeksPlural { get; } + string TimeSpanMultipleWeeksSingular { get; } + string TimeSpanMultipleYears { get; } + string TimeSpanMultipleYearsDual { get; } + string TimeSpanMultipleYearsPaucal { get; } + string TimeSpanMultipleYearsPlural { get; } + string TimeSpanMultipleYearsSingular { get; } + string TimeSpanSingleDay { get; } + string TimeSpanSingleDayWords { get; } + string TimeSpanSingleHour { get; } + string TimeSpanSingleHourWords { get; } + string TimeSpanSingleMillisecond { get; } + string TimeSpanSingleMillisecondWords { get; } + string TimeSpanSingleMinute { get; } + string TimeSpanSingleMinuteWords { get; } + string TimeSpanSingleMonth { get; } + string TimeSpanSingleMonthWords { get; } + string TimeSpanSingleSecond { get; } + string TimeSpanSingleSecondWords { get; } + string TimeSpanSingleWeek { get; } + string TimeSpanSingleWeekWords { get; } + string TimeSpanSingleYear { get; } + string TimeSpanSingleYearWords { get; } + string TimeSpanZero { get; } + string TimeUnitDay { get; } + string TimeUnitHour { get; } + string TimeUnitMillisecond { get; } + string TimeUnitMinute { get; } + string TimeUnitMonth { get; } + string TimeUnitSecond { get; } + string TimeUnitWeek { get; } + string TimeUnitYear { get; } + string W { get; } + string WNW { get; } + string WNWShort { get; } + string WSW { get; } + string WSWShort { get; } + string WShort { get; } } \ No newline at end of file diff --git a/src/Humanizer.Tests/Humanizer.Tests.csproj b/src/Humanizer.Tests/Humanizer.Tests.csproj index cbf5fc457..b1b8a7493 100644 --- a/src/Humanizer.Tests/Humanizer.Tests.csproj +++ b/src/Humanizer.Tests/Humanizer.Tests.csproj @@ -1,14 +1,15 @@  - net8.0;net48 + net48 + - + @@ -16,6 +17,7 @@ PreserveNewest + diff --git a/src/Humanizer.Tests/MergeResources.cs b/src/Humanizer.Tests/MergeResources.cs new file mode 100644 index 000000000..8499ea523 --- /dev/null +++ b/src/Humanizer.Tests/MergeResources.cs @@ -0,0 +1,143 @@ +using System.Collections; +using System.Resources; + +public class MergeResources +{ + [Fact] + public async Task Foo() + { + + var cultureInfos = CultureInfo.GetCultures(CultureTypes.AllCultures); + var dir = @"C:\Code\Humanizer\src\Humanizer\Resources"; + foreach (var file in Directory.EnumerateFiles(dir,"*.cs")) + { + File.Delete(file); + } + var files = Directory.EnumerateFiles(@"C:\Code\Humanizer\src\Humanizer\Properties", "*.resx").ToList(); + var invarientFile = @"C:\Code\Humanizer\src\Humanizer\Properties\Resources.resx"; + var keys = await WriteInvarient(dir, invarientFile); + await WriteClass(dir, CultureInfo.InvariantCulture, invarientFile, keys); + foreach (var file in files) + { + if (file.EndsWith("Resources.resx")) + { + continue; + } + var culture = Culture(file, cultureInfos); + + await WriteClass(dir, culture, file, keys); + } + } + + static async Task WriteClass(string dir, CultureInfo culture, string file, List keys) + { + keys = new(keys); + var className = GetClassName(culture); + var combine = Path.Combine(dir, $"{className}.cs"); + using var writer = File.CreateText(combine); + await writer.WriteLineAsync( + $$""" + class {{className}} : IResources + { + public string Culture => "{{culture.Name}}"; + public static {{className}} Instance => new(); + """); + + using var reader = new ResXResourceReader(file); + foreach (DictionaryEntry entry in reader) + { + var key = (string) entry.Key; + key = ScrubKey(key); + keys.Remove(key); + await writer.WriteLineAsync( + $$""" + public string {{key}} => "{{entry.Value}}"; + """); + } + + if(File.Exists($@"C:\Code\Humanizer\src\Humanizer\Properties\Resources.{culture.Parent.Name}.resx")) + { + var parentClassName = GetClassName(culture.Parent); + foreach (var key in keys) + { + await writer.WriteLineAsync( + $""" + public string {key} => {parentClassName}.Instance.{key}; + """); + } + } + else + { + foreach (var key in keys) + { + await writer.WriteLineAsync( + $$""" + public string {{key}} => InvariantResources.Instance.{{key}}; + """); + } + } + + await writer.WriteLineAsync("}"); + } + + static string GetClassName(CultureInfo culture) + { + if (Equals(culture, CultureInfo.InvariantCulture)) + { + return $"InvariantResources"; + } + + var name = culture.DisplayName + .Replace(" ","") + .Replace(",","") + .Replace(")","") + .Replace("(",""); + return $"{name}Resources"; + } + + static string ScrubKey(string key) => + key + .Replace("DateHumanize_", "Date_") + .Replace("TimeSpanHumanize_", "TimeSpan_") + .Replace("_", ""); + + static async Task> WriteInvarient(string dir, string file) + { + var keys = new List(); + var combine = Path.Combine(dir, "IResources.cs"); + using var writer = File.CreateText(combine); + await writer.WriteLineAsync( + $$""" + public interface IResources + { + public string Culture { get; } + """); + + using var reader = new ResXResourceReader(file); + foreach (DictionaryEntry entry in reader) + { + var key = (string) entry.Key; + key = ScrubKey(key); + await writer.WriteLineAsync( + $$""" + public string {{key}} { get; } + """); + keys.Add(key); + } + + await writer.WriteLineAsync("}"); + return keys; + } + + static CultureInfo Culture(string file, CultureInfo[] cultureInfos) + { + if (file == "C:\\Code\\Humanizer\\src\\Humanizer\\Properties\\Resources.resx") + { + return CultureInfo.InvariantCulture; + } + var culture = Path + .GetFileName(file) + .Split('.')[1]; + return cultureInfos.Single(_ => _.Name == culture); + } +} \ No newline at end of file diff --git a/src/Humanizer.Tests/ResourceKeyTests.cs b/src/Humanizer.Tests/ResourceKeyTests.cs deleted file mode 100644 index 9fbd9d4d7..000000000 --- a/src/Humanizer.Tests/ResourceKeyTests.cs +++ /dev/null @@ -1,97 +0,0 @@ -#pragma warning disable xUnit1026 // Theory methods should use all of their parameters -public class ResourceKeyTests -{ - [Theory] - [MemberData(nameof(DateHumanizeResourceKeys))] - public void DateHumanizeKeysGeneration(int instance, string expected, string actual) => - Assert.Equal(expected, actual); - - [Theory] - [MemberData(nameof(TimeSpanHumanizeResourceKeys))] - public void TimeSpanHumanizeKeysGeneration(int instance, string expected, string actual) => - Assert.Equal(expected, actual); - - [Theory] - [MemberData(nameof(DateHumanizeResourceKeys))] - public void DateHumanizeKeysExistence(int instance, string expectedResourceKey, string generatedResourceKey) => - Assert.NotNull(Resources.GetResource(generatedResourceKey)); - - [Theory] - [MemberData(nameof(TimeSpanHumanizeResourceKeys))] - public void TimeSpanHumanizeKeysExistence(int instance, string expectedResourceKey, string generatedResourceKey) => - Assert.NotNull(Resources.GetResource(generatedResourceKey)); - - public static IEnumerable DateHumanizeResourceKeys => - new[] { - [0, "DateHumanize_SingleSecondAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Second, Tense.Past)], - [0, "DateHumanize_SingleMinuteAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Minute, Tense.Past)], - [0, "DateHumanize_SingleHourAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Hour, Tense.Past)], - [0, "DateHumanize_SingleDayAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Day, Tense.Past)], - [0, "DateHumanize_SingleMonthAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Month, Tense.Past)], - [0, "DateHumanize_SingleYearAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Year, Tense.Past)], - [0, "DateHumanize_MultipleSecondsAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Second, Tense.Past, count: 10)], - [0, "DateHumanize_MultipleMinutesAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Minute, Tense.Past, count: 10)], - [0, "DateHumanize_MultipleHoursAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Hour, Tense.Past, count: 10)], - [0, "DateHumanize_MultipleDaysAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Day, Tense.Past, count: 10)], - [0, "DateHumanize_MultipleMonthsAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Month, Tense.Past, count: 10)], - [0, "DateHumanize_MultipleYearsAgo", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Year, Tense.Past, count: 10)], - [0, "DateHumanize_SingleSecondFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Second, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_SingleMinuteFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Minute, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_SingleHourFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Hour, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_SingleDayFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Day, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_SingleMonthFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Month, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_SingleYearFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Year, timeUnitTense: Tense.Future, count: 1)], - [0, "DateHumanize_MultipleSecondsFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Second, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_MultipleMinutesFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Minute, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_MultipleHoursFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Hour, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_MultipleDaysFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Day, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_MultipleMonthsFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Month, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_MultipleYearsFromNow", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Year, timeUnitTense: Tense.Future, count: 10)], - [0, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Millisecond, Tense.Past, count: 0)], - [1, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Second, Tense.Past, count: 0)], - [2, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Minute, Tense.Past, count: 0)], - [3, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Hour, Tense.Past, count: 0)], - [4, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Day, Tense.Past, count: 0)], - [5, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Week, Tense.Past, count: 0)], - [6, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Month, Tense.Past, count: 0)], - [7, "DateHumanize_Now", ResourceKeys.DateHumanize.GetResourceKey(TimeUnit.Year, Tense.Past, count: 0)], - new object[]{8, "DateHumanize_Now", ResourceKeys.DateHumanize.Now } - }; - - public static IEnumerable TimeSpanHumanizeResourceKeys => - new[] { - [0, "TimeSpanHumanize_SingleMillisecond", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Millisecond)], - [0, "TimeSpanHumanize_SingleSecond", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Second)], - [0, "TimeSpanHumanize_SingleMinute", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Minute)], - [0, "TimeSpanHumanize_SingleHour", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Hour)], - [0, "TimeSpanHumanize_SingleDay", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Day)], - [0, "TimeSpanHumanize_SingleWeek", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Week)], - [0, "TimeSpanHumanize_SingleMonth", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Month)], - [0, "TimeSpanHumanize_SingleYear", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Year)], - [0, "TimeSpanHumanize_MultipleMilliseconds", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Millisecond, 10)], - [0, "TimeSpanHumanize_MultipleSeconds", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Second, 10)], - [0, "TimeSpanHumanize_MultipleMinutes", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Minute, 10)], - [0, "TimeSpanHumanize_MultipleHours", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Hour, 10)], - [0, "TimeSpanHumanize_MultipleDays", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Day, 10)], - [0, "TimeSpanHumanize_MultipleWeeks", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Week, 10)], - [0, "TimeSpanHumanize_MultipleMonths", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Month, 10)], - [0, "TimeSpanHumanize_MultipleYears", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Year, 10)], - [0, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Millisecond, 0, true)], - [1, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Second, 0, true)], - [2, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Minute, 0, true)], - [3, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Hour, 0, true)], - [4, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Day, 0, true)], - [5, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Week, 0, true)], - [6, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Month, 0, true)], - [7, "TimeSpanHumanize_Zero", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Year, 0, true)], - [1, "TimeSpanHumanize_MultipleMilliseconds", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Millisecond, 0)], - [2, "TimeSpanHumanize_MultipleSeconds", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Second, 0)], - [3, "TimeSpanHumanize_MultipleMinutes", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Minute, 0)], - [4, "TimeSpanHumanize_MultipleHours", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Hour, 0)], - [5, "TimeSpanHumanize_MultipleDays", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Day, 0)], - [6, "TimeSpanHumanize_MultipleWeeks", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Week, 0)], - [7, "TimeSpanHumanize_MultipleMonths", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Month, 0)], - new object[]{8, "TimeSpanHumanize_MultipleYears", ResourceKeys.TimeSpanHumanize.GetResourceKey(TimeUnit.Year, 0) } - }; -} -#pragma warning restore xUnit1026 // Theory methods should use all of their parameters \ No newline at end of file diff --git a/src/Humanizer/Configuration/FormatterRegistry.cs b/src/Humanizer/Configuration/FormatterRegistry.cs index 3b7ec6917..5c36d35e9 100644 --- a/src/Humanizer/Configuration/FormatterRegistry.cs +++ b/src/Humanizer/Configuration/FormatterRegistry.cs @@ -3,7 +3,7 @@ class FormatterRegistry : LocaliserRegistry { public FormatterRegistry() - : base(c => new DefaultFormatter(c)) + : base(c => new DefaultFormatter(c, InvariantResources.Instance)) { Register("ar", c => new ArabicFormatter(c)); Register("de", c => new GermanFormatter(c)); @@ -12,58 +12,58 @@ public FormatterRegistry() Register("ru", c => new RussianFormatter(c)); Register("sl", c => new SlovenianFormatter(c)); Register("hr", c => new CroatianFormatter(c)); - Register("sr", c => new SerbianFormatter(c)); - Register("sr-Latn", c => new SerbianFormatter(c)); + Register("sr", c => new SerbianFormatter(c, SerbianResources.Instance)); + Register("sr-Latn", c => new SerbianFormatter(c, SerbianLatinResources.Instance)); Register("uk", c => new UkrainianFormatter(c)); - Register("fr", c => new FrenchFormatter(c)); - Register("fr-BE", c => new FrenchFormatter(c)); - RegisterCzechSlovakPolishFormatter("cs"); - RegisterCzechSlovakPolishFormatter("pl"); - RegisterCzechSlovakPolishFormatter("sk"); + Register("fr", c => new FrenchFormatter(c, FrenchResources.Instance)); + Register("fr-BE", c => new FrenchFormatter(c, FrenchBelgiumResources.Instance)); + RegisterCzechSlovakPolishFormatter("cs", CzechResources.Instance); + RegisterCzechSlovakPolishFormatter("pl", PolishResources.Instance); + RegisterCzechSlovakPolishFormatter("sk", SlovakResources.Instance); Register("bg", c => new BulgarianFormatter(c)); - RegisterDefaultFormatter("ku"); - RegisterDefaultFormatter("pt"); - RegisterDefaultFormatter("sv"); - RegisterDefaultFormatter("tr"); - RegisterDefaultFormatter("vi"); - RegisterDefaultFormatter("en-US"); - RegisterDefaultFormatter("af"); - RegisterDefaultFormatter("az"); - RegisterDefaultFormatter("da"); - RegisterDefaultFormatter("el"); - RegisterDefaultFormatter("es"); - RegisterDefaultFormatter("fa"); - RegisterDefaultFormatter("fi-FI"); - RegisterDefaultFormatter("fil-PH"); - RegisterDefaultFormatter("hu"); - RegisterDefaultFormatter("hy"); - RegisterDefaultFormatter("id"); + RegisterDefaultFormatter("ku", CentralKurdishResources.Instance); + RegisterDefaultFormatter("pt", PortugueseResources.Instance); + RegisterDefaultFormatter("sv", SwedishResources.Instance); + RegisterDefaultFormatter("tr", TurkishResources.Instance); + RegisterDefaultFormatter("vi", VietnameseResources.Instance); + RegisterDefaultFormatter("en-US", InvariantResources.Instance); + RegisterDefaultFormatter("af", AfrikaansResources.Instance); + RegisterDefaultFormatter("az", AzerbaijaniResources.Instance); + RegisterDefaultFormatter("da", DanishResources.Instance); + RegisterDefaultFormatter("el", GreekResources.Instance); + RegisterDefaultFormatter("es", SpanishResources.Instance); + RegisterDefaultFormatter("fa", PersianResources.Instance); + RegisterDefaultFormatter("fi-FI", FinnishFinlandResources.Instance); + RegisterDefaultFormatter("fil-PH", FilipinoPhilippinesResources.Instance); + RegisterDefaultFormatter("hu", HungarianResources.Instance); + RegisterDefaultFormatter("hy", ArmenianResources.Instance); + RegisterDefaultFormatter("id", IndonesianResources.Instance); Register("is", c => new IcelandicFormatter(c)); - RegisterDefaultFormatter("ja"); - RegisterDefaultFormatter("ko-KR"); - RegisterDefaultFormatter("lv"); + RegisterDefaultFormatter("ja", JapaneseResources.Instance); + RegisterDefaultFormatter("ko-KR", KoreanKoreaResources.Instance); + RegisterDefaultFormatter("lv", LatvianResources.Instance); Register("mt", c => new MalteseFormatter(c)); - RegisterDefaultFormatter("ms-MY"); - RegisterDefaultFormatter("nb"); - RegisterDefaultFormatter("nb-NO"); - RegisterDefaultFormatter("nl"); - RegisterDefaultFormatter("bn-BD"); - RegisterDefaultFormatter("it"); - RegisterDefaultFormatter("ta"); - RegisterDefaultFormatter("uz-Latn-UZ"); - RegisterDefaultFormatter("uz-Cyrl-UZ"); - RegisterDefaultFormatter("zh-CN"); - RegisterDefaultFormatter("zh-Hans"); - RegisterDefaultFormatter("zh-Hant"); - RegisterDefaultFormatter("th-TH"); - RegisterDefaultFormatter("en-IN"); + RegisterDefaultFormatter("ms-MY", MalayMalaysiaResources.Instance); + RegisterDefaultFormatter("nb", NorwegianBokmålResources.Instance); + RegisterDefaultFormatter("nb-NO", NorwegianBokmålNorwayResources.Instance); + RegisterDefaultFormatter("nl", DutchResources.Instance); + RegisterDefaultFormatter("bn-BD", BanglaBangladeshResources.Instance); + RegisterDefaultFormatter("it", ItalianResources.Instance); + RegisterDefaultFormatter("ta", InvariantResources.Instance); + RegisterDefaultFormatter("uz-Latn-UZ", UzbekLatinUzbekistanResources.Instance); + RegisterDefaultFormatter("uz-Cyrl-UZ", UzbekCyrillicUzbekistanResources.Instance); + RegisterDefaultFormatter("zh-CN", ChineseSimplifiedPRCResources.Instance); + RegisterDefaultFormatter("zh-Hans", ChineseSimplifiedResources.Instance); + RegisterDefaultFormatter("zh-Hant", ChineseTraditionalResources.Instance); + RegisterDefaultFormatter("th-TH", ThaiThailandResources.Instance); + RegisterDefaultFormatter("en-IN", InvariantResources.Instance); Register("lt", c => new LithuanianFormatter(c)); Register("lb", c => new LuxembourgishFormatter(c)); } - void RegisterDefaultFormatter(string localeCode) => - Register(localeCode, c => new DefaultFormatter(c)); + void RegisterDefaultFormatter(string localeCode, IResources resources) => + Register(localeCode, c => new DefaultFormatter(c, resources)); - void RegisterCzechSlovakPolishFormatter(string localeCode) => - Register(localeCode, c => new CzechSlovakPolishFormatter(c)); + void RegisterCzechSlovakPolishFormatter(string localeCode, IResources resources) => + Register(localeCode, c => new CzechSlovakPolishFormatter(c, resources)); } \ No newline at end of file diff --git a/src/Humanizer/Localisation/Formatters/ArabicFormatter.cs b/src/Humanizer/Localisation/Formatters/ArabicFormatter.cs index fdfa7f921..c1c869563 100644 --- a/src/Humanizer/Localisation/Formatters/ArabicFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/ArabicFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class ArabicFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, ArabicResources.Instance) { const string DualPostfix = "_Dual"; const string PluralPostfix = "_Plural"; diff --git a/src/Humanizer/Localisation/Formatters/BulgarianFormatter.cs b/src/Humanizer/Localisation/Formatters/BulgarianFormatter.cs index 0dc6b58e5..807348d96 100644 --- a/src/Humanizer/Localisation/Formatters/BulgarianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/BulgarianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class BulgarianFormatter(CultureInfo culture) - : DefaultFormatter(culture) + : DefaultFormatter(culture, BulgarianResources.Instance) { protected override string NumberToWords(TimeUnit unit, int number, CultureInfo culture) => number.ToWords(GetUnitGender(unit), culture); diff --git a/src/Humanizer/Localisation/Formatters/CroatianFormatter.cs b/src/Humanizer/Localisation/Formatters/CroatianFormatter.cs index cecd9479a..6d5eb42fc 100644 --- a/src/Humanizer/Localisation/Formatters/CroatianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/CroatianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class CroatianFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, CroatianResources.Instance) { const string PaucalPostfix = "_Paucal"; diff --git a/src/Humanizer/Localisation/Formatters/CzechSlovakPolishFormatter.cs b/src/Humanizer/Localisation/Formatters/CzechSlovakPolishFormatter.cs index 79bc3e1ea..02a50aa61 100644 --- a/src/Humanizer/Localisation/Formatters/CzechSlovakPolishFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/CzechSlovakPolishFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; -class CzechSlovakPolishFormatter(CultureInfo culture) : - DefaultFormatter(culture) +class CzechSlovakPolishFormatter(CultureInfo culture, IResources resources) : + DefaultFormatter(culture, resources) { const string PaucalPostfix = "_Paucal"; diff --git a/src/Humanizer/Localisation/Formatters/DefaultFormatter.cs b/src/Humanizer/Localisation/Formatters/DefaultFormatter.cs index 1c0a71ebf..b1a4e504f 100644 --- a/src/Humanizer/Localisation/Formatters/DefaultFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/DefaultFormatter.cs @@ -3,12 +3,14 @@ /// /// Default implementation of IFormatter interface. /// -public class DefaultFormatter(CultureInfo culture) : IFormatter +#pragma warning disable CS9113 // Parameter is unread. +public class DefaultFormatter(CultureInfo culture, IResources resources) : IFormatter +#pragma warning restore CS9113 // Parameter is unread. { protected CultureInfo Culture { get; } = culture; - public DefaultFormatter(string localeCode) - : this(new CultureInfo(localeCode)) + public DefaultFormatter(string localeCode, IResources resources) + : this(new CultureInfo(localeCode), resources) { } @@ -16,7 +18,7 @@ public virtual string DateHumanize_Now() => GetResourceForDate(TimeUnit.Millisecond, Tense.Past, 0); public virtual string DateHumanize_Never() => - Format(ResourceKeys.DateHumanize.Never); + resources.DateNever; /// /// Returns the string representation of the provided DateTime @@ -51,7 +53,7 @@ public virtual string TimeSpanHumanize_Age() public virtual string DataUnitHumanize(DataUnit dataUnit, double count, bool toSymbol = true) { var resourceKey = toSymbol ? $"DataUnit_{dataUnit}Symbol" : $"DataUnit_{dataUnit}"; - var resourceValue = Format(resourceKey); + var resourceValue = Resources.GetResource(resourceKey, Culture); if (!toSymbol && count > 1) resourceValue += 's'; @@ -60,33 +62,42 @@ public virtual string DataUnitHumanize(DataUnit dataUnit, double count, bool toS } /// - public virtual string TimeUnitHumanize(TimeUnit timeUnit) - { - var resourceKey = ResourceKeys.TimeUnitSymbol.GetResourceKey(timeUnit); - return Format(resourceKey); - } + public virtual string TimeUnitHumanize(TimeUnit timeUnit) => + timeUnit switch + { + TimeUnit.Millisecond => resources.TimeUnitMillisecond, + TimeUnit.Second => resources.TimeUnitSecond, + TimeUnit.Minute => resources.TimeUnitMinute, + TimeUnit.Hour => resources.TimeUnitHour, + TimeUnit.Day => resources.TimeUnitDay, + TimeUnit.Week => resources.TimeUnitWeek, + TimeUnit.Month => resources.TimeUnitMonth, + TimeUnit.Year => resources.TimeUnitYear, + _ => throw new ArgumentOutOfRangeException(nameof(timeUnit), timeUnit, null) + }; string GetResourceForDate(TimeUnit unit, Tense timeUnitTense, int count) { var resourceKey = ResourceKeys.DateHumanize.GetResourceKey(unit, timeUnitTense: timeUnitTense, count: count); - return count == 1 ? Format(resourceKey) : Format(unit, resourceKey, count); + if (count == 1) + { + return Resources.GetResource(resourceKey, Culture); + } + else + { + return Format(unit, resourceKey, count); + } } string GetResourceForTimeSpan(TimeUnit unit, int count, bool toWords = false) { var resourceKey = ResourceKeys.TimeSpanHumanize.GetResourceKey(unit, count, toWords); - return count == 1 ? Format(resourceKey + (toWords ? "_Words" : "")) : Format(unit, resourceKey, count, toWords); - } + if (count == 1) + { + return Resources.GetResource(resourceKey + (toWords ? "_Words" : ""), Culture); + } - /// - /// Formats the specified resource key. - /// - /// The resource key. - /// If the resource not exists on the specified culture. - protected virtual string Format(string resourceKey) - { - var resolvedKey = GetResourceKey(resourceKey); - return Resources.GetResource(resolvedKey, Culture); + return Format(unit, resourceKey, count, toWords); } /// @@ -115,7 +126,4 @@ protected virtual string NumberToWords(TimeUnit unit, int number, CultureInfo cu /// The number of the units being used in formatting protected virtual string GetResourceKey(string resourceKey, int number) => resourceKey; - - protected virtual string GetResourceKey(string resourceKey) => - resourceKey; } \ No newline at end of file diff --git a/src/Humanizer/Localisation/Formatters/FrenchFormatter.cs b/src/Humanizer/Localisation/Formatters/FrenchFormatter.cs index 46dbd68d8..7b95e3dac 100644 --- a/src/Humanizer/Localisation/Formatters/FrenchFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/FrenchFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; -class FrenchFormatter(CultureInfo culture) : - DefaultFormatter(culture) +class FrenchFormatter(CultureInfo culture, IResources resources) : + DefaultFormatter(culture, resources) { const string DualPostfix = "_Dual"; diff --git a/src/Humanizer/Localisation/Formatters/GermanFormatter.cs b/src/Humanizer/Localisation/Formatters/GermanFormatter.cs index 97268c09c..19c8d841d 100644 --- a/src/Humanizer/Localisation/Formatters/GermanFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/GermanFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class GermanFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, GermanResources.Instance) { /// public override string DataUnitHumanize(DataUnit dataUnit, double count, bool toSymbol = true) => diff --git a/src/Humanizer/Localisation/Formatters/HebrewFormatter.cs b/src/Humanizer/Localisation/Formatters/HebrewFormatter.cs index a61a2da2f..0016a8121 100644 --- a/src/Humanizer/Localisation/Formatters/HebrewFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/HebrewFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class HebrewFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, HebrewResources.Instance) { const string DualPostfix = "_Dual"; const string PluralPostfix = "_Plural"; diff --git a/src/Humanizer/Localisation/Formatters/IcelandicFormatter.cs b/src/Humanizer/Localisation/Formatters/IcelandicFormatter.cs index 0819f35c2..cca85054d 100644 --- a/src/Humanizer/Localisation/Formatters/IcelandicFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/IcelandicFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class IcelandicFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, IcelandicResources.Instance) { public override string DataUnitHumanize(DataUnit dataUnit, double count, bool toSymbol = true) => base.DataUnitHumanize(dataUnit, count, toSymbol).TrimEnd('s'); diff --git a/src/Humanizer/Localisation/Formatters/LithuanianFormatter.cs b/src/Humanizer/Localisation/Formatters/LithuanianFormatter.cs index 10c25577d..8210ce60b 100644 --- a/src/Humanizer/Localisation/Formatters/LithuanianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/LithuanianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class LithuanianFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, LithuanianResources.Instance) { protected override string GetResourceKey(string resourceKey, int number) { diff --git a/src/Humanizer/Localisation/Formatters/LuxembourgishFormatter.cs b/src/Humanizer/Localisation/Formatters/LuxembourgishFormatter.cs index a5ca34a8f..0d269ccd1 100644 --- a/src/Humanizer/Localisation/Formatters/LuxembourgishFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/LuxembourgishFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class LuxembourgishFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, LuxembourgishResources.Instance) { const string DualPostfix = "_Dual"; diff --git a/src/Humanizer/Localisation/Formatters/MalteseFormatter.cs b/src/Humanizer/Localisation/Formatters/MalteseFormatter.cs index 5f8aa4cd1..823f9795f 100644 --- a/src/Humanizer/Localisation/Formatters/MalteseFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/MalteseFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class MalteseFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, MalteseResources.Instance) { protected override string GetResourceKey(string resourceKey, int number) { diff --git a/src/Humanizer/Localisation/Formatters/RomanianFormatter.cs b/src/Humanizer/Localisation/Formatters/RomanianFormatter.cs index 728b868e0..dfa3cdf05 100644 --- a/src/Humanizer/Localisation/Formatters/RomanianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/RomanianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class RomanianFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, RomanianResources.Instance) { const int PrepositionIndicatingDecimals = 2; const int MaxNumeralWithNoPreposition = 19; diff --git a/src/Humanizer/Localisation/Formatters/RussianFormatter.cs b/src/Humanizer/Localisation/Formatters/RussianFormatter.cs index ab8658a43..3f2a48fdd 100644 --- a/src/Humanizer/Localisation/Formatters/RussianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/RussianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class RussianFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, RussianResources.Instance) { protected override string GetResourceKey(string resourceKey, int number) { diff --git a/src/Humanizer/Localisation/Formatters/SerbianFormatter.cs b/src/Humanizer/Localisation/Formatters/SerbianFormatter.cs index 889b88722..9af76cfcb 100644 --- a/src/Humanizer/Localisation/Formatters/SerbianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/SerbianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; -class SerbianFormatter(CultureInfo culture) : - DefaultFormatter(culture) +class SerbianFormatter(CultureInfo culture, IResources resources) : + DefaultFormatter(culture, resources) { const string PaucalPostfix = "_Paucal"; diff --git a/src/Humanizer/Localisation/Formatters/SlovenianFormatter.cs b/src/Humanizer/Localisation/Formatters/SlovenianFormatter.cs index 186f118a9..41041f730 100644 --- a/src/Humanizer/Localisation/Formatters/SlovenianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/SlovenianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class SlovenianFormatter(CultureInfo culture) : - DefaultFormatter(culture) + DefaultFormatter(culture, SlovenianResources.Instance) { const string DualPostfix = "_Dual"; const string TrialQuadralPostfix = "_Paucal"; diff --git a/src/Humanizer/Localisation/Formatters/UkrainianFormatter.cs b/src/Humanizer/Localisation/Formatters/UkrainianFormatter.cs index b7e39ea16..fba959866 100644 --- a/src/Humanizer/Localisation/Formatters/UkrainianFormatter.cs +++ b/src/Humanizer/Localisation/Formatters/UkrainianFormatter.cs @@ -1,7 +1,7 @@ namespace Humanizer; class UkrainianFormatter(CultureInfo culture) - : DefaultFormatter(culture) + : DefaultFormatter(culture, UkrainianResources.Instance) { protected override string GetResourceKey(string resourceKey, int number) { diff --git a/src/Humanizer/Localisation/ResourceKeys.Common.cs b/src/Humanizer/Localisation/ResourceKeys.Common.cs index 7b4f0b814..665aba878 100644 --- a/src/Humanizer/Localisation/ResourceKeys.Common.cs +++ b/src/Humanizer/Localisation/ResourceKeys.Common.cs @@ -2,11 +2,4 @@ public partial class ResourceKeys { - static void ValidateRange(int count) - { - if (count < 0) - { - throw new ArgumentOutOfRangeException(nameof(count)); - } - } } \ No newline at end of file diff --git a/src/Humanizer/Localisation/ResourceKeys.DateHumanize.cs b/src/Humanizer/Localisation/ResourceKeys.DateHumanize.cs index 96072c9f5..784fb7b3f 100644 --- a/src/Humanizer/Localisation/ResourceKeys.DateHumanize.cs +++ b/src/Humanizer/Localisation/ResourceKeys.DateHumanize.cs @@ -26,7 +26,10 @@ public static class DateHumanize /// Resource key, like DateHumanize_SingleMinuteAgo public static string GetResourceKey(TimeUnit timeUnit, Tense timeUnitTense, int count = 1) { - ValidateRange(count); + if (count < 0) + { + throw new ArgumentOutOfRangeException(nameof(count)); + } if (count == 0) { diff --git a/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs b/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs index 803578cc6..aae533a11 100644 --- a/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs +++ b/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs @@ -17,7 +17,10 @@ public static class TimeSpanHumanize /// Resource key, like TimeSpanHumanize_SingleMinute public static string GetResourceKey(TimeUnit unit, int count = 1, bool toWords = false) { - ValidateRange(count); + if (count < 0) + { + throw new ArgumentOutOfRangeException(nameof(count)); + } if (count == 0 && toWords) { diff --git a/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs b/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs deleted file mode 100644 index d6fbbd98b..000000000 --- a/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Humanizer; - -public partial class ResourceKeys -{ - /// - /// Encapsulates the logic required to get the resource keys for TimeUnit.ToSymbol - /// - public static class TimeUnitSymbol - { - /// - /// Generates Resource Keys according to convention. - /// Examples: TimeUnit_Minute, TimeUnit_Hour. - /// - /// Time unit, . - /// Resource key, like TimeSpanHumanize_SingleMinute - public static string GetResourceKey(TimeUnit unit) => - unit switch - { - TimeUnit.Millisecond => "TimeUnit_Millisecond", - TimeUnit.Second => "TimeUnit_Second", - TimeUnit.Minute => "TimeUnit_Minute", - TimeUnit.Hour => "TimeUnit_Hour", - TimeUnit.Day => "TimeUnit_Day", - TimeUnit.Week => "TimeUnit_Week", - TimeUnit.Month => "TimeUnit_Month", - TimeUnit.Year => "TimeUnit_Year", - _ => throw new ArgumentOutOfRangeException(nameof(unit), unit, null) - }; - } -} \ No newline at end of file diff --git a/src/Humanizer/Localisation/Resources.cs b/src/Humanizer/Localisation/Resources.cs index ef771751e..12e5f2c3c 100644 --- a/src/Humanizer/Localisation/Resources.cs +++ b/src/Humanizer/Localisation/Resources.cs @@ -7,7 +7,7 @@ namespace Humanizer; /// public static class Resources { - static readonly ResourceManager ResourceManager = new("Humanizer.Properties.Resources", typeof(Resources).GetTypeInfo() + public static readonly ResourceManager ResourceManager = new("Humanizer.Properties.Resources", typeof(Resources).GetTypeInfo() .Assembly); /// diff --git a/src/Humanizer/Resources/AfrikaansResources.cs b/src/Humanizer/Resources/AfrikaansResources.cs new file mode 100644 index 000000000..ce79fc7fd --- /dev/null +++ b/src/Humanizer/Resources/AfrikaansResources.cs @@ -0,0 +1,191 @@ +class AfrikaansResources : IResources +{ + public string Culture => "af"; + public static AfrikaansResources Instance => new(); + public string DateSingleSecondAgo => "1 sekonde terug"; + public string DateMultipleSecondsAgo => "{0} sekondes terug"; + public string DateSingleMinuteAgo => "1 minuut terug"; + public string DateMultipleMinutesAgo => "{0} minute terug"; + public string DateSingleHourAgo => "1 uur terug"; + public string DateMultipleHoursAgo => "{0} ure gelede"; + public string DateSingleDayAgo => "gister"; + public string DateMultipleDaysAgo => "{0} dae gelede"; + public string DateSingleMonthAgo => "1 maand gelede"; + public string DateMultipleMonthsAgo => "{0} maande gelede"; + public string DateSingleYearAgo => "1 jaar gelede"; + public string DateMultipleYearsAgo => "{0} jaar gelede"; + public string TimeSpanMultipleDays => "{0} dae"; + public string TimeSpanMultipleHours => "{0} ure"; + public string TimeSpanMultipleMilliseconds => "{0} millisekondes"; + public string TimeSpanMultipleMinutes => "{0} minute"; + public string TimeSpanMultipleSeconds => "{0} sekondes"; + public string TimeSpanMultipleWeeks => "{0} weke"; + public string TimeSpanSingleDay => "1 dag"; + public string TimeSpanSingleHour => "1 uur"; + public string TimeSpanSingleMillisecond => "1 millisekond"; + public string TimeSpanSingleMinute => "1 minuut"; + public string TimeSpanSingleSecond => "1 sekond"; + public string TimeSpanSingleWeek => "1 week"; + public string TimeSpanZero => "geen tyd"; + public string DateMultipleDaysFromNow => "oor {0} dae"; + public string DateMultipleHoursFromNow => "oor {0} ure"; + public string DateMultipleMinutesFromNow => "oor {0} minute"; + public string DateMultipleMonthsFromNow => "oor {0} maande"; + public string DateMultipleSecondsFromNow => "oor {0} sekondes"; + public string DateMultipleYearsFromNow => "oor {0} jaar"; + public string DateNow => "nou"; + public string DateSingleDayFromNow => "môre"; + public string DateSingleHourFromNow => "oor 1 uur"; + public string DateSingleMinuteFromNow => "oor 1 minuut"; + public string DateSingleMonthFromNow => "oor 1 maand"; + public string DateSingleSecondFromNow => "oor 1 sekonde"; + public string DateSingleYearFromNow => "oor 1 jaar"; + public string TimeSpanSingleMonth => "1 maand"; + public string TimeSpanMultipleMonths => "{0} maande"; + public string TimeSpanMultipleYears => "{0} jaar"; + public string TimeSpanSingleYear => "1 jaar"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ArabicResources.cs b/src/Humanizer/Resources/ArabicResources.cs new file mode 100644 index 000000000..3906cee1a --- /dev/null +++ b/src/Humanizer/Resources/ArabicResources.cs @@ -0,0 +1,191 @@ +class ArabicResources : IResources +{ + public string Culture => "ar"; + public static ArabicResources Instance => new(); + public string DateSingleSecondAgo => "منذ ثانية واحدة"; + public string DateMultipleSecondsAgo => "منذ {0} ثانية"; + public string DateSingleMinuteAgo => "منذ دقيقة واحدة"; + public string DateMultipleMinutesAgo => "منذ {0} دقيقة"; + public string DateSingleHourAgo => "منذ ساعة واحدة"; + public string DateMultipleHoursAgo => "منذ {0} ساعة"; + public string DateSingleDayAgo => "أمس"; + public string DateMultipleDaysAgo => "منذ {0} يوم"; + public string DateSingleMonthAgo => "منذ شهر واحد"; + public string DateMultipleMonthsAgo => "منذ {0} شهر"; + public string DateSingleYearAgo => "العام السابق"; + public string DateMultipleYearsAgo => "منذ {0} عام"; + public string TimeSpanSingleDay => "يوم واحد"; + public string TimeSpanSingleHour => "ساعة واحدة"; + public string TimeSpanSingleMillisecond => "جزء من الثانية"; + public string TimeSpanSingleMinute => "دقيقة واحدة"; + public string TimeSpanSingleSecond => "ثانية واحدة"; + public string TimeSpanSingleWeek => "أسبوع واحد"; + public string TimeSpanZero => "حالاً"; + public string DateMultipleDaysAgoDual => "منذ يومين"; + public string DateMultipleHoursAgoDual => "منذ ساعتين"; + public string DateMultipleMinutesAgoDual => "منذ دقيقتين"; + public string DateMultipleMonthsAgoDual => "منذ شهرين"; + public string DateMultipleSecondsAgoDual => "منذ ثانيتين"; + public string DateMultipleYearsAgoDual => "منذ عامين"; + public string TimeSpanMultipleWeeksDual => "أسبوعين"; + public string TimeSpanMultipleDaysDual => "يومين"; + public string TimeSpanMultipleHoursDual => "ساعتين"; + public string TimeSpanMultipleMillisecondsDual => "جزئين من الثانية"; + public string TimeSpanMultipleMinutesDual => "دقيقتين"; + public string TimeSpanMultipleSecondsDual => "ثانيتين"; + public string TimeSpanMultipleDays => "{0} يوم"; + public string TimeSpanMultipleDaysPlural => "{0} أيام"; + public string TimeSpanMultipleHours => "{0} ساعة"; + public string TimeSpanMultipleHoursPlural => "{0} ساعات"; + public string TimeSpanMultipleMilliseconds => "{0} جزء من الثانية"; + public string TimeSpanMultipleMillisecondsPlural => "{0} أجزاء من الثانية"; + public string TimeSpanMultipleMinutes => "{0} دقيقة"; + public string TimeSpanMultipleMinutesPlural => "{0} دقائق"; + public string TimeSpanMultipleSeconds => "{0} ثانية"; + public string TimeSpanMultipleSecondsPlural => "{0} ثوان"; + public string TimeSpanMultipleWeeks => "{0} أسبوع"; + public string TimeSpanMultipleWeeksPlural => "{0} أسابيع"; + public string DateMultipleDaysAgoPlural => "منذ {0} أيام"; + public string DateMultipleHoursAgoPlural => "منذ {0} ساعات"; + public string DateMultipleMinutesAgoPlural => "منذ {0} دقائق"; + public string DateMultipleMonthsAgoPlural => "منذ {0} أشهر"; + public string DateMultipleSecondsAgoPlural => "منذ {0} ثوان"; + public string DateMultipleYearsAgoPlural => "منذ {0} أعوام"; + public string DateMultipleDaysFromNow => "في غضون {0} يوم من الآن"; + public string DateMultipleDaysFromNowDual => "في غضون يومين من الآن"; + public string DateMultipleDaysFromNowPlural => "في غضون {0} أيام من الآن"; + public string DateMultipleHoursFromNow => "في غضون {0} ساعة من الآن"; + public string DateMultipleHoursFromNowDual => "في غضون ساعتين من الآن"; + public string DateMultipleHoursFromNowPlural => "في غضون {0} ساعات من الآن"; + public string DateMultipleMinutesFromNow => "في غضون {0} دقيقة من الآن"; + public string DateMultipleMinutesFromNowDual => "في غضون دقيقتين من الآن"; + public string DateMultipleMinutesFromNowPlural => "في غضون {0} دقائق من الآن"; + public string DateMultipleMonthsFromNow => "في غضون {0} شهر من الآن"; + public string DateMultipleMonthsFromNowDual => "في غضون شهرين من الآن"; + public string DateMultipleMonthsFromNowPlural => "في غضون {0} أشهر من الآن"; + public string DateMultipleSecondsFromNow => "في غضون {0} ثانية من الآن"; + public string DateMultipleSecondsFromNowDual => "في غضون ثانيتين من الآن"; + public string DateMultipleSecondsFromNowPlural => "في غضون {0} ثوان من الآن"; + public string DateMultipleYearsFromNow => "في غضون {0} سنة من الآن"; + public string DateMultipleYearsFromNowDual => "في غضون سنتين من الآن"; + public string DateMultipleYearsFromNowPlural => "في غضون {0} سنوات من الآن"; + public string DateSingleDayFromNow => "في غضون يوم واحد من الآن"; + public string DateSingleHourFromNow => "في غضون ساعة واحدة من الآن"; + public string DateSingleMinuteFromNow => "في غضون دقيقة واحدة من الآن"; + public string DateSingleMonthFromNow => "في غضون شهر واحد من الآن"; + public string DateSingleSecondFromNow => "في غضون ثانية واحدة من الآن"; + public string DateSingleYearFromNow => "في غضون سنة واحدة من الآن"; + public string DateNow => "الآن"; + public string TimeSpanMultipleMonths => "{0} أشهر"; + public string TimeSpanMultipleMonthsDual => "شهرين"; + public string TimeSpanMultipleMonthsPlural => "{0} أشهر"; + public string TimeSpanMultipleYears => "{0} سنة"; + public string TimeSpanMultipleYearsDual => "سنتين"; + public string TimeSpanMultipleYearsPlural => "{0} سنة"; + public string TimeSpanSingleMonth => "شهر 1"; + public string TimeSpanSingleYear => "السنة 1"; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ArmenianResources.cs b/src/Humanizer/Resources/ArmenianResources.cs new file mode 100644 index 000000000..547f7a659 --- /dev/null +++ b/src/Humanizer/Resources/ArmenianResources.cs @@ -0,0 +1,191 @@ +class ArmenianResources : IResources +{ + public string Culture => "hy"; + public static ArmenianResources Instance => new(); + public string DateSingleSecondAgo => "մեկ վայրկյան առաջ"; + public string DateSingleMinuteAgo => "մեկ րոպե առաջ"; + public string DateSingleHourAgo => "մեկ ժամ առաջ"; + public string DateSingleDayAgo => "երեկ"; + public string DateSingleMonthAgo => "մեկ ամիս առաջ"; + public string DateSingleYearAgo => "մեկ տարի առաջ"; + public string DateMultipleHoursAgo => "{0} ժամ առաջ"; + public string DateMultipleMinutesAgo => "{0} րոպե առաջ"; + public string DateMultipleMonthsAgo => "{0} ամիս առաջ"; + public string DateMultipleSecondsAgo => "{0} վայրկյան առաջ"; + public string DateMultipleYearsAgo => "{0} տարի առաջ"; + public string DateMultipleDaysAgo => "{0} օր առաջ"; + public string DateNow => "հիմա"; + public string TimeSpanMultipleDays => "{0} օր"; + public string TimeSpanMultipleHours => "{0} ժամ"; + public string TimeSpanMultipleMilliseconds => "{0} միլիվայրկյան"; + public string TimeSpanMultipleMinutes => "{0} րոպե"; + public string TimeSpanMultipleSeconds => "{0} վայրկյան"; + public string TimeSpanMultipleWeeks => "{0} շաբաթ"; + public string TimeSpanSingleDay => "մեկ օր"; + public string TimeSpanSingleHour => "մեկ ժամ"; + public string TimeSpanSingleMillisecond => "մեկ միլիվայրկյան"; + public string TimeSpanSingleMinute => "մեկ րոպե"; + public string TimeSpanSingleSecond => "մեկ վայրկյան"; + public string TimeSpanSingleWeek => "մեկ շաբաթ"; + public string TimeSpanZero => "ժամանակը բացակայում է"; + public string DateMultipleDaysFromNow => "{0} օրից"; + public string DateMultipleHoursFromNow => "{0} ժամից"; + public string DateMultipleMinutesFromNow => "{0} րոպեից"; + public string DateMultipleMonthsFromNow => "{0} ամսից"; + public string DateMultipleSecondsFromNow => "{0} վայրկյանից"; + public string DateMultipleYearsFromNow => "{0} տարուց"; + public string DateSingleDayFromNow => "վաղը"; + public string DateSingleHourFromNow => "մեկ ժամից"; + public string DateSingleMinuteFromNow => "մեկ րոպեից"; + public string DateSingleMonthFromNow => "մեկ ամսից"; + public string DateSingleSecondFromNow => "մեկ վայրկյանից"; + public string DateSingleYearFromNow => "մեկ տարուց"; + public string TimeSpanMultipleMonths => "{0} ամիս"; + public string TimeSpanMultipleYears => "{0} տարի"; + public string TimeSpanSingleMonth => "մեկ ամիս"; + public string TimeSpanSingleYear => "մեկ տարի"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/AzerbaijaniResources.cs b/src/Humanizer/Resources/AzerbaijaniResources.cs new file mode 100644 index 000000000..58ffb580f --- /dev/null +++ b/src/Humanizer/Resources/AzerbaijaniResources.cs @@ -0,0 +1,191 @@ +class AzerbaijaniResources : IResources +{ + public string Culture => "az"; + public static AzerbaijaniResources Instance => new(); + public string DateSingleSecondAgo => "bir saniyə əvvəl"; + public string DateMultipleSecondsAgo => "{0} saniyə əvvəl"; + public string DateSingleMinuteAgo => "bir dəqiqə əvvəl"; + public string DateMultipleMinutesAgo => "{0} dəqiqə əvvəl"; + public string DateSingleHourAgo => "bir saat əvvəl"; + public string DateMultipleHoursAgo => "{0} saat əvvəl"; + public string DateSingleDayAgo => "dünən"; + public string DateMultipleDaysAgo => "{0} gün əvvəl"; + public string DateSingleMonthAgo => "bir ay əvvəl"; + public string DateMultipleMonthsAgo => "{0} ay əvvəl"; + public string DateSingleYearAgo => "bir il əvvəl"; + public string DateMultipleYearsAgo => "{0} il əvvəl"; + public string TimeSpanMultipleDays => "{0} gün"; + public string TimeSpanMultipleHours => "{0} saat"; + public string TimeSpanMultipleMilliseconds => "{0} millisaniyə"; + public string TimeSpanMultipleMinutes => "{0} dəqiqə"; + public string TimeSpanMultipleSeconds => "{0} saniyə"; + public string TimeSpanSingleDay => "1 gün"; + public string TimeSpanSingleHour => "1 saat"; + public string TimeSpanSingleMillisecond => "1 millisaniyə"; + public string TimeSpanSingleMinute => "1 dəqiqə"; + public string TimeSpanSingleSecond => "1 saniyə"; + public string TimeSpanZero => "zaman fərqi yoxdur"; + public string TimeSpanMultipleWeeks => "{0} həftə"; + public string TimeSpanSingleWeek => "1 həftə"; + public string DateMultipleDaysFromNow => "{0} gün sonra"; + public string DateMultipleHoursFromNow => "{0} saat sonra"; + public string DateMultipleMinutesFromNow => "{0} dəqiqə sonra"; + public string DateMultipleMonthsFromNow => "{0} ay sonra"; + public string DateMultipleSecondsFromNow => "{0} saniyə sonra"; + public string DateMultipleYearsFromNow => "{0} il sonra"; + public string DateNow => "indi"; + public string DateSingleDayFromNow => "sabah"; + public string DateSingleHourFromNow => "bir saat sonra"; + public string DateSingleMinuteFromNow => "bir dəqiqə sonra"; + public string DateSingleMonthFromNow => "bir ay sonra"; + public string DateSingleSecondFromNow => "bir saniyə sonra"; + public string DateSingleYearFromNow => "bir il sonra"; + public string TimeSpanMultipleMonths => "{0} ay"; + public string TimeSpanMultipleYears => "{0} il"; + public string TimeSpanSingleMonth => "1 ay"; + public string TimeSpanSingleYear => "1 il"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/BanglaBangladeshResources.cs b/src/Humanizer/Resources/BanglaBangladeshResources.cs new file mode 100644 index 000000000..7e9e9c547 --- /dev/null +++ b/src/Humanizer/Resources/BanglaBangladeshResources.cs @@ -0,0 +1,191 @@ +class BanglaBangladeshResources : IResources +{ + public string Culture => "bn-BD"; + public static BanglaBangladeshResources Instance => new(); + public string DateSingleSecondAgo => "এক সেকেন্ড আগে"; + public string DateMultipleSecondsAgo => "{0} সেকেন্ড আগে"; + public string DateSingleMinuteAgo => "এক মিনিট আগে"; + public string DateMultipleMinutesAgo => "{0} মিনিট আগে"; + public string DateSingleHourAgo => "এক ঘণ্টা আগে"; + public string DateMultipleHoursAgo => "{0} ঘণ্টা আগে"; + public string DateSingleDayAgo => "গতকাল"; + public string DateMultipleDaysAgo => "{0} দিন আগে"; + public string DateSingleMonthAgo => "এক মাস আগে"; + public string DateMultipleMonthsAgo => "{0} মাস আগে"; + public string DateSingleYearAgo => "এক বছর আগে"; + public string DateMultipleYearsAgo => "{0} বছর আগে"; + public string TimeSpanMultipleDays => "{0} দিন"; + public string TimeSpanMultipleHours => "{0} ঘণ্টা"; + public string TimeSpanMultipleMilliseconds => "{0} মিলিসেকেন্ড"; + public string TimeSpanMultipleMinutes => "{0} মিনিট"; + public string TimeSpanMultipleSeconds => "{0} সেকেন্ড"; + public string TimeSpanSingleDay => "এক দিন"; + public string TimeSpanSingleHour => "এক ঘণ্টা"; + public string TimeSpanSingleMillisecond => "এক মিলিসেকেন্ড"; + public string TimeSpanSingleMinute => "এক মিনিট"; + public string TimeSpanSingleSecond => "এক সেকেন্ড"; + public string TimeSpanZero => "শূন্য সময়"; + public string TimeSpanMultipleWeeks => "{0} সপ্তাহ"; + public string TimeSpanSingleWeek => "এক সপ্তাহ"; + public string DateMultipleDaysFromNow => "{0} দিন পর"; + public string DateMultipleHoursFromNow => "{0} ঘণ্টা পর"; + public string DateMultipleMinutesFromNow => "{0} মিনিট পর"; + public string DateMultipleMonthsFromNow => "{0} মাস পর"; + public string DateMultipleSecondsFromNow => "{0} সেকেন্ড পর"; + public string DateMultipleYearsFromNow => "{0} বছর পর"; + public string DateNow => "এখন"; + public string DateSingleDayFromNow => "আগামিকাল"; + public string DateSingleHourFromNow => "এক ঘণ্টা পর"; + public string DateSingleMinuteFromNow => "এক মিনিট পর"; + public string DateSingleMonthFromNow => "এক মাস পর"; + public string DateSingleSecondFromNow => "এক সেকেন্ড পর"; + public string DateSingleYearFromNow => "এক বছর পর"; + public string TimeSpanMultipleMonths => "{0} মাস"; + public string TimeSpanMultipleYears => "{0} বছর"; + public string TimeSpanSingleMonth => "এক মাসের"; + public string TimeSpanSingleYear => "এক বছর"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/BulgarianResources.cs b/src/Humanizer/Resources/BulgarianResources.cs new file mode 100644 index 000000000..cf89c431a --- /dev/null +++ b/src/Humanizer/Resources/BulgarianResources.cs @@ -0,0 +1,191 @@ +class BulgarianResources : IResources +{ + public string Culture => "bg"; + public static BulgarianResources Instance => new(); + public string DateSingleSecondAgo => "преди секунда"; + public string DateMultipleSecondsAgo => "преди {0} секунди"; + public string DateSingleMinuteAgo => "преди минута"; + public string DateMultipleMinutesAgo => "преди {0} минути"; + public string DateSingleHourAgo => "преди час"; + public string DateMultipleHoursAgo => "преди {0} часа"; + public string DateSingleDayAgo => "вчера"; + public string DateMultipleDaysAgo => "преди {0} дена"; + public string DateSingleMonthAgo => "преди месец"; + public string DateMultipleMonthsAgo => "преди {0} месеца"; + public string DateSingleYearAgo => "преди година"; + public string DateMultipleYearsAgo => "преди {0} години"; + public string TimeSpanMultipleDays => "{0} дена"; + public string TimeSpanMultipleHours => "{0} часа"; + public string TimeSpanMultipleMilliseconds => "{0} милисекунди"; + public string TimeSpanMultipleMinutes => "{0} минути"; + public string TimeSpanMultipleSeconds => "{0} секунди"; + public string TimeSpanSingleDayWords => "един ден"; + public string TimeSpanSingleHourWords => "един час"; + public string TimeSpanSingleMillisecondWords => "една милисекунда"; + public string TimeSpanSingleMinuteWords => "една минута"; + public string TimeSpanSingleSecondWords => "една секунда"; + public string TimeSpanSingleWeekWords => "една седмица"; + public string TimeSpanSingleMonthWords => "един месец"; + public string TimeSpanSingleYearWords => "една година"; + public string TimeSpanZero => "няма време"; + public string TimeSpanMultipleWeeks => "{0} седмици"; + public string DateMultipleDaysFromNow => "след {0} дена"; + public string DateMultipleHoursFromNow => "след {0} часа"; + public string DateMultipleMinutesFromNow => "след {0} минути"; + public string DateMultipleMonthsFromNow => "след {0} месеца"; + public string DateMultipleSecondsFromNow => "след {0} секунди"; + public string DateMultipleYearsFromNow => "след {0} години"; + public string DateNow => "сега"; + public string DateSingleDayFromNow => "утре"; + public string DateSingleHourFromNow => "след час"; + public string DateSingleMinuteFromNow => "след минута"; + public string DateSingleMonthFromNow => "след месец"; + public string DateSingleSecondFromNow => "след секунда"; + public string DateSingleYearFromNow => "след година"; + public string TimeSpanMultipleMonths => "{0} месеца"; + public string TimeSpanMultipleYears => "{0} години"; + public string TimeSpanSingleDay => "1 ден"; + public string TimeSpanSingleHour => "1 час"; + public string TimeSpanSingleMillisecond => "1 милисекунда"; + public string TimeSpanSingleMinute => "1 минута"; + public string TimeSpanSingleSecond => "1 секунда"; + public string TimeSpanSingleWeek => "1 седмица"; + public string TimeSpanSingleMonth => "1 месец"; + public string TimeSpanSingleYear => "1 година"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/CentralKurdishResources.cs b/src/Humanizer/Resources/CentralKurdishResources.cs new file mode 100644 index 000000000..7ee564288 --- /dev/null +++ b/src/Humanizer/Resources/CentralKurdishResources.cs @@ -0,0 +1,191 @@ +class CentralKurdishResources : IResources +{ + public string Culture => "ku"; + public static CentralKurdishResources Instance => new(); + public string DateSingleSecondAgo => "چرکەیەک لەمەوبەر"; + public string DateMultipleSecondsAgo => "{0} چرکە لەمەوبەر"; + public string DateSingleMinuteAgo => "خولەکێک لەمەوبەر"; + public string DateMultipleMinutesAgo => "{0} خولەک لەمەوبەر"; + public string DateSingleHourAgo => "کاتژمێرێک لەمەوبەر"; + public string DateMultipleHoursAgo => "{0} کاتژمێر لەمەوبەر"; + public string DateSingleDayAgo => "دوێنێ"; + public string DateMultipleDaysAgo => "{0} ڕۆژ لەمەوبەر"; + public string DateSingleMonthAgo => "مانگێک لەمەوبەر"; + public string DateMultipleMonthsAgo => "{0} مانگ لەمەوبەر"; + public string DateSingleYearAgo => "ساڵێک لەمەوبەر"; + public string DateMultipleYearsAgo => "{0} ساڵ لەمەوبەر"; + public string TimeSpanMultipleDays => "{0} ڕۆژ"; + public string TimeSpanMultipleHours => "{0} کاتژمێر"; + public string TimeSpanMultipleMilliseconds => "{0} میلیچرکە"; + public string TimeSpanMultipleMinutes => "{0} خولەک"; + public string TimeSpanMultipleSeconds => "{0} چرکە"; + public string TimeSpanSingleDay => "1 ڕۆژ"; + public string TimeSpanSingleHour => "1 کاتژمێر"; + public string TimeSpanSingleMillisecond => "1 میلیچرکە"; + public string TimeSpanSingleMinute => "1 خولەک"; + public string TimeSpanSingleSecond => "1 چرکە"; + public string TimeSpanZero => "ئێستا"; + public string TimeSpanMultipleWeeks => "{0} هەفتە"; + public string TimeSpanSingleWeek => "1 هەفتە"; + public string DateMultipleDaysFromNow => "{0} ڕۆژی دیکە"; + public string DateMultipleHoursFromNow => "{0} کاتژمێری دیکە"; + public string DateMultipleMinutesFromNow => "{0} خولەکی دیکە"; + public string DateMultipleMonthsFromNow => "{0} مانگی دیکە"; + public string DateMultipleSecondsFromNow => "{0} چرکەی دیکە"; + public string DateMultipleYearsFromNow => "{0} ساڵی دیکە"; + public string DateNow => "ئێستا"; + public string DateSingleDayFromNow => "بەیانی"; + public string DateSingleHourFromNow => "کاتژمێرێکی دیکە"; + public string DateSingleMinuteFromNow => "خولەکێکی دیکە"; + public string DateSingleMonthFromNow => "مانگێکی دیکە"; + public string DateSingleSecondFromNow => "چرکەیەکی دیکە"; + public string DateSingleYearFromNow => "ساڵێکی دیکە"; + public string DateMultipleHoursFromNowDual => "{0} کاتژمێری دیکە"; + public string DateMultipleMinutesFromNowPlural => "{0} خولەکی دیکە"; + public string DateMultipleSecondsAgoDual => "{0} چرکە لەمەوبەر"; + public string DateMultipleSecondsFromNowDual => "{0} چرکەی دیکە"; + public string DateMultipleYearsFromNowDual => "{0} ساڵی دیکە"; + public string TimeSpanMultipleDaysDual => "{0} ڕۆژ"; + public string TimeSpanMultipleDaysPlural => "{0} ڕۆژ"; + public string TimeSpanMultipleHoursPlural => "{0} کاتژمێر"; + public string TimeSpanMultipleMillisecondsDual => "{0} میلیچرکە"; + public string TimeSpanMultipleMinutesDual => "{0} خولەک"; + public string TimeSpanMultipleMinutesPlural => "{0} خولەک"; + public string TimeSpanMultipleSecondsPlural => "{0} چرکە"; + public string TimeSpanMultipleMillisecondsPlural => "{0} میلیچرکە"; + public string DateMultipleDaysAgoDual => "{0} ڕۆژ لەمەوبەر"; + public string DateMultipleDaysAgoPlural => "{0} ڕۆژ لەمەوبەر"; + public string DateMultipleDaysAgoSingular => "{0} ڕۆژ لەمەوبەر"; + public string DateMultipleDaysFromNowDual => "{0} ڕۆژی دیکە"; + public string DateMultipleDaysFromNowPlural => "{0} ڕۆژی دیکە"; + public string DateMultipleDaysFromNowSingular => "{0} ڕۆژی دیکە"; + public string DateMultipleHoursAgoDual => "{0} کاتژمێر لەمەوبەر"; + public string DateMultipleHoursAgoPlural => "{0} کاتژمێر لەمەوبەر"; + public string DateMultipleHoursAgoSingular => "{0} کاتژمێر لەمەوبەر"; + public string DateMultipleHoursFromNowPlural => "{0} کاتژمێری دیکە"; + public string DateMultipleHoursFromNowSingular => "{0} کاتژمێری دیکە"; + public string DateMultipleMinutesAgoDual => "{0} خولەک لەمەوبەر"; + public string DateMultipleMinutesAgoPlural => "{0} خولەک لەمەوبەر"; + public string DateMultipleMinutesAgoSingular => "{0} خولەک لەمەوبەر"; + public string DateMultipleMinutesFromNowDual => "{0} خولەکی دیکە"; + public string DateMultipleMinutesFromNowSingular => "{0} خولەکی دیکە"; + public string DateMultipleMonthsAgoDual => "{0} مانگ لەمەوبەر"; + public string DateMultipleMonthsAgoPlural => "{0} مانگ لەمەوبەر"; + public string DateMultipleMonthsAgoSingular => "{0} مانگ لەمەوبەر"; + public string DateMultipleMonthsFromNowDual => "{0} مانگی دیکە"; + public string DateMultipleMonthsFromNowPlural => "{0} مانگی دیکە"; + public string DateMultipleMonthsFromNowSingular => "{0} مانگی دیکە"; + public string DateMultipleSecondsAgoPlural => "{0} چرکە لەمەوبەر"; + public string DateMultipleSecondsAgoSingular => "{0} چرکە لەمەوبەر"; + public string DateMultipleSecondsFromNowPlural => "{0} چرکەی دیکە"; + public string DateMultipleSecondsFromNowSingular => "{0} چرکەی دیکە"; + public string DateMultipleYearsAgoDual => "{0} ساڵ لەمەوبەر"; + public string DateMultipleYearsAgoPlural => "{0} ساڵ لەمەوبەر"; + public string DateMultipleYearsAgoSingular => "{0} ساڵ لەمەوبەر"; + public string DateMultipleYearsFromNowPlural => "{0} ساڵی دیکە"; + public string DateMultipleYearsFromNowSingular => "{0} ساڵی دیکە"; + public string TimeSpanMultipleDaysSingular => "{0} ڕۆژ"; + public string TimeSpanMultipleHoursDual => "{0} کاتژمێر"; + public string TimeSpanMultipleHoursSingular => "{0} کاتژمێر"; + public string TimeSpanMultipleMillisecondsSingular => "{0} میلیچرکە"; + public string TimeSpanMultipleMinutesSingular => "{0} خولەک"; + public string TimeSpanMultipleSecondsDual => "{0} چرکە"; + public string TimeSpanMultipleSecondsSingular => "{0} چرکە"; + public string TimeSpanMultipleWeeksDual => "{0} هەفتە"; + public string TimeSpanMultipleWeeksPlural => "{0} هەفتە"; + public string TimeSpanMultipleWeeksSingular => "{0} هەفتە"; + public string TimeSpanMultipleMonths => "{0} مانگ"; + public string TimeSpanMultipleYears => "{0} ساڵ"; + public string TimeSpanSingleMonth => "1 مانگ"; + public string TimeSpanSingleYear => "1 ساڵ"; + public string DateMultipleHoursAgoPaucal => "{0} کاتژمێر لەمەوبەر"; + public string DateMultipleHoursFromNowPaucal => "{0} کاتژمێری دیکە"; + public string DateMultipleMinutesAgoPaucal => "{0} خولەک لەمەوبەر"; + public string DateMultipleMinutesFromNowPaucal => "{0} خولەکی دیکە"; + public string DateMultipleMonthsAgoPaucal => "{0} مانگ لەمەوبەر"; + public string DateMultipleMonthsFromNowPaucal => "{0} مانگی دیکە"; + public string DateMultipleSecondsAgoPaucal => "{0} چرکە لەمەوبەر"; + public string DateMultipleSecondsFromNowPaucal => "{0} چرکەی دیکە"; + public string DateMultipleYearsAgoPaucal => "{0} ساڵ لەمەوبەر"; + public string DateMultipleYearsFromNowPaucal => "{0} ساڵی دیکە"; + public string TimeSpanMultipleHoursPaucal => "{0} کاتژمێر"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} میلیچرکە"; + public string TimeSpanMultipleMinutesPaucal => "{0} خولەک"; + public string TimeSpanMultipleSecondsPaucal => "{0} چرکە"; + public string TimeSpanMultipleWeeksPaucal => "{0} هەفتە"; + public string DateNever => "هەرگیز"; + public string TimeSpanMultipleMonthsDual => "{0} مانگ"; + public string TimeSpanMultipleMonthsPaucal => "{0} مانگ"; + public string TimeSpanMultipleMonthsPlural => "{0} مانگ"; + public string TimeSpanMultipleMonthsSingular => "{0} مانگ"; + public string TimeSpanMultipleYearsDual => "{0} ساڵ"; + public string TimeSpanMultipleYearsPaucal => "{0} ساڵ"; + public string TimeSpanMultipleYearsPlural => "{0} ساڵ"; + public string TimeSpanMultipleYearsSingular => "{0} ساڵ"; + public string TimeSpanSingleDayWords => "یەک ڕۆژ"; + public string TimeSpanSingleHourWords => "یەک کاتژمێر"; + public string TimeSpanSingleMillisecondWords => "یەک میلیچرکە"; + public string TimeSpanSingleMinuteWords => "یەک خولەک"; + public string TimeSpanSingleMonthWords => "یەک مانگ"; + public string TimeSpanSingleSecondWords => "یەک چرکە"; + public string TimeSpanSingleWeekWords => "یەک هەفتە"; + public string TimeSpanSingleYearWords => "یەک ساڵ"; + public string TimeSpanMultipleDaysPaucal => "{0} ڕۆژ"; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ChineseSimplifiedPRCResources.cs b/src/Humanizer/Resources/ChineseSimplifiedPRCResources.cs new file mode 100644 index 000000000..d514cdc15 --- /dev/null +++ b/src/Humanizer/Resources/ChineseSimplifiedPRCResources.cs @@ -0,0 +1,191 @@ +class ChineseSimplifiedPRCResources : IResources +{ + public string Culture => "zh-CN"; + public static ChineseSimplifiedPRCResources Instance => new(); + public string DateSingleSecondAgo => "1 秒钟前"; + public string DateMultipleSecondsAgo => "{0} 秒钟前"; + public string DateSingleMinuteAgo => "1 分钟前"; + public string DateMultipleMinutesAgo => "{0} 分钟前"; + public string DateSingleHourAgo => "1 小时前"; + public string DateMultipleHoursAgo => "{0} 小时前"; + public string DateSingleDayAgo => "昨天"; + public string DateMultipleDaysAgo => "{0} 天前"; + public string DateSingleMonthAgo => "1 个月前"; + public string DateMultipleMonthsAgo => "{0} 个月前"; + public string DateSingleYearAgo => "去年"; + public string DateMultipleYearsAgo => "{0} 年前"; + public string TimeSpanMultipleDays => "{0} 天"; + public string TimeSpanMultipleHours => "{0} 小时"; + public string TimeSpanMultipleMilliseconds => "{0} 毫秒"; + public string TimeSpanMultipleMinutes => "{0} 分"; + public string TimeSpanMultipleSeconds => "{0} 秒"; + public string TimeSpanSingleDay => "1 天"; + public string TimeSpanSingleHour => "1 小时"; + public string TimeSpanSingleMillisecond => "1 毫秒"; + public string TimeSpanSingleMinute => "1 分"; + public string TimeSpanSingleSecond => "1 秒"; + public string TimeSpanZero => "没有时间"; + public string TimeSpanMultipleWeeks => "{0} 周"; + public string TimeSpanSingleWeek => "1 周"; + public string DateMultipleDaysFromNow => "{0} 天后"; + public string DateMultipleHoursFromNow => "{0} 小时后"; + public string DateMultipleMinutesFromNow => "{0} 分钟后"; + public string DateMultipleMonthsFromNow => "{0} 个月后"; + public string DateMultipleSecondsFromNow => "{0} 秒钟后"; + public string DateMultipleYearsFromNow => "{0} 年后"; + public string DateNow => "现在"; + public string DateSingleDayFromNow => "明天"; + public string DateSingleHourFromNow => "1 小时后"; + public string DateSingleMinuteFromNow => "1 分钟后"; + public string DateSingleMonthFromNow => "1 个月后"; + public string DateSingleSecondFromNow => "1 秒钟后"; + public string DateSingleYearFromNow => "明年"; + public string TimeSpanMultipleMonths => "{0} 个月"; + public string TimeSpanMultipleYears => "{0} 年"; + public string TimeSpanSingleMonth => "1 个月"; + public string TimeSpanSingleYear => "1 年"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ChineseSimplifiedResources.cs b/src/Humanizer/Resources/ChineseSimplifiedResources.cs new file mode 100644 index 000000000..1c6f02f08 --- /dev/null +++ b/src/Humanizer/Resources/ChineseSimplifiedResources.cs @@ -0,0 +1,191 @@ +class ChineseSimplifiedResources : IResources +{ + public string Culture => "zh-Hans"; + public static ChineseSimplifiedResources Instance => new(); + public string DateSingleSecondAgo => "1 秒钟前"; + public string DateMultipleSecondsAgo => "{0} 秒钟前"; + public string DateSingleMinuteAgo => "1 分钟前"; + public string DateMultipleMinutesAgo => "{0} 分钟前"; + public string DateSingleHourAgo => "1 小时前"; + public string DateMultipleHoursAgo => "{0} 小时前"; + public string DateSingleDayAgo => "昨天"; + public string DateMultipleDaysAgo => "{0} 天前"; + public string DateSingleMonthAgo => "1 个月前"; + public string DateMultipleMonthsAgo => "{0} 个月前"; + public string DateSingleYearAgo => "去年"; + public string DateMultipleYearsAgo => "{0} 年前"; + public string TimeSpanMultipleDays => "{0} 天"; + public string TimeSpanMultipleHours => "{0} 小时"; + public string TimeSpanMultipleMilliseconds => "{0} 毫秒"; + public string TimeSpanMultipleMinutes => "{0} 分"; + public string TimeSpanMultipleSeconds => "{0} 秒"; + public string TimeSpanSingleDay => "1 天"; + public string TimeSpanSingleHour => "1 小时"; + public string TimeSpanSingleMillisecond => "1 毫秒"; + public string TimeSpanSingleMinute => "1 分"; + public string TimeSpanSingleSecond => "1 秒"; + public string TimeSpanZero => "没有时间"; + public string TimeSpanMultipleWeeks => "{0} 周"; + public string TimeSpanSingleWeek => "1 周"; + public string DateMultipleDaysFromNow => "{0} 天后"; + public string DateMultipleHoursFromNow => "{0} 小时后"; + public string DateMultipleMinutesFromNow => "{0} 分钟后"; + public string DateMultipleMonthsFromNow => "{0} 个月后"; + public string DateMultipleSecondsFromNow => "{0} 秒钟后"; + public string DateMultipleYearsFromNow => "{0} 年后"; + public string DateNow => "现在"; + public string DateSingleDayFromNow => "明天"; + public string DateSingleHourFromNow => "1 小时后"; + public string DateSingleMinuteFromNow => "1 分钟后"; + public string DateSingleMonthFromNow => "1 个月后"; + public string DateSingleSecondFromNow => "1 秒钟后"; + public string DateSingleYearFromNow => "明年"; + public string TimeSpanMultipleMonths => "{0} 个月"; + public string TimeSpanMultipleYears => "{0} 年"; + public string TimeSpanSingleMonth => "1 个月"; + public string TimeSpanSingleYear => "1 年"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ChineseTraditionalResources.cs b/src/Humanizer/Resources/ChineseTraditionalResources.cs new file mode 100644 index 000000000..59a2dcbf2 --- /dev/null +++ b/src/Humanizer/Resources/ChineseTraditionalResources.cs @@ -0,0 +1,191 @@ +class ChineseTraditionalResources : IResources +{ + public string Culture => "zh-Hant"; + public static ChineseTraditionalResources Instance => new(); + public string DateSingleSecondAgo => "1 秒鐘前"; + public string DateMultipleSecondsAgo => "{0} 秒鐘前"; + public string DateSingleMinuteAgo => "1 分鐘前"; + public string DateMultipleMinutesAgo => "{0} 分鐘前"; + public string DateSingleHourAgo => "1 小時前"; + public string DateMultipleHoursAgo => "{0} 小時前"; + public string DateSingleDayAgo => "昨天"; + public string DateMultipleDaysAgo => "{0} 天前"; + public string DateSingleMonthAgo => "1 個月前"; + public string DateMultipleMonthsAgo => "{0} 個月前"; + public string DateSingleYearAgo => "去年"; + public string DateMultipleYearsAgo => "{0} 年前"; + public string TimeSpanMultipleDays => "{0} 天"; + public string TimeSpanMultipleHours => "{0} 小時"; + public string TimeSpanMultipleMilliseconds => "{0} 毫秒"; + public string TimeSpanMultipleMinutes => "{0} 分"; + public string TimeSpanMultipleSeconds => "{0} 秒"; + public string TimeSpanSingleDay => "1 天"; + public string TimeSpanSingleHour => "1 小時"; + public string TimeSpanSingleMillisecond => "1 毫秒"; + public string TimeSpanSingleMinute => "1 分"; + public string TimeSpanSingleSecond => "1 秒"; + public string TimeSpanZero => "沒有時間"; + public string TimeSpanMultipleWeeks => "{0} 周"; + public string TimeSpanSingleWeek => "1 周"; + public string DateMultipleDaysFromNow => "{0} 天後"; + public string DateMultipleHoursFromNow => "{0} 小時後"; + public string DateMultipleMinutesFromNow => "{0} 分鐘後"; + public string DateMultipleMonthsFromNow => "{0} 個月後"; + public string DateMultipleSecondsFromNow => "{0} 秒鐘後"; + public string DateMultipleYearsFromNow => "{0} 年後"; + public string DateNow => "現在"; + public string DateSingleDayFromNow => "明天"; + public string DateSingleHourFromNow => "1 小時後"; + public string DateSingleMinuteFromNow => "1 分鐘後"; + public string DateSingleMonthFromNow => "1 個月後"; + public string DateSingleSecondFromNow => "1 秒鐘後"; + public string DateSingleYearFromNow => "明年"; + public string TimeSpanMultipleMonths => "{0} 個月"; + public string TimeSpanMultipleYears => "{0} 年"; + public string TimeSpanSingleMonth => "1 個月"; + public string TimeSpanSingleYear => "1 年"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/CroatianResources.cs b/src/Humanizer/Resources/CroatianResources.cs new file mode 100644 index 000000000..4a32c87e8 --- /dev/null +++ b/src/Humanizer/Resources/CroatianResources.cs @@ -0,0 +1,191 @@ +class CroatianResources : IResources +{ + public string Culture => "hr"; + public static CroatianResources Instance => new(); + public string DateSingleSecondAgo => "prije jedne sekunde"; + public string DateMultipleSecondsAgo => "prije {0} sekundi"; + public string DateMultipleSecondsAgoPaucal => "prije {0} sekunde"; + public string DateSingleMinuteAgo => "prije jedne minute"; + public string DateMultipleMinutesAgo => "prije {0} minuta"; + public string DateMultipleMinutesAgoPaucal => "prije {0} minute"; + public string DateSingleHourAgo => "prije sat vremena"; + public string DateMultipleHoursAgo => "prije {0} sati"; + public string DateMultipleHoursAgoPaucal => "prije {0} sata"; + public string DateSingleDayAgo => "jučer"; + public string DateMultipleDaysAgo => "prije {0} dana"; + public string DateSingleMonthAgo => "prije mjesec dana"; + public string DateMultipleMonthsAgo => "prije {0} mjeseci"; + public string DateMultipleMonthsAgoPaucal => "prije {0} mjeseca"; + public string DateSingleYearAgo => "prije godinu dana"; + public string DateMultipleYearsAgo => "prije {0} godina"; + public string DateMultipleYearsAgoPaucal => "prije {0} godine"; + public string TimeSpanMultipleDays => "{0} dana"; + public string TimeSpanMultipleDaysPaucal => "{0} dana"; + public string TimeSpanMultipleHours => "{0} sati"; + public string TimeSpanMultipleHoursPaucal => "{0} sata"; + public string TimeSpanMultipleMilliseconds => "{0} milisekundi"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekunde"; + public string TimeSpanMultipleMinutes => "{0} minuta"; + public string TimeSpanMultipleMinutesPaucal => "{0} minute"; + public string TimeSpanMultipleSeconds => "{0} sekundi"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekunde"; + public string TimeSpanSingleDay => "1 dan"; + public string TimeSpanSingleHour => "1 sat"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minuta"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "bez podatka o vremenu"; + public string TimeSpanMultipleWeeks => "{0} tjedana"; + public string TimeSpanMultipleWeeksPaucal => "{0} tjedna"; + public string TimeSpanSingleWeek => "1 tjedan"; + public string DateMultipleDaysFromNow => "za {0} dana"; + public string DateMultipleHoursFromNow => "za {0} sati"; + public string DateMultipleHoursFromNowPaucal => "za {0} sata"; + public string DateMultipleMinutesFromNow => "za {0} minuta"; + public string DateMultipleMinutesFromNowPaucal => "za {0} minute"; + public string DateMultipleMonthsFromNow => "za {0} mjeseci"; + public string DateMultipleMonthsFromNowPaucal => "za {0} mjeseca"; + public string DateMultipleSecondsFromNow => "za {0} sekundi"; + public string DateMultipleSecondsFromNowPaucal => "za {0} sekunde"; + public string DateMultipleYearsFromNow => "za {0} godina"; + public string DateMultipleYearsFromNowPaucal => "za {0} godine"; + public string DateNow => "upravo sada"; + public string DateSingleDayFromNow => "sutra"; + public string DateSingleHourFromNow => "za sat vremena"; + public string DateSingleMinuteFromNow => "za jednu minutu"; + public string DateSingleMonthFromNow => "za mjesec dana"; + public string DateSingleSecondFromNow => "za jednu sekundu"; + public string DateSingleYearFromNow => "za godinu dana"; + public string TimeSpanMultipleMonths => "{0} mjeseci"; + public string TimeSpanMultipleMonthsPaucal => "{0} mjeseca"; + public string TimeSpanMultipleYears => "{0} godina"; + public string TimeSpanMultipleYearsPaucal => "{0} godine"; + public string TimeSpanSingleMonth => "1 mjesec"; + public string TimeSpanSingleYear => "1 godina"; + public string DateMultipleDaysAgoPaucal => "prije {0} dana"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/CzechResources.cs b/src/Humanizer/Resources/CzechResources.cs new file mode 100644 index 000000000..3163b3e00 --- /dev/null +++ b/src/Humanizer/Resources/CzechResources.cs @@ -0,0 +1,191 @@ +class CzechResources : IResources +{ + public string Culture => "cs"; + public static CzechResources Instance => new(); + public string DateSingleSecondAgo => "před sekundou"; + public string DateMultipleSecondsAgo => "před {0} sekundami"; + public string DateSingleMinuteAgo => "před minutou"; + public string DateMultipleMinutesAgo => "před {0} minutami"; + public string DateSingleHourAgo => "před hodinou"; + public string DateMultipleHoursAgo => "před {0} hodinami"; + public string DateSingleDayAgo => "včera"; + public string DateMultipleDaysAgo => "před {0} dny"; + public string DateSingleMonthAgo => "před měsícem"; + public string DateMultipleMonthsAgo => "před {0} měsíci"; + public string DateSingleYearAgo => "před rokem"; + public string DateMultipleYearsAgo => "před {0} lety"; + public string TimeSpanMultipleDays => "{0} dnů"; + public string TimeSpanMultipleHours => "{0} hodin"; + public string TimeSpanMultipleMilliseconds => "{0} milisekund"; + public string TimeSpanMultipleMinutes => "{0} minut"; + public string TimeSpanMultipleSeconds => "{0} sekund"; + public string TimeSpanSingleDay => "1 den"; + public string TimeSpanSingleHour => "1 hodina"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minuta"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "není čas"; + public string TimeSpanMultipleWeeks => "{0} týdnů"; + public string TimeSpanSingleWeek => "1 týden"; + public string DateMultipleDaysFromNow => "za {0} dnů"; + public string DateMultipleHoursFromNow => "za {0} hodin"; + public string DateMultipleMinutesFromNow => "za {0} minut"; + public string DateMultipleMonthsFromNow => "za {0} měsíců"; + public string DateMultipleSecondsFromNow => "za {0} sekund"; + public string DateMultipleYearsFromNow => "za {0} let"; + public string DateNow => "teď"; + public string DateSingleDayFromNow => "zítra"; + public string DateSingleHourFromNow => "za hodinu"; + public string DateSingleMinuteFromNow => "za minutu"; + public string DateSingleMonthFromNow => "za měsíc"; + public string DateSingleSecondFromNow => "za sekundu"; + public string DateSingleYearFromNow => "za rok"; + public string DateMultipleDaysAgoPaucal => "před {0} dny"; + public string DateMultipleDaysFromNowPaucal => "za {0} dny"; + public string DateMultipleHoursAgoPaucal => "před {0} hodinami"; + public string DateMultipleHoursFromNowPaucal => "za {0} hodiny"; + public string DateMultipleMinutesAgoPaucal => "před {0} minutami"; + public string DateMultipleMinutesFromNowPaucal => "za {0} minuty"; + public string DateMultipleMonthsAgoPaucal => "před {0} měsíci"; + public string DateMultipleMonthsFromNowPaucal => "za {0} měsíce"; + public string DateMultipleSecondsAgoPaucal => "před {0} sekundami"; + public string DateMultipleSecondsFromNowPaucal => "za {0} sekundy"; + public string DateMultipleYearsAgoPaucal => "před {0} lety"; + public string DateMultipleYearsFromNowPaucal => "za {0} roky"; + public string TimeSpanMultipleDaysPaucal => "{0} dny"; + public string TimeSpanMultipleHoursPaucal => "{0} hodiny"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekundy"; + public string TimeSpanMultipleMinutesPaucal => "{0} minuty"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekundy"; + public string TimeSpanMultipleWeeksPaucal => "{0} týdny"; + public string TimeSpanMultipleMonths => "{0} měsíců"; + public string TimeSpanMultipleMonthsPaucal => "{0} měsíce"; + public string TimeSpanMultipleYears => "{0} let"; + public string TimeSpanMultipleYearsPaucal => "{0} roky"; + public string TimeSpanSingleMonth => "1 měsíc"; + public string TimeSpanSingleYear => "1 rok"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/DanishResources.cs b/src/Humanizer/Resources/DanishResources.cs new file mode 100644 index 000000000..01e93dc25 --- /dev/null +++ b/src/Humanizer/Resources/DanishResources.cs @@ -0,0 +1,191 @@ +class DanishResources : IResources +{ + public string Culture => "da"; + public static DanishResources Instance => new(); + public string DateSingleSecondAgo => "et sekund siden"; + public string DateMultipleSecondsAgo => "{0} sekunder siden"; + public string DateSingleMinuteAgo => "et minut siden"; + public string DateMultipleMinutesAgo => "{0} minutter siden"; + public string DateSingleHourAgo => "en time siden"; + public string DateMultipleHoursAgo => "{0} timer siden"; + public string DateSingleDayAgo => "i går"; + public string DateMultipleDaysAgo => "{0} dage siden"; + public string DateSingleMonthAgo => "en måned siden"; + public string DateMultipleMonthsAgo => "{0} måneder siden"; + public string DateSingleYearAgo => "et år siden"; + public string DateMultipleYearsAgo => "{0} år siden"; + public string TimeSpanMultipleDays => "{0} dage"; + public string TimeSpanMultipleHours => "{0} timer"; + public string TimeSpanMultipleMilliseconds => "{0} millisekunder"; + public string TimeSpanMultipleMinutes => "{0} minutter"; + public string TimeSpanMultipleSeconds => "{0} sekunder"; + public string TimeSpanSingleDay => "en dag"; + public string TimeSpanSingleHour => "en time"; + public string TimeSpanSingleMillisecond => "et millisekund"; + public string TimeSpanSingleMinute => "et minut"; + public string TimeSpanSingleSecond => "et sekund"; + public string TimeSpanZero => "ingen tid"; + public string TimeSpanMultipleWeeks => "{0} uger"; + public string TimeSpanSingleWeek => "en uge"; + public string DateMultipleDaysFromNow => "{0} dage fra nu"; + public string DateMultipleHoursFromNow => "{0} timer fra nu"; + public string DateMultipleMinutesFromNow => "{0} minutter fra nu"; + public string DateMultipleMonthsFromNow => "{0} måneder fra nu"; + public string DateMultipleSecondsFromNow => "{0} sekunder fra nu"; + public string DateMultipleYearsFromNow => "{0} år fra nu"; + public string DateNow => "nu"; + public string DateSingleDayFromNow => "i morgen"; + public string DateSingleHourFromNow => "en time fra nu"; + public string DateSingleMinuteFromNow => "et minut fra nu"; + public string DateSingleMonthFromNow => "en måned fra nu"; + public string DateSingleSecondFromNow => "et sekund fra nu"; + public string DateSingleYearFromNow => "et år fra nu"; + public string TimeSpanMultipleMonths => "{0} måneder"; + public string TimeSpanMultipleYears => "{0} år"; + public string TimeSpanSingleMonth => "en måned"; + public string TimeSpanSingleYear => "et år"; + public string E => "øst"; + public string ENE => "østnordøst"; + public string ENEShort => "ØNØ"; + public string ESE => "østsydøst"; + public string ESEShort => "ØSØ"; + public string EShort => "Ø"; + public string N => "nord"; + public string NE => "nordøst"; + public string NEShort => "NØ"; + public string NNE => "nordnordøst"; + public string NNEShort => "NNØ"; + public string NNW => "nordnordvest"; + public string NNWShort => "NNV"; + public string NW => "nordvest"; + public string NWShort => "NV"; + public string S => "syd"; + public string SE => "sydøst"; + public string SEShort => "SØ"; + public string SSE => "sydsydøst"; + public string SSEShort => "SSØ"; + public string SSW => "sydsydvest"; + public string SSWShort => "SSV"; + public string SW => "sydvest"; + public string SWShort => "SV"; + public string W => "vest"; + public string WNW => "vestnordvest"; + public string WNWShort => "VNV"; + public string WSW => "vestsydvest"; + public string WSWShort => "VSV"; + public string WShort => "V"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string NShort => InvariantResources.Instance.NShort; + public string SShort => InvariantResources.Instance.SShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/DutchResources.cs b/src/Humanizer/Resources/DutchResources.cs new file mode 100644 index 000000000..7076828ee --- /dev/null +++ b/src/Humanizer/Resources/DutchResources.cs @@ -0,0 +1,191 @@ +class DutchResources : IResources +{ + public string Culture => "nl"; + public static DutchResources Instance => new(); + public string DateSingleSecondAgo => "1 seconde geleden"; + public string DateMultipleSecondsAgo => "{0} seconden geleden"; + public string DateSingleMinuteAgo => "1 minuut geleden"; + public string DateMultipleMinutesAgo => "{0} minuten geleden"; + public string DateSingleHourAgo => "1 uur geleden"; + public string DateMultipleHoursAgo => "{0} uur geleden"; + public string DateSingleDayAgo => "gisteren"; + public string DateMultipleDaysAgo => "{0} dagen geleden"; + public string DateSingleMonthAgo => "1 maand geleden"; + public string DateMultipleMonthsAgo => "{0} maanden geleden"; + public string DateSingleYearAgo => "1 jaar geleden"; + public string DateMultipleYearsAgo => "{0} jaar geleden"; + public string TimeSpanMultipleDays => "{0} dagen"; + public string TimeSpanMultipleHours => "{0} uur"; + public string TimeSpanMultipleMilliseconds => "{0} milliseconden"; + public string TimeSpanMultipleMinutes => "{0} minuten"; + public string TimeSpanMultipleSeconds => "{0} seconden"; + public string TimeSpanMultipleWeeks => "{0} weken"; + public string TimeSpanSingleDay => "1 dag"; + public string TimeSpanSingleHour => "1 uur"; + public string TimeSpanSingleMillisecond => "1 milliseconde"; + public string TimeSpanSingleMinute => "1 minuut"; + public string TimeSpanSingleSecond => "1 seconde"; + public string TimeSpanSingleWeek => "1 week"; + public string TimeSpanZero => "geen tijd"; + public string DateMultipleDaysFromNow => "over {0} dagen"; + public string DateMultipleHoursFromNow => "over {0} uur"; + public string DateMultipleMinutesFromNow => "over {0} minuten"; + public string DateMultipleMonthsFromNow => "over {0} maanden"; + public string DateMultipleSecondsFromNow => "over {0} seconden"; + public string DateMultipleYearsFromNow => "over {0} jaar"; + public string DateNow => "nu"; + public string DateSingleDayFromNow => "morgen"; + public string DateSingleHourFromNow => "over 1 uur"; + public string DateSingleMinuteFromNow => "over 1 minuut"; + public string DateSingleMonthFromNow => "over 1 maand"; + public string DateSingleSecondFromNow => "over 1 seconde"; + public string DateSingleYearFromNow => "over 1 jaar"; + public string TimeSpanMultipleMonths => "{0} maanden"; + public string TimeSpanMultipleYears => "{0} jaar"; + public string TimeSpanSingleMonth => "1 maand"; + public string TimeSpanSingleYear => "1 jaar"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/FilipinoPhilippinesResources.cs b/src/Humanizer/Resources/FilipinoPhilippinesResources.cs new file mode 100644 index 000000000..08dbdbb2a --- /dev/null +++ b/src/Humanizer/Resources/FilipinoPhilippinesResources.cs @@ -0,0 +1,191 @@ +class FilipinoPhilippinesResources : IResources +{ + public string Culture => "fil-PH"; + public static FilipinoPhilippinesResources Instance => new(); + public string DateSingleSecondAgo => "isang segundo ang nakalipas"; + public string DateMultipleSecondsAgo => "{0} segundong nakalipas"; + public string DateSingleMinuteAgo => "isang minutong nakalipas"; + public string DateMultipleMinutesAgo => "{0} minutong nakalipas"; + public string DateSingleHourAgo => "isang oras ang nakalipas"; + public string DateMultipleHoursAgo => "{0} isang oras ang nakalipas"; + public string DateSingleDayAgo => "kahapon"; + public string DateMultipleDaysAgo => "{0} isang araw ang nakalipas"; + public string DateSingleMonthAgo => "isang buwan ang nakalipas"; + public string DateMultipleMonthsAgo => "{0} isang buwan ang nakalipas"; + public string DateSingleYearAgo => "isang taong nakalipas"; + public string DateMultipleYearsAgo => "{0} isang taong nakalipas"; + public string TimeSpanMultipleDays => "{0} araw"; + public string TimeSpanMultipleHours => "{0} oras"; + public string TimeSpanMultipleMilliseconds => "{0} milliseconds"; + public string TimeSpanMultipleMinutes => "{0} minuto"; + public string TimeSpanMultipleSeconds => "{0} segundo"; + public string TimeSpanSingleDay => "1 araw"; + public string TimeSpanSingleHour => "1 oras"; + public string TimeSpanSingleMillisecond => "1 millisecond"; + public string TimeSpanSingleMinute => "1 minuto"; + public string TimeSpanSingleSecond => "1 segundo"; + public string TimeSpanZero => "walang oras"; + public string TimeSpanMultipleWeeks => "{0} linggo"; + public string TimeSpanSingleWeek => "1 linggo"; + public string DateMultipleDaysFromNow => "{0} araw mula ngayon"; + public string DateMultipleHoursFromNow => "{0} oras mula ngayon"; + public string DateMultipleMinutesFromNow => "{0} minuto mula ngayon"; + public string DateMultipleMonthsFromNow => "{0} buwan mula ngayon"; + public string DateMultipleSecondsFromNow => "{0} segundo mula ngayon"; + public string DateMultipleYearsFromNow => "{0} taon mula ngayon"; + public string DateNow => "ngayon"; + public string DateSingleDayFromNow => "bukas"; + public string DateSingleHourFromNow => "isang oras mula ngayon"; + public string DateSingleMinuteFromNow => "isang minuto mula ngayon"; + public string DateSingleMonthFromNow => "isang buwan mula ngayon"; + public string DateSingleSecondFromNow => "isang segundo mula ngayon"; + public string DateSingleYearFromNow => "isang taon mula ngayon"; + public string DateMultipleHoursFromNowDual => "{0} oras mula ngayon"; + public string DateMultipleMinutesFromNowPlural => "{0} minuto mula ngayon"; + public string DateMultipleSecondsAgoDual => "{0} segundong nakalipas"; + public string DateMultipleSecondsFromNowDual => "{0} segundo mula ngayon"; + public string DateMultipleYearsFromNowDual => "{0} taon mula ngayon"; + public string TimeSpanMultipleDaysDual => "{0} araw"; + public string TimeSpanMultipleDaysPlural => "{0} araw"; + public string TimeSpanMultipleHoursPlural => "{0} oras"; + public string TimeSpanMultipleMillisecondsDual => "{0} milliseconds"; + public string TimeSpanMultipleMinutesDual => "{0} minuto"; + public string TimeSpanMultipleMinutesPlural => "{0} minuto"; + public string TimeSpanMultipleSecondsPlural => "{0} segundo"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milliseconds"; + public string DateMultipleDaysAgoDual => "{0} isang araw ang nakalipas"; + public string DateMultipleDaysAgoPlural => "{0} isang araw ang nakalipas"; + public string DateMultipleDaysAgoSingular => "{0} isang araw ang nakalipas"; + public string DateMultipleDaysFromNowDual => "{0} araw mula ngayon"; + public string DateMultipleDaysFromNowPlural => "{0} araw mula ngayon"; + public string DateMultipleDaysFromNowSingular => "{0} araw mula ngayon"; + public string DateMultipleHoursAgoDual => "{0} isang oras ang nakalipas"; + public string DateMultipleHoursAgoPlural => "{0} isang oras ang nakalipas"; + public string DateMultipleHoursAgoSingular => "{0} oras ang nakalipas"; + public string DateMultipleHoursFromNowPlural => "{0} oras mula ngayon"; + public string DateMultipleHoursFromNowSingular => "{0} oras mula ngayon"; + public string DateMultipleMinutesAgoDual => "{0} minutong nakalipas"; + public string DateMultipleMinutesAgoPlural => "{0} minutong nakalipas"; + public string DateMultipleMinutesAgoSingular => "{0} minuto ang nakalipas"; + public string DateMultipleMinutesFromNowDual => "{0} minuto mula ngayon"; + public string DateMultipleMinutesFromNowSingular => "{0} minuto mula ngayon"; + public string DateMultipleMonthsAgoDual => "{0} isang buwan ang nakalipas"; + public string DateMultipleMonthsAgoPlural => "{0} isang buwan ang nakalipas"; + public string DateMultipleMonthsAgoSingular => "{0} buwan ang nakalipas"; + public string DateMultipleMonthsFromNowDual => "{0} buwan mula ngayon"; + public string DateMultipleMonthsFromNowPlural => "{0} buwan mula ngayon"; + public string DateMultipleMonthsFromNowSingular => "{0} buwan mula ngayon"; + public string DateMultipleSecondsAgoPlural => "{0} segundong nakalipas"; + public string DateMultipleSecondsAgoSingular => "{0} segundo ang nakalipas"; + public string DateMultipleSecondsFromNowPlural => "{0} segundo mula ngayon"; + public string DateMultipleSecondsFromNowSingular => "{0} segundo mula ngayon"; + public string DateMultipleYearsAgoDual => "{0} isang taong nakalipas"; + public string DateMultipleYearsAgoPlural => "{0} isang taong nakalipas"; + public string DateMultipleYearsAgoSingular => "{0} taon ang nakalipas"; + public string DateMultipleYearsFromNowPlural => "{0} taon mula ngayon"; + public string DateMultipleYearsFromNowSingular => "{0} taon mula ngayon"; + public string TimeSpanMultipleDaysSingular => "{0} araw"; + public string TimeSpanMultipleHoursDual => "{0} oras"; + public string TimeSpanMultipleHoursSingular => "{0} oras"; + public string TimeSpanMultipleMillisecondsSingular => "{0} millisecond"; + public string TimeSpanMultipleMinutesSingular => "{0} minuto"; + public string TimeSpanMultipleSecondsDual => "{0} segundo"; + public string TimeSpanMultipleSecondsSingular => "{0} segundo"; + public string TimeSpanMultipleWeeksDual => "{0} linggo"; + public string TimeSpanMultipleWeeksPlural => "{0} linggo"; + public string TimeSpanMultipleWeeksSingular => "{0} linggo"; + public string TimeSpanMultipleMonths => "{0} buwan"; + public string TimeSpanMultipleYears => "{0} taon"; + public string TimeSpanSingleMonth => "1 buwan"; + public string TimeSpanSingleYear => "1 taon"; + public string DateMultipleHoursAgoPaucal => "{0} isang oras ang nakalipas"; + public string DateMultipleHoursFromNowPaucal => "{0} oras mula ngayon"; + public string DateMultipleMinutesAgoPaucal => "{0} minutong nakalipas"; + public string DateMultipleMinutesFromNowPaucal => "{0} minuto mula ngayon"; + public string DateMultipleMonthsAgoPaucal => "{0} isang buwan ang nakalipas"; + public string DateMultipleMonthsFromNowPaucal => "{0} buwan mula ngayon"; + public string DateMultipleSecondsAgoPaucal => "{0} segundong nakalipas"; + public string DateMultipleSecondsFromNowPaucal => "{0} segundo mula ngayon"; + public string DateMultipleYearsAgoPaucal => "{0} taon mula sa nakalipas"; + public string DateMultipleYearsFromNowPaucal => "{0} taon mula ngayon"; + public string TimeSpanMultipleHoursPaucal => "{0} oras"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milliseconds"; + public string TimeSpanMultipleMinutesPaucal => "{0} minuto"; + public string TimeSpanMultipleSecondsPaucal => "{0} segundo"; + public string TimeSpanMultipleWeeksPaucal => "{0} linggo"; + public string DateNever => "hindi kailanman"; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/FinnishFinlandResources.cs b/src/Humanizer/Resources/FinnishFinlandResources.cs new file mode 100644 index 000000000..d40c4ebb2 --- /dev/null +++ b/src/Humanizer/Resources/FinnishFinlandResources.cs @@ -0,0 +1,191 @@ +class FinnishFinlandResources : IResources +{ + public string Culture => "fi-FI"; + public static FinnishFinlandResources Instance => new(); + public string DateSingleSecondAgo => "sekuntti sitten"; + public string DateMultipleSecondsAgo => "{0} sekuntia sitten"; + public string DateSingleMinuteAgo => "minuutti sitten"; + public string DateMultipleMinutesAgo => "{0} minuuttia sitten"; + public string DateSingleHourAgo => "tunti sitten"; + public string DateMultipleHoursAgo => "{0} tuntia sitten"; + public string DateSingleDayAgo => "eilen"; + public string DateTwoDaysAgo => "toissapäivänä"; + public string DateMultipleDaysAgo => "{0} päivää sitten"; + public string DateSingleMonthAgo => "kuukausi sitten"; + public string DateMultipleMonthsAgo => "{0} kuukautta sitten"; + public string DateSingleYearAgo => "vuosi sitten"; + public string DateMultipleYearsAgo => "{0} vuotta sitten"; + public string TimeSpanSingleDay => "päivä"; + public string TimeSpanSingleHour => "tunti"; + public string TimeSpanZero => "nyt"; + public string DateSingleDayFromNow => "huomenna"; + public string DateTwoDaysFromNow => "ylihuomenna"; + public string DateMultipleDaysFromNow => "{0} päivän päästä"; + public string DateSingleHourFromNow => "tunnin päästä"; + public string DateMultipleHoursFromNow => "{0} tunnin päästä"; + public string DateSingleMinuteFromNow => "minuutin päästä"; + public string DateMultipleMinutesFromNow => "{0} minuutin päästä"; + public string DateSingleMonthFromNow => "kuukauden päästä"; + public string DateSingleYearFromNow => "vuoden päästä"; + public string TimeSpanMultipleDays => InvariantResources.Instance.TimeSpanMultipleDays; + public string TimeSpanMultipleHours => InvariantResources.Instance.TimeSpanMultipleHours; + public string TimeSpanMultipleMilliseconds => InvariantResources.Instance.TimeSpanMultipleMilliseconds; + public string TimeSpanMultipleMinutes => InvariantResources.Instance.TimeSpanMultipleMinutes; + public string TimeSpanMultipleSeconds => InvariantResources.Instance.TimeSpanMultipleSeconds; + public string TimeSpanSingleMillisecond => InvariantResources.Instance.TimeSpanSingleMillisecond; + public string TimeSpanSingleMinute => InvariantResources.Instance.TimeSpanSingleMinute; + public string TimeSpanSingleSecond => InvariantResources.Instance.TimeSpanSingleSecond; + public string TimeSpanMultipleWeeks => InvariantResources.Instance.TimeSpanMultipleWeeks; + public string TimeSpanSingleWeek => InvariantResources.Instance.TimeSpanSingleWeek; + public string DateMultipleMonthsFromNow => InvariantResources.Instance.DateMultipleMonthsFromNow; + public string DateMultipleSecondsFromNow => InvariantResources.Instance.DateMultipleSecondsFromNow; + public string DateMultipleYearsFromNow => InvariantResources.Instance.DateMultipleYearsFromNow; + public string DateNow => InvariantResources.Instance.DateNow; + public string DateSingleSecondFromNow => InvariantResources.Instance.DateSingleSecondFromNow; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string TimeSpanMultipleMonths => InvariantResources.Instance.TimeSpanMultipleMonths; + public string TimeSpanMultipleYears => InvariantResources.Instance.TimeSpanMultipleYears; + public string TimeSpanSingleMonth => InvariantResources.Instance.TimeSpanSingleMonth; + public string TimeSpanSingleYear => InvariantResources.Instance.TimeSpanSingleYear; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/FrenchBelgiumResources.cs b/src/Humanizer/Resources/FrenchBelgiumResources.cs new file mode 100644 index 000000000..f7cad1796 --- /dev/null +++ b/src/Humanizer/Resources/FrenchBelgiumResources.cs @@ -0,0 +1,191 @@ +class FrenchBelgiumResources : IResources +{ + public string Culture => "fr-BE"; + public static FrenchBelgiumResources Instance => new(); + public string DateSingleSecondAgo => "il y a une seconde"; + public string DateMultipleSecondsAgo => "il y a {0} secondes"; + public string DateSingleMinuteAgo => "il y a une minute"; + public string DateMultipleMinutesAgo => "il y a {0} minutes"; + public string DateSingleHourAgo => "il y a une heure"; + public string DateMultipleHoursAgo => "il y a {0} heures"; + public string DateSingleDayAgo => "hier"; + public string DateMultipleDaysAgo => "il y a {0} jours"; + public string DateSingleMonthAgo => "il y a un mois"; + public string DateMultipleMonthsAgo => "il y a {0} mois"; + public string DateSingleYearAgo => "il y a un an"; + public string DateMultipleYearsAgo => "il y a {0} ans"; + public string DateMultipleDaysFromNow => "dans {0} jours"; + public string DateMultipleHoursFromNow => "dans {0} heures"; + public string DateMultipleMinutesFromNow => "dans {0} minutes"; + public string DateMultipleMonthsFromNow => "dans {0} mois"; + public string DateMultipleSecondsFromNow => "dans {0} secondes"; + public string DateMultipleYearsFromNow => "dans {0} ans"; + public string DateNow => "maintenant"; + public string DateSingleDayFromNow => "demain"; + public string DateSingleHourFromNow => "dans une heure"; + public string DateSingleMinuteFromNow => "dans une minute"; + public string DateSingleMonthFromNow => "dans un mois"; + public string DateSingleSecondFromNow => "dans une seconde"; + public string DateSingleYearFromNow => "dans un an"; + public string TimeSpanMultipleDays => "{0} jours"; + public string TimeSpanMultipleHours => "{0} heures"; + public string TimeSpanMultipleMilliseconds => "{0} millisecondes"; + public string TimeSpanMultipleMinutes => "{0} minutes"; + public string TimeSpanMultipleSeconds => "{0} secondes"; + public string TimeSpanMultipleWeeks => "{0} semaines"; + public string TimeSpanSingleDay => "1 jour"; + public string TimeSpanSingleHour => "1 heure"; + public string TimeSpanSingleMillisecond => "1 milliseconde"; + public string TimeSpanSingleMinute => "1 minute"; + public string TimeSpanSingleSecond => "1 seconde"; + public string TimeSpanSingleWeek => "1 semaine"; + public string TimeSpanZero => "temps nul"; + public string TimeSpanMultipleMonths => "{0} mois"; + public string TimeSpanMultipleYears => "{0} ans"; + public string TimeSpanSingleMonth => "1 mois"; + public string TimeSpanSingleYear => "1 an"; + public string DateMultipleDaysAgoDual => "avant-hier"; + public string DateMultipleDaysFromNowDual => "après-demain"; + public string DateMultipleHoursFromNowDual => FrenchResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => FrenchResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => FrenchResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => FrenchResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => FrenchResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => FrenchResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => FrenchResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => FrenchResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => FrenchResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => FrenchResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => FrenchResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => FrenchResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => FrenchResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoPlural => FrenchResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => FrenchResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowPlural => FrenchResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => FrenchResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => FrenchResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => FrenchResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => FrenchResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => FrenchResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => FrenchResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => FrenchResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => FrenchResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => FrenchResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => FrenchResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => FrenchResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => FrenchResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => FrenchResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => FrenchResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => FrenchResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => FrenchResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => FrenchResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => FrenchResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => FrenchResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => FrenchResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => FrenchResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => FrenchResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => FrenchResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => FrenchResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => FrenchResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => FrenchResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => FrenchResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => FrenchResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => FrenchResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => FrenchResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => FrenchResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => FrenchResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => FrenchResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => FrenchResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => FrenchResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => FrenchResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => FrenchResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => FrenchResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => FrenchResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => FrenchResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => FrenchResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => FrenchResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => FrenchResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => FrenchResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => FrenchResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => FrenchResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => FrenchResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => FrenchResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => FrenchResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => FrenchResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => FrenchResources.Instance.TimeSpanSingleYearWords; + public string N => FrenchResources.Instance.N; + public string NNE => FrenchResources.Instance.NNE; + public string NE => FrenchResources.Instance.NE; + public string ENE => FrenchResources.Instance.ENE; + public string E => FrenchResources.Instance.E; + public string ESE => FrenchResources.Instance.ESE; + public string SE => FrenchResources.Instance.SE; + public string SSE => FrenchResources.Instance.SSE; + public string S => FrenchResources.Instance.S; + public string SSW => FrenchResources.Instance.SSW; + public string SW => FrenchResources.Instance.SW; + public string WSW => FrenchResources.Instance.WSW; + public string W => FrenchResources.Instance.W; + public string WNW => FrenchResources.Instance.WNW; + public string NW => FrenchResources.Instance.NW; + public string NNW => FrenchResources.Instance.NNW; + public string NShort => FrenchResources.Instance.NShort; + public string NNEShort => FrenchResources.Instance.NNEShort; + public string NEShort => FrenchResources.Instance.NEShort; + public string ENEShort => FrenchResources.Instance.ENEShort; + public string EShort => FrenchResources.Instance.EShort; + public string ESEShort => FrenchResources.Instance.ESEShort; + public string SEShort => FrenchResources.Instance.SEShort; + public string SSEShort => FrenchResources.Instance.SSEShort; + public string SShort => FrenchResources.Instance.SShort; + public string SSWShort => FrenchResources.Instance.SSWShort; + public string SWShort => FrenchResources.Instance.SWShort; + public string WSWShort => FrenchResources.Instance.WSWShort; + public string WShort => FrenchResources.Instance.WShort; + public string WNWShort => FrenchResources.Instance.WNWShort; + public string NWShort => FrenchResources.Instance.NWShort; + public string NNWShort => FrenchResources.Instance.NNWShort; + public string DataUnitBit => FrenchResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => FrenchResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => FrenchResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => FrenchResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => FrenchResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => FrenchResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => FrenchResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => FrenchResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => FrenchResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => FrenchResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => FrenchResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => FrenchResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => FrenchResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => FrenchResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => FrenchResources.Instance.TimeUnitMinute; + public string TimeUnitHour => FrenchResources.Instance.TimeUnitHour; + public string TimeUnitDay => FrenchResources.Instance.TimeUnitDay; + public string TimeUnitWeek => FrenchResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => FrenchResources.Instance.TimeUnitMonth; + public string TimeUnitYear => FrenchResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => FrenchResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => FrenchResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => FrenchResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => FrenchResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => FrenchResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => FrenchResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => FrenchResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => FrenchResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => FrenchResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => FrenchResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => FrenchResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => FrenchResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => FrenchResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => FrenchResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => FrenchResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => FrenchResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => FrenchResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => FrenchResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => FrenchResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => FrenchResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => FrenchResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => FrenchResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => FrenchResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/FrenchResources.cs b/src/Humanizer/Resources/FrenchResources.cs new file mode 100644 index 000000000..04094eafd --- /dev/null +++ b/src/Humanizer/Resources/FrenchResources.cs @@ -0,0 +1,191 @@ +class FrenchResources : IResources +{ + public string Culture => "fr"; + public static FrenchResources Instance => new(); + public string DateSingleSecondAgo => "il y a une seconde"; + public string DateMultipleSecondsAgo => "il y a {0} secondes"; + public string DateSingleMinuteAgo => "il y a une minute"; + public string DateMultipleMinutesAgo => "il y a {0} minutes"; + public string DateSingleHourAgo => "il y a une heure"; + public string DateMultipleHoursAgo => "il y a {0} heures"; + public string DateSingleDayAgo => "hier"; + public string DateMultipleDaysAgo => "il y a {0} jours"; + public string DateSingleMonthAgo => "il y a un mois"; + public string DateMultipleMonthsAgo => "il y a {0} mois"; + public string DateSingleYearAgo => "il y a un an"; + public string DateMultipleYearsAgo => "il y a {0} ans"; + public string DateMultipleDaysFromNow => "dans {0} jours"; + public string DateMultipleHoursFromNow => "dans {0} heures"; + public string DateMultipleMinutesFromNow => "dans {0} minutes"; + public string DateMultipleMonthsFromNow => "dans {0} mois"; + public string DateMultipleSecondsFromNow => "dans {0} secondes"; + public string DateMultipleYearsFromNow => "dans {0} ans"; + public string DateNow => "maintenant"; + public string DateSingleDayFromNow => "demain"; + public string DateSingleHourFromNow => "dans une heure"; + public string DateSingleMinuteFromNow => "dans une minute"; + public string DateSingleMonthFromNow => "dans un mois"; + public string DateSingleSecondFromNow => "dans une seconde"; + public string DateSingleYearFromNow => "dans un an"; + public string TimeSpanMultipleDays => "{0} jours"; + public string TimeSpanMultipleHours => "{0} heures"; + public string TimeSpanMultipleMilliseconds => "{0} millisecondes"; + public string TimeSpanMultipleMinutes => "{0} minutes"; + public string TimeSpanMultipleSeconds => "{0} secondes"; + public string TimeSpanMultipleWeeks => "{0} semaines"; + public string TimeSpanSingleDay => "1 jour"; + public string TimeSpanSingleHour => "1 heure"; + public string TimeSpanSingleMillisecond => "1 milliseconde"; + public string TimeSpanSingleMinute => "1 minute"; + public string TimeSpanSingleSecond => "1 seconde"; + public string TimeSpanSingleWeek => "1 semaine"; + public string TimeSpanZero => "temps nul"; + public string DateNever => "jamais"; + public string TimeSpanMultipleMonths => "{0} mois"; + public string TimeSpanMultipleYears => "{0} ans"; + public string TimeSpanSingleMonth => "1 mois"; + public string TimeSpanSingleYear => "1 an"; + public string DateMultipleDaysAgoDual => "avant-hier"; + public string DateMultipleDaysFromNowDual => "après-demain"; + public string TimeSpanMultipleYearsSingular => "{0} an"; + public string TimeSpanMultipleMonthsSingular => "{0} mois"; + public string TimeSpanMultipleWeeksSingular => "{0} semaine"; + public string TimeSpanMultipleDaysSingular => "{0} jour"; + public string TimeSpanMultipleHoursSingular => "{0} heure"; + public string TimeSpanMultipleMinutesSingular => "{0} minute"; + public string TimeSpanMultipleSecondsSingular => "{0} seconde"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milliseconde"; + public string TimeSpanSingleDayWords => "un jour"; + public string TimeSpanSingleHourWords => "une heure"; + public string TimeSpanSingleMillisecondWords => "une milliseconde"; + public string TimeSpanSingleMinuteWords => "une minute"; + public string TimeSpanSingleMonthWords => "un mois"; + public string TimeSpanSingleSecondWords => "une seconde"; + public string TimeSpanSingleWeekWords => "une semaine"; + public string TimeSpanSingleYearWords => "un an"; + public string DataUnitBit => "bit"; + public string DataUnitBitSymbol => "b"; + public string DataUnitByte => "octet"; + public string DataUnitByteSymbol => "o"; + public string DataUnitKilobyte => "kilooctet"; + public string DataUnitKilobyteSymbol => "Ko"; + public string DataUnitMegabyte => "mégaoctet"; + public string DataUnitMegabyteSymbol => "Mo"; + public string DataUnitGigabyte => "gigaoctet"; + public string DataUnitGigabyteSymbol => "Go"; + public string DataUnitTerabyte => "téraoctet"; + public string DataUnitTerabyteSymbol => "To"; + public string TimeUnitMillisecond => "ms"; + public string TimeUnitSecond => "s"; + public string TimeUnitMinute => "min"; + public string TimeUnitHour => "h"; + public string TimeUnitDay => "j"; + public string TimeUnitWeek => "semaine"; + public string TimeUnitMonth => "mois"; + public string TimeUnitYear => "a"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/GermanResources.cs b/src/Humanizer/Resources/GermanResources.cs new file mode 100644 index 000000000..3f0807df2 --- /dev/null +++ b/src/Humanizer/Resources/GermanResources.cs @@ -0,0 +1,191 @@ +class GermanResources : IResources +{ + public string Culture => "de"; + public static GermanResources Instance => new(); + public string DateSingleSecondAgo => "vor einer Sekunde"; + public string DateMultipleSecondsAgo => "vor {0} Sekunden"; + public string DateSingleMinuteAgo => "vor einer Minute"; + public string DateMultipleMinutesAgo => "vor {0} Minuten"; + public string DateSingleHourAgo => "vor einer Stunde"; + public string DateMultipleHoursAgo => "vor {0} Stunden"; + public string DateSingleDayAgo => "gestern"; + public string DateMultipleDaysAgo => "vor {0} Tagen"; + public string DateSingleMonthAgo => "vor einem Monat"; + public string DateMultipleMonthsAgo => "vor {0} Monaten"; + public string DateSingleYearAgo => "vor einem Jahr"; + public string DateMultipleYearsAgo => "vor {0} Jahren"; + public string TimeSpanMultipleDays => "{0} Tage"; + public string TimeSpanMultipleHours => "{0} Stunden"; + public string TimeSpanMultipleMilliseconds => "{0} Millisekunden"; + public string TimeSpanMultipleMinutes => "{0} Minuten"; + public string TimeSpanMultipleSeconds => "{0} Sekunden"; + public string TimeSpanSingleDay => "1 Tag"; + public string TimeSpanSingleHour => "1 Stunde"; + public string TimeSpanSingleMillisecond => "1 Millisekunde"; + public string TimeSpanSingleMinute => "1 Minute"; + public string TimeSpanSingleSecond => "1 Sekunde"; + public string TimeSpanZero => "Keine Zeit"; + public string TimeSpanMultipleWeeks => "{0} Wochen"; + public string TimeSpanSingleWeek => "1 Woche"; + public string DateMultipleDaysFromNow => "in {0} Tagen"; + public string DateMultipleHoursFromNow => "in {0} Stunden"; + public string DateMultipleMinutesFromNow => "in {0} Minuten"; + public string DateMultipleMonthsFromNow => "in {0} Monaten"; + public string DateMultipleSecondsFromNow => "in {0} Sekunden"; + public string DateMultipleYearsFromNow => "in {0} Jahren"; + public string DateNow => "jetzt"; + public string DateSingleDayFromNow => "morgen"; + public string DateSingleHourFromNow => "in einer Stunde"; + public string DateSingleMinuteFromNow => "in einer Minute"; + public string DateSingleMonthFromNow => "in einem Monat"; + public string DateSingleSecondFromNow => "in einer Sekunde"; + public string DateSingleYearFromNow => "in einem Jahr"; + public string DateNever => "nie"; + public string TimeSpanMultipleMonths => "{0} Monate"; + public string TimeSpanMultipleYears => "{0} Jahre"; + public string TimeSpanSingleMonth => "1 Monat"; + public string TimeSpanSingleYear => "1 Jahr"; + public string TimeSpanSingleDayWords => "ein Tag"; + public string TimeSpanSingleHourWords => "eine Stunde"; + public string TimeSpanSingleMillisecondWords => "eine Millisekunde"; + public string TimeSpanSingleMinuteWords => "eine Minute"; + public string TimeSpanSingleMonthWords => "ein Monat"; + public string TimeSpanSingleSecondWords => "eine Sekunde"; + public string TimeSpanSingleWeekWords => "eine Woche"; + public string TimeSpanSingleYearWords => "ein Jahr"; + public string N => "Nord"; + public string NNE => "Nordnordost"; + public string NE => "Nordost"; + public string ENE => "Ostnordost"; + public string E => "Ost"; + public string ESE => "Ostsüdost"; + public string SE => "Südost"; + public string SSE => "Südsüdost"; + public string S => "Süd"; + public string SSW => "Südsüdwest"; + public string SW => "Südwest"; + public string WSW => "Westsüdwest"; + public string W => "West"; + public string WNW => "Westnordwest"; + public string NW => "Nordwest"; + public string NNW => "Nordnordwest"; + public string NShort => "N"; + public string NNEShort => "NNO"; + public string NEShort => "NO"; + public string ENEShort => "ONO"; + public string EShort => "O"; + public string ESEShort => "OSO"; + public string SEShort => "SO"; + public string SSEShort => "SSO"; + public string SShort => "S"; + public string SSWShort => "SSW"; + public string SWShort => "SW"; + public string WSWShort => "WSW"; + public string WShort => "W"; + public string WNWShort => "WNW"; + public string NWShort => "NW"; + public string NNWShort => "NNW"; + public string DataUnitBit => "Bit"; + public string DataUnitBitSymbol => "bit"; + public string DataUnitByte => "Byte"; + public string DataUnitByteSymbol => "B"; + public string DataUnitKilobyte => "Kilobyte"; + public string DataUnitKilobyteSymbol => "kB"; + public string DataUnitMegabyte => "Megabyte"; + public string DataUnitMegabyteSymbol => "MB"; + public string DataUnitGigabyte => "Gigabyte"; + public string DataUnitGigabyteSymbol => "GB"; + public string DataUnitTerabyte => "Terabyte"; + public string DataUnitTerabyteSymbol => "TB"; + public string TimeUnitMillisecond => "ms"; + public string TimeUnitSecond => "s"; + public string TimeUnitMinute => "min"; + public string TimeUnitHour => "h"; + public string TimeUnitDay => "d"; + public string TimeUnitWeek => "Woche"; + public string TimeUnitMonth => "M"; + public string TimeUnitYear => "a"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/GreekResources.cs b/src/Humanizer/Resources/GreekResources.cs new file mode 100644 index 000000000..09bd1f3b8 --- /dev/null +++ b/src/Humanizer/Resources/GreekResources.cs @@ -0,0 +1,191 @@ +class GreekResources : IResources +{ + public string Culture => "el"; + public static GreekResources Instance => new(); + public string DateMultipleDaysAgo => "πριν από {0} ημέρες"; + public string DateMultipleDaysFromNow => "{0} ημέρες από τώρα"; + public string DateMultipleHoursAgo => "πριν από {0} ώρες"; + public string DateMultipleHoursFromNow => "{0} ώρες από τώρα"; + public string DateMultipleMinutesAgo => "πριν από {0} λεπτά"; + public string DateMultipleMinutesFromNow => "{0} λεπτά από τώρα"; + public string DateMultipleMonthsAgo => "πριν από {0} μήνες"; + public string DateMultipleMonthsFromNow => "{0} μήνες από τώρα"; + public string DateMultipleSecondsAgo => "πριν από {0} δευτερόλεπτα"; + public string DateMultipleSecondsFromNow => "{0} δευτερόλεπτα από τώρα"; + public string DateMultipleYearsAgo => "πριν από {0} χρόνια"; + public string DateMultipleYearsFromNow => "{0} χρόνια από τώρα"; + public string DateNever => "ποτέ"; + public string DateNow => "τώρα"; + public string DateSingleDayAgo => "χθες"; + public string DateSingleDayFromNow => "αύριο"; + public string DateSingleHourAgo => "πριν από μία ώρα"; + public string DateSingleHourFromNow => "πρίν από μία ώρα από τώρα"; + public string DateSingleMinuteAgo => "πριν από ένα λεπτό"; + public string DateSingleMinuteFromNow => "πρίν από ένα λεπτό από τώρα"; + public string DateSingleMonthAgo => "πριν από έναν μήνα"; + public string DateSingleMonthFromNow => "πριν από έναν μήνα από τώρα"; + public string DateSingleSecondAgo => "πριν από ένα δευτερόλεπτο"; + public string DateSingleSecondFromNow => "πριν από ένα δευτερόλεπτο από τώρα"; + public string DateSingleYearAgo => "πριν από έναν χρόνο"; + public string DateSingleYearFromNow => "πριν από έναν χρόνο από τώρα"; + public string TimeSpanMultipleDays => "{0} μέρες"; + public string TimeSpanMultipleHours => "{0} ώρες"; + public string TimeSpanMultipleMilliseconds => "{0} χιλιοστά του δευτερολέπτου"; + public string TimeSpanMultipleMinutes => "{0} λεπτά"; + public string TimeSpanMultipleMonths => "{0} μήνες"; + public string TimeSpanMultipleSeconds => "{0} δευτερόλεπτα"; + public string TimeSpanMultipleWeeks => "{0} βδομάδες"; + public string TimeSpanMultipleYears => "{0} χρόνια"; + public string TimeSpanSingleDay => "1 μέρα"; + public string TimeSpanSingleHour => "1 ώρα"; + public string TimeSpanSingleMillisecond => "1 χιλιοσtό του δευτερολέπτου"; + public string TimeSpanSingleMinute => "1 λεπτό"; + public string TimeSpanSingleMonth => "1 μήνα"; + public string TimeSpanSingleSecond => "1 δευτερόλεπτο"; + public string TimeSpanSingleWeek => "1 βδομάδα"; + public string TimeSpanSingleYear => "1 χρόνο"; + public string TimeSpanZero => "μηδέν χρόνος"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/HebrewResources.cs b/src/Humanizer/Resources/HebrewResources.cs new file mode 100644 index 000000000..6f9a678f1 --- /dev/null +++ b/src/Humanizer/Resources/HebrewResources.cs @@ -0,0 +1,191 @@ +class HebrewResources : IResources +{ + public string Culture => "he"; + public static HebrewResources Instance => new(); + public string DateSingleSecondAgo => "לפני שנייה"; + public string DateMultipleSecondsAgo => "לפני {0} שניות"; + public string DateSingleMinuteAgo => "לפני דקה"; + public string DateMultipleMinutesAgo => "לפני {0} דקות"; + public string DateSingleHourAgo => "לפני שעה"; + public string DateMultipleHoursAgo => "לפני {0} שעות"; + public string DateSingleDayAgo => "אתמול"; + public string DateMultipleDaysAgo => "לפני {0} יום"; + public string DateSingleMonthAgo => "לפני חודש"; + public string DateMultipleMonthsAgo => "לפני {0} חודשים"; + public string DateSingleYearAgo => "לפני שנה"; + public string DateMultipleYearsAgo => "לפני {0} שנה"; + public string TimeSpanSingleDay => "יום"; + public string TimeSpanSingleHour => "שעה"; + public string TimeSpanSingleMillisecond => "אלפית שנייה"; + public string TimeSpanSingleMinute => "דקה"; + public string TimeSpanSingleSecond => "שנייה"; + public string TimeSpanSingleWeek => "שבוע"; + public string TimeSpanZero => "אין זמן"; + public string DateMultipleDaysAgoDual => "לפני יומיים"; + public string DateMultipleHoursAgoDual => "לפני שעתיים"; + public string DateMultipleMinutesAgoDual => "לפני {0} דקות"; + public string DateMultipleMonthsAgoDual => "לפני חודשיים"; + public string DateMultipleSecondsAgoDual => "לפני {0} שניות"; + public string DateMultipleYearsAgoDual => "לפני שנתיים"; + public string TimeSpanMultipleWeeksDual => "שבועיים"; + public string TimeSpanMultipleDaysDual => "יומיים"; + public string TimeSpanMultipleHoursDual => "שעתיים"; + public string TimeSpanMultipleMillisecondsDual => "שתי אלפיות שנייה"; + public string TimeSpanMultipleMinutesDual => "שתי דקות"; + public string TimeSpanMultipleSecondsDual => "שתי שניות"; + public string TimeSpanMultipleDays => "{0} ימים"; + public string TimeSpanMultipleDaysPlural => "{0} ימים"; + public string TimeSpanMultipleHours => "{0} שעות"; + public string TimeSpanMultipleHoursPlural => "{0} שעות"; + public string TimeSpanMultipleMilliseconds => "{0} אלפיות שנייה"; + public string TimeSpanMultipleMillisecondsPlural => "{0} אלפיות שנייה"; + public string TimeSpanMultipleMinutes => "{0} דקות"; + public string TimeSpanMultipleMinutesPlural => "{0} דקות"; + public string TimeSpanMultipleSeconds => "{0} שניות"; + public string TimeSpanMultipleSecondsPlural => "{0} שניות"; + public string TimeSpanMultipleWeeks => "{0} שבועות"; + public string TimeSpanMultipleWeeksPlural => "{0} שבועות"; + public string DateMultipleDaysAgoPlural => "לפני {0} ימים"; + public string DateMultipleHoursAgoPlural => "לפני {0} שעות"; + public string DateMultipleMinutesAgoPlural => "לפני {0} דקות"; + public string DateMultipleMonthsAgoPlural => "לפני {0} חודשים"; + public string DateMultipleSecondsAgoPlural => "לפני {0} שניות"; + public string DateMultipleYearsAgoPlural => "לפני {0} שנים"; + public string DateMultipleDaysFromNow => "בעוד {0} יום"; + public string DateMultipleDaysFromNowDual => "בעוד יומיים"; + public string DateMultipleDaysFromNowPlural => "בעוד {0} ימים"; + public string DateMultipleHoursFromNow => "בעוד {0} שעות"; + public string DateMultipleHoursFromNowDual => "בעוד שעתיים"; + public string DateMultipleHoursFromNowPlural => "בעוד {0} שעות"; + public string DateMultipleMinutesFromNow => "בעוד {0} דקות"; + public string DateMultipleMinutesFromNowDual => "בעוד 2 דקות"; + public string DateMultipleMinutesFromNowPlural => "בעוד {0} דקות"; + public string DateMultipleMonthsFromNow => "בעוד {0} חודשים"; + public string DateMultipleMonthsFromNowDual => "בעוד חודשיים"; + public string DateMultipleMonthsFromNowPlural => "בעוד {0} חודשים"; + public string DateMultipleYearsFromNow => "בעוד {0} שנה"; + public string DateMultipleYearsFromNowDual => "בעוד שנתיים"; + public string DateMultipleYearsFromNowPlural => "בעוד {0} שנים"; + public string DateNow => "כעת"; + public string DateSingleDayFromNow => "מחר"; + public string DateSingleHourFromNow => "בעוד שעה"; + public string DateSingleMinuteFromNow => "בעוד דקה"; + public string DateSingleMonthFromNow => "בעוד חודש"; + public string DateSingleYearFromNow => "בעוד שנה"; + public string DateMultipleSecondsFromNow => "בעוד {0} שניות"; + public string DateMultipleSecondsFromNowDual => "בעוד 2 שניות"; + public string DateMultipleSecondsFromNowPlural => "בעוד {0} שניות"; + public string DateSingleSecondFromNow => "בעוד שנייה"; + public string TimeSpanMultipleMonths => "{0} חודשים"; + public string TimeSpanMultipleMonthsDual => "חודשיים"; + public string TimeSpanMultipleMonthsPlural => "{0} חודשים"; + public string TimeSpanMultipleYears => "{0} שנים"; + public string TimeSpanMultipleYearsDual => "שנתיים"; + public string TimeSpanMultipleYearsPlural => "{0} שנים"; + public string TimeSpanSingleMonth => "חודש"; + public string TimeSpanSingleYear => "שנה"; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/HungarianResources.cs b/src/Humanizer/Resources/HungarianResources.cs new file mode 100644 index 000000000..32f094424 --- /dev/null +++ b/src/Humanizer/Resources/HungarianResources.cs @@ -0,0 +1,191 @@ +class HungarianResources : IResources +{ + public string Culture => "hu"; + public static HungarianResources Instance => new(); + public string DateSingleSecondAgo => "egy másodperce"; + public string DateMultipleSecondsAgo => "{0} másodperce"; + public string DateSingleMinuteAgo => "egy perce"; + public string DateMultipleMinutesAgo => "{0} perce"; + public string DateSingleHourAgo => "egy órája"; + public string DateMultipleHoursAgo => "{0} órája"; + public string DateSingleDayAgo => "tegnap"; + public string DateMultipleDaysAgo => "{0} napja"; + public string DateSingleMonthAgo => "egy hónapja"; + public string DateMultipleMonthsAgo => "{0} hónapja"; + public string DateSingleYearAgo => "egy éve"; + public string DateMultipleYearsAgo => "{0} éve"; + public string TimeSpanMultipleDays => "{0} nap"; + public string TimeSpanMultipleHours => "{0} óra"; + public string TimeSpanMultipleMilliseconds => "{0} ezredmásodperc"; + public string TimeSpanMultipleMinutes => "{0} perc"; + public string TimeSpanMultipleSeconds => "{0} másodperc"; + public string TimeSpanSingleDay => "1 nap"; + public string TimeSpanSingleHour => "1 óra"; + public string TimeSpanSingleMillisecond => "1 ezredmásodperc"; + public string TimeSpanSingleMinute => "1 perc"; + public string TimeSpanSingleSecond => "1 másodperc"; + public string TimeSpanZero => "nincs idő"; + public string TimeSpanMultipleWeeks => "{0} hét"; + public string TimeSpanSingleWeek => "1 hét"; + public string DateMultipleDaysFromNow => "{0} nap múlva"; + public string DateMultipleHoursFromNow => "{0} óra múlva"; + public string DateMultipleMinutesFromNow => "{0} perc múlva"; + public string DateMultipleMonthsFromNow => "{0} hónap múlva"; + public string DateMultipleSecondsFromNow => "{0} másodperc múlva"; + public string DateMultipleYearsFromNow => "{0} év múlva"; + public string DateNow => "most"; + public string DateSingleDayFromNow => "holnap"; + public string DateSingleHourFromNow => "egy óra múlva"; + public string DateSingleMinuteFromNow => "egy perc múlva"; + public string DateSingleMonthFromNow => "egy hónap múlva"; + public string DateSingleSecondFromNow => "egy másodperc múlva"; + public string DateSingleYearFromNow => "egy év múlva"; + public string TimeSpanMultipleMonths => "{0} hónap"; + public string TimeSpanMultipleYears => "{0} év"; + public string TimeSpanSingleMonth => "egy hónap"; + public string TimeSpanSingleYear => "egy év"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/IResources.cs b/src/Humanizer/Resources/IResources.cs new file mode 100644 index 000000000..b55dd7c97 --- /dev/null +++ b/src/Humanizer/Resources/IResources.cs @@ -0,0 +1,190 @@ +public interface IResources +{ + public string Culture { get; } + public string DateSingleSecondAgo { get; } + public string DateMultipleSecondsAgo { get; } + public string DateSingleMinuteAgo { get; } + public string DateMultipleMinutesAgo { get; } + public string DateSingleHourAgo { get; } + public string DateMultipleHoursAgo { get; } + public string DateSingleDayAgo { get; } + public string DateMultipleDaysAgo { get; } + public string DateSingleMonthAgo { get; } + public string DateMultipleMonthsAgo { get; } + public string DateSingleYearAgo { get; } + public string DateMultipleYearsAgo { get; } + public string TimeSpanMultipleDays { get; } + public string TimeSpanMultipleHours { get; } + public string TimeSpanMultipleMilliseconds { get; } + public string TimeSpanMultipleMinutes { get; } + public string TimeSpanMultipleSeconds { get; } + public string TimeSpanSingleDay { get; } + public string TimeSpanSingleHour { get; } + public string TimeSpanSingleMillisecond { get; } + public string TimeSpanSingleMinute { get; } + public string TimeSpanSingleSecond { get; } + public string TimeSpanZero { get; } + public string TimeSpanMultipleWeeks { get; } + public string TimeSpanSingleWeek { get; } + public string DateMultipleDaysFromNow { get; } + public string DateMultipleHoursFromNow { get; } + public string DateMultipleMinutesFromNow { get; } + public string DateMultipleMonthsFromNow { get; } + public string DateMultipleSecondsFromNow { get; } + public string DateMultipleYearsFromNow { get; } + public string DateNow { get; } + public string DateSingleDayFromNow { get; } + public string DateSingleHourFromNow { get; } + public string DateSingleMinuteFromNow { get; } + public string DateSingleMonthFromNow { get; } + public string DateSingleSecondFromNow { get; } + public string DateSingleYearFromNow { get; } + public string DateMultipleHoursFromNowDual { get; } + public string DateMultipleMinutesFromNowPlural { get; } + public string DateMultipleSecondsAgoDual { get; } + public string DateMultipleSecondsFromNowDual { get; } + public string DateMultipleYearsFromNowDual { get; } + public string TimeSpanMultipleDaysDual { get; } + public string TimeSpanMultipleDaysPlural { get; } + public string TimeSpanMultipleHoursPlural { get; } + public string TimeSpanMultipleMillisecondsDual { get; } + public string TimeSpanMultipleMinutesDual { get; } + public string TimeSpanMultipleMinutesPlural { get; } + public string TimeSpanMultipleSecondsPlural { get; } + public string TimeSpanMultipleMillisecondsPlural { get; } + public string DateMultipleDaysAgoDual { get; } + public string DateMultipleDaysAgoPlural { get; } + public string DateMultipleDaysAgoSingular { get; } + public string DateMultipleDaysFromNowDual { get; } + public string DateMultipleDaysFromNowPlural { get; } + public string DateMultipleDaysFromNowSingular { get; } + public string DateMultipleHoursAgoDual { get; } + public string DateMultipleHoursAgoPlural { get; } + public string DateMultipleHoursAgoSingular { get; } + public string DateMultipleHoursFromNowPlural { get; } + public string DateMultipleHoursFromNowSingular { get; } + public string DateMultipleMinutesAgoDual { get; } + public string DateMultipleMinutesAgoPlural { get; } + public string DateMultipleMinutesAgoSingular { get; } + public string DateMultipleMinutesFromNowDual { get; } + public string DateMultipleMinutesFromNowSingular { get; } + public string DateMultipleMonthsAgoDual { get; } + public string DateMultipleMonthsAgoPlural { get; } + public string DateMultipleMonthsAgoSingular { get; } + public string DateMultipleMonthsFromNowDual { get; } + public string DateMultipleMonthsFromNowPlural { get; } + public string DateMultipleMonthsFromNowSingular { get; } + public string DateMultipleSecondsAgoPlural { get; } + public string DateMultipleSecondsAgoSingular { get; } + public string DateMultipleSecondsFromNowPlural { get; } + public string DateMultipleSecondsFromNowSingular { get; } + public string DateMultipleYearsAgoDual { get; } + public string DateMultipleYearsAgoPlural { get; } + public string DateMultipleYearsAgoSingular { get; } + public string DateMultipleYearsFromNowPlural { get; } + public string DateMultipleYearsFromNowSingular { get; } + public string TimeSpanMultipleDaysSingular { get; } + public string TimeSpanMultipleHoursDual { get; } + public string TimeSpanMultipleHoursSingular { get; } + public string TimeSpanMultipleMillisecondsSingular { get; } + public string TimeSpanMultipleMinutesSingular { get; } + public string TimeSpanMultipleSecondsDual { get; } + public string TimeSpanMultipleSecondsSingular { get; } + public string TimeSpanMultipleWeeksDual { get; } + public string TimeSpanMultipleWeeksPlural { get; } + public string TimeSpanMultipleWeeksSingular { get; } + public string TimeSpanMultipleMonths { get; } + public string TimeSpanMultipleYears { get; } + public string TimeSpanSingleMonth { get; } + public string TimeSpanSingleYear { get; } + public string DateNever { get; } + public string TimeSpanMultipleMonthsDual { get; } + public string TimeSpanMultipleMonthsPlural { get; } + public string TimeSpanMultipleMonthsSingular { get; } + public string TimeSpanMultipleYearsDual { get; } + public string TimeSpanMultipleYearsPlural { get; } + public string TimeSpanMultipleYearsSingular { get; } + public string TimeSpanSingleDayWords { get; } + public string TimeSpanSingleHourWords { get; } + public string TimeSpanSingleMillisecondWords { get; } + public string TimeSpanSingleMinuteWords { get; } + public string TimeSpanSingleMonthWords { get; } + public string TimeSpanSingleSecondWords { get; } + public string TimeSpanSingleWeekWords { get; } + public string TimeSpanSingleYearWords { get; } + public string N { get; } + public string NNE { get; } + public string NE { get; } + public string ENE { get; } + public string E { get; } + public string ESE { get; } + public string SE { get; } + public string SSE { get; } + public string S { get; } + public string SSW { get; } + public string SW { get; } + public string WSW { get; } + public string W { get; } + public string WNW { get; } + public string NW { get; } + public string NNW { get; } + public string NShort { get; } + public string NNEShort { get; } + public string NEShort { get; } + public string ENEShort { get; } + public string EShort { get; } + public string ESEShort { get; } + public string SEShort { get; } + public string SSEShort { get; } + public string SShort { get; } + public string SSWShort { get; } + public string SWShort { get; } + public string WSWShort { get; } + public string WShort { get; } + public string WNWShort { get; } + public string NWShort { get; } + public string NNWShort { get; } + public string DataUnitBit { get; } + public string DataUnitBitSymbol { get; } + public string DataUnitByte { get; } + public string DataUnitByteSymbol { get; } + public string DataUnitKilobyte { get; } + public string DataUnitKilobyteSymbol { get; } + public string DataUnitMegabyte { get; } + public string DataUnitMegabyteSymbol { get; } + public string DataUnitGigabyte { get; } + public string DataUnitGigabyteSymbol { get; } + public string DataUnitTerabyte { get; } + public string DataUnitTerabyteSymbol { get; } + public string TimeUnitMillisecond { get; } + public string TimeUnitSecond { get; } + public string TimeUnitMinute { get; } + public string TimeUnitHour { get; } + public string TimeUnitDay { get; } + public string TimeUnitWeek { get; } + public string TimeUnitMonth { get; } + public string TimeUnitYear { get; } + public string DateMultipleDaysAgoPaucal { get; } + public string DateMultipleDaysFromNowPaucal { get; } + public string DateMultipleHoursAgoPaucal { get; } + public string DateMultipleHoursFromNowPaucal { get; } + public string DateMultipleMinutesAgoPaucal { get; } + public string DateMultipleMinutesFromNowPaucal { get; } + public string DateMultipleMonthsAgoPaucal { get; } + public string DateMultipleMonthsFromNowPaucal { get; } + public string DateMultipleSecondsAgoPaucal { get; } + public string DateMultipleSecondsFromNowPaucal { get; } + public string DateMultipleYearsAgoPaucal { get; } + public string DateMultipleYearsFromNowPaucal { get; } + public string DateTwoDaysAgo { get; } + public string DateTwoDaysFromNow { get; } + public string TimeSpanMultipleDaysPaucal { get; } + public string TimeSpanMultipleHoursPaucal { get; } + public string TimeSpanMultipleMillisecondsPaucal { get; } + public string TimeSpanMultipleMinutesPaucal { get; } + public string TimeSpanMultipleMonthsPaucal { get; } + public string TimeSpanMultipleSecondsPaucal { get; } + public string TimeSpanMultipleWeeksPaucal { get; } + public string TimeSpanMultipleYearsPaucal { get; } + public string TimeSpanAge { get; } +} diff --git a/src/Humanizer/Resources/IcelandicResources.cs b/src/Humanizer/Resources/IcelandicResources.cs new file mode 100644 index 000000000..b30341cd8 --- /dev/null +++ b/src/Humanizer/Resources/IcelandicResources.cs @@ -0,0 +1,191 @@ +class IcelandicResources : IResources +{ + public string Culture => "is"; + public static IcelandicResources Instance => new(); + public string DateSingleSecondAgo => "fyrir einni sekúndu"; + public string DateMultipleSecondsAgo => "fyrir {0} sekúndum"; + public string DateSingleMinuteAgo => "fyrir einni mínútu"; + public string DateMultipleMinutesAgo => "fyrir {0} mínútum"; + public string DateSingleHourAgo => "fyrir einni klukkustund"; + public string DateMultipleHoursAgo => "fyrir {0} klukkustundum"; + public string DateSingleDayAgo => "í gær"; + public string DateMultipleDaysAgo => "fyrir {0} dögum"; + public string DateSingleMonthAgo => "fyrir einum mánuði"; + public string DateMultipleMonthsAgo => "fyrir {0} mánuðum"; + public string DateSingleYearAgo => "fyrir einu ári"; + public string DateMultipleYearsAgo => "fyrir {0} árum"; + public string TimeSpanMultipleDays => "{0} dagar"; + public string TimeSpanMultipleHours => "{0} klukkustundir"; + public string TimeSpanMultipleMilliseconds => "{0} millisekúndur"; + public string TimeSpanMultipleMinutes => "{0} mínútur"; + public string TimeSpanMultipleSeconds => "{0} sekúndur"; + public string TimeSpanSingleDay => "einn dagur"; + public string TimeSpanSingleHour => "ein klukkustund"; + public string TimeSpanSingleMillisecond => "ein millisekúnda"; + public string TimeSpanSingleMinute => "ein mínúta"; + public string TimeSpanSingleSecond => "ein sekúnda"; + public string TimeSpanZero => "engin stund"; + public string TimeSpanMultipleWeeks => "{0} vikur"; + public string TimeSpanSingleWeek => "ein vika"; + public string DateMultipleDaysFromNow => "eftir {0} daga"; + public string DateMultipleHoursFromNow => "eftir {0} klukkustundir"; + public string DateMultipleMinutesFromNow => "eftir {0} mínútur"; + public string DateMultipleMonthsFromNow => "eftir {0} mánuði"; + public string DateMultipleSecondsFromNow => "eftir {0} sekúndur"; + public string DateMultipleYearsFromNow => "eftir {0} ár"; + public string DateNow => "núna"; + public string DateSingleDayFromNow => "á morgun"; + public string DateSingleHourFromNow => "eftir eina klukkustund"; + public string DateSingleMinuteFromNow => "eftir eina mínútu"; + public string DateSingleMonthFromNow => "eftir einn mánuð"; + public string DateSingleSecondFromNow => "eftir eina sekúndu"; + public string DateSingleYearFromNow => "eftir eitt ár"; + public string DateMultipleMinutesFromNowPlural => "eftir {0} mínútur"; + public string TimeSpanMultipleDaysPlural => "{0} dagar"; + public string TimeSpanMultipleHoursPlural => "{0} klukkustundir"; + public string TimeSpanMultipleMinutesPlural => "{0} mínútur"; + public string TimeSpanMultipleSecondsPlural => "{0} sekúndur"; + public string TimeSpanMultipleMillisecondsPlural => "{0} millisekúndur"; + public string DateMultipleDaysAgoPlural => "fyrir {0} dögum"; + public string DateMultipleDaysAgoSingular => "fyrir {0} degi"; + public string DateMultipleDaysFromNowPlural => "eftir {0} daga"; + public string DateMultipleDaysFromNowSingular => "eftir {0} dag"; + public string DateMultipleHoursAgoPlural => "fyrir {0} klukkustundum"; + public string DateMultipleHoursAgoSingular => "fyrir {0} klukkustund"; + public string DateMultipleHoursFromNowPlural => "eftir {0} klukkustundir"; + public string DateMultipleHoursFromNowSingular => "eftir {0} klukkustund"; + public string DateMultipleMinutesAgoPlural => "fyrir {0} mínútum"; + public string DateMultipleMinutesAgoSingular => "fyrir {0} mínútu"; + public string DateMultipleMinutesFromNowSingular => "eftir {0} mínútu"; + public string DateMultipleMonthsAgoPlural => "fyrir {0} mánuðum"; + public string DateMultipleMonthsAgoSingular => "fyrir {0} mánuði"; + public string DateMultipleMonthsFromNowPlural => "eftir {0} mánuði"; + public string DateMultipleMonthsFromNowSingular => "eftir {0} mánuð"; + public string DateMultipleSecondsAgoPlural => "fyrir {0} sekúndu"; + public string DateMultipleSecondsAgoSingular => "fyrir {0} sekúndu"; + public string DateMultipleSecondsFromNowPlural => "eftir {0} sekúndur"; + public string DateMultipleSecondsFromNowSingular => "eftir {0} sekúndu"; + public string DateMultipleYearsAgoPlural => "fyrir {0} árum"; + public string DateMultipleYearsAgoSingular => "fyrir {0} ári"; + public string DateMultipleYearsFromNowPlural => "eftir {0} ár"; + public string DateMultipleYearsFromNowSingular => "eftir {0} ár"; + public string TimeSpanMultipleDaysSingular => "{0} dagur"; + public string TimeSpanMultipleHoursSingular => "{0} klukkustund"; + public string TimeSpanMultipleMillisecondsSingular => "{0} millisekúnda"; + public string TimeSpanMultipleMinutesSingular => "{0} mínúta"; + public string TimeSpanMultipleSecondsSingular => "{0} sekúnda"; + public string TimeSpanMultipleWeeksPlural => "{0} vikur"; + public string TimeSpanMultipleWeeksSingular => "{0} vika"; + public string TimeSpanMultipleMonths => "{0} mánuðir"; + public string TimeSpanMultipleYears => "{0} ár"; + public string TimeSpanSingleMonth => "1 mánuður"; + public string TimeSpanSingleYear => "1 ár"; + public string DateNever => "aldrei"; + public string TimeSpanMultipleMonthsPlural => "{0} mánuðir"; + public string TimeSpanMultipleMonthsSingular => "{0} mánuðir"; + public string TimeSpanMultipleYearsPlural => "{0} ár"; + public string TimeSpanMultipleYearsSingular => "{0} ár"; + public string TimeSpanSingleDayWords => "einn dagur"; + public string TimeSpanSingleHourWords => "ein klukkustund"; + public string TimeSpanSingleMillisecondWords => "ein millisekúnda"; + public string TimeSpanSingleMinuteWords => "ein mínúta"; + public string TimeSpanSingleMonthWords => "einn mánuður"; + public string TimeSpanSingleSecondWords => "ein sekúnda"; + public string TimeSpanSingleWeekWords => "ein vika"; + public string TimeSpanSingleYearWords => "eitt ár"; + public string N => "norður"; + public string NNE => "norðnorðaustur"; + public string NE => "norðaustur"; + public string ENE => "austnorðaustur"; + public string E => "austur"; + public string ESE => "austsuðaustur"; + public string SE => "suðaustur"; + public string SSE => "suðsuðaustur"; + public string S => "suður"; + public string SSW => "suðsuðvestur"; + public string SW => "suðvestur"; + public string WSW => "vestsuðvestur"; + public string W => "vestur"; + public string WNW => "vestnorðvestur"; + public string NW => "norðvestur"; + public string NNW => "norðnorðvestur"; + public string NShort => "N"; + public string NNEShort => "NNA"; + public string NEShort => "NA"; + public string ENEShort => "ANA"; + public string EShort => "A"; + public string ESEShort => "ASA"; + public string SEShort => "SA"; + public string SSEShort => "SSA"; + public string SShort => "S"; + public string SSWShort => "SSV"; + public string SWShort => "SV"; + public string WSWShort => "VSV"; + public string WShort => "V"; + public string WNWShort => "VNV"; + public string NWShort => "NV"; + public string NNWShort => "NNV"; + public string DataUnitBit => "biti"; + public string DataUnitBitSymbol => "b"; + public string DataUnitByte => "bæti"; + public string DataUnitByteSymbol => "B"; + public string DataUnitKilobyte => "kílóbæti"; + public string DataUnitKilobyteSymbol => "kB"; + public string DataUnitMegabyte => "megabæti"; + public string DataUnitMegabyteSymbol => "MB"; + public string DataUnitGigabyte => "gígabæti"; + public string DataUnitGigabyteSymbol => "GB"; + public string DataUnitTerabyte => "terabæti"; + public string DataUnitTerabyteSymbol => "TB"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/IndonesianResources.cs b/src/Humanizer/Resources/IndonesianResources.cs new file mode 100644 index 000000000..1989ea00d --- /dev/null +++ b/src/Humanizer/Resources/IndonesianResources.cs @@ -0,0 +1,191 @@ +class IndonesianResources : IResources +{ + public string Culture => "id"; + public static IndonesianResources Instance => new(); + public string DateSingleSecondAgo => "sedetik yang lalu"; + public string DateMultipleSecondsAgo => "{0} detik yang lalu"; + public string DateSingleMinuteAgo => "semenit yang lalu"; + public string DateMultipleMinutesAgo => "{0} menit yang lalu"; + public string DateSingleHourAgo => "sejam yang lalu"; + public string DateMultipleHoursAgo => "{0} jam yang lalu"; + public string DateSingleDayAgo => "kemarin"; + public string DateMultipleDaysAgo => "{0} hari yang lalu"; + public string DateSingleMonthAgo => "sebulan yang lalu"; + public string DateMultipleMonthsAgo => "{0} bulan yang lalu"; + public string DateSingleYearAgo => "setahun yang lalu"; + public string DateMultipleYearsAgo => "{0} tahun yang lalu"; + public string TimeSpanMultipleDays => "{0} hari"; + public string TimeSpanMultipleHours => "{0} jam"; + public string TimeSpanMultipleMilliseconds => "{0} milidetik"; + public string TimeSpanMultipleMinutes => "{0} menit"; + public string TimeSpanMultipleSeconds => "{0} detik"; + public string TimeSpanSingleDay => "1 hari"; + public string TimeSpanSingleHour => "1 jam"; + public string TimeSpanSingleMillisecond => "1 milidetik"; + public string TimeSpanSingleMinute => "1 menit"; + public string TimeSpanSingleSecond => "1 detik"; + public string TimeSpanZero => "waktu kosong"; + public string TimeSpanMultipleWeeks => "{0} minggu"; + public string TimeSpanSingleWeek => "1 minggu"; + public string DateMultipleDaysFromNow => "{0} hari dari sekarang"; + public string DateMultipleHoursFromNow => "{0} jam dari sekarang"; + public string DateMultipleMinutesFromNow => "{0} menit dari sekarang"; + public string DateMultipleMonthsFromNow => "{0} bulan dari sekarang"; + public string DateMultipleSecondsFromNow => "{0} detik dari sekarang"; + public string DateMultipleYearsFromNow => "{0} tahun dari sekarang"; + public string DateNow => "sekarang"; + public string DateSingleDayFromNow => "besok"; + public string DateSingleHourFromNow => "sejam dari sekarang"; + public string DateSingleMinuteFromNow => "semenit dari sekarang"; + public string DateSingleMonthFromNow => "sebulan dari sekarang"; + public string DateSingleSecondFromNow => "sedetik dari sekarang"; + public string DateSingleYearFromNow => "setahun dari sekarang"; + public string TimeSpanMultipleMonths => "{0} bulan"; + public string TimeSpanMultipleYears => "{0} tahun"; + public string TimeSpanSingleMonth => "1 bulan"; + public string TimeSpanSingleYear => "1 tahun"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/InvariantResources.cs b/src/Humanizer/Resources/InvariantResources.cs new file mode 100644 index 000000000..443be62bf --- /dev/null +++ b/src/Humanizer/Resources/InvariantResources.cs @@ -0,0 +1,191 @@ +class InvariantResources : IResources +{ + public string Culture => ""; + public static InvariantResources Instance => new(); + public string DateSingleSecondAgo => "one second ago"; + public string DateMultipleSecondsAgo => "{0} seconds ago"; + public string DateSingleMinuteAgo => "a minute ago"; + public string DateMultipleMinutesAgo => "{0} minutes ago"; + public string DateSingleHourAgo => "an hour ago"; + public string DateMultipleHoursAgo => "{0} hours ago"; + public string DateSingleDayAgo => "yesterday"; + public string DateMultipleDaysAgo => "{0} days ago"; + public string DateSingleMonthAgo => "one month ago"; + public string DateMultipleMonthsAgo => "{0} months ago"; + public string DateSingleYearAgo => "one year ago"; + public string DateMultipleYearsAgo => "{0} years ago"; + public string TimeSpanMultipleDays => "{0} days"; + public string TimeSpanMultipleHours => "{0} hours"; + public string TimeSpanMultipleMilliseconds => "{0} milliseconds"; + public string TimeSpanMultipleMinutes => "{0} minutes"; + public string TimeSpanMultipleSeconds => "{0} seconds"; + public string TimeSpanSingleDay => "1 day"; + public string TimeSpanSingleHour => "1 hour"; + public string TimeSpanSingleMillisecond => "1 millisecond"; + public string TimeSpanSingleMinute => "1 minute"; + public string TimeSpanSingleSecond => "1 second"; + public string TimeSpanZero => "no time"; + public string TimeSpanMultipleWeeks => "{0} weeks"; + public string TimeSpanSingleWeek => "1 week"; + public string DateMultipleDaysFromNow => "{0} days from now"; + public string DateMultipleHoursFromNow => "{0} hours from now"; + public string DateMultipleMinutesFromNow => "{0} minutes from now"; + public string DateMultipleMonthsFromNow => "{0} months from now"; + public string DateMultipleSecondsFromNow => "{0} seconds from now"; + public string DateMultipleYearsFromNow => "{0} years from now"; + public string DateNow => "now"; + public string DateSingleDayFromNow => "tomorrow"; + public string DateSingleHourFromNow => "an hour from now"; + public string DateSingleMinuteFromNow => "a minute from now"; + public string DateSingleMonthFromNow => "one month from now"; + public string DateSingleSecondFromNow => "one second from now"; + public string DateSingleYearFromNow => "one year from now"; + public string DateMultipleHoursFromNowDual => "{0} hours from now"; + public string DateMultipleMinutesFromNowPlural => "{0} minutes from now"; + public string DateMultipleSecondsAgoDual => "{0} seconds ago"; + public string DateMultipleSecondsFromNowDual => "{0} seconds from now"; + public string DateMultipleYearsFromNowDual => "{0} years from now"; + public string TimeSpanMultipleDaysDual => "{0} days"; + public string TimeSpanMultipleDaysPlural => "{0} days"; + public string TimeSpanMultipleHoursPlural => "{0} hours"; + public string TimeSpanMultipleMillisecondsDual => "{0} milliseconds"; + public string TimeSpanMultipleMinutesDual => "{0} minutes"; + public string TimeSpanMultipleMinutesPlural => "{0} minutes"; + public string TimeSpanMultipleSecondsPlural => "{0} seconds"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milliseconds"; + public string DateMultipleDaysAgoDual => "{0} days ago"; + public string DateMultipleDaysAgoPlural => "{0} days ago"; + public string DateMultipleDaysAgoSingular => "{0} day ago"; + public string DateMultipleDaysFromNowDual => "{0} days from now"; + public string DateMultipleDaysFromNowPlural => "{0} days from now"; + public string DateMultipleDaysFromNowSingular => "{0} day from now"; + public string DateMultipleHoursAgoDual => "{0} hours ago"; + public string DateMultipleHoursAgoPlural => "{0} hours ago"; + public string DateMultipleHoursAgoSingular => "{0} hour ago"; + public string DateMultipleHoursFromNowPlural => "{0} hours from now"; + public string DateMultipleHoursFromNowSingular => "{0} hour from now"; + public string DateMultipleMinutesAgoDual => "{0} minutes ago"; + public string DateMultipleMinutesAgoPlural => "{0} minutes ago"; + public string DateMultipleMinutesAgoSingular => "{0} minute ago"; + public string DateMultipleMinutesFromNowDual => "{0} minutes from now"; + public string DateMultipleMinutesFromNowSingular => "{0} minute from now"; + public string DateMultipleMonthsAgoDual => "{0} months ago"; + public string DateMultipleMonthsAgoPlural => "{0} months ago"; + public string DateMultipleMonthsAgoSingular => "{0} month ago"; + public string DateMultipleMonthsFromNowDual => "{0} months from now"; + public string DateMultipleMonthsFromNowPlural => "{0} months from now"; + public string DateMultipleMonthsFromNowSingular => "{0} month from now"; + public string DateMultipleSecondsAgoPlural => "{0} seconds ago"; + public string DateMultipleSecondsAgoSingular => "{0} second ago"; + public string DateMultipleSecondsFromNowPlural => "{0} seconds from now"; + public string DateMultipleSecondsFromNowSingular => "{0} second from now"; + public string DateMultipleYearsAgoDual => "{0} years ago"; + public string DateMultipleYearsAgoPlural => "{0} years ago"; + public string DateMultipleYearsAgoSingular => "{0} year ago"; + public string DateMultipleYearsFromNowPlural => "{0} years from now"; + public string DateMultipleYearsFromNowSingular => "{0} year from now"; + public string TimeSpanMultipleDaysSingular => "{0} day"; + public string TimeSpanMultipleHoursDual => "{0} hours"; + public string TimeSpanMultipleHoursSingular => "{0} hour"; + public string TimeSpanMultipleMillisecondsSingular => "{0} millisecond"; + public string TimeSpanMultipleMinutesSingular => "{0} minute"; + public string TimeSpanMultipleSecondsDual => "{0} seconds"; + public string TimeSpanMultipleSecondsSingular => "{0} second"; + public string TimeSpanMultipleWeeksDual => "{0} weeks"; + public string TimeSpanMultipleWeeksPlural => "{0} weeks"; + public string TimeSpanMultipleWeeksSingular => "{0} week"; + public string TimeSpanMultipleMonths => "{0} months"; + public string TimeSpanMultipleYears => "{0} years"; + public string TimeSpanSingleMonth => "1 month"; + public string TimeSpanSingleYear => "1 year"; + public string DateNever => "never"; + public string TimeSpanMultipleMonthsDual => "{0} months"; + public string TimeSpanMultipleMonthsPlural => "{0} months"; + public string TimeSpanMultipleMonthsSingular => "{0} months"; + public string TimeSpanMultipleYearsDual => "{0} years"; + public string TimeSpanMultipleYearsPlural => "{0} years"; + public string TimeSpanMultipleYearsSingular => "{0} years"; + public string TimeSpanSingleDayWords => "one day"; + public string TimeSpanSingleHourWords => "one hour"; + public string TimeSpanSingleMillisecondWords => "one millisecond"; + public string TimeSpanSingleMinuteWords => "one minute"; + public string TimeSpanSingleMonthWords => "one month"; + public string TimeSpanSingleSecondWords => "one second"; + public string TimeSpanSingleWeekWords => "one week"; + public string TimeSpanSingleYearWords => "one year"; + public string N => "north"; + public string NNE => "north-northeast"; + public string NE => "northeast"; + public string ENE => "east-northeast"; + public string E => "east"; + public string ESE => "east-southeast"; + public string SE => "southeast"; + public string SSE => "south-southeast"; + public string S => "south"; + public string SSW => "south-southwest"; + public string SW => "southwest"; + public string WSW => "west-southwest"; + public string W => "west"; + public string WNW => "west-northwest"; + public string NW => "northwest"; + public string NNW => "north-northwest"; + public string NShort => "N"; + public string NNEShort => "NNE"; + public string NEShort => "NE"; + public string ENEShort => "ENE"; + public string EShort => "E"; + public string ESEShort => "ESE"; + public string SEShort => "SE"; + public string SSEShort => "SSE"; + public string SShort => "S"; + public string SSWShort => "SSW"; + public string SWShort => "SW"; + public string WSWShort => "WSW"; + public string WShort => "W"; + public string WNWShort => "WNW"; + public string NWShort => "NW"; + public string NNWShort => "NNW"; + public string DataUnitBit => "bit"; + public string DataUnitBitSymbol => "b"; + public string DataUnitByte => "byte"; + public string DataUnitByteSymbol => "B"; + public string DataUnitKilobyte => "kilobyte"; + public string DataUnitKilobyteSymbol => "KB"; + public string DataUnitMegabyte => "megabyte"; + public string DataUnitMegabyteSymbol => "MB"; + public string DataUnitGigabyte => "gigabyte"; + public string DataUnitGigabyteSymbol => "GB"; + public string DataUnitTerabyte => "terabyte"; + public string DataUnitTerabyteSymbol => "TB"; + public string TimeUnitMillisecond => "ms"; + public string TimeUnitSecond => "s"; + public string TimeUnitMinute => "min"; + public string TimeUnitHour => "h"; + public string TimeUnitDay => "d"; + public string TimeUnitWeek => "week"; + public string TimeUnitMonth => "mo"; + public string TimeUnitYear => "y"; + public string DateMultipleDaysAgoPaucal => "{0} days ago"; + public string DateMultipleDaysFromNowPaucal => "{0} days from now"; + public string DateMultipleHoursAgoPaucal => "{0} hours ago"; + public string DateMultipleHoursFromNowPaucal => "{0} hours from now"; + public string DateMultipleMinutesAgoPaucal => "{0} minutes ago"; + public string DateMultipleMinutesFromNowPaucal => "{0} minutes from now"; + public string DateMultipleMonthsAgoPaucal => "{0} months ago"; + public string DateMultipleMonthsFromNowPaucal => "{0} months from now"; + public string DateMultipleSecondsAgoPaucal => "{0} seconds ago"; + public string DateMultipleSecondsFromNowPaucal => "{0} seconds from now"; + public string DateMultipleYearsAgoPaucal => "{0} years from ago"; + public string DateMultipleYearsFromNowPaucal => "{0} years from now"; + public string DateTwoDaysAgo => "two days ago"; + public string DateTwoDaysFromNow => "two days from now"; + public string TimeSpanMultipleDaysPaucal => "{0} days"; + public string TimeSpanMultipleHoursPaucal => "{0} hours"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milliseconds"; + public string TimeSpanMultipleMinutesPaucal => "{0} minutes"; + public string TimeSpanMultipleMonthsPaucal => "{0} months"; + public string TimeSpanMultipleSecondsPaucal => "{0} months"; + public string TimeSpanMultipleWeeksPaucal => "{0} weeks"; + public string TimeSpanMultipleYearsPaucal => "{0} years"; + public string TimeSpanAge => "{0} old"; +} diff --git a/src/Humanizer/Resources/ItalianResources.cs b/src/Humanizer/Resources/ItalianResources.cs new file mode 100644 index 000000000..86953fd30 --- /dev/null +++ b/src/Humanizer/Resources/ItalianResources.cs @@ -0,0 +1,191 @@ +class ItalianResources : IResources +{ + public string Culture => "it"; + public static ItalianResources Instance => new(); + public string DateSingleSecondAgo => "un secondo fa"; + public string DateMultipleSecondsAgo => "{0} secondi fa"; + public string DateSingleMinuteAgo => "un minuto fa"; + public string DateMultipleMinutesAgo => "{0} minuti fa"; + public string DateSingleHourAgo => "un'ora fa"; + public string DateMultipleHoursAgo => "{0} ore fa"; + public string DateSingleDayAgo => "ieri"; + public string DateMultipleDaysAgo => "{0} giorni fa"; + public string DateSingleMonthAgo => "un mese fa"; + public string DateMultipleMonthsAgo => "{0} mesi fa"; + public string DateSingleYearAgo => "un anno fa"; + public string DateMultipleYearsAgo => "{0} anni fa"; + public string TimeSpanMultipleDays => "{0} giorni"; + public string TimeSpanMultipleHours => "{0} ore"; + public string TimeSpanMultipleMilliseconds => "{0} millisecondi"; + public string TimeSpanMultipleMinutes => "{0} minuti"; + public string TimeSpanMultipleSeconds => "{0} secondi"; + public string TimeSpanSingleDay => "1 giorno"; + public string TimeSpanSingleHour => "1 ora"; + public string TimeSpanSingleMillisecond => "1 millisecondo"; + public string TimeSpanSingleMinute => "1 minuto"; + public string TimeSpanSingleSecond => "1 secondo"; + public string TimeSpanZero => "0 secondi"; + public string TimeSpanMultipleWeeks => "{0} settimane"; + public string TimeSpanSingleWeek => "1 settimana"; + public string DateMultipleDaysFromNow => "tra {0} giorni"; + public string DateMultipleHoursFromNow => "tra {0} ore"; + public string DateMultipleMinutesFromNow => "tra {0} minuti"; + public string DateMultipleMonthsFromNow => "tra {0} mesi"; + public string DateMultipleSecondsFromNow => "tra {0} secondi"; + public string DateMultipleYearsFromNow => "tra {0} anni"; + public string DateNow => "adesso"; + public string DateSingleDayFromNow => "domani"; + public string DateSingleHourFromNow => "tra un'ora"; + public string DateSingleMinuteFromNow => "tra un minuto"; + public string DateSingleMonthFromNow => "tra un mese"; + public string DateSingleSecondFromNow => "tra un secondo"; + public string DateSingleYearFromNow => "tra un anno"; + public string TimeSpanMultipleMonths => "{0} mesi"; + public string TimeSpanMultipleYears => "{0} anni"; + public string TimeSpanSingleMonth => "1 mese"; + public string TimeSpanSingleYear => "1 anno"; + public string TimeSpanSingleDayWords => "un giorno"; + public string TimeSpanSingleHourWords => "una ora"; + public string TimeSpanSingleMillisecondWords => "un millisecondo"; + public string TimeSpanSingleMinuteWords => "un minuto"; + public string TimeSpanSingleMonthWords => "un mese"; + public string TimeSpanSingleSecondWords => "un secondo"; + public string TimeSpanSingleWeekWords => "una settimana"; + public string TimeSpanSingleYearWords => "un anno"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/JapaneseResources.cs b/src/Humanizer/Resources/JapaneseResources.cs new file mode 100644 index 000000000..c205fe256 --- /dev/null +++ b/src/Humanizer/Resources/JapaneseResources.cs @@ -0,0 +1,191 @@ +class JapaneseResources : IResources +{ + public string Culture => "ja"; + public static JapaneseResources Instance => new(); + public string DateSingleSecondAgo => "1 秒前"; + public string DateMultipleSecondsAgo => "{0} 秒前"; + public string DateSingleMinuteAgo => "1 分前"; + public string DateMultipleMinutesAgo => "{0} 分前"; + public string DateSingleHourAgo => "1 時間前"; + public string DateMultipleHoursAgo => "{0} 時間前"; + public string DateSingleDayAgo => "昨日"; + public string DateMultipleDaysAgo => "{0} 日前"; + public string DateSingleMonthAgo => "先月"; + public string DateMultipleMonthsAgo => "{0} か月前"; + public string DateSingleYearAgo => "去年"; + public string DateMultipleYearsAgo => "{0} 年前"; + public string TimeSpanMultipleDays => "{0} 日"; + public string TimeSpanMultipleHours => "{0} 時間"; + public string TimeSpanMultipleMilliseconds => "{0} ミリ秒"; + public string TimeSpanMultipleMinutes => "{0} 分"; + public string TimeSpanMultipleSeconds => "{0} 秒"; + public string TimeSpanSingleDay => "1 日"; + public string TimeSpanSingleHour => "1 時間"; + public string TimeSpanSingleMillisecond => "1 ミリ秒"; + public string TimeSpanSingleMinute => "1 分"; + public string TimeSpanSingleSecond => "1 秒"; + public string TimeSpanZero => "0 秒"; + public string TimeSpanMultipleWeeks => "{0} 週間"; + public string TimeSpanSingleWeek => "1 週間"; + public string DateMultipleDaysFromNow => "{0} 日後"; + public string DateMultipleHoursFromNow => "{0} 時間後"; + public string DateMultipleMinutesFromNow => "{0} 分後"; + public string DateMultipleMonthsFromNow => "{0} か月後"; + public string DateMultipleSecondsFromNow => "{0} 秒後"; + public string DateMultipleYearsFromNow => "{0} 年後"; + public string DateNow => "今"; + public string DateSingleDayFromNow => "明日"; + public string DateSingleHourFromNow => "1 時間後"; + public string DateSingleMinuteFromNow => "1 分後"; + public string DateSingleMonthFromNow => "来月"; + public string DateSingleSecondFromNow => "1 秒後"; + public string DateSingleYearFromNow => "来年"; + public string TimeSpanMultipleMonths => "{0} ヶ月"; + public string TimeSpanMultipleYears => "{0} 年"; + public string TimeSpanSingleMonth => "1 ヶ月"; + public string TimeSpanSingleYear => "1 年"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/KoreanKoreaResources.cs b/src/Humanizer/Resources/KoreanKoreaResources.cs new file mode 100644 index 000000000..517888878 --- /dev/null +++ b/src/Humanizer/Resources/KoreanKoreaResources.cs @@ -0,0 +1,191 @@ +class KoreanKoreaResources : IResources +{ + public string Culture => "ko-KR"; + public static KoreanKoreaResources Instance => new(); + public string DateSingleSecondAgo => "1초 전"; + public string DateMultipleSecondsAgo => "{0}초 전"; + public string DateSingleMinuteAgo => "1분 전"; + public string DateMultipleMinutesAgo => "{0}분 전"; + public string DateSingleHourAgo => "1시간 전"; + public string DateMultipleHoursAgo => "{0}시간 전"; + public string DateSingleDayAgo => "어제"; + public string DateMultipleDaysAgo => "{0}일 전"; + public string DateSingleMonthAgo => "1개월 전"; + public string DateMultipleMonthsAgo => "{0}개월 전"; + public string DateSingleYearAgo => "1년 전"; + public string DateMultipleYearsAgo => "{0}년 전"; + public string TimeSpanMultipleDays => "{0}일"; + public string TimeSpanMultipleHours => "{0}시간"; + public string TimeSpanMultipleMilliseconds => "{0}밀리초"; + public string TimeSpanMultipleMinutes => "{0}분"; + public string TimeSpanMultipleSeconds => "{0}초"; + public string TimeSpanSingleDay => "1일"; + public string TimeSpanSingleHour => "1시간"; + public string TimeSpanSingleMillisecond => "1밀리초"; + public string TimeSpanSingleMinute => "1분"; + public string TimeSpanSingleSecond => "1초"; + public string TimeSpanZero => "방금"; + public string TimeSpanMultipleWeeks => "{0}주"; + public string TimeSpanSingleWeek => "1주"; + public string DateMultipleDaysFromNow => "{0}일 후"; + public string DateMultipleHoursFromNow => "{0}시간 후"; + public string DateMultipleMinutesFromNow => "{0}분 후"; + public string DateMultipleMonthsFromNow => "{0}개월 후"; + public string DateMultipleSecondsFromNow => "{0}초 후"; + public string DateMultipleYearsFromNow => "{0}년 후"; + public string DateNow => "지금"; + public string DateSingleDayFromNow => "내일"; + public string DateSingleHourFromNow => "1시간 후"; + public string DateSingleMinuteFromNow => "1분 후"; + public string DateSingleMonthFromNow => "1개월 후"; + public string DateSingleSecondFromNow => "1초 후"; + public string DateSingleYearFromNow => "1년 후"; + public string DateMultipleHoursFromNowDual => "{0}시간 후"; + public string DateMultipleMinutesFromNowPlural => "{0}분 후"; + public string DateMultipleSecondsAgoDual => "{0}초 전"; + public string DateMultipleSecondsFromNowDual => "{0}초 후"; + public string DateMultipleYearsFromNowDual => "{0}년 후"; + public string TimeSpanMultipleDaysDual => "{0}일"; + public string TimeSpanMultipleDaysPlural => "{0}일"; + public string TimeSpanMultipleHoursPlural => "{0}시간"; + public string TimeSpanMultipleMillisecondsDual => "{0}밀리초"; + public string TimeSpanMultipleMinutesDual => "{0}분"; + public string TimeSpanMultipleMinutesPlural => "{0}분"; + public string TimeSpanMultipleSecondsPlural => "{0}초"; + public string TimeSpanMultipleMillisecondsPlural => "{0}밀리초"; + public string DateMultipleDaysAgoDual => "{0}일 전"; + public string DateMultipleDaysAgoPlural => "{0}일 전"; + public string DateMultipleDaysAgoSingular => "{0}일 전"; + public string DateMultipleDaysFromNowDual => "{0}일 후"; + public string DateMultipleDaysFromNowPlural => "{0}일 후"; + public string DateMultipleDaysFromNowSingular => "{0}일 후"; + public string DateMultipleHoursAgoDual => "{0}시간 전"; + public string DateMultipleHoursAgoPlural => "{0}시간 전"; + public string DateMultipleHoursAgoSingular => "{0}시간 전"; + public string DateMultipleHoursFromNowPlural => "{0}시간 후"; + public string DateMultipleHoursFromNowSingular => "{0}시간 후"; + public string DateMultipleMinutesAgoDual => "{0}분 전"; + public string DateMultipleMinutesAgoPlural => "{0}분 전"; + public string DateMultipleMinutesAgoSingular => "{0}분 전"; + public string DateMultipleMinutesFromNowDual => "{0}분 후"; + public string DateMultipleMinutesFromNowSingular => "{0}분 후"; + public string DateMultipleMonthsAgoDual => "{0}개월 전"; + public string DateMultipleMonthsAgoPlural => "{0}개월 전"; + public string DateMultipleMonthsAgoSingular => "{0}개월 전"; + public string DateMultipleMonthsFromNowDual => "{0}개월 후"; + public string DateMultipleMonthsFromNowPlural => "{0}개월 후"; + public string DateMultipleMonthsFromNowSingular => "{0}개월 후"; + public string DateMultipleSecondsAgoPlural => "{0}초 전"; + public string DateMultipleSecondsAgoSingular => "{0}초 전"; + public string DateMultipleSecondsFromNowPlural => "{0}초 후"; + public string DateMultipleSecondsFromNowSingular => "{0}초 후"; + public string DateMultipleYearsAgoDual => "{0}년 전"; + public string DateMultipleYearsAgoPlural => "{0}년 전"; + public string DateMultipleYearsAgoSingular => "{0}년 전"; + public string DateMultipleYearsFromNowPlural => "{0}년 후"; + public string DateMultipleYearsFromNowSingular => "{0}년 후"; + public string TimeSpanMultipleDaysSingular => "{0}일"; + public string TimeSpanMultipleHoursDual => "{0}시간"; + public string TimeSpanMultipleHoursSingular => "{0}시간"; + public string TimeSpanMultipleMillisecondsSingular => "{0}밀리초"; + public string TimeSpanMultipleMinutesSingular => "{0}분"; + public string TimeSpanMultipleSecondsDual => "{0}초"; + public string TimeSpanMultipleSecondsSingular => "{0}초"; + public string TimeSpanMultipleWeeksDual => "{0}주"; + public string TimeSpanMultipleWeeksPlural => "{0}주"; + public string TimeSpanMultipleWeeksSingular => "{0}주"; + public string TimeSpanMultipleMonths => "{0}개월"; + public string TimeSpanMultipleYears => "{0}년"; + public string TimeSpanSingleMonth => "1개월"; + public string TimeSpanSingleYear => "1년"; + public string DateMultipleHoursAgoPaucal => "{0}시간 전"; + public string DateMultipleHoursFromNowPaucal => "{0}시간 후"; + public string DateMultipleMinutesAgoPaucal => "{0}분 전"; + public string DateMultipleMinutesFromNowPaucal => "{0}분 후"; + public string DateMultipleMonthsAgoPaucal => "{0}개월 전"; + public string DateMultipleMonthsFromNowPaucal => "{0}개월 후"; + public string DateMultipleSecondsAgoPaucal => "{0}초 전"; + public string DateMultipleSecondsFromNowPaucal => "{0}초 후"; + public string DateMultipleYearsAgoPaucal => "{0}년 전"; + public string DateMultipleYearsFromNowPaucal => "{0}년 후"; + public string TimeSpanMultipleHoursPaucal => "{0}시간"; + public string TimeSpanMultipleMillisecondsPaucal => "{0}밀리초"; + public string TimeSpanMultipleMinutesPaucal => "{0}분"; + public string TimeSpanMultipleSecondsPaucal => "{0}초"; + public string TimeSpanMultipleWeeksPaucal => "{0}주"; + public string DateNever => "사용 안 함"; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/LatvianResources.cs b/src/Humanizer/Resources/LatvianResources.cs new file mode 100644 index 000000000..371068e4e --- /dev/null +++ b/src/Humanizer/Resources/LatvianResources.cs @@ -0,0 +1,191 @@ +class LatvianResources : IResources +{ + public string Culture => "lv"; + public static LatvianResources Instance => new(); + public string DateSingleSecondAgo => "pirms sekundes"; + public string DateMultipleSecondsAgo => "pirms {0} sekundēm"; + public string DateSingleMinuteAgo => "pirms minūtes"; + public string DateMultipleMinutesAgo => "pirms {0} minūtēm"; + public string DateSingleHourAgo => "pirms stundas"; + public string DateMultipleHoursAgo => "pirms {0} stundām"; + public string DateSingleDayAgo => "vakardien"; + public string DateMultipleDaysAgo => "pirms {0} dienām"; + public string DateSingleMonthAgo => "pirms mēneša"; + public string DateMultipleMonthsAgo => "pirms {0} mēnešiem"; + public string DateSingleYearAgo => "pirms gada"; + public string DateMultipleYearsAgo => "pirms {0} gadiem"; + public string TimeSpanMultipleDays => "{0} dienas"; + public string TimeSpanMultipleHours => "{0} stundas"; + public string TimeSpanMultipleMilliseconds => "{0} milisekundes"; + public string TimeSpanMultipleMinutes => "{0} minūtes"; + public string TimeSpanMultipleSeconds => "{0} sekundes"; + public string TimeSpanSingleDay => "1 diena"; + public string TimeSpanSingleHour => "1 stunda"; + public string TimeSpanSingleMillisecond => "1 milisekunde"; + public string TimeSpanSingleMinute => "1 minūte"; + public string TimeSpanSingleSecond => "1 sekunde"; + public string TimeSpanZero => "bez laika"; + public string TimeSpanMultipleWeeks => "{0} nedēļas"; + public string TimeSpanSingleWeek => "1 nedēļa"; + public string DateMultipleDaysFromNow => "pēc {0} dienām"; + public string DateMultipleHoursFromNow => "pēc {0} stundām"; + public string DateMultipleMinutesFromNow => "pēc {0} minūtēm"; + public string DateMultipleMonthsFromNow => "pēc {0} mēnešiem"; + public string DateMultipleSecondsFromNow => "pēc {0} sekundēm"; + public string DateMultipleYearsFromNow => "pēc {0} gadiem"; + public string DateNow => "tagad"; + public string DateSingleDayFromNow => "rītdien"; + public string DateSingleHourFromNow => "pēc stundas"; + public string DateSingleMinuteFromNow => "pēc minūtēs"; + public string DateSingleMonthFromNow => "pēc mēneša"; + public string DateSingleSecondFromNow => "pēc sekundes"; + public string DateSingleYearFromNow => "pēc gada"; + public string DateMultipleHoursFromNowDual => "pēc {0} stundām"; + public string DateMultipleMinutesFromNowPlural => "pēc {0} minūtēm"; + public string DateMultipleSecondsAgoDual => "pirms {0} sekundēm"; + public string DateMultipleSecondsFromNowDual => "pēc {0} sekundēm"; + public string DateMultipleYearsFromNowDual => "pēc {0} gadiem"; + public string TimeSpanMultipleDaysDual => "{0} dienas"; + public string TimeSpanMultipleDaysPlural => "{0} dienas"; + public string TimeSpanMultipleHoursPlural => "{0} stundas"; + public string TimeSpanMultipleMillisecondsDual => "{0} milisekundes"; + public string TimeSpanMultipleMinutesDual => "{0} minūtes"; + public string TimeSpanMultipleMinutesPlural => "{0} minūtes"; + public string TimeSpanMultipleSecondsPlural => "{0} sekundes"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milisekundes"; + public string DateMultipleDaysAgoDual => "pirms {0} dienām"; + public string DateMultipleDaysAgoPlural => "pirms {0} dienām"; + public string DateMultipleDaysAgoSingular => "pirms {0} dienas"; + public string DateMultipleDaysFromNowDual => "pēc {0} dienām"; + public string DateMultipleDaysFromNowPlural => "pēc {0} dienām"; + public string DateMultipleDaysFromNowSingular => "pēc {0} dienas"; + public string DateMultipleHoursAgoDual => "pirms {0} stundām"; + public string DateMultipleHoursAgoPlural => "pirms {0} stundām"; + public string DateMultipleHoursAgoSingular => "pirms {0} stundas"; + public string DateMultipleHoursFromNowPlural => "pēc {0} stundām"; + public string DateMultipleHoursFromNowSingular => "pēc {0} stundas"; + public string DateMultipleMinutesAgoDual => "pirms {0} minūtēm"; + public string DateMultipleMinutesAgoPlural => "pirms {0} minūtēm"; + public string DateMultipleMinutesAgoSingular => "pirms {0} minūtes"; + public string DateMultipleMinutesFromNowDual => "pēc {0} minūtēm"; + public string DateMultipleMinutesFromNowSingular => "pēc {0} minūtes"; + public string DateMultipleMonthsAgoDual => "pirms {0} mēnešiem"; + public string DateMultipleMonthsAgoPlural => "pirms {0} mēnešiem"; + public string DateMultipleMonthsAgoSingular => "pirms {0} mēneša"; + public string DateMultipleMonthsFromNowDual => "pēc {0} mēnešiem"; + public string DateMultipleMonthsFromNowPlural => "pēc {0} mēnešiem"; + public string DateMultipleMonthsFromNowSingular => "pēc {0} mēneša"; + public string DateMultipleSecondsAgoPlural => "pirms {0} sekundēm"; + public string DateMultipleSecondsAgoSingular => "pirms {0} sekundes"; + public string DateMultipleSecondsFromNowPlural => "pēc {0} sekundēm"; + public string DateMultipleSecondsFromNowSingular => "pēc {0} sekundes"; + public string DateMultipleYearsAgoDual => "pirms {0} gadiem"; + public string DateMultipleYearsAgoPlural => "pirms {0} gadiem"; + public string DateMultipleYearsAgoSingular => "pirms {0} gada"; + public string DateMultipleYearsFromNowPlural => "pēc {0} gadiem"; + public string DateMultipleYearsFromNowSingular => "pēc {0} gada"; + public string TimeSpanMultipleDaysSingular => "{0} diena"; + public string TimeSpanMultipleHoursDual => "{0} stundas"; + public string TimeSpanMultipleHoursSingular => "{0} stunda"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milisekunde"; + public string TimeSpanMultipleMinutesSingular => "{0} minūte"; + public string TimeSpanMultipleSecondsDual => "{0} sekundes"; + public string TimeSpanMultipleSecondsSingular => "{0} sekunde"; + public string TimeSpanMultipleWeeksDual => "{0} nedēļas"; + public string TimeSpanMultipleWeeksPlural => "{0} nedēļas"; + public string TimeSpanMultipleWeeksSingular => "{0} nedēļa"; + public string TimeSpanMultipleMonths => "{0} mēneši"; + public string TimeSpanMultipleYears => "{0} gadi"; + public string TimeSpanSingleMonth => "1 mēnesis"; + public string TimeSpanSingleYear => "1 gads"; + public string DateMultipleHoursAgoPaucal => "pirms {0} stundām"; + public string DateMultipleHoursFromNowPaucal => "pēc {0} stundām"; + public string DateMultipleMinutesAgoPaucal => "pirms {0} minūtēm"; + public string DateMultipleMinutesFromNowPaucal => "pēc {0} minūtēm"; + public string DateMultipleMonthsAgoPaucal => "pirms {0} mēnešiem"; + public string DateMultipleMonthsFromNowPaucal => "pēc {0} mēnešiem"; + public string DateMultipleSecondsAgoPaucal => "pirms {0} sekundēm"; + public string DateMultipleSecondsFromNowPaucal => "pēc {0} sekundēm"; + public string DateMultipleYearsAgoPaucal => "pirms {0} gadiem"; + public string DateMultipleYearsFromNowPaucal => "pēc {0} gadiem"; + public string TimeSpanMultipleHoursPaucal => "{0} stundas"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekundes"; + public string TimeSpanMultipleMinutesPaucal => "{0} minūtes"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekundes"; + public string TimeSpanMultipleWeeksPaucal => "{0} nedēļas"; + public string DateNever => "nekad"; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/LithuanianResources.cs b/src/Humanizer/Resources/LithuanianResources.cs new file mode 100644 index 000000000..ccb68f5cd --- /dev/null +++ b/src/Humanizer/Resources/LithuanianResources.cs @@ -0,0 +1,191 @@ +class LithuanianResources : IResources +{ + public string Culture => "lt"; + public static LithuanianResources Instance => new(); + public string DateMultipleDaysAgo => "prieš {0} dienas"; + public string DateMultipleDaysAgoPlural => "prieš {0} dienų"; + public string DateMultipleDaysAgoSingular => "prieš {0} dieną"; + public string DateMultipleDaysFromNow => "po {0} dienų"; + public string DateMultipleDaysFromNowSingular => "po {0} dienos"; + public string DateMultipleHoursAgo => "prieš {0} valandas"; + public string DateMultipleHoursAgoPlural => "prieš {0} valandų"; + public string DateMultipleHoursAgoSingular => "prieš {0} valandą"; + public string DateMultipleHoursFromNow => "po {0} valandų"; + public string TimeSpanSingleYear => "1 metai"; + public string TimeSpanSingleWeek => "1 savaitė"; + public string TimeSpanSingleSecond => "1 sekundė"; + public string TimeSpanSingleSecondWords => "viena sekundė"; + public string TimeSpanSingleWeekWords => "viena savaitė"; + public string TimeSpanSingleYearWords => "vieni metai"; + public string TimeSpanZero => "nėra laiko"; + public string TimeSpanSingleMonthWords => "vienas mėnuo"; + public string TimeSpanSingleMonth => "1 mėnuo"; + public string TimeSpanSingleMinuteWords => "viena minutė"; + public string TimeSpanSingleMinute => "1 minutė"; + public string TimeSpanSingleMillisecondWords => "viena milisekundė"; + public string TimeSpanSingleMillisecond => "1 milisekundė"; + public string TimeSpanSingleHourWords => "viena valanda"; + public string TimeSpanSingleHour => "1 valanda"; + public string TimeSpanSingleDayWords => "viena diena"; + public string TimeSpanSingleDay => "1 diena"; + public string TimeSpanMultipleYears => "{0} metai"; + public string TimeSpanMultipleWeeksSingular => "{0} savaitė"; + public string TimeSpanMultipleWeeksPlural => "{0} savaičių"; + public string TimeSpanMultipleWeeks => "{0} savaitės"; + public string TimeSpanMultipleSecondsPlural => "{0} sekundžių"; + public string TimeSpanMultipleSecondsSingular => "{0} sekundė"; + public string TimeSpanMultipleSeconds => "{0} sekundės"; + public string TimeSpanMultipleMonths => "{0} mėnesiai"; + public string TimeSpanMultipleMinutesSingular => "{0} minutė"; + public string TimeSpanMultipleMinutesPlural => "{0} minučių"; + public string TimeSpanMultipleMinutes => "{0} minutės"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milisekundė"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milisekundžių"; + public string TimeSpanMultipleMilliseconds => "{0} milisekundės"; + public string TimeSpanMultipleHoursPlural => "{0} valandų"; + public string TimeSpanMultipleHoursSingular => "{0} valanda"; + public string TimeSpanMultipleHours => "{0} valandos"; + public string TimeSpanMultipleDaysSingular => "{0} diena"; + public string TimeSpanMultipleDays => "{0} dienos"; + public string DateSingleYearFromNow => "po vienerių metų"; + public string DateSingleYearAgo => "prieš vienerius metus"; + public string DateSingleSecondFromNow => "po vienos sekundės"; + public string DateSingleSecondAgo => "prieš vieną sekundę"; + public string DateSingleMonthFromNow => "po vieno mėnesio"; + public string DateSingleMonthAgo => "prieš vieną mėnesį"; + public string DateSingleMinuteFromNow => "po minutės"; + public string DateSingleMinuteAgo => "prieš minutę"; + public string DateSingleHourFromNow => "po valandos"; + public string DateSingleHourAgo => "prieš valandą"; + public string DateSingleDayFromNow => "rytoj"; + public string DateSingleDayAgo => "vakar"; + public string DateNow => "dabar"; + public string DateNever => "niekada"; + public string DateMultipleYearsFromNowSingular => "po {0} metų"; + public string DateMultipleYearsFromNowPlural => "po {0} metų"; + public string DateMultipleYearsFromNow => "po {0} metų"; + public string DateMultipleYearsAgoSingular => "prieš {0} metus"; + public string DateMultipleYearsAgoPlural => "prieš {0} metų"; + public string DateMultipleYearsAgo => "prieš {0} metus"; + public string DateMultipleSecondsFromNowSingular => "po {0} sekundės"; + public string DateMultipleSecondsFromNow => "po {0} sekundžių"; + public string DateMultipleSecondsAgoSingular => "prieš {0} sekundę"; + public string DateMultipleSecondsAgo => "prieš {0} sekundes"; + public string DateMultipleMonthsFromNowSingular => "po {0} mėnesio"; + public string DateMultipleMonthsFromNow => "po {0} mėnesių"; + public string DateMultipleMonthsAgoSingular => "prieš {0} mėnesį"; + public string DateMultipleMonthsAgo => "prieš {0} mėnesius"; + public string DateMultipleMinutesFromNowSingular => "po {0} minutės"; + public string DateMultipleMinutesFromNow => "po {0} minučių"; + public string DateMultipleMinutesAgoSingular => "prieš {0} minutę"; + public string DateMultipleMinutesAgo => "prieš {0} minutes"; + public string DateMultipleHoursFromNowSingular => "po {0} valandos"; + public string DateMultipleMinutesAgoPlural => "prieš {0} minučių"; + public string DateMultipleMonthsAgoPlural => "prieš {0} mėnesių"; + public string DateMultipleSecondsAgoPlural => "prieš {0} sekundžių"; + public string TimeSpanMultipleDaysPlural => "{0} dienų"; + public string TimeSpanMultipleMonthsSingular => "{0} mėnuo"; + public string TimeSpanMultipleMonthsPlural => "{0} mėnesių"; + public string TimeSpanMultipleYearsPlural => "{0} metų"; + public string TimeSpanMultipleYearsSingular => "{0} metai"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/LuxembourgishResources.cs b/src/Humanizer/Resources/LuxembourgishResources.cs new file mode 100644 index 000000000..3849c5b3a --- /dev/null +++ b/src/Humanizer/Resources/LuxembourgishResources.cs @@ -0,0 +1,191 @@ +class LuxembourgishResources : IResources +{ + public string Culture => "lb"; + public static LuxembourgishResources Instance => new(); + public string DataUnitBit => "Bit"; + public string DataUnitBitSymbol => "bit"; + public string DataUnitByte => "Byte"; + public string DataUnitByteSymbol => "B"; + public string DataUnitGigabyte => "Gigabyte"; + public string DataUnitGigabyteSymbol => "GB"; + public string DataUnitKilobyte => "Kilobyte"; + public string DataUnitKilobyteSymbol => "KB"; + public string DataUnitMegabyte => "Megabyte"; + public string DataUnitMegabyteSymbol => "MB"; + public string DataUnitTerabyte => "Terabyte"; + public string DataUnitTerabyteSymbol => "TB"; + public string DateMultipleDaysAgo => "viru{1} {0} Deeg"; + public string DateMultipleDaysAgoSingular => "virun engem Dag"; + public string DateMultipleDaysFromNow => "a{1} {0} Deeg"; + public string DateMultipleDaysAgoDual => "virgëschter"; + public string DateMultipleDaysFromNowDual => "iwwermuer"; + public string DateMultipleHoursAgo => "viru{1} {0} Stonnen"; + public string DateMultipleHoursFromNow => "a{1} {0} Stonnen"; + public string DateMultipleMinutesAgo => "viru{1} {0} Minutten"; + public string DateMultipleMinutesFromNow => "a{1} {0} Minutten"; + public string DateMultipleMonthsAgo => "viru{1} {0} Méint"; + public string DateMultipleMonthsFromNow => "a{1} {0} Méint"; + public string DateMultipleSecondsAgo => "viru{1} {0} Sekonnen"; + public string DateMultipleSecondsFromNow => "a{1} {0} Sekonnen"; + public string DateMultipleYearsAgo => "viru{1} {0} Joer"; + public string DateMultipleYearsFromNow => "a{1} {0} Joer"; + public string DateNever => "ni"; + public string DateNow => "elo"; + public string DateSingleDayAgo => "gëschter"; + public string DateSingleDayFromNow => "muer"; + public string DateSingleHourAgo => "virun enger Stonn"; + public string DateSingleHourFromNow => "an enger Stonn"; + public string DateSingleMinuteAgo => "virun enger Minutt"; + public string DateSingleMinuteFromNow => "an enger Minutt"; + public string DateSingleMonthAgo => "virun engem Mount"; + public string DateSingleMonthFromNow => "an engem Mount"; + public string DateSingleSecondAgo => "virun enger Sekonn"; + public string DateSingleSecondFromNow => "an enger Sekonn"; + public string DateSingleYearAgo => "virun engem Joer"; + public string DateSingleYearFromNow => "an engem Joer"; + public string TimeSpanMultipleDays => "{0} Deeg"; + public string TimeSpanMultipleHours => "{0} Stonnen"; + public string TimeSpanMultipleMilliseconds => "{0} Millisekonnen"; + public string TimeSpanMultipleMinutes => "{0} Minutten"; + public string TimeSpanMultipleMonths => "{0} Méint"; + public string TimeSpanMultipleSeconds => "{0} Sekonnen"; + public string TimeSpanMultipleWeeks => "{0} Wochen"; + public string TimeSpanMultipleYears => "{0} Joer"; + public string TimeSpanSingleDay => "1 Dag"; + public string TimeSpanSingleDayWords => "een Dag"; + public string TimeSpanSingleHour => "1 Stonn"; + public string TimeSpanSingleHourWords => "eng Stonn"; + public string TimeSpanSingleMillisecond => "1 Millisekonn"; + public string TimeSpanSingleMillisecondWords => "eng Millisekonn"; + public string TimeSpanSingleMinute => "1 Minutt"; + public string TimeSpanSingleMinuteWords => "eng Minutt"; + public string TimeSpanSingleMonth => "1 Mount"; + public string TimeSpanSingleMonthWords => "ee Mount"; + public string TimeSpanSingleSecond => "1 Sekonn"; + public string TimeSpanSingleSecondWords => "eng Sekonn"; + public string TimeSpanSingleWeek => "1 Woch"; + public string TimeSpanSingleWeekWords => "eng Woch"; + public string TimeSpanSingleYear => "1 Joer"; + public string TimeSpanSingleYearWords => "ee Joer"; + public string TimeSpanZero => "Keng Zäit"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/MalayMalaysiaResources.cs b/src/Humanizer/Resources/MalayMalaysiaResources.cs new file mode 100644 index 000000000..659f69631 --- /dev/null +++ b/src/Humanizer/Resources/MalayMalaysiaResources.cs @@ -0,0 +1,191 @@ +class MalayMalaysiaResources : IResources +{ + public string Culture => "ms-MY"; + public static MalayMalaysiaResources Instance => new(); + public string DateSingleSecondAgo => "sesaat yang lalu"; + public string DateMultipleSecondsAgo => "{0} saat yang lalu"; + public string DateSingleMinuteAgo => "seminit yang lalu"; + public string DateMultipleMinutesAgo => "{0} minit yang lalu"; + public string DateSingleHourAgo => "sejam yang lalu"; + public string DateMultipleHoursAgo => "{0} jam yang lalu"; + public string DateSingleDayAgo => "semalam"; + public string DateMultipleDaysAgo => "{0} hari yang lalu"; + public string DateSingleMonthAgo => "sebulan yang lalu"; + public string DateMultipleMonthsAgo => "{0} bulan yang lalu"; + public string DateSingleYearAgo => "setahun yang lalu"; + public string DateMultipleYearsAgo => "{0} tahun yang lalu"; + public string TimeSpanMultipleDays => "{0} hari"; + public string TimeSpanMultipleHours => "{0} jam"; + public string TimeSpanMultipleMilliseconds => "{0} milisaat"; + public string TimeSpanMultipleMinutes => "{0} minit"; + public string TimeSpanMultipleSeconds => "{0} saat"; + public string TimeSpanSingleDay => "1 hari"; + public string TimeSpanSingleHour => "1 jam"; + public string TimeSpanSingleMillisecond => "1 milisaat"; + public string TimeSpanSingleMinute => "1 minit"; + public string TimeSpanSingleSecond => "1 saat"; + public string TimeSpanZero => "tiada masa"; + public string TimeSpanMultipleWeeks => "{0} minggu"; + public string TimeSpanSingleWeek => "1 minggu"; + public string DateMultipleDaysFromNow => "{0} hari dari sekarang"; + public string DateMultipleHoursFromNow => "{0} jam dari sekarang"; + public string DateMultipleMinutesFromNow => "{0} minit dari sekarang"; + public string DateMultipleMonthsFromNow => "{0} bulan dari sekarang"; + public string DateMultipleSecondsFromNow => "{0} saat dari sekarang"; + public string DateMultipleYearsFromNow => "{0} tahun dari sekarang"; + public string DateNow => "sekarang"; + public string DateSingleDayFromNow => "esok"; + public string DateSingleHourFromNow => "sejam dari sekarang"; + public string DateSingleMinuteFromNow => "seminit dari sekarang"; + public string DateSingleMonthFromNow => "sebulan dari sekarang"; + public string DateSingleSecondFromNow => "sesaat dari sekarang"; + public string DateSingleYearFromNow => "setahun dari sekarang"; + public string DateMultipleHoursFromNowDual => "{0} jam dari sekarang"; + public string DateMultipleMinutesFromNowPlural => "{0} minit dari sekarang"; + public string DateMultipleSecondsAgoDual => "{0} saat yang lalu"; + public string DateMultipleSecondsFromNowDual => "{0} saat dari sekarang"; + public string DateMultipleYearsFromNowDual => "{0} tahun dari sekarang"; + public string TimeSpanMultipleDaysDual => "{0} hari"; + public string TimeSpanMultipleDaysPlural => "{0} hari"; + public string TimeSpanMultipleHoursPlural => "{0} jam"; + public string TimeSpanMultipleMillisecondsDual => "{0} milisaat"; + public string TimeSpanMultipleMinutesDual => "{0} minit"; + public string TimeSpanMultipleMinutesPlural => "{0} minit"; + public string TimeSpanMultipleSecondsPlural => "{0} saat"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milisaat"; + public string DateMultipleDaysAgoDual => "{0} hari yang lalu"; + public string DateMultipleDaysAgoPlural => "{0} hari yang lalu"; + public string DateMultipleDaysAgoSingular => "{0} hari yang lalu"; + public string DateMultipleDaysFromNowDual => "{0} hari dari sekarang"; + public string DateMultipleDaysFromNowPlural => "{0} hari dari sekarang"; + public string DateMultipleDaysFromNowSingular => "{0} hari dari sekarang"; + public string DateMultipleHoursAgoDual => "{0} jam yang lalu"; + public string DateMultipleHoursAgoPlural => "{0} jam yang lalu"; + public string DateMultipleHoursAgoSingular => "{0} jam yang lalu"; + public string DateMultipleHoursFromNowPlural => "{0} jam dari sekarang"; + public string DateMultipleHoursFromNowSingular => "{0} jam dari sekarang"; + public string DateMultipleMinutesAgoDual => "{0} minit yang lalu"; + public string DateMultipleMinutesAgoPlural => "{0} minit yang lalu"; + public string DateMultipleMinutesAgoSingular => "{0} minit yang lalu"; + public string DateMultipleMinutesFromNowDual => "{0} minit dari sekarang"; + public string DateMultipleMinutesFromNowSingular => "{0} minit dari sekarang"; + public string DateMultipleMonthsAgoDual => "{0} bulan yang lalu"; + public string DateMultipleMonthsAgoPlural => "{0} bulan yang lalu"; + public string DateMultipleMonthsAgoSingular => "{0} bulan yang lalu"; + public string DateMultipleMonthsFromNowDual => "{0} bulan dari sekarang"; + public string DateMultipleMonthsFromNowPlural => "{0} bulan dari sekarang"; + public string DateMultipleMonthsFromNowSingular => "{0} bulan dari sekarang"; + public string DateMultipleSecondsAgoPlural => "{0} saat yang lalu"; + public string DateMultipleSecondsAgoSingular => "{0} saat yang lalu"; + public string DateMultipleSecondsFromNowPlural => "{0} saat dari sekarang"; + public string DateMultipleSecondsFromNowSingular => "{0} saat dari sekarang"; + public string DateMultipleYearsAgoDual => "{0} tahun yang lalu"; + public string DateMultipleYearsAgoPlural => "{0} tahun yang lalu"; + public string DateMultipleYearsAgoSingular => "{0} tahun yang lalu"; + public string DateMultipleYearsFromNowPlural => "{0} tahun dari sekarang"; + public string DateMultipleYearsFromNowSingular => "{0} tahun dari sekarang"; + public string TimeSpanMultipleDaysSingular => "{0} hari"; + public string TimeSpanMultipleHoursDual => "{0} jam"; + public string TimeSpanMultipleHoursSingular => "{0} jam"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milisaat"; + public string TimeSpanMultipleMinutesSingular => "{0} minit"; + public string TimeSpanMultipleSecondsDual => "{0} saat"; + public string TimeSpanMultipleSecondsSingular => "{0} saat"; + public string TimeSpanMultipleWeeksDual => "{0} minggu"; + public string TimeSpanMultipleWeeksPlural => "{0} minggu"; + public string TimeSpanMultipleWeeksSingular => "{0} minggu"; + public string TimeSpanMultipleMonths => "{0} bulan"; + public string TimeSpanMultipleYears => "{0} tahun"; + public string TimeSpanSingleMonth => "1 bulan"; + public string TimeSpanSingleYear => "1 tahun"; + public string DateMultipleHoursAgoPaucal => "{0} jam yang lalu"; + public string DateMultipleHoursFromNowPaucal => "{0} jam dari sekarang"; + public string DateMultipleMinutesAgoPaucal => "{0} minit yang lalu"; + public string DateMultipleMinutesFromNowPaucal => "{0} minit dari sekarang"; + public string DateMultipleMonthsAgoPaucal => "{0} bulan yang lalu"; + public string DateMultipleMonthsFromNowPaucal => "{0} bulan dari sekarang"; + public string DateMultipleSecondsAgoPaucal => "{0} saat yang lalu"; + public string DateMultipleSecondsFromNowPaucal => "{0} saat dari sekarang"; + public string DateMultipleYearsAgoPaucal => "{0} tahun dari yang lalu"; + public string DateMultipleYearsFromNowPaucal => "{0} tahun dari sekarang"; + public string TimeSpanMultipleHoursPaucal => "{0} jam"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisaat"; + public string TimeSpanMultipleMinutesPaucal => "{0} minit"; + public string TimeSpanMultipleSecondsPaucal => "{0} saat"; + public string TimeSpanMultipleWeeksPaucal => "{0} minggu"; + public string DateNever => "tidak pernah"; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/MalteseResources.cs b/src/Humanizer/Resources/MalteseResources.cs new file mode 100644 index 000000000..4d29b5dcb --- /dev/null +++ b/src/Humanizer/Resources/MalteseResources.cs @@ -0,0 +1,191 @@ +class MalteseResources : IResources +{ + public string Culture => "mt"; + public static MalteseResources Instance => new(); + public string DateSingleSecondAgo => "sekonda ilu"; + public string DateMultipleSecondsAgo => "{0} sekondi ilu"; + public string DateSingleMinuteAgo => "minuta ilu"; + public string DateMultipleMinutesAgo => "{0} minuti ilu"; + public string DateSingleHourAgo => "siegħa ilu"; + public string DateMultipleHoursAgo => "{0} siegħat ilu"; + public string DateSingleDayAgo => "il-bieraħ"; + public string DateMultipleDaysAgo => "{0} jiem ilu"; + public string DateSingleMonthAgo => "xahar ilu"; + public string DateMultipleMonthsAgo => "{0} xhur ilu"; + public string DateSingleYearAgo => "sena ilu"; + public string DateMultipleYearsAgo => "{0} snin ilu"; + public string TimeSpanMultipleDays => "{0} jiem"; + public string TimeSpanMultipleHours => "{0} siegħat"; + public string TimeSpanMultipleMilliseconds => "{0} millisekondi"; + public string TimeSpanMultipleMinutes => "{0} minuti"; + public string TimeSpanMultipleSeconds => "{0} sekondi"; + public string TimeSpanSingleDay => "ġurnata"; + public string TimeSpanSingleHour => "siegħa"; + public string TimeSpanSingleMillisecond => "millisekonda"; + public string TimeSpanSingleMinute => "minuta"; + public string TimeSpanSingleSecond => "sekonda"; + public string TimeSpanZero => "xejn"; + public string TimeSpanMultipleWeeks => "{0} ġimgħat"; + public string TimeSpanSingleWeek => "ġimgħa"; + public string DateMultipleDaysFromNow => "{0} jiem oħra"; + public string DateMultipleHoursFromNow => "{0} siegħat oħra"; + public string DateMultipleMinutesFromNow => "{0} minuti oħra"; + public string DateMultipleMonthsFromNow => "{0} xhur oħra"; + public string DateMultipleSecondsFromNow => "{0} sekondi oħra"; + public string DateMultipleYearsFromNow => "{0} snin oħra"; + public string DateNow => "issa"; + public string DateSingleDayFromNow => "għada"; + public string DateSingleHourFromNow => "siegħa oħra"; + public string DateSingleMinuteFromNow => "minuta oħra"; + public string DateSingleMonthFromNow => "xahar ieħor"; + public string DateSingleSecondFromNow => "sekonda oħra"; + public string DateSingleYearFromNow => "sena oħra"; + public string DateMultipleHoursFromNowDual => "sagħtejn oħra"; + public string DateMultipleMinutesFromNowPlural => "{0} minuti oħra"; + public string DateMultipleSecondsAgoDual => "{0} sekondi ilu"; + public string DateMultipleSecondsFromNowDual => "{0} sekondi oħra"; + public string DateMultipleYearsFromNowDual => "sentejn oħra"; + public string TimeSpanMultipleDaysDual => "jumejn"; + public string TimeSpanMultipleDaysPlural => "{0} jiem"; + public string TimeSpanMultipleHoursPlural => "{0} siegħat"; + public string TimeSpanMultipleMillisecondsDual => "{0} millisekondi"; + public string TimeSpanMultipleMinutesDual => "{0} minuti"; + public string TimeSpanMultipleMinutesPlural => "{0} minuti"; + public string TimeSpanMultipleSecondsPlural => "{0} sekondi"; + public string TimeSpanMultipleMillisecondsPlural => "{0} millisekondi"; + public string DateMultipleDaysAgoDual => "jumejn ilu"; + public string DateMultipleDaysAgoPlural => "{0} jiem ilu"; + public string DateMultipleDaysAgoSingular => "il-bieraħ"; + public string DateMultipleDaysFromNowDual => "pitgħada"; + public string DateMultipleDaysFromNowPlural => "{0} jiem oħra"; + public string DateMultipleDaysFromNowSingular => "għada"; + public string DateMultipleHoursAgoDual => "sagħtejn ilu"; + public string DateMultipleHoursAgoPlural => "{0} siegħat ilu"; + public string DateMultipleHoursAgoSingular => "siegħa ilu"; + public string DateMultipleHoursFromNowPlural => "{0} siegħat oħra"; + public string DateMultipleHoursFromNowSingular => "siegħa oħra"; + public string DateMultipleMinutesAgoDual => "{0} minuti ilu"; + public string DateMultipleMinutesAgoPlural => "{0} minuti ilu"; + public string DateMultipleMinutesAgoSingular => "minuta ilu"; + public string DateMultipleMinutesFromNowDual => "{0} minuti oħra"; + public string DateMultipleMinutesFromNowSingular => "minuta oħra"; + public string DateMultipleMonthsAgoDual => "xahrejn ilu"; + public string DateMultipleMonthsAgoPlural => "{0} xhur ilu"; + public string DateMultipleMonthsAgoSingular => "xahar ilu"; + public string DateMultipleMonthsFromNowDual => "xahrejn oħra"; + public string DateMultipleMonthsFromNowPlural => "{0} xhur oħra"; + public string DateMultipleMonthsFromNowSingular => "xahar ieħor"; + public string DateMultipleSecondsAgoPlural => "{0} sekondi ilu"; + public string DateMultipleSecondsAgoSingular => "sekonda ilu"; + public string DateMultipleSecondsFromNowPlural => "{0} sekondi oħra"; + public string DateMultipleSecondsFromNowSingular => "sekonda oħra"; + public string DateMultipleYearsAgoDual => "sentejn ilu"; + public string DateMultipleYearsAgoPlural => "{0} snin ilu"; + public string DateMultipleYearsAgoSingular => "sena ilu"; + public string DateMultipleYearsFromNowPlural => "{0} snin oħra"; + public string DateMultipleYearsFromNowSingular => "sena oħra"; + public string TimeSpanMultipleDaysSingular => "jum"; + public string TimeSpanMultipleHoursDual => "sagħtejn"; + public string TimeSpanMultipleHoursSingular => "siegħa"; + public string TimeSpanMultipleMillisecondsSingular => "millisekonda"; + public string TimeSpanMultipleMinutesSingular => "{0} minuta"; + public string TimeSpanMultipleSecondsDual => "{0} sekondi"; + public string TimeSpanMultipleSecondsSingular => "sekonda"; + public string TimeSpanMultipleWeeksDual => "ġimgħatejn"; + public string TimeSpanMultipleWeeksPlural => "{0} ġimgħat"; + public string TimeSpanMultipleWeeksSingular => "ġimgħa"; + public string TimeSpanMultipleMonths => "{0} xhur"; + public string TimeSpanMultipleYears => "{0} snin"; + public string TimeSpanSingleMonth => "xahar"; + public string TimeSpanSingleYear => "sena"; + public string DateMultipleHoursAgoPaucal => "{0} siegħat ilu"; + public string DateMultipleHoursFromNowPaucal => "{0} siegħat oħra"; + public string DateMultipleMinutesAgoPaucal => "{0} minuti ilu"; + public string DateMultipleMinutesFromNowPaucal => "{0} minuti oħra"; + public string DateMultipleMonthsAgoPaucal => "{0} xhur ilu"; + public string DateMultipleMonthsFromNowPaucal => "{0} xhur oħra"; + public string DateMultipleSecondsAgoPaucal => "{0} sekondi ilu"; + public string DateMultipleSecondsFromNowPaucal => "{0} sekondi oħra"; + public string DateMultipleYearsAgoPaucal => "{0} snin ilu"; + public string DateMultipleYearsFromNowPaucal => "{0} snin oħra"; + public string TimeSpanMultipleHoursPaucal => "{0} siegħat"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} millisekondi"; + public string TimeSpanMultipleMinutesPaucal => "{0} minuti"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekondi"; + public string TimeSpanMultipleWeeksPaucal => "{0} ġimgħat"; + public string DateNever => "qatt"; + public string TimeSpanMultipleMonthsDual => "xahrejn"; + public string TimeSpanMultipleMonthsPaucal => "{0} xhur"; + public string TimeSpanMultipleMonthsPlural => "{0} xhur"; + public string TimeSpanMultipleMonthsSingular => "xahar"; + public string TimeSpanMultipleYearsDual => "sentejn"; + public string TimeSpanMultipleYearsPaucal => "{0} snin"; + public string TimeSpanMultipleYearsPlural => "{0} snin"; + public string TimeSpanMultipleYearsSingular => "{0} snin"; + public string TimeSpanSingleDayWords => "ġurnata"; + public string TimeSpanSingleHourWords => "siegħa"; + public string TimeSpanSingleMillisecondWords => "millisekonda"; + public string TimeSpanSingleMinuteWords => "minuta"; + public string TimeSpanSingleMonthWords => "xahar"; + public string TimeSpanSingleSecondWords => "sekonda"; + public string TimeSpanSingleWeekWords => "ġimgħa"; + public string TimeSpanSingleYearWords => "sena"; + public string TimeSpanMultipleDaysPaucal => "{0} jiem"; + public string N => "XL"; + public string NNE => "grieg it-tramuntana"; + public string NE => "grigal"; + public string ENE => "grieg il-lvant"; + public string E => "lvant"; + public string ESE => "east-southeast"; + public string SE => "xlokk"; + public string SSE => "nofsinhar ix-xlokk"; + public string S => "nofsinhar"; + public string SSW => "nofsinhar il-lbiċ"; + public string SW => "lbiċ"; + public string WSW => "punent il-lbiċ"; + public string W => "punent"; + public string WNW => "punent majjistru"; + public string NW => "majjistral"; + public string NNW => "majjistral it-tramuntana"; + public string NShort => "T"; + public string NNEShort => "GT"; + public string NEShort => "G"; + public string ENEShort => "GL"; + public string EShort => "L"; + public string ESEShort => "xlokk il-lvant"; + public string SEShort => "X"; + public string SSEShort => "NX"; + public string SShort => "N"; + public string SSWShort => "NL"; + public string SWShort => "L"; + public string WSWShort => "PL"; + public string WShort => "P"; + public string WNWShort => "PM"; + public string NWShort => "M"; + public string NNWShort => "MT"; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git "a/src/Humanizer/Resources/NorwegianBokm\303\245lNorwayResources.cs" "b/src/Humanizer/Resources/NorwegianBokm\303\245lNorwayResources.cs" new file mode 100644 index 000000000..92b811494 --- /dev/null +++ "b/src/Humanizer/Resources/NorwegianBokm\303\245lNorwayResources.cs" @@ -0,0 +1,191 @@ +class NorwegianBokmålNorwayResources : IResources +{ + public string Culture => "nb-NO"; + public static NorwegianBokmålNorwayResources Instance => new(); + public string DateSingleSecondAgo => "ett sekund siden"; + public string DateMultipleSecondsAgo => "{0} sekunder siden"; + public string DateSingleMinuteAgo => "ett minutt siden"; + public string DateMultipleMinutesAgo => "{0} minutter siden"; + public string DateSingleHourAgo => "en time siden"; + public string DateMultipleHoursAgo => "{0} timer siden"; + public string DateSingleDayAgo => "i går"; + public string DateMultipleDaysAgo => "{0} dager siden"; + public string DateSingleMonthAgo => "en måned siden"; + public string DateMultipleMonthsAgo => "{0} måneder siden"; + public string DateSingleYearAgo => "ett år siden"; + public string DateMultipleYearsAgo => "{0} år siden"; + public string TimeSpanMultipleDays => "{0} dager"; + public string TimeSpanMultipleHours => "{0} timer"; + public string TimeSpanMultipleMilliseconds => "{0} millisekunder"; + public string TimeSpanMultipleMinutes => "{0} minutter"; + public string TimeSpanMultipleSeconds => "{0} sekunder"; + public string TimeSpanSingleDay => "1 dag"; + public string TimeSpanSingleHour => "1 time"; + public string TimeSpanSingleMillisecond => "1 millisekund"; + public string TimeSpanSingleMinute => "1 minutt"; + public string TimeSpanSingleSecond => "1 sekund"; + public string TimeSpanZero => "ingen tid"; + public string TimeSpanMultipleWeeks => "{0} uker"; + public string TimeSpanSingleWeek => "1 uke"; + public string DateMultipleDaysFromNow => "{0} dager fra nå"; + public string DateMultipleHoursFromNow => "{0} timer fra nå"; + public string DateMultipleMinutesFromNow => "{0} minutter fra nå"; + public string DateMultipleMonthsFromNow => "{0} måneder fra nå"; + public string DateMultipleSecondsFromNow => "{0} sekunder fra nå"; + public string DateMultipleYearsFromNow => "{0} år fra nå"; + public string DateNow => "nå"; + public string DateSingleDayFromNow => "i morgen"; + public string DateSingleHourFromNow => "en time fra nå"; + public string DateSingleMinuteFromNow => "ett minutt fra nå"; + public string DateSingleMonthFromNow => "en måned fra nå"; + public string DateSingleSecondFromNow => "ett sekund fra nå"; + public string DateSingleYearFromNow => "ett år fra nå"; + public string TimeSpanMultipleMonths => "{0} måneder"; + public string TimeSpanMultipleYears => "{0} år"; + public string TimeSpanSingleMonth => "1 måned"; + public string TimeSpanSingleYear => "1 år"; + public string TimeSpanSingleDayWords => "en dag"; + public string TimeSpanSingleHourWords => "en time"; + public string TimeSpanSingleMillisecondWords => "ett millisekund"; + public string TimeSpanSingleMinuteWords => "ett minutt"; + public string TimeSpanSingleMonthWords => "en måned"; + public string TimeSpanSingleSecondWords => "ett sekund"; + public string TimeSpanSingleWeekWords => "en uke"; + public string TimeSpanSingleYearWords => "ett år"; + public string DateMultipleHoursFromNowDual => NorwegianBokmålResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => NorwegianBokmålResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => NorwegianBokmålResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => NorwegianBokmålResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => NorwegianBokmålResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => NorwegianBokmålResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => NorwegianBokmålResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => NorwegianBokmålResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => NorwegianBokmålResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => NorwegianBokmålResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => NorwegianBokmålResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => NorwegianBokmålResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => NorwegianBokmålResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => NorwegianBokmålResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => NorwegianBokmålResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => NorwegianBokmålResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => NorwegianBokmålResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => NorwegianBokmålResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => NorwegianBokmålResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => NorwegianBokmålResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => NorwegianBokmålResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => NorwegianBokmålResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => NorwegianBokmålResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => NorwegianBokmålResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => NorwegianBokmålResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => NorwegianBokmålResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => NorwegianBokmålResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => NorwegianBokmålResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => NorwegianBokmålResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => NorwegianBokmålResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => NorwegianBokmålResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => NorwegianBokmålResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => NorwegianBokmålResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => NorwegianBokmålResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => NorwegianBokmålResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => NorwegianBokmålResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => NorwegianBokmålResources.Instance.TimeSpanMultipleYearsSingular; + public string N => NorwegianBokmålResources.Instance.N; + public string NNE => NorwegianBokmålResources.Instance.NNE; + public string NE => NorwegianBokmålResources.Instance.NE; + public string ENE => NorwegianBokmålResources.Instance.ENE; + public string E => NorwegianBokmålResources.Instance.E; + public string ESE => NorwegianBokmålResources.Instance.ESE; + public string SE => NorwegianBokmålResources.Instance.SE; + public string SSE => NorwegianBokmålResources.Instance.SSE; + public string S => NorwegianBokmålResources.Instance.S; + public string SSW => NorwegianBokmålResources.Instance.SSW; + public string SW => NorwegianBokmålResources.Instance.SW; + public string WSW => NorwegianBokmålResources.Instance.WSW; + public string W => NorwegianBokmålResources.Instance.W; + public string WNW => NorwegianBokmålResources.Instance.WNW; + public string NW => NorwegianBokmålResources.Instance.NW; + public string NNW => NorwegianBokmålResources.Instance.NNW; + public string NShort => NorwegianBokmålResources.Instance.NShort; + public string NNEShort => NorwegianBokmålResources.Instance.NNEShort; + public string NEShort => NorwegianBokmålResources.Instance.NEShort; + public string ENEShort => NorwegianBokmålResources.Instance.ENEShort; + public string EShort => NorwegianBokmålResources.Instance.EShort; + public string ESEShort => NorwegianBokmålResources.Instance.ESEShort; + public string SEShort => NorwegianBokmålResources.Instance.SEShort; + public string SSEShort => NorwegianBokmålResources.Instance.SSEShort; + public string SShort => NorwegianBokmålResources.Instance.SShort; + public string SSWShort => NorwegianBokmålResources.Instance.SSWShort; + public string SWShort => NorwegianBokmålResources.Instance.SWShort; + public string WSWShort => NorwegianBokmålResources.Instance.WSWShort; + public string WShort => NorwegianBokmålResources.Instance.WShort; + public string WNWShort => NorwegianBokmålResources.Instance.WNWShort; + public string NWShort => NorwegianBokmålResources.Instance.NWShort; + public string NNWShort => NorwegianBokmålResources.Instance.NNWShort; + public string DataUnitBit => NorwegianBokmålResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => NorwegianBokmålResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => NorwegianBokmålResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => NorwegianBokmålResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => NorwegianBokmålResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => NorwegianBokmålResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => NorwegianBokmålResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => NorwegianBokmålResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => NorwegianBokmålResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => NorwegianBokmålResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => NorwegianBokmålResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => NorwegianBokmålResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => NorwegianBokmålResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => NorwegianBokmålResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => NorwegianBokmålResources.Instance.TimeUnitMinute; + public string TimeUnitHour => NorwegianBokmålResources.Instance.TimeUnitHour; + public string TimeUnitDay => NorwegianBokmålResources.Instance.TimeUnitDay; + public string TimeUnitWeek => NorwegianBokmålResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => NorwegianBokmålResources.Instance.TimeUnitMonth; + public string TimeUnitYear => NorwegianBokmålResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => NorwegianBokmålResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => NorwegianBokmålResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => NorwegianBokmålResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => NorwegianBokmålResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => NorwegianBokmålResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => NorwegianBokmålResources.Instance.TimeSpanAge; +} diff --git "a/src/Humanizer/Resources/NorwegianBokm\303\245lResources.cs" "b/src/Humanizer/Resources/NorwegianBokm\303\245lResources.cs" new file mode 100644 index 000000000..efbd7d912 --- /dev/null +++ "b/src/Humanizer/Resources/NorwegianBokm\303\245lResources.cs" @@ -0,0 +1,191 @@ +class NorwegianBokmålResources : IResources +{ + public string Culture => "nb"; + public static NorwegianBokmålResources Instance => new(); + public string DateSingleSecondAgo => "ett sekund siden"; + public string DateMultipleSecondsAgo => "{0} sekunder siden"; + public string DateSingleMinuteAgo => "ett minutt siden"; + public string DateMultipleMinutesAgo => "{0} minutter siden"; + public string DateSingleHourAgo => "en time siden"; + public string DateMultipleHoursAgo => "{0} timer siden"; + public string DateSingleDayAgo => "i går"; + public string DateMultipleDaysAgo => "{0} dager siden"; + public string DateSingleMonthAgo => "en måned siden"; + public string DateMultipleMonthsAgo => "{0} måneder siden"; + public string DateSingleYearAgo => "ett år siden"; + public string DateMultipleYearsAgo => "{0} år siden"; + public string TimeSpanMultipleDays => "{0} dager"; + public string TimeSpanMultipleHours => "{0} timer"; + public string TimeSpanMultipleMilliseconds => "{0} millisekunder"; + public string TimeSpanMultipleMinutes => "{0} minutter"; + public string TimeSpanMultipleSeconds => "{0} sekunder"; + public string TimeSpanSingleDay => "1 dag"; + public string TimeSpanSingleHour => "1 time"; + public string TimeSpanSingleMillisecond => "1 millisekund"; + public string TimeSpanSingleMinute => "1 minutt"; + public string TimeSpanSingleSecond => "1 sekund"; + public string TimeSpanZero => "ingen tid"; + public string TimeSpanMultipleWeeks => "{0} uker"; + public string TimeSpanSingleWeek => "1 uke"; + public string DateMultipleDaysFromNow => "{0} dager fra nå"; + public string DateMultipleHoursFromNow => "{0} timer fra nå"; + public string DateMultipleMinutesFromNow => "{0} minutter fra nå"; + public string DateMultipleMonthsFromNow => "{0} måneder fra nå"; + public string DateMultipleSecondsFromNow => "{0} sekunder fra nå"; + public string DateMultipleYearsFromNow => "{0} år fra nå"; + public string DateNow => "nå"; + public string DateSingleDayFromNow => "i morgen"; + public string DateSingleHourFromNow => "en time fra nå"; + public string DateSingleMinuteFromNow => "ett minutt fra nå"; + public string DateSingleMonthFromNow => "en måned fra nå"; + public string DateSingleSecondFromNow => "ett sekund fra nå"; + public string DateSingleYearFromNow => "ett år fra nå"; + public string TimeSpanMultipleMonths => "{0} måneder"; + public string TimeSpanMultipleYears => "{0} år"; + public string TimeSpanSingleMonth => "1 måned"; + public string TimeSpanSingleYear => "1 år"; + public string TimeSpanSingleDayWords => "en dag"; + public string TimeSpanSingleHourWords => "en time"; + public string TimeSpanSingleMillisecondWords => "ett millisekund"; + public string TimeSpanSingleMinuteWords => "ett minutt"; + public string TimeSpanSingleMonthWords => "en måned"; + public string TimeSpanSingleSecondWords => "ett sekund"; + public string TimeSpanSingleWeekWords => "en uke"; + public string TimeSpanSingleYearWords => "ett år"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/PersianResources.cs b/src/Humanizer/Resources/PersianResources.cs new file mode 100644 index 000000000..1ca519795 --- /dev/null +++ b/src/Humanizer/Resources/PersianResources.cs @@ -0,0 +1,191 @@ +class PersianResources : IResources +{ + public string Culture => "fa"; + public static PersianResources Instance => new(); + public string DateSingleSecondAgo => "یک ثانیه پیش"; + public string DateMultipleSecondsAgo => "{0} ثانیه پیش"; + public string DateSingleMinuteAgo => "یک دقیقه پیش"; + public string DateMultipleMinutesAgo => "{0} دقیقه پیش"; + public string DateSingleHourAgo => "یک ساعت پیش"; + public string DateMultipleHoursAgo => "{0} ساعت پیش"; + public string DateSingleDayAgo => "دیروز"; + public string DateMultipleDaysAgo => "{0} روز پیش"; + public string DateSingleMonthAgo => "یک ماه پیش"; + public string DateMultipleMonthsAgo => "{0} ماه پیش"; + public string DateSingleYearAgo => "یک سال پیش"; + public string DateMultipleYearsAgo => "{0} سال پیش"; + public string TimeSpanMultipleDays => "{0} روز"; + public string TimeSpanMultipleHours => "{0} ساعت"; + public string TimeSpanMultipleMilliseconds => "{0} میلی ثانیه"; + public string TimeSpanMultipleMinutes => "{0} دقیقه"; + public string TimeSpanMultipleSeconds => "{0} ثانیه"; + public string TimeSpanSingleDay => "یک روز"; + public string TimeSpanSingleHour => "یک ساعت"; + public string TimeSpanSingleMillisecond => "یک میلی ثانیه"; + public string TimeSpanSingleMinute => "یک دقیقه"; + public string TimeSpanSingleSecond => "یک ثانیه"; + public string TimeSpanZero => "الآن"; + public string TimeSpanMultipleWeeks => "{0} هفته"; + public string TimeSpanSingleWeek => "یک هفته"; + public string DateMultipleDaysFromNow => "{0} روز بعد"; + public string DateMultipleHoursFromNow => "{0} ساعت بعد"; + public string DateMultipleMinutesFromNow => "{0} دقیقه بعد"; + public string DateMultipleMonthsFromNow => "{0} ماه بعد"; + public string DateMultipleSecondsFromNow => "{0} ثانیه بعد"; + public string DateMultipleYearsFromNow => "{0} سال بعد"; + public string DateNow => "الآن"; + public string DateSingleDayFromNow => "فردا"; + public string DateSingleHourFromNow => "یک ساعت بعد"; + public string DateSingleMinuteFromNow => "یک دقیقه بعد"; + public string DateSingleMonthFromNow => "یک ماه بعد"; + public string DateSingleSecondFromNow => "یک ثانیه بعد"; + public string DateSingleYearFromNow => "یک سال بعد"; + public string TimeSpanMultipleMonths => "{0} ماه"; + public string TimeSpanMultipleYears => "{0} سال"; + public string TimeSpanSingleMonth => "یک ماه"; + public string TimeSpanSingleYear => "یک سال"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/PolishResources.cs b/src/Humanizer/Resources/PolishResources.cs new file mode 100644 index 000000000..020188f49 --- /dev/null +++ b/src/Humanizer/Resources/PolishResources.cs @@ -0,0 +1,191 @@ +class PolishResources : IResources +{ + public string Culture => "pl"; + public static PolishResources Instance => new(); + public string DateSingleSecondAgo => "przed sekundą"; + public string DateMultipleSecondsAgo => "przed {0} sekundami"; + public string DateSingleMinuteAgo => "przed minutą"; + public string DateMultipleMinutesAgo => "przed {0} minutami"; + public string DateSingleHourAgo => "przed godziną"; + public string DateMultipleHoursAgo => "przed {0} godzinami"; + public string DateSingleDayAgo => "wczoraj"; + public string DateMultipleDaysAgo => "przed {0} dniami"; + public string DateSingleMonthAgo => "przed miesiącem"; + public string DateMultipleMonthsAgo => "przed {0} miesiącami"; + public string DateSingleYearAgo => "przed rokiem"; + public string DateMultipleYearsAgo => "przed {0} laty"; + public string TimeSpanMultipleDays => "{0} dni"; + public string TimeSpanMultipleHours => "{0} godzin"; + public string TimeSpanMultipleMilliseconds => "{0} milisekund"; + public string TimeSpanMultipleMinutes => "{0} minut"; + public string TimeSpanMultipleSeconds => "{0} sekund"; + public string TimeSpanSingleDay => "1 dzień"; + public string TimeSpanSingleHour => "1 godzina"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minuta"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "brak czasu"; + public string TimeSpanMultipleWeeks => "{0} tygodni"; + public string TimeSpanSingleWeek => "1 tydzień"; + public string DateMultipleDaysFromNow => "za {0} dni"; + public string DateMultipleHoursFromNow => "za {0} godzin"; + public string DateMultipleMinutesFromNow => "za {0} minut"; + public string DateMultipleMonthsFromNow => "za {0} miesięcy"; + public string DateMultipleSecondsFromNow => "za {0} sekund"; + public string DateMultipleYearsFromNow => "za {0} lat"; + public string DateNow => "teraz"; + public string DateSingleDayFromNow => "jutro"; + public string DateSingleHourFromNow => "za godzinę"; + public string DateSingleMinuteFromNow => "za minutę"; + public string DateSingleMonthFromNow => "za miesiąc"; + public string DateSingleSecondFromNow => "za sekundę"; + public string DateSingleYearFromNow => "za rok"; + public string DateMultipleDaysAgoPaucal => "przed {0} dniami"; + public string DateMultipleDaysFromNowPaucal => "za {0} dni"; + public string DateMultipleHoursAgoPaucal => "przed {0} godzinami"; + public string DateMultipleHoursFromNowPaucal => "za {0} godziny"; + public string DateMultipleMinutesAgoPaucal => "przed {0} minutami"; + public string DateMultipleMinutesFromNowPaucal => "za {0} minuty"; + public string DateMultipleMonthsAgoPaucal => "przed {0} miesiącami"; + public string DateMultipleMonthsFromNowPaucal => "za {0} miesiące"; + public string DateMultipleSecondsAgoPaucal => "przed {0} sekundami"; + public string DateMultipleSecondsFromNowPaucal => "za {0} sekundy"; + public string DateMultipleYearsAgoPaucal => "przed {0} laty"; + public string DateMultipleYearsFromNowPaucal => "za {0} lata"; + public string TimeSpanMultipleDaysPaucal => "{0} dni"; + public string TimeSpanMultipleHoursPaucal => "{0} godziny"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekundy"; + public string TimeSpanMultipleMinutesPaucal => "{0} minuty"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekundy"; + public string TimeSpanMultipleWeeksPaucal => "{0} tygodnie"; + public string TimeSpanMultipleMonths => "{0} miesięcy"; + public string TimeSpanMultipleMonthsPaucal => "{0} miesiące"; + public string TimeSpanMultipleYears => "{0} lat"; + public string TimeSpanMultipleYearsPaucal => "{0} lata"; + public string TimeSpanSingleMonth => "1 miesiąc"; + public string TimeSpanSingleYear => "1 rok"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/PortugueseResources.cs b/src/Humanizer/Resources/PortugueseResources.cs new file mode 100644 index 000000000..5a1fe2caa --- /dev/null +++ b/src/Humanizer/Resources/PortugueseResources.cs @@ -0,0 +1,191 @@ +class PortugueseResources : IResources +{ + public string Culture => "pt"; + public static PortugueseResources Instance => new(); + public string DateSingleSecondAgo => "um segundo atrás"; + public string DateSingleSecondFromNow => "em um segundo"; + public string DateMultipleSecondsAgo => "{0} segundos atrás"; + public string DateMultipleSecondsFromNow => "em {0} segundos"; + public string DateSingleMinuteAgo => "um minuto atrás"; + public string DateSingleMinuteFromNow => "em um minuto"; + public string DateMultipleMinutesAgo => "{0} minutos atrás"; + public string DateMultipleMinutesFromNow => "em {0} minutos"; + public string DateSingleHourAgo => "uma hora atrás"; + public string DateSingleHourFromNow => "em uma hora"; + public string DateMultipleHoursAgo => "{0} horas atrás"; + public string DateMultipleHoursFromNow => "em {0} horas"; + public string DateSingleDayAgo => "ontem"; + public string DateSingleDayFromNow => "amanhã"; + public string DateMultipleDaysAgo => "{0} dias atrás"; + public string DateMultipleDaysFromNow => "em {0} dias"; + public string DateSingleMonthAgo => "um mês atrás"; + public string DateSingleMonthFromNow => "em um mês"; + public string DateMultipleMonthsFromNow => "em {0} meses"; + public string DateMultipleMonthsAgo => "{0} meses atrás"; + public string DateSingleYearAgo => "um ano atrás"; + public string DateSingleYearFromNow => "em um ano"; + public string DateMultipleYearsAgo => "{0} anos atrás"; + public string DateMultipleYearsFromNow => "em {0} anos"; + public string TimeSpanMultipleDays => "{0} dias"; + public string TimeSpanMultipleHours => "{0} horas"; + public string TimeSpanMultipleMilliseconds => "{0} milisegundos"; + public string TimeSpanMultipleMinutes => "{0} minutos"; + public string TimeSpanMultipleSeconds => "{0} segundos"; + public string TimeSpanSingleDay => "1 dia"; + public string TimeSpanSingleHour => "1 hora"; + public string TimeSpanSingleMillisecond => "1 milisegundo"; + public string TimeSpanSingleMinute => "1 minuto"; + public string TimeSpanSingleSecond => "1 segundo"; + public string TimeSpanZero => "sem horário"; + public string TimeSpanMultipleWeeks => "{0} semanas"; + public string TimeSpanSingleWeek => "1 semana"; + public string DateNow => "agora"; + public string DateMultipleHoursFromNowDual => "em {0} horas"; + public string DateMultipleMinutesFromNowPlural => "em {0} minutos"; + public string DateMultipleSecondsAgoDual => "{0} segundos atrás"; + public string DateMultipleSecondsFromNowDual => "em {0} segundos"; + public string DateMultipleYearsFromNowDual => "em {0} anos"; + public string TimeSpanMultipleDaysDual => "{0} dias"; + public string TimeSpanMultipleDaysPlural => "{0} dias"; + public string TimeSpanMultipleHoursPlural => "{0} horas"; + public string TimeSpanMultipleMillisecondsDual => "{0} milisegundos"; + public string TimeSpanMultipleMinutesDual => "{0} minutos"; + public string TimeSpanMultipleMinutesPlural => "{0} minutos"; + public string TimeSpanMultipleSecondsPlural => "{0} segundos"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milisegundos"; + public string DateMultipleDaysAgoDual => "{0} dias atrás"; + public string DateMultipleDaysAgoPlural => "{0} dias atrás"; + public string DateMultipleDaysAgoSingular => "{0} dia atrás"; + public string DateMultipleDaysFromNowDual => "em {0} dias"; + public string DateMultipleDaysFromNowPlural => "em {0} dias"; + public string DateMultipleDaysFromNowSingular => "em {0} dia"; + public string DateMultipleHoursAgoDual => "{0} horas atrás"; + public string DateMultipleHoursAgoPlural => "{0} horas atrás"; + public string DateMultipleHoursAgoSingular => "{0} hora atrás"; + public string DateMultipleHoursFromNowPlural => "em {0} horas"; + public string DateMultipleHoursFromNowSingular => "em {0} hora"; + public string DateMultipleMinutesAgoDual => "{0} minutos atrás"; + public string DateMultipleMinutesAgoPlural => "{0} minutos atrás"; + public string DateMultipleMinutesAgoSingular => "{0} minuto atrás"; + public string DateMultipleMinutesFromNowDual => "em {0} minutos"; + public string DateMultipleMinutesFromNowSingular => "em {0} minuto"; + public string DateMultipleMonthsAgoDual => "{0} meses atrás"; + public string DateMultipleMonthsAgoPlural => "{0} meses atrás"; + public string DateMultipleMonthsAgoSingular => "{0} mês atrás"; + public string DateMultipleMonthsFromNowDual => "em {0} meses"; + public string DateMultipleMonthsFromNowPlural => "em {0} meses"; + public string DateMultipleMonthsFromNowSingular => "em {0} mês"; + public string DateMultipleSecondsAgoPlural => "{0} segundos atrás"; + public string DateMultipleSecondsAgoSingular => "{0} segundo atrás"; + public string DateMultipleSecondsFromNowPlural => "em {0} segundos"; + public string DateMultipleSecondsFromNowSingular => "em {0} segundo"; + public string DateMultipleYearsAgoDual => "{0} anos atrás"; + public string DateMultipleYearsAgoPlural => "{0} anos atrás"; + public string DateMultipleYearsAgoSingular => "{0} ano atrás"; + public string DateMultipleYearsFromNowPlural => "em {0} anos"; + public string DateMultipleYearsFromNowSingular => "em {0} ano"; + public string TimeSpanMultipleDaysSingular => "{0} dia"; + public string TimeSpanMultipleHoursDual => "{0} horas"; + public string TimeSpanMultipleHoursSingular => "{0} hora"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milisegundo"; + public string TimeSpanMultipleMinutesSingular => "{0} minuto"; + public string TimeSpanMultipleSecondsDual => "{0} segundos"; + public string TimeSpanMultipleSecondsSingular => "{0} segundo"; + public string TimeSpanMultipleWeeksDual => "{0} semanas"; + public string TimeSpanMultipleWeeksPlural => "{0} semanas"; + public string TimeSpanMultipleWeeksSingular => "{0} semana"; + public string TimeSpanMultipleMonths => "{0} meses"; + public string TimeSpanMultipleYears => "{0} anos"; + public string TimeSpanSingleMonth => "1 mês"; + public string TimeSpanSingleYear => "1 ano"; + public string DateMultipleHoursAgoPaucal => "{0} horas atrás"; + public string DateMultipleHoursFromNowPaucal => "em {0} horas"; + public string DateMultipleMinutesAgoPaucal => "{0} minutos atrás"; + public string DateMultipleMinutesFromNowPaucal => "em {0} minutos"; + public string DateMultipleMonthsAgoPaucal => "{0} meses atrás"; + public string DateMultipleMonthsFromNowPaucal => "em {0} meses"; + public string DateMultipleSecondsAgoPaucal => "{0} segundos atrás"; + public string DateMultipleSecondsFromNowPaucal => "em {0} segundos"; + public string DateMultipleYearsAgoPaucal => "{0} anos atrás"; + public string DateMultipleYearsFromNowPaucal => "em {0} anos"; + public string TimeSpanMultipleHoursPaucal => "{0} horas"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisegundos"; + public string TimeSpanMultipleMinutesPaucal => "{0} minutos"; + public string TimeSpanMultipleSecondsPaucal => "{0} segundos"; + public string TimeSpanMultipleWeeksPaucal => "{0} semanas"; + public string DateNever => "nunca"; + public string TimeSpanMultipleMonthsDual => "{0} meses"; + public string TimeSpanMultipleMonthsPaucal => "{0} meses"; + public string TimeSpanMultipleMonthsPlural => "{0} meses"; + public string TimeSpanMultipleMonthsSingular => "{0} mês"; + public string TimeSpanMultipleYearsDual => "{0} anos"; + public string TimeSpanMultipleYearsPaucal => "{0} anos"; + public string TimeSpanMultipleYearsPlural => "{0} anos"; + public string TimeSpanMultipleYearsSingular => "{0} ano"; + public string TimeSpanSingleDayWords => "um dia"; + public string TimeSpanSingleHourWords => "uma hora"; + public string TimeSpanSingleMillisecondWords => "um milisegundo"; + public string TimeSpanSingleMinuteWords => "um minuto"; + public string TimeSpanSingleMonthWords => "um mês"; + public string TimeSpanSingleSecondWords => "um segundo"; + public string TimeSpanSingleWeekWords => "uma semana"; + public string TimeSpanSingleYearWords => "um ano"; + public string TimeSpanMultipleDaysPaucal => "{0} dias"; + public string N => "norte"; + public string NNE => "norte-nordeste"; + public string NE => "nordeste"; + public string ENE => "leste-nordeste"; + public string E => "leste"; + public string ESE => "leste-sudeste"; + public string SE => "sudeste"; + public string SSE => "sul-sudeste"; + public string S => "sul"; + public string SSW => "sul-sudoeste"; + public string SW => "sudoeste"; + public string WSW => "oeste-sudoeste"; + public string W => "oeste"; + public string WNW => "oeste-noroeste"; + public string NW => "noroeste"; + public string NNW => "norte-noroeste"; + public string NShort => "N"; + public string NNEShort => "NNE"; + public string NEShort => "NE"; + public string ENEShort => "LNE"; + public string EShort => "L"; + public string ESEShort => "LSE"; + public string SEShort => "SE"; + public string SSEShort => "SSE"; + public string SShort => "S"; + public string SSWShort => "SSO"; + public string SWShort => "SO"; + public string WSWShort => "OSO"; + public string WShort => "O"; + public string WNWShort => "ONO"; + public string NWShort => "NO"; + public string NNWShort => "NNO"; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/RomanianResources.cs b/src/Humanizer/Resources/RomanianResources.cs new file mode 100644 index 000000000..420edf66c --- /dev/null +++ b/src/Humanizer/Resources/RomanianResources.cs @@ -0,0 +1,191 @@ +class RomanianResources : IResources +{ + public string Culture => "ro"; + public static RomanianResources Instance => new(); + public string DateSingleSecondAgo => "acum o secundă"; + public string DateMultipleSecondsAgo => "acum {0}{1} secunde"; + public string DateSingleMinuteAgo => "acum un minut"; + public string DateMultipleMinutesAgo => "acum {0}{1} minute"; + public string DateSingleHourAgo => "acum o oră"; + public string DateMultipleHoursAgo => "acum {0}{1} ore"; + public string DateSingleDayAgo => "ieri"; + public string DateMultipleDaysAgo => "acum {0}{1} zile"; + public string DateSingleMonthAgo => "acum o lună"; + public string DateMultipleMonthsAgo => "acum {0}{1} luni"; + public string DateSingleYearAgo => "acum un an"; + public string DateMultipleYearsAgo => "acum {0}{1} ani"; + public string DateNow => "acum"; + public string DateMultipleDaysFromNow => "peste {0}{1} zile"; + public string DateMultipleHoursFromNow => "peste {0}{1} ore"; + public string DateMultipleMinutesFromNow => "peste {0}{1} minute"; + public string DateMultipleMonthsFromNow => "peste {0}{1} luni"; + public string DateMultipleSecondsFromNow => "peste {0}{1} secunde"; + public string DateMultipleYearsFromNow => "peste {0}{1} ani"; + public string DateSingleDayFromNow => "mâine"; + public string DateSingleHourFromNow => "peste o oră"; + public string DateSingleMinuteFromNow => "peste un minut"; + public string DateSingleMonthFromNow => "peste o lună"; + public string DateSingleSecondFromNow => "peste o secundă"; + public string DateSingleYearFromNow => "peste un an"; + public string TimeSpanMultipleDays => "{0}{1} zile"; + public string TimeSpanMultipleHours => "{0}{1} ore"; + public string TimeSpanMultipleMilliseconds => "{0}{1} milisecunde"; + public string TimeSpanMultipleMinutes => "{0}{1} minute"; + public string TimeSpanMultipleSeconds => "{0}{1} secunde"; + public string TimeSpanMultipleWeeks => "{0}{1} săptămâni"; + public string TimeSpanSingleDay => "1 zi"; + public string TimeSpanSingleHour => "1 oră"; + public string TimeSpanSingleMillisecond => "1 milisecundă"; + public string TimeSpanSingleMinute => "1 minut"; + public string TimeSpanSingleSecond => "1 secundă"; + public string TimeSpanSingleWeek => "1 săptămână"; + public string TimeSpanZero => "0 secunde"; + public string TimeSpanMultipleMonths => "{0}{1} luni"; + public string TimeSpanMultipleYears => "{0}{1} ani"; + public string TimeSpanSingleMonth => "1 lună"; + public string TimeSpanSingleYear => "1 an"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/RussianResources.cs b/src/Humanizer/Resources/RussianResources.cs new file mode 100644 index 000000000..2c83f77d0 --- /dev/null +++ b/src/Humanizer/Resources/RussianResources.cs @@ -0,0 +1,191 @@ +class RussianResources : IResources +{ + public string Culture => "ru"; + public static RussianResources Instance => new(); + public string DateSingleSecondAgo => "секунду назад"; + public string DateSingleMinuteAgo => "минуту назад"; + public string DateSingleHourAgo => "час назад"; + public string DateSingleDayAgo => "вчера"; + public string DateSingleMonthAgo => "месяц назад"; + public string DateSingleYearAgo => "год назад"; + public string DateMultipleDaysAgoSingular => "{0} день назад"; + public string DateMultipleHoursAgo => "{0} часов назад"; + public string DateMultipleMinutesAgo => "{0} минут назад"; + public string DateMultipleMonthsAgo => "{0} месяцев назад"; + public string DateMultipleSecondsAgo => "{0} секунд назад"; + public string DateMultipleYearsAgo => "{0} лет назад"; + public string DateMultipleDaysAgo => "{0} дней назад"; + public string DateMultipleDaysAgoPaucal => "{0} дня назад"; + public string DateMultipleHoursAgoPaucal => "{0} часа назад"; + public string DateMultipleHoursAgoSingular => "{0} час назад"; + public string DateMultipleMinutesAgoPaucal => "{0} минуты назад"; + public string DateMultipleMinutesAgoSingular => "{0} минуту назад"; + public string DateMultipleMonthsAgoPaucal => "{0} месяца назад"; + public string DateMultipleMonthsAgoSingular => "{0} месяц назад"; + public string DateMultipleSecondsAgoPaucal => "{0} секунды назад"; + public string DateMultipleSecondsAgoSingular => "{0} секунду назад"; + public string DateMultipleYearsAgoPaucal => "{0} года назад"; + public string DateMultipleYearsAgoSingular => "{0} год назад"; + public string DateNow => "сейчас"; + public string TimeSpanMultipleDays => "{0} дней"; + public string TimeSpanMultipleDaysPaucal => "{0} дня"; + public string TimeSpanMultipleDaysSingular => "{0} день"; + public string TimeSpanMultipleHours => "{0} часов"; + public string TimeSpanMultipleHoursPaucal => "{0} часа"; + public string TimeSpanMultipleHoursSingular => "{0} час"; + public string TimeSpanMultipleMilliseconds => "{0} миллисекунд"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} миллисекунды"; + public string TimeSpanMultipleMillisecondsSingular => "{0} миллисекунда"; + public string TimeSpanMultipleMinutes => "{0} минут"; + public string TimeSpanMultipleMinutesPaucal => "{0} минуты"; + public string TimeSpanMultipleMinutesSingular => "{0} минута"; + public string TimeSpanMultipleSeconds => "{0} секунд"; + public string TimeSpanMultipleSecondsPaucal => "{0} секунды"; + public string TimeSpanMultipleSecondsSingular => "{0} секунда"; + public string TimeSpanMultipleWeeks => "{0} недель"; + public string TimeSpanMultipleWeeksPaucal => "{0} недели"; + public string TimeSpanMultipleWeeksSingular => "{0} неделя"; + public string TimeSpanSingleDayWords => "один день"; + public string TimeSpanSingleHourWords => "один час"; + public string TimeSpanSingleMillisecondWords => "одна миллисекунда"; + public string TimeSpanSingleMinuteWords => "одна минута"; + public string TimeSpanSingleSecondWords => "одна секунда"; + public string TimeSpanSingleWeekWords => "одна неделя"; + public string TimeSpanZero => "нет времени"; + public string DateMultipleDaysFromNow => "через {0} дней"; + public string DateMultipleDaysFromNowPaucal => "через {0} дня"; + public string DateMultipleDaysFromNowSingular => "через {0} день"; + public string DateMultipleHoursFromNow => "через {0} часов"; + public string DateMultipleHoursFromNowPaucal => "через {0} часа"; + public string DateMultipleHoursFromNowSingular => "через {0} час"; + public string DateMultipleMinutesFromNow => "через {0} минут"; + public string DateMultipleMinutesFromNowPaucal => "через {0} минуты"; + public string DateMultipleMinutesFromNowSingular => "через {0} минуту"; + public string DateMultipleMonthsFromNow => "через {0} месяцев"; + public string DateMultipleMonthsFromNowPaucal => "через {0} месяца"; + public string DateMultipleMonthsFromNowSingular => "через {0} месяц"; + public string DateMultipleSecondsFromNow => "через {0} секунд"; + public string DateMultipleSecondsFromNowPaucal => "через {0} секунды"; + public string DateMultipleSecondsFromNowSingular => "через {0} секунду"; + public string DateMultipleYearsFromNow => "через {0} лет"; + public string DateMultipleYearsFromNowPaucal => "через {0} года"; + public string DateMultipleYearsFromNowSingular => "через {0} год"; + public string DateSingleDayFromNow => "завтра"; + public string DateSingleHourFromNow => "через час"; + public string DateSingleMinuteFromNow => "через минуту"; + public string DateSingleMonthFromNow => "через месяц"; + public string DateSingleSecondFromNow => "через секунду"; + public string DateSingleYearFromNow => "через год"; + public string TimeSpanMultipleMonths => "{0} месяцев"; + public string TimeSpanMultipleMonthsPaucal => "{0} месяца"; + public string TimeSpanMultipleMonthsSingular => "{0} месяц"; + public string TimeSpanMultipleYears => "{0} лет"; + public string TimeSpanMultipleYearsPaucal => "{0} года"; + public string TimeSpanMultipleYearsSingular => "{0} год"; + public string TimeSpanSingleMonthWords => "один месяц"; + public string TimeSpanSingleYearWords => "один год"; + public string TimeSpanSingleDay => "1 день"; + public string TimeSpanSingleHour => "1 час"; + public string TimeSpanSingleMillisecond => "1 миллисекунда"; + public string TimeSpanSingleMinute => "1 минута"; + public string TimeSpanSingleMonth => "1 месяц"; + public string TimeSpanSingleSecond => "1 секунда"; + public string TimeSpanSingleWeek => "1 неделя"; + public string TimeSpanSingleYear => "1 год"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SerbianLatinResources.cs b/src/Humanizer/Resources/SerbianLatinResources.cs new file mode 100644 index 000000000..86a72a0a1 --- /dev/null +++ b/src/Humanizer/Resources/SerbianLatinResources.cs @@ -0,0 +1,191 @@ +class SerbianLatinResources : IResources +{ + public string Culture => "sr-Latn"; + public static SerbianLatinResources Instance => new(); + public string DateSingleSecondAgo => "pre sekund"; + public string DateMultipleSecondsAgo => "pre {0} sekundi"; + public string DateSingleMinuteAgo => "pre minut"; + public string DateMultipleMinutesAgo => "pre {0} minuta"; + public string DateSingleHourAgo => "pre sat vremena"; + public string DateMultipleHoursAgo => "pre {0} sati"; + public string DateSingleDayAgo => "juče"; + public string DateMultipleDaysAgo => "pre {0} dana"; + public string DateSingleMonthAgo => "pre mesec dana"; + public string DateMultipleMonthsAgo => "pre {0} meseci"; + public string DateSingleYearAgo => "pre godinu dana"; + public string DateMultipleYearsAgo => "pre {0} godina"; + public string TimeSpanMultipleDays => "{0} dana"; + public string TimeSpanMultipleHours => "{0} sati"; + public string TimeSpanMultipleMilliseconds => "{0} milisekundi"; + public string TimeSpanMultipleMinutes => "{0} minuta"; + public string TimeSpanMultipleSeconds => "{0} sekundi"; + public string TimeSpanSingleDay => "1 dan"; + public string TimeSpanSingleHour => "1 sat"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minut"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "bez proteklog vremena"; + public string TimeSpanMultipleWeeks => "{0} nedelja"; + public string TimeSpanSingleWeek => "1 nedelja"; + public string DateMultipleDaysFromNow => "za {0} dana"; + public string DateMultipleHoursFromNow => "za {0} sati"; + public string DateMultipleMinutesFromNow => "za {0} minuta"; + public string DateMultipleMonthsFromNow => "za {0} meseci"; + public string DateMultipleSecondsFromNow => "za {0} sekundi"; + public string DateMultipleYearsFromNow => "za {0} godina"; + public string DateNow => "sada"; + public string DateSingleDayFromNow => "sutra"; + public string DateSingleHourFromNow => "za sat vremena"; + public string DateSingleMinuteFromNow => "za minut"; + public string DateSingleMonthFromNow => "za mesec dana"; + public string DateSingleSecondFromNow => "za sekund"; + public string DateSingleYearFromNow => "za godinu dana"; + public string DateMultipleDaysAgoPaucal => "pre {0} dana"; + public string DateMultipleDaysFromNowPaucal => "za {0} dana"; + public string DateMultipleHoursAgoPaucal => "pre {0} sata"; + public string DateMultipleHoursFromNowPaucal => "za {0} sata"; + public string DateMultipleMinutesAgoPaucal => "pre {0} minuta"; + public string DateMultipleMinutesFromNowPaucal => "za {0} minuta"; + public string DateMultipleMonthsAgoPaucal => "pre {0} meseca"; + public string DateMultipleMonthsFromNowPaucal => "za {0} meseca"; + public string DateMultipleSecondsAgoPaucal => "pre {0} sekunde"; + public string DateMultipleSecondsFromNowPaucal => "za {0} sekunde"; + public string DateMultipleYearsAgoPaucal => "pre {0} godine"; + public string DateMultipleYearsFromNowPaucal => "za {0} godine"; + public string TimeSpanMultipleDaysPaucal => "{0} dana"; + public string TimeSpanMultipleHoursPaucal => "{0} sata"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekunde"; + public string TimeSpanMultipleMinutesPaucal => "{0} minuta"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekunde"; + public string TimeSpanMultipleWeeksPaucal => "{0} nedelje"; + public string TimeSpanMultipleMonths => "{0} meseci"; + public string TimeSpanMultipleMonthsPaucal => "{0} meseca"; + public string TimeSpanMultipleYears => "{0} godina"; + public string TimeSpanMultipleYearsPaucal => "{0} godine"; + public string TimeSpanSingleMonth => "1 mesec"; + public string TimeSpanSingleYear => "1 godina"; + public string DateMultipleHoursFromNowDual => SerbianResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => SerbianResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => SerbianResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => SerbianResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => SerbianResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => SerbianResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => SerbianResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => SerbianResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => SerbianResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => SerbianResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => SerbianResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => SerbianResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => SerbianResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => SerbianResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => SerbianResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => SerbianResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => SerbianResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => SerbianResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => SerbianResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => SerbianResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => SerbianResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => SerbianResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => SerbianResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => SerbianResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => SerbianResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => SerbianResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => SerbianResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => SerbianResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => SerbianResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => SerbianResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => SerbianResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => SerbianResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => SerbianResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => SerbianResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => SerbianResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => SerbianResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => SerbianResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => SerbianResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => SerbianResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => SerbianResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => SerbianResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => SerbianResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => SerbianResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => SerbianResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => SerbianResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => SerbianResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => SerbianResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => SerbianResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => SerbianResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => SerbianResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => SerbianResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => SerbianResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => SerbianResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => SerbianResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => SerbianResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => SerbianResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => SerbianResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => SerbianResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => SerbianResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => SerbianResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => SerbianResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => SerbianResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => SerbianResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => SerbianResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => SerbianResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => SerbianResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => SerbianResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => SerbianResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => SerbianResources.Instance.TimeSpanSingleYearWords; + public string N => SerbianResources.Instance.N; + public string NNE => SerbianResources.Instance.NNE; + public string NE => SerbianResources.Instance.NE; + public string ENE => SerbianResources.Instance.ENE; + public string E => SerbianResources.Instance.E; + public string ESE => SerbianResources.Instance.ESE; + public string SE => SerbianResources.Instance.SE; + public string SSE => SerbianResources.Instance.SSE; + public string S => SerbianResources.Instance.S; + public string SSW => SerbianResources.Instance.SSW; + public string SW => SerbianResources.Instance.SW; + public string WSW => SerbianResources.Instance.WSW; + public string W => SerbianResources.Instance.W; + public string WNW => SerbianResources.Instance.WNW; + public string NW => SerbianResources.Instance.NW; + public string NNW => SerbianResources.Instance.NNW; + public string NShort => SerbianResources.Instance.NShort; + public string NNEShort => SerbianResources.Instance.NNEShort; + public string NEShort => SerbianResources.Instance.NEShort; + public string ENEShort => SerbianResources.Instance.ENEShort; + public string EShort => SerbianResources.Instance.EShort; + public string ESEShort => SerbianResources.Instance.ESEShort; + public string SEShort => SerbianResources.Instance.SEShort; + public string SSEShort => SerbianResources.Instance.SSEShort; + public string SShort => SerbianResources.Instance.SShort; + public string SSWShort => SerbianResources.Instance.SSWShort; + public string SWShort => SerbianResources.Instance.SWShort; + public string WSWShort => SerbianResources.Instance.WSWShort; + public string WShort => SerbianResources.Instance.WShort; + public string WNWShort => SerbianResources.Instance.WNWShort; + public string NWShort => SerbianResources.Instance.NWShort; + public string NNWShort => SerbianResources.Instance.NNWShort; + public string DataUnitBit => SerbianResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => SerbianResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => SerbianResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => SerbianResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => SerbianResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => SerbianResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => SerbianResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => SerbianResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => SerbianResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => SerbianResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => SerbianResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => SerbianResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => SerbianResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => SerbianResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => SerbianResources.Instance.TimeUnitMinute; + public string TimeUnitHour => SerbianResources.Instance.TimeUnitHour; + public string TimeUnitDay => SerbianResources.Instance.TimeUnitDay; + public string TimeUnitWeek => SerbianResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => SerbianResources.Instance.TimeUnitMonth; + public string TimeUnitYear => SerbianResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => SerbianResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => SerbianResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => SerbianResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SerbianResources.cs b/src/Humanizer/Resources/SerbianResources.cs new file mode 100644 index 000000000..e0c5c11ce --- /dev/null +++ b/src/Humanizer/Resources/SerbianResources.cs @@ -0,0 +1,191 @@ +class SerbianResources : IResources +{ + public string Culture => "sr"; + public static SerbianResources Instance => new(); + public string DateSingleSecondAgo => "пре секунд"; + public string DateMultipleSecondsAgo => "пре {0} секунди"; + public string DateSingleMinuteAgo => "пре минут"; + public string DateMultipleMinutesAgo => "пре {0} минута"; + public string DateSingleHourAgo => "пре сат времена"; + public string DateMultipleHoursAgo => "пре {0} сати"; + public string DateSingleDayAgo => "јуче"; + public string DateMultipleDaysAgo => "пре {0} дана"; + public string DateSingleMonthAgo => "пре месец дана"; + public string DateMultipleMonthsAgo => "пре {0} месеци"; + public string DateSingleYearAgo => "пре годину дана"; + public string DateMultipleYearsAgo => "пре {0} година"; + public string TimeSpanMultipleDays => "{0} дана"; + public string TimeSpanMultipleHours => "{0} сати"; + public string TimeSpanMultipleMilliseconds => "{0} милисекунди"; + public string TimeSpanMultipleMinutes => "{0} минута"; + public string TimeSpanMultipleSeconds => "{0} секунди"; + public string TimeSpanSingleDay => "1 дан"; + public string TimeSpanSingleHour => "1 сат"; + public string TimeSpanSingleMillisecond => "1 милисекунда"; + public string TimeSpanSingleMinute => "1 минут"; + public string TimeSpanSingleSecond => "1 секунда"; + public string TimeSpanZero => "без протеклог времена"; + public string TimeSpanMultipleWeeks => "{0} недеља"; + public string TimeSpanSingleWeek => "1 недеља"; + public string DateMultipleDaysFromNow => "за {0} дана"; + public string DateMultipleHoursFromNow => "за {0} сати"; + public string DateMultipleMinutesFromNow => "за {0} минута"; + public string DateMultipleMonthsFromNow => "за {0} месеци"; + public string DateMultipleSecondsFromNow => "за {0} секунди"; + public string DateMultipleYearsFromNow => "за {0} година"; + public string DateNow => "сада"; + public string DateSingleDayFromNow => "сутра"; + public string DateSingleHourFromNow => "за сат времена"; + public string DateSingleMinuteFromNow => "за минут"; + public string DateSingleMonthFromNow => "за месец дана"; + public string DateSingleSecondFromNow => "за секунд"; + public string DateSingleYearFromNow => "за годину дана"; + public string DateMultipleDaysAgoPaucal => "пре {0} дана"; + public string DateMultipleDaysFromNowPaucal => "за {0} дана"; + public string DateMultipleHoursAgoPaucal => "пре {0} сата"; + public string DateMultipleHoursFromNowPaucal => "за {0} сата"; + public string DateMultipleMinutesAgoPaucal => "пре {0} минута"; + public string DateMultipleMinutesFromNowPaucal => "за {0} минута"; + public string DateMultipleMonthsAgoPaucal => "пре {0} месеца"; + public string DateMultipleMonthsFromNowPaucal => "за {0} месеца"; + public string DateMultipleSecondsAgoPaucal => "пре {0} секунде"; + public string DateMultipleSecondsFromNowPaucal => "за {0} секунде"; + public string DateMultipleYearsAgoPaucal => "пре {0} године"; + public string DateMultipleYearsFromNowPaucal => "за {0} године"; + public string TimeSpanMultipleDaysPaucal => "{0} дана"; + public string TimeSpanMultipleHoursPaucal => "{0} сата"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} милисекунде"; + public string TimeSpanMultipleMinutesPaucal => "{0} минута"; + public string TimeSpanMultipleSecondsPaucal => "{0} секунде"; + public string TimeSpanMultipleWeeksPaucal => "{0} недеље"; + public string TimeSpanMultipleMonths => "{0} месеци"; + public string TimeSpanMultipleMonthsPaucal => "{0} месеца"; + public string TimeSpanMultipleYears => "{0} година"; + public string TimeSpanMultipleYearsPaucal => "{0} године"; + public string TimeSpanSingleMonth => "1 месец"; + public string TimeSpanSingleYear => "1 година"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SlovakResources.cs b/src/Humanizer/Resources/SlovakResources.cs new file mode 100644 index 000000000..7f25f985f --- /dev/null +++ b/src/Humanizer/Resources/SlovakResources.cs @@ -0,0 +1,191 @@ +class SlovakResources : IResources +{ + public string Culture => "sk"; + public static SlovakResources Instance => new(); + public string DateSingleSecondAgo => "pred sekundou"; + public string DateMultipleSecondsAgo => "pred {0} sekundami"; + public string DateSingleMinuteAgo => "pred minútou"; + public string DateMultipleMinutesAgo => "pred {0} minútami"; + public string DateSingleHourAgo => "pred hodinou"; + public string DateMultipleHoursAgo => "pred {0} hodinami"; + public string DateSingleDayAgo => "včera"; + public string DateMultipleDaysAgo => "pred {0} dňami"; + public string DateSingleMonthAgo => "pred mesiacom"; + public string DateMultipleMonthsAgo => "pred {0} mesiacmi"; + public string DateSingleYearAgo => "pred rokom"; + public string DateMultipleYearsAgo => "pred {0} rokmi"; + public string TimeSpanMultipleDays => "{0} dní"; + public string TimeSpanMultipleHours => "{0} hodín"; + public string TimeSpanMultipleMilliseconds => "{0} milisekúnd"; + public string TimeSpanMultipleMinutes => "{0} minút"; + public string TimeSpanMultipleSeconds => "{0} sekúnd"; + public string TimeSpanSingleDay => "1 deň"; + public string TimeSpanSingleHour => "1 hodina"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minúta"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "žiadny čas"; + public string TimeSpanMultipleWeeks => "{0} týždňov"; + public string TimeSpanSingleWeek => "1 týždeň"; + public string DateMultipleDaysFromNow => "o {0} dní"; + public string DateMultipleHoursFromNow => "o {0} hodín"; + public string DateMultipleMinutesFromNow => "o {0} minút"; + public string DateMultipleMonthsFromNow => "o {0} mesiacov"; + public string DateMultipleSecondsFromNow => "o {0} sekúnd"; + public string DateMultipleYearsFromNow => "o {0} rokov"; + public string DateNow => "teraz"; + public string DateSingleDayFromNow => "zajtra"; + public string DateSingleHourFromNow => "o hodinu"; + public string DateSingleMinuteFromNow => "o minútu"; + public string DateSingleMonthFromNow => "o mesiac"; + public string DateSingleSecondFromNow => "o sekundu"; + public string DateSingleYearFromNow => "o rok"; + public string DateMultipleDaysAgoPaucal => "pred {0} dňami"; + public string DateMultipleDaysFromNowPaucal => "o {0} dni"; + public string DateMultipleHoursAgoPaucal => "pred {0} hodinami"; + public string DateMultipleHoursFromNowPaucal => "o {0} hodiny"; + public string DateMultipleMinutesAgoPaucal => "pred {0} minútami"; + public string DateMultipleMinutesFromNowPaucal => "o {0} minúty"; + public string DateMultipleMonthsAgoPaucal => "pred {0} mesiacmi"; + public string DateMultipleMonthsFromNowPaucal => "o {0} mesiace"; + public string DateMultipleSecondsAgoPaucal => "pred {0} sekundami"; + public string DateMultipleSecondsFromNowPaucal => "o {0} sekundy"; + public string DateMultipleYearsAgoPaucal => "pred {0} rokmi"; + public string DateMultipleYearsFromNowPaucal => "o {0} roky"; + public string TimeSpanMultipleDaysPaucal => "{0} dni"; + public string TimeSpanMultipleHoursPaucal => "{0} hodiny"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekundy"; + public string TimeSpanMultipleMinutesPaucal => "{0} minúty"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekundy"; + public string TimeSpanMultipleWeeksPaucal => "{0} týždne"; + public string TimeSpanMultipleMonths => "{0} mesiacov"; + public string TimeSpanMultipleMonthsPaucal => "{0} mesiace"; + public string TimeSpanMultipleYears => "{0} rokov"; + public string TimeSpanMultipleYearsPaucal => "{0} roky"; + public string TimeSpanSingleMonth => "1 mesiac"; + public string TimeSpanSingleYear => "1 rok"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SlovenianResources.cs b/src/Humanizer/Resources/SlovenianResources.cs new file mode 100644 index 000000000..6eef55bd3 --- /dev/null +++ b/src/Humanizer/Resources/SlovenianResources.cs @@ -0,0 +1,191 @@ +class SlovenianResources : IResources +{ + public string Culture => "sl"; + public static SlovenianResources Instance => new(); + public string DateSingleSecondAgo => "pred eno sekundo"; + public string DateMultipleSecondsAgo => "pred {0} sekundami"; + public string DateSingleMinuteAgo => "pred eno minuto"; + public string DateMultipleMinutesAgo => "pred {0} minutami"; + public string DateSingleHourAgo => "pred eno uro"; + public string DateMultipleHoursAgo => "pred {0} urami"; + public string DateSingleDayAgo => "včeraj"; + public string DateMultipleDaysAgo => "pred {0} dnevi"; + public string DateSingleMonthAgo => "pred enim mesecem"; + public string DateMultipleMonthsAgo => "pred {0} meseci"; + public string DateSingleYearAgo => "pred enim letom"; + public string DateMultipleYearsAgo => "pred {0} leti"; + public string TimeSpanMultipleDays => "{0} dni"; + public string TimeSpanMultipleHours => "{0} ur"; + public string TimeSpanMultipleMilliseconds => "{0} milisekund"; + public string TimeSpanMultipleMinutes => "{0} minut"; + public string TimeSpanMultipleSeconds => "{0} sekund"; + public string TimeSpanSingleDay => "1 dan"; + public string TimeSpanSingleHour => "1 ura"; + public string TimeSpanSingleMillisecond => "1 milisekunda"; + public string TimeSpanSingleMinute => "1 minuta"; + public string TimeSpanSingleSecond => "1 sekunda"; + public string TimeSpanZero => "nič časa"; + public string TimeSpanMultipleWeeks => "{0} tednov"; + public string TimeSpanSingleWeek => "1 teden"; + public string DateMultipleDaysFromNow => "čez {0} dni"; + public string DateMultipleHoursFromNow => "čez {0} ur"; + public string DateMultipleMinutesFromNow => "čez {0} minut"; + public string DateMultipleMonthsFromNow => "čez {0} mesecev"; + public string DateMultipleSecondsFromNow => "čez {0} sekund"; + public string DateMultipleYearsFromNow => "čez {0} let"; + public string DateNow => "sedaj"; + public string DateSingleDayFromNow => "jutri"; + public string DateSingleHourFromNow => "čez eno uro"; + public string DateSingleMinuteFromNow => "čez eno minuto"; + public string DateSingleMonthFromNow => "čez en mesec"; + public string DateSingleSecondFromNow => "čez eno sekundo"; + public string DateSingleYearFromNow => "čez eno leto"; + public string DateMultipleDaysAgoDual => "pred {0} dnevoma"; + public string DateMultipleDaysAgoPaucal => "pred {0} dnevi"; + public string DateMultipleDaysFromNowDual => "čez {0} dni"; + public string DateMultipleDaysFromNowPaucal => "čez {0} dni"; + public string DateMultipleHoursAgoDual => "pred {0} urama"; + public string DateMultipleHoursAgoPaucal => "pred {0} urami"; + public string DateMultipleHoursFromNowDual => "čez {0} uri"; + public string DateMultipleHoursFromNowPaucal => "čez {0} ure"; + public string DateMultipleMinutesAgoDual => "pred {0} minutama"; + public string DateMultipleMinutesAgoPaucal => "pred {0} minutami"; + public string DateMultipleMinutesFromNowDual => "čez {0} minuti"; + public string DateMultipleMinutesFromNowPaucal => "čez {0} minute"; + public string DateMultipleMonthsAgoDual => "pred {0} mesecema"; + public string DateMultipleMonthsAgoPaucal => "pred {0} meseci"; + public string DateMultipleMonthsFromNowDual => "čez {0} meseca"; + public string DateMultipleMonthsFromNowPaucal => "čez {0} mesece"; + public string DateMultipleSecondsAgoDual => "pred {0} sekundama"; + public string DateMultipleSecondsAgoPaucal => "pred {0} sekundami"; + public string DateMultipleSecondsFromNowDual => "čez {0} sekundi"; + public string DateMultipleSecondsFromNowPaucal => "čez {0} sekunde"; + public string DateMultipleYearsAgoDual => "pred {0} letoma"; + public string DateMultipleYearsAgoPaucal => "pred {0} leti"; + public string DateMultipleYearsFromNowDual => "čez {0} leti"; + public string DateMultipleYearsFromNowPaucal => "čez {0} leta"; + public string TimeSpanMultipleDaysDual => "{0} dneva"; + public string TimeSpanMultipleDaysPaucal => "{0} dni"; + public string TimeSpanMultipleHoursDual => "{0} uri"; + public string TimeSpanMultipleHoursPaucal => "{0} ure"; + public string TimeSpanMultipleMillisecondsDual => "{0} milisekundi"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisekunde"; + public string TimeSpanMultipleMinutesDual => "{0} minuti"; + public string TimeSpanMultipleMinutesPaucal => "{0} minute"; + public string TimeSpanMultipleSecondsDual => "{0} sekundi"; + public string TimeSpanMultipleSecondsPaucal => "{0} sekunde"; + public string TimeSpanMultipleWeeksDual => "{0} tedna"; + public string TimeSpanMultipleWeeksPaucal => "{0} tedne"; + public string DateNever => "nikoli"; + public string TimeSpanMultipleMonths => "{0} mesecev"; + public string TimeSpanMultipleMonthsDual => "{0} meseca"; + public string TimeSpanMultipleMonthsPaucal => "{0} mesece"; + public string TimeSpanMultipleYears => "{0} let"; + public string TimeSpanMultipleYearsDual => "{0} leti"; + public string TimeSpanMultipleYearsPaucal => "{0} leta"; + public string TimeSpanSingleMonth => "1 mesec"; + public string TimeSpanSingleYear => "1 leto"; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SpanishResources.cs b/src/Humanizer/Resources/SpanishResources.cs new file mode 100644 index 000000000..e2a1a8455 --- /dev/null +++ b/src/Humanizer/Resources/SpanishResources.cs @@ -0,0 +1,191 @@ +class SpanishResources : IResources +{ + public string Culture => "es"; + public static SpanishResources Instance => new(); + public string DateSingleSecondAgo => "hace un segundo"; + public string DateMultipleSecondsAgo => "hace {0} segundos"; + public string DateSingleMinuteAgo => "hace un minuto"; + public string DateMultipleMinutesAgo => "hace {0} minutos"; + public string DateSingleHourAgo => "hace una hora"; + public string DateMultipleHoursAgo => "hace {0} horas"; + public string DateSingleDayAgo => "ayer"; + public string DateMultipleDaysAgo => "hace {0} días"; + public string DateSingleMonthAgo => "hace un mes"; + public string DateMultipleMonthsAgo => "hace {0} meses"; + public string DateSingleYearAgo => "hace un año"; + public string DateMultipleYearsAgo => "hace {0} años"; + public string TimeSpanMultipleDays => "{0} días"; + public string TimeSpanMultipleHours => "{0} horas"; + public string TimeSpanMultipleMilliseconds => "{0} milisegundos"; + public string TimeSpanMultipleMinutes => "{0} minutos"; + public string TimeSpanMultipleSeconds => "{0} segundos"; + public string TimeSpanMultipleWeeks => "{0} semanas"; + public string TimeSpanSingleDay => "1 día"; + public string TimeSpanSingleHour => "1 hora"; + public string TimeSpanSingleMillisecond => "1 milisegundo"; + public string TimeSpanSingleMinute => "1 minuto"; + public string TimeSpanSingleSecond => "1 segundo"; + public string TimeSpanSingleWeek => "1 semana"; + public string TimeSpanZero => "nada"; + public string DateMultipleDaysFromNow => "en {0} días"; + public string DateMultipleHoursFromNow => "en {0} horas"; + public string DateMultipleMinutesFromNow => "en {0} minutos"; + public string DateMultipleMonthsFromNow => "en {0} meses"; + public string DateMultipleSecondsFromNow => "en {0} segundos"; + public string DateMultipleYearsFromNow => "en {0} años"; + public string DateSingleDayFromNow => "mañana"; + public string DateSingleHourFromNow => "en una hora"; + public string DateSingleMinuteFromNow => "en un minuto"; + public string DateSingleMonthFromNow => "en un mes"; + public string DateSingleSecondFromNow => "en un segundo"; + public string DateSingleYearFromNow => "en un año"; + public string DateNow => "ahora"; + public string TimeSpanMultipleMonths => "{0} meses"; + public string TimeSpanMultipleYears => "{0} años"; + public string TimeSpanSingleMonth => "1 mes"; + public string TimeSpanSingleYear => "1 año"; + public string TimeSpanMultipleWeeksPlural => "{0} semanas"; + public string TimeSpanSingleDayWords => "un día"; + public string TimeSpanSingleHourWords => "una hora"; + public string TimeSpanSingleMillisecondWords => "un milisegundo"; + public string TimeSpanSingleMinuteWords => "un minuto"; + public string TimeSpanSingleMonthWords => "un mes"; + public string TimeSpanSingleSecondWords => "un segundo"; + public string TimeSpanSingleWeekWords => "una semana"; + public string TimeSpanSingleYearWords => "un año"; + public string N => "norte"; + public string NNE => "norte-noreste"; + public string NE => "noreste"; + public string ENE => "este-noreste"; + public string E => "este"; + public string ESE => "este-sudeste"; + public string SE => "sudeste"; + public string SSE => "sur-sudeste"; + public string S => "sur"; + public string SSW => "sur-sudoeste"; + public string SW => "sudoeste"; + public string WSW => "oeste-sudoeste"; + public string W => "oeste"; + public string WNW => "oeste-noroeste"; + public string TimeSpanMultipleYearsSingular => "{0} año"; + public string TimeSpanMultipleYearsPlural => "{0} años"; + public string TimeSpanMultipleYearsPaucal => "{0} años"; + public string TimeSpanMultipleWeeksSingular => "{0} semana"; + public string DateMultipleHoursAgoPaucal => "hace {0} horas"; + public string DateMultipleHoursFromNowPaucal => "hace {0} horas desde ahora"; + public string DateMultipleMinutesAgoPaucal => "hace {0} minutos"; + public string DateMultipleMinutesFromNowPaucal => "hace {0} minutos desde ahora"; + public string DateMultipleMonthsAgoPaucal => "hace {0} meses"; + public string DateMultipleMonthsFromNowPaucal => "hace {0} meses desde ahora"; + public string DateMultipleSecondsAgoPaucal => "hace {0} segundos"; + public string DateMultipleSecondsFromNowPaucal => "hace {0} segundos desde ahora"; + public string DateMultipleYearsAgoPaucal => "hace {0} años"; + public string NW => "noroeste"; + public string DateMultipleYearsFromNowPaucal => "hace {0} años desde ahora"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} milisegundos"; + public string TimeSpanMultipleMinutesPaucal => "{0} minutos"; + public string TimeSpanMultipleSecondsPaucal => "{0} segundos"; + public string TimeSpanMultipleWeeksPaucal => "{0} semanas"; + public string DateNever => "nunca"; + public string TimeSpanMultipleMonthsDual => "{0} meses"; + public string TimeSpanMultipleMonthsPaucal => "{0} meses"; + public string TimeSpanMultipleMonthsPlural => "{0} meses"; + public string TimeSpanMultipleMonthsSingular => "{0} mes"; + public string TimeSpanMultipleYearsDual => "{0} años"; + public string TimeSpanMultipleHoursPaucal => "{0} horas"; + public string NNW => "norte-noroeste"; + public string NShort => "N"; + public string NNEShort => "N-NE"; + public string TimeUnitMinute => "min"; + public string TimeUnitHour => "h"; + public string TimeUnitDay => "d"; + public string TimeUnitWeek => "semana"; + public string TimeUnitMonth => "mes"; + public string TimeUnitYear => "año"; + public string TimeUnitSecond => "s"; + public string TimeUnitMillisecond => "ms"; + public string DataUnitTerabyte => "terabyte"; + public string NEShort => "NE"; + public string ENEShort => "E-NE"; + public string EShort => "E"; + public string ESEShort => "E-SE"; + public string SEShort => "SE"; + public string SSEShort => "S-SE"; + public string SShort => "S"; + public string SSWShort => "S-SO"; + public string SWShort => "SO"; + public string WSWShort => "O-SO"; + public string WShort => "O"; + public string DataUnitTerabyteSymbol => "TB"; + public string WNWShort => "O-NO"; + public string NNWShort => "N-NO"; + public string DataUnitBit => "bit"; + public string DataUnitBitSymbol => "b"; + public string DataUnitByte => "byte"; + public string DataUnitByteSymbol => "B"; + public string DataUnitKilobyte => "kilobyte"; + public string DataUnitKilobyteSymbol => "KB"; + public string DataUnitMegabyte => "megabyte"; + public string DataUnitMegabyteSymbol => "MB"; + public string DataUnitGigabyte => "gigabye"; + public string DataUnitGigabyteSymbol => "GB"; + public string NWShort => "NO"; + public string TimeSpanMultipleWeeksDual => "{0} semanas"; + public string TimeSpanMultipleSecondsSingular => "{0} segundo"; + public string DateMultipleDaysFromNowSingular => "{0} día desde ahora"; + public string DateMultipleHoursAgoDual => "hace {0} horas"; + public string DateMultipleHoursAgoPlural => "hace {0} horas"; + public string DateMultipleHoursAgoSingular => "hace {0} hora"; + public string DateMultipleHoursFromNowPlural => "hace {0} horas desde ahora"; + public string DateMultipleHoursFromNowSingular => "hace {0} hora desde ahora"; + public string DateMultipleMinutesAgoDual => "hace {0} minutos"; + public string DateMultipleMinutesAgoPlural => "hace {0} minutos"; + public string DateMultipleMinutesAgoSingular => "hace {0} minuto"; + public string DateMultipleDaysFromNowPlural => "hace {0} días desde ahora"; + public string DateMultipleDaysAgoSingular => "hace {0} día"; + public string DateMultipleHoursFromNowDual => "hace {0} horas desde ahora"; + public string DateMultipleMinutesFromNowPlural => "hace {0} minutos desde ahora"; + public string DateMultipleSecondsAgoDual => "hace {0} segundos"; + public string DateMultipleSecondsFromNowDual => "hace {0} segundos desde ahora"; + public string DateMultipleYearsFromNowDual => "hace {0} años desde ahora"; + public string TimeSpanMultipleDaysDual => "{0} días"; + public string TimeSpanMultipleDaysPlural => "{0} días"; + public string DateMultipleMinutesFromNowDual => "{0} minutos desde ahora"; + public string TimeSpanMultipleHoursPlural => "{0} horas"; + public string TimeSpanMultipleMinutesDual => "{0} minutos"; + public string TimeSpanMultipleMinutesPlural => "{0} mintuos"; + public string TimeSpanMultipleSecondsPlural => "{0} segundos"; + public string TimeSpanMultipleMillisecondsPlural => "{0} milisegundos"; + public string DateMultipleDaysAgoDual => "hace {0} días"; + public string DateMultipleDaysAgoPlural => "hace {0} días"; + public string TimeSpanMultipleMillisecondsDual => "{0} milisegundos"; + public string DateMultipleMinutesFromNowSingular => "hace {0} minuto desde ahora"; + public string DateMultipleDaysFromNowDual => "hace {0} días desde ahora"; + public string DateMultipleMonthsAgoDual => "hace {0} meses desde ahora"; + public string DateMultipleYearsFromNowPlural => "hace {0} años desde ahora"; + public string DateMultipleYearsFromNowSingular => "hace {0} año desde ahora"; + public string TimeSpanMultipleDaysSingular => "{0} día"; + public string DateMultipleYearsAgoSingular => "hace {0} año"; + public string TimeSpanMultipleHoursDual => "{0} horas"; + public string TimeSpanMultipleMinutesSingular => "{0} minuto"; + public string TimeSpanMultipleSecondsDual => "{0} segundos"; + public string TimeSpanMultipleHoursSingular => "{0} hora"; + public string DateMultipleYearsAgoPlural => "hace {0} años"; + public string TimeSpanMultipleMillisecondsSingular => "{0} milisegundo"; + public string DateMultipleYearsAgoDual => "hace {0} años"; + public string DateMultipleMonthsAgoSingular => "hace {0} meses"; + public string DateMultipleMonthsFromNowDual => "hace {0} meses desde ahora"; + public string DateMultipleMonthsFromNowPlural => "hace {0} meses desde ahora"; + public string DateMultipleMonthsFromNowSingular => "hace {0} mes desde ahora"; + public string DateMultipleMonthsAgoPlural => "hace {0} meses"; + public string DateMultipleSecondsAgoPlural => "hace {0} segundos"; + public string DateMultipleSecondsFromNowPlural => "hace {0} segundos desde ahora"; + public string DateMultipleSecondsFromNowSingular => "hace {0} segundo desde ahora"; + public string DateMultipleSecondsAgoSingular => "hace {0} segundo"; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/SwedishResources.cs b/src/Humanizer/Resources/SwedishResources.cs new file mode 100644 index 000000000..ccf5013c3 --- /dev/null +++ b/src/Humanizer/Resources/SwedishResources.cs @@ -0,0 +1,191 @@ +class SwedishResources : IResources +{ + public string Culture => "sv"; + public static SwedishResources Instance => new(); + public string DateSingleSecondAgo => "en sekund sedan"; + public string DateMultipleSecondsAgo => "för {0} sekunder sedan"; + public string DateSingleMinuteAgo => "en minut sedan"; + public string DateMultipleMinutesAgo => "för {0} minuter sedan"; + public string DateSingleHourAgo => "en timme sedan"; + public string DateMultipleHoursAgo => "för {0} timmar sedan"; + public string DateSingleDayAgo => "igår"; + public string DateMultipleDaysAgo => "för {0} dagar sedan"; + public string DateSingleMonthAgo => "en månad sedan"; + public string DateMultipleMonthsAgo => "för {0} månader sedan"; + public string DateSingleYearAgo => "ett år sedan"; + public string DateMultipleYearsAgo => "för {0} år sedan"; + public string TimeSpanMultipleDays => "{0} dagar"; + public string TimeSpanMultipleHours => "{0} timmar"; + public string TimeSpanMultipleMilliseconds => "{0} millisekunder"; + public string TimeSpanMultipleMinutes => "{0} minuter"; + public string TimeSpanMultipleSeconds => "{0} sekunder"; + public string TimeSpanSingleDay => "1 dag"; + public string TimeSpanSingleHour => "1 timma"; + public string TimeSpanSingleMillisecond => "1 millisekund"; + public string TimeSpanSingleMinute => "1 minut"; + public string TimeSpanSingleSecond => "1 sekund"; + public string TimeSpanZero => "ingen tid"; + public string TimeSpanMultipleWeeks => "{0} veckor"; + public string TimeSpanSingleWeek => "1 vecka"; + public string DateMultipleDaysFromNow => "om {0} dagar"; + public string DateMultipleHoursFromNow => "om {0} timmar"; + public string DateMultipleMinutesFromNow => "om {0} minuter"; + public string DateMultipleMonthsFromNow => "om {0} månader"; + public string DateMultipleSecondsFromNow => "om {0} sekunder"; + public string DateMultipleYearsFromNow => "om {0} år"; + public string DateNow => "nu"; + public string DateSingleDayFromNow => "i morgon"; + public string DateSingleHourFromNow => "om en timme"; + public string DateSingleMinuteFromNow => "om en minut"; + public string DateSingleMonthFromNow => "om en månad"; + public string DateSingleSecondFromNow => "om en sekund"; + public string DateSingleYearFromNow => "om ett år"; + public string TimeSpanMultipleMonths => "{0} månader"; + public string TimeSpanMultipleYears => "{0} år"; + public string TimeSpanSingleMonth => "en månad"; + public string TimeSpanSingleYear => "ett år"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/ThaiThailandResources.cs b/src/Humanizer/Resources/ThaiThailandResources.cs new file mode 100644 index 000000000..7d6e18cab --- /dev/null +++ b/src/Humanizer/Resources/ThaiThailandResources.cs @@ -0,0 +1,191 @@ +class ThaiThailandResources : IResources +{ + public string Culture => "th-TH"; + public static ThaiThailandResources Instance => new(); + public string DateSingleSecondAgo => "หนึ่งวินาทีที่แล้ว"; + public string DateMultipleSecondsAgo => "{0} วินาทีที่แล้ว"; + public string DateSingleMinuteAgo => "หนึ่งนาทีที่แล้ว"; + public string DateMultipleMinutesAgo => "{0} นาทีที่แล้ว"; + public string DateSingleHourAgo => "หนึ่งชั่วโมงที่แล้ว"; + public string DateMultipleHoursAgo => "{0} ชั่วโมงที่แล้ว"; + public string DateSingleDayAgo => "เมื่อวานนี้"; + public string DateMultipleDaysAgo => "{0} วันที่แล้ว"; + public string DateSingleMonthAgo => "หนึ่งเดือนที่แล้ว"; + public string DateMultipleMonthsAgo => "{0} เดือนที่แล้ว"; + public string DateSingleYearAgo => "หนึ่งปีที่แล้ว"; + public string DateMultipleYearsAgo => "{0} ปีที่แล้ว"; + public string TimeSpanMultipleDays => "{0} วัน"; + public string TimeSpanMultipleHours => "{0} ชั่วโมง"; + public string TimeSpanMultipleMilliseconds => "{0} มิลลิวินาที"; + public string TimeSpanMultipleMinutes => "{0} นาที"; + public string TimeSpanMultipleSeconds => "{0} วินาที"; + public string TimeSpanSingleDay => "1 วัน"; + public string TimeSpanSingleHour => "1 ชั่วโมง"; + public string TimeSpanSingleMillisecond => "1 มิลลิวินาที"; + public string TimeSpanSingleMinute => "1 นาที"; + public string TimeSpanSingleSecond => "1 วินาที"; + public string TimeSpanZero => "ไม่มีเวลา"; + public string TimeSpanMultipleWeeks => "{0} สัปดาห์"; + public string TimeSpanSingleWeek => "1 สัปดาห์"; + public string DateMultipleDaysFromNow => "{0} วันจากนี้"; + public string DateMultipleHoursFromNow => "{0} ชั่วโมงจากนี้"; + public string DateMultipleMinutesFromNow => "{0} นาทีจากนี้"; + public string DateMultipleMonthsFromNow => "{0} เดือนจากนี้"; + public string DateMultipleSecondsFromNow => "{0} วินาทีจากนี้"; + public string DateMultipleYearsFromNow => "{0} ปีจากนี้"; + public string DateNow => "ขณะนี้"; + public string DateSingleDayFromNow => "พรุ่งนี้"; + public string DateSingleHourFromNow => "หนึ่งชั่วโมงจากนี้"; + public string DateSingleMinuteFromNow => "หนึ่งนาทีจากนี้"; + public string DateSingleMonthFromNow => "หนึ่งเดือนจากนี้"; + public string DateSingleSecondFromNow => "หนึ่งวินาทีจากนี้"; + public string DateSingleYearFromNow => "หนึ่งปีจากนี้"; + public string DateMultipleHoursFromNowDual => "{0} ชั่วโมงจากนี้"; + public string DateMultipleMinutesFromNowPlural => "{0} นาทีจากนี้"; + public string DateMultipleSecondsAgoDual => "{0} วินาทีที่แล้ว"; + public string DateMultipleSecondsFromNowDual => "{0} วินาทีจากนี้"; + public string DateMultipleYearsFromNowDual => "{0} ปีจากนี้"; + public string TimeSpanMultipleDaysDual => "{0} วัน"; + public string TimeSpanMultipleDaysPlural => "{0} วัน"; + public string TimeSpanMultipleHoursPlural => "{0} ชั่วโมง"; + public string TimeSpanMultipleMillisecondsDual => "{0} มิลลิวินาที"; + public string TimeSpanMultipleMinutesDual => "{0} นาที"; + public string TimeSpanMultipleMinutesPlural => "{0} นาที"; + public string TimeSpanMultipleSecondsPlural => "{0} วินาที"; + public string TimeSpanMultipleMillisecondsPlural => "{0} มิลลิวินาที"; + public string DateMultipleDaysAgoDual => "{0} วันที่แล้ว"; + public string DateMultipleDaysAgoPlural => "{0} วันที่แล้ว"; + public string DateMultipleDaysAgoSingular => "{0} วันที่แล้ว"; + public string DateMultipleDaysFromNowDual => "{0} วันจากนี้"; + public string DateMultipleDaysFromNowPlural => "{0} วันจากนี้"; + public string DateMultipleDaysFromNowSingular => "{0} วันจากนี้"; + public string DateMultipleHoursAgoDual => "{0} ชั่วโมงที่แล้ว"; + public string DateMultipleHoursAgoPlural => "{0} ชั่วโมงที่แล้ว"; + public string DateMultipleHoursAgoSingular => "{0} ชั่วโมงที่แล้ว"; + public string DateMultipleHoursFromNowPlural => "{0} ชั่วโมงจากนี้"; + public string DateMultipleHoursFromNowSingular => "{0} ชั่วโมงจากนี้"; + public string DateMultipleMinutesAgoDual => "{0} นาทีที่แล้ว"; + public string DateMultipleMinutesAgoPlural => "{0} นาทีที่แล้ว"; + public string DateMultipleMinutesAgoSingular => "{0} นาทีที่แล้ว"; + public string DateMultipleMinutesFromNowDual => "{0} นาทีจากนี้"; + public string DateMultipleMinutesFromNowSingular => "{0} นาทีจากนี้"; + public string DateMultipleMonthsAgoDual => "{0} เดือนที่แล้ว"; + public string DateMultipleMonthsAgoPlural => "{0} เดือนที่แล้ว"; + public string DateMultipleMonthsAgoSingular => "{0} เดือนที่แล้ว"; + public string DateMultipleMonthsFromNowDual => "{0} เดือนจากนี้"; + public string DateMultipleMonthsFromNowPlural => "{0} เดือนจากนี้"; + public string DateMultipleMonthsFromNowSingular => "{0} เดือนจากนี้"; + public string DateMultipleSecondsAgoPlural => "{0} วินาทีที่แล้ว"; + public string DateMultipleSecondsAgoSingular => "{0} วินาทีที่แล้ว"; + public string DateMultipleSecondsFromNowPlural => "{0} วินาทีจากนี้"; + public string DateMultipleSecondsFromNowSingular => "{0} วินาทีจากนี้"; + public string DateMultipleYearsAgoDual => "{0} ปีที่แล้ว"; + public string DateMultipleYearsAgoPlural => "{0} ปีที่แล้ว"; + public string DateMultipleYearsAgoSingular => "{0} ปีที่แล้ว"; + public string DateMultipleYearsFromNowPlural => "{0} ปีจากนี้"; + public string DateMultipleYearsFromNowSingular => "{0} ปีจากนี้"; + public string TimeSpanMultipleDaysSingular => "{0} วัน"; + public string TimeSpanMultipleHoursDual => "{0} ชั่วโมง"; + public string TimeSpanMultipleHoursSingular => "{0} ชั่วโมง"; + public string TimeSpanMultipleMillisecondsSingular => "{0} มิลลิวินาที"; + public string TimeSpanMultipleMinutesSingular => "{0} นาที"; + public string TimeSpanMultipleSecondsDual => "{0} วินาที"; + public string TimeSpanMultipleSecondsSingular => "{0} วินาที"; + public string TimeSpanMultipleWeeksDual => "{0} สัปดาห์"; + public string TimeSpanMultipleWeeksPlural => "{0} สัปดาห์"; + public string TimeSpanMultipleWeeksSingular => "{0} สัปดาห์"; + public string TimeSpanMultipleMonths => "{0} เดือน"; + public string TimeSpanMultipleYears => "{0} ปี"; + public string TimeSpanSingleMonth => "1 เดือน"; + public string TimeSpanSingleYear => "1 ปี"; + public string DateMultipleHoursAgoPaucal => "{0} ชั่วโมงที่แล้ว"; + public string DateMultipleHoursFromNowPaucal => "{0} ชั่วโมงจากนี้"; + public string DateMultipleMinutesAgoPaucal => "{0} นาทีที่แล้ว"; + public string DateMultipleMinutesFromNowPaucal => "{0} นาทีจากนี้"; + public string DateMultipleMonthsAgoPaucal => "{0} เดือนที่แล้ว"; + public string DateMultipleMonthsFromNowPaucal => "{0} เดือนจากนี้"; + public string DateMultipleSecondsAgoPaucal => "{0} วินาทีที่แล้ว"; + public string DateMultipleSecondsFromNowPaucal => "{0} วินาทีจากนี้"; + public string DateMultipleYearsAgoPaucal => "{0} ปีที่แล้ว"; + public string DateMultipleYearsFromNowPaucal => "{0} ปีจากนี้"; + public string TimeSpanMultipleHoursPaucal => "{0} ชั่วโมง"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} มิลลิวินาที"; + public string TimeSpanMultipleMinutesPaucal => "{0} นาที"; + public string TimeSpanMultipleSecondsPaucal => "{0} วินาที"; + public string TimeSpanMultipleWeeksPaucal => "{0} สัปดาห์"; + public string DateNever => "ไม่เคย"; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/TurkishResources.cs b/src/Humanizer/Resources/TurkishResources.cs new file mode 100644 index 000000000..d16da9694 --- /dev/null +++ b/src/Humanizer/Resources/TurkishResources.cs @@ -0,0 +1,191 @@ +class TurkishResources : IResources +{ + public string Culture => "tr"; + public static TurkishResources Instance => new(); + public string DateSingleSecondAgo => "bir saniye önce"; + public string DateMultipleSecondsAgo => "{0} saniye önce"; + public string DateSingleMinuteAgo => "bir dakika önce"; + public string DateMultipleMinutesAgo => "{0} dakika önce"; + public string DateSingleHourAgo => "bir saat önce"; + public string DateMultipleHoursAgo => "{0} saat önce"; + public string DateSingleDayAgo => "dün"; + public string DateMultipleDaysAgo => "{0} gün önce"; + public string DateSingleMonthAgo => "bir ay önce"; + public string DateMultipleMonthsAgo => "{0} ay önce"; + public string DateSingleYearAgo => "bir yıl önce"; + public string DateMultipleYearsAgo => "{0} yıl önce"; + public string TimeSpanMultipleDays => "{0} gün"; + public string TimeSpanMultipleHours => "{0} saat"; + public string TimeSpanMultipleMilliseconds => "{0} milisaniye"; + public string TimeSpanMultipleMinutes => "{0} dakika"; + public string TimeSpanMultipleSeconds => "{0} saniye"; + public string TimeSpanSingleDay => "1 gün"; + public string TimeSpanSingleHour => "1 saat"; + public string TimeSpanSingleMillisecond => "1 milisaniye"; + public string TimeSpanSingleMinute => "1 dakika"; + public string TimeSpanSingleSecond => "1 saniye"; + public string TimeSpanZero => "zaman farkı yok"; + public string TimeSpanMultipleWeeks => "{0} hafta"; + public string TimeSpanSingleWeek => "1 hafta"; + public string DateMultipleDaysFromNow => "{0} gün sonra"; + public string DateMultipleHoursFromNow => "{0} saat sonra"; + public string DateMultipleMinutesFromNow => "{0} dakika sonra"; + public string DateMultipleMonthsFromNow => "{0} ay sonra"; + public string DateMultipleSecondsFromNow => "{0} saniye sonra"; + public string DateMultipleYearsFromNow => "{0} yıl sonra"; + public string DateNow => "şimdi"; + public string DateSingleDayFromNow => "yarın"; + public string DateSingleHourFromNow => "bir saat sonra"; + public string DateSingleMinuteFromNow => "bir dakika sonra"; + public string DateSingleMonthFromNow => "bir ay sonra"; + public string DateSingleSecondFromNow => "bir saniye sonra"; + public string DateSingleYearFromNow => "bir yıl sonra"; + public string TimeSpanMultipleMonths => "{0} ay"; + public string TimeSpanMultipleYears => "{0} yıl"; + public string TimeSpanSingleMonth => "1 ay"; + public string TimeSpanSingleYear => "1 yıl"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/UkrainianResources.cs b/src/Humanizer/Resources/UkrainianResources.cs new file mode 100644 index 000000000..8fe11e076 --- /dev/null +++ b/src/Humanizer/Resources/UkrainianResources.cs @@ -0,0 +1,191 @@ +class UkrainianResources : IResources +{ + public string Culture => "uk"; + public static UkrainianResources Instance => new(); + public string DateSingleSecondAgo => "секунду тому"; + public string DateSingleMinuteAgo => "хвилину тому"; + public string DateSingleHourAgo => "годину тому"; + public string DateSingleDayAgo => "вчора"; + public string DateSingleMonthAgo => "місяць тому"; + public string DateSingleYearAgo => "рік тому"; + public string DateMultipleDaysAgoSingular => "{0} день тому"; + public string DateMultipleHoursAgo => "{0} годин тому"; + public string DateMultipleMinutesAgo => "{0} хвилин тому"; + public string DateMultipleMonthsAgo => "{0} місяців тому"; + public string DateMultipleSecondsAgo => "{0} секунд тому"; + public string DateMultipleYearsAgo => "{0} років тому"; + public string DateMultipleDaysAgo => "{0} днів тому"; + public string DateMultipleDaysAgoPaucal => "{0} дні тому"; + public string DateMultipleHoursAgoPaucal => "{0} години тому"; + public string DateMultipleHoursAgoSingular => "{0} годину тому"; + public string DateMultipleMinutesAgoPaucal => "{0} хвилини тому"; + public string DateMultipleMinutesAgoSingular => "{0} хвилину тому"; + public string DateMultipleMonthsAgoPaucal => "{0} місяці тому"; + public string DateMultipleMonthsAgoSingular => "{0} місяць тому"; + public string DateMultipleSecondsAgoPaucal => "{0} секунди тому"; + public string DateMultipleSecondsAgoSingular => "{0} секунду тому"; + public string DateMultipleYearsAgoPaucal => "{0} роки тому"; + public string DateMultipleYearsAgoSingular => "{0} рік тому"; + public string DateNow => "зараз"; + public string TimeSpanMultipleDays => "{0} днів"; + public string TimeSpanMultipleDaysPaucal => "{0} дні"; + public string TimeSpanMultipleDaysSingular => "{0} день"; + public string TimeSpanMultipleHours => "{0} годин"; + public string TimeSpanMultipleHoursPaucal => "{0} години"; + public string TimeSpanMultipleHoursSingular => "{0} година"; + public string TimeSpanMultipleMilliseconds => "{0} мілісекунд"; + public string TimeSpanMultipleMillisecondsPaucal => "{0} мілісекунди"; + public string TimeSpanMultipleMillisecondsSingular => "{0} мілісекунда"; + public string TimeSpanMultipleMinutes => "{0} хвилин"; + public string TimeSpanMultipleMinutesPaucal => "{0} хвилини"; + public string TimeSpanMultipleMinutesSingular => "{0} хвилина"; + public string TimeSpanMultipleSeconds => "{0} секунд"; + public string TimeSpanMultipleSecondsPaucal => "{0} секунди"; + public string TimeSpanMultipleSecondsSingular => "{0} секунда"; + public string TimeSpanMultipleWeeks => "{0} тижнів"; + public string TimeSpanMultipleWeeksPaucal => "{0} тижні"; + public string TimeSpanMultipleWeeksSingular => "{0} тиждень"; + public string TimeSpanSingleDay => "1 день"; + public string TimeSpanSingleHour => "1 година"; + public string TimeSpanSingleMillisecond => "1 мілісекунда"; + public string TimeSpanSingleMinute => "1 хвилина"; + public string TimeSpanSingleSecond => "1 секунда"; + public string TimeSpanSingleWeek => "1 тиждень"; + public string TimeSpanZero => "без часу"; + public string DateMultipleDaysFromNow => "через {0} днів"; + public string DateMultipleDaysFromNowPaucal => "через {0} дні"; + public string DateMultipleDaysFromNowSingular => "через {0} день"; + public string DateMultipleHoursFromNow => "через {0} годин"; + public string DateMultipleHoursFromNowPaucal => "через {0} години"; + public string DateMultipleHoursFromNowSingular => "через {0} годину"; + public string DateMultipleMinutesFromNow => "через {0} хвилин"; + public string DateMultipleMinutesFromNowPaucal => "через {0} хвилини"; + public string DateMultipleMinutesFromNowSingular => "через {0} хвилину"; + public string DateMultipleMonthsFromNow => "через {0} місяців"; + public string DateMultipleMonthsFromNowPaucal => "через {0} місяці"; + public string DateMultipleMonthsFromNowSingular => "через {0} місяць"; + public string DateMultipleSecondsFromNow => "через {0} секунд"; + public string DateMultipleSecondsFromNowPaucal => "через {0} секунди"; + public string DateMultipleSecondsFromNowSingular => "через {0} секунду"; + public string DateMultipleYearsFromNow => "через {0} років"; + public string DateMultipleYearsFromNowPaucal => "через {0} роки"; + public string DateMultipleYearsFromNowSingular => "через {0} рік"; + public string DateSingleDayFromNow => "завтра"; + public string DateSingleHourFromNow => "через годину"; + public string DateSingleMinuteFromNow => "через хвилину"; + public string DateSingleMonthFromNow => "через місяць"; + public string DateSingleSecondFromNow => "через секунду"; + public string DateSingleYearFromNow => "через рік"; + public string TimeSpanMultipleMonths => "{0} місяців"; + public string TimeSpanMultipleMonthsPaucal => "{0} місяці"; + public string TimeSpanMultipleMonthsSingular => "{0} місяць"; + public string TimeSpanMultipleYears => "{0} років"; + public string TimeSpanMultipleYearsPaucal => "{0} роки"; + public string TimeSpanMultipleYearsSingular => "{0} рік"; + public string TimeSpanSingleMonth => "1 місяць"; + public string TimeSpanSingleYear => "1 рік"; + public string TimeSpanSingleDayWords => "один день"; + public string TimeSpanSingleHourWords => "одна година"; + public string TimeSpanSingleMillisecondWords => "одна мілісекунда"; + public string TimeSpanSingleMinuteWords => "одна хвилина"; + public string TimeSpanSingleMonthWords => "один місяць"; + public string TimeSpanSingleSecondWords => "одна секунда"; + public string TimeSpanSingleWeekWords => "один тиждень"; + public string TimeSpanSingleYearWords => "один рік"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/UzbekCyrillicUzbekistanResources.cs b/src/Humanizer/Resources/UzbekCyrillicUzbekistanResources.cs new file mode 100644 index 000000000..e5dc5bbe0 --- /dev/null +++ b/src/Humanizer/Resources/UzbekCyrillicUzbekistanResources.cs @@ -0,0 +1,191 @@ +class UzbekCyrillicUzbekistanResources : IResources +{ + public string Culture => "uz-Cyrl-UZ"; + public static UzbekCyrillicUzbekistanResources Instance => new(); + public string DateMultipleDaysAgo => "{0} кун аввал"; + public string DateMultipleDaysFromNow => "{0} кундан сўнг"; + public string DateMultipleHoursAgo => "{0} соат аввал"; + public string DateMultipleHoursFromNow => "{0} соатдан сўнг"; + public string DateMultipleMinutesAgo => "{0} минут аввал"; + public string DateMultipleMinutesFromNow => "{0} минутдан сўнг"; + public string DateMultipleMonthsAgo => "{0} ой аввал"; + public string DateMultipleMonthsFromNow => "{0} ойдан сўнг"; + public string DateMultipleSecondsAgo => "{0} секунд аввал"; + public string DateMultipleSecondsFromNow => "{0} секунддан сўнг"; + public string DateMultipleYearsAgo => "{0} йил аввал"; + public string DateMultipleYearsFromNow => "{0} йилдан сўнг"; + public string DateNow => "ҳозир"; + public string DateSingleDayAgo => "кеча"; + public string DateSingleDayFromNow => "эртага"; + public string DateSingleHourAgo => "бир соат аввал"; + public string DateSingleHourFromNow => "бир соатдан сўнг"; + public string DateSingleMinuteAgo => "бир дақиқа аввал"; + public string DateSingleMinuteFromNow => "бир дақиқадан сўнг"; + public string DateSingleMonthAgo => "бир ой аввал"; + public string DateSingleMonthFromNow => "бир ойдан сўнг"; + public string DateSingleSecondAgo => "бир сония аввал"; + public string DateSingleSecondFromNow => "бир сониядан сўнг"; + public string DateSingleYearAgo => "бир йил аввал"; + public string DateSingleYearFromNow => "бир йилдан сўнг"; + public string TimeSpanMultipleDays => "{0} кун"; + public string TimeSpanMultipleHours => "{0} соат"; + public string TimeSpanMultipleMilliseconds => "{0} миллисекунд"; + public string TimeSpanMultipleMinutes => "{0} минут"; + public string TimeSpanMultipleMonths => "{0} ой"; + public string TimeSpanMultipleSeconds => "{0} секунд"; + public string TimeSpanMultipleWeeks => "{0} ҳафта"; + public string TimeSpanMultipleYears => "{0} йил"; + public string TimeSpanSingleDay => "1 кун"; + public string TimeSpanSingleHour => "1 соат"; + public string TimeSpanSingleMillisecond => "1 миллисекунд"; + public string TimeSpanSingleMinute => "1 минут"; + public string TimeSpanSingleMonth => "1 ой"; + public string TimeSpanSingleSecond => "1 секунд"; + public string TimeSpanSingleWeek => "1 ҳафта"; + public string TimeSpanSingleYear => "1 йил"; + public string TimeSpanZero => "вақт йўқ"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/UzbekLatinUzbekistanResources.cs b/src/Humanizer/Resources/UzbekLatinUzbekistanResources.cs new file mode 100644 index 000000000..0e7c43927 --- /dev/null +++ b/src/Humanizer/Resources/UzbekLatinUzbekistanResources.cs @@ -0,0 +1,191 @@ +class UzbekLatinUzbekistanResources : IResources +{ + public string Culture => "uz-Latn-UZ"; + public static UzbekLatinUzbekistanResources Instance => new(); + public string DateMultipleDaysAgo => "{0} kun avval"; + public string DateMultipleDaysFromNow => "{0} kundan so`ng"; + public string DateMultipleHoursAgo => "{0} soat avval"; + public string DateMultipleHoursFromNow => "{0} soatdan so`ng"; + public string DateMultipleMinutesAgo => "{0} minut avval"; + public string DateMultipleMinutesFromNow => "{0} minutdan so`ng"; + public string DateMultipleMonthsAgo => "{0} oy avval"; + public string DateMultipleMonthsFromNow => "{0} oydan so`ng"; + public string DateMultipleSecondsAgo => "{0} sekund avval"; + public string DateMultipleSecondsFromNow => "{0} sekunddan so`ng"; + public string DateMultipleYearsAgo => "{0} yil avval"; + public string DateMultipleYearsFromNow => "{0} yildan so`ng"; + public string DateNow => "hozir"; + public string DateSingleDayAgo => "kecha"; + public string DateSingleDayFromNow => "ertaga"; + public string DateSingleHourAgo => "bir soat avval"; + public string DateSingleHourFromNow => "bir soatdan so`ng"; + public string DateSingleMinuteAgo => "bir daqiqa avval"; + public string DateSingleMinuteFromNow => "bir daqiqadan so`ng"; + public string DateSingleMonthAgo => "bir oy avval"; + public string DateSingleMonthFromNow => "bir oydan so`ng"; + public string DateSingleSecondAgo => "bir soniya avval"; + public string DateSingleSecondFromNow => "bir soniyadan so`ng"; + public string DateSingleYearAgo => "bir yil avval"; + public string DateSingleYearFromNow => "bir yildan so`ng"; + public string TimeSpanMultipleDays => "{0} kun"; + public string TimeSpanMultipleHours => "{0} soat"; + public string TimeSpanMultipleMilliseconds => "{0} millisekund"; + public string TimeSpanMultipleMinutes => "{0} minut"; + public string TimeSpanMultipleMonths => "{0} oy"; + public string TimeSpanMultipleSeconds => "{0} sekund"; + public string TimeSpanMultipleWeeks => "{0} hafta"; + public string TimeSpanMultipleYears => "{0} yil"; + public string TimeSpanSingleDay => "1 kun"; + public string TimeSpanSingleHour => "1 soat"; + public string TimeSpanSingleMillisecond => "1 millisekund"; + public string TimeSpanSingleMinute => "1 minut"; + public string TimeSpanSingleMonth => "1 oy"; + public string TimeSpanSingleSecond => "1 sekund"; + public string TimeSpanSingleWeek => "1 hafta"; + public string TimeSpanSingleYear => "1 yil"; + public string TimeSpanZero => "vaqt yo`q"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +} diff --git a/src/Humanizer/Resources/VietnameseResources.cs b/src/Humanizer/Resources/VietnameseResources.cs new file mode 100644 index 000000000..b13778a85 --- /dev/null +++ b/src/Humanizer/Resources/VietnameseResources.cs @@ -0,0 +1,191 @@ +class VietnameseResources : IResources +{ + public string Culture => "vi"; + public static VietnameseResources Instance => new(); + public string DateSingleSecondAgo => "cách đây một giây"; + public string DateMultipleSecondsAgo => "cách đây {0} giây"; + public string DateSingleMinuteAgo => "cách đây một phút"; + public string DateMultipleMinutesAgo => "cách đây {0} phút"; + public string DateSingleHourAgo => "cách đây một tiếng"; + public string DateMultipleHoursAgo => "cách đây {0} tiếng"; + public string DateSingleDayAgo => "hôm qua"; + public string DateMultipleDaysAgo => "cách đây {0} ngày"; + public string DateSingleMonthAgo => "cách đây một tháng"; + public string DateMultipleMonthsAgo => "cách đây {0} tháng"; + public string DateSingleYearAgo => "cách đây một năm"; + public string DateMultipleYearsAgo => "cách đây {0} năm"; + public string TimeSpanMultipleDays => "{0} ngày"; + public string TimeSpanMultipleHours => "{0} giờ"; + public string TimeSpanMultipleMilliseconds => "{0} phần ngàn giây"; + public string TimeSpanMultipleMinutes => "{0} phút"; + public string TimeSpanMultipleSeconds => "{0} giây"; + public string TimeSpanSingleDay => "1 ngày"; + public string TimeSpanSingleHour => "1 giờ"; + public string TimeSpanSingleMillisecond => "1 phần ngàn giây"; + public string TimeSpanSingleMinute => "1 phút"; + public string TimeSpanSingleSecond => "1 giây"; + public string TimeSpanZero => "không giờ"; + public string TimeSpanMultipleWeeks => "{0} tuần"; + public string TimeSpanSingleWeek => "1 tuần"; + public string DateMultipleDaysFromNow => "{0} ngày nữa"; + public string DateMultipleHoursFromNow => "{0} tiếng nữa"; + public string DateMultipleMinutesFromNow => "{0} phút nữa"; + public string DateMultipleMonthsFromNow => "{0} tháng nữa"; + public string DateMultipleSecondsFromNow => "{0} giây nữa"; + public string DateMultipleYearsFromNow => "{0} năm nữa"; + public string DateNow => "bây giờ"; + public string DateSingleDayFromNow => "ngày mai"; + public string DateSingleHourFromNow => "một tiếng nữa"; + public string DateSingleMinuteFromNow => "một phút nữa"; + public string DateSingleMonthFromNow => "một tháng nữa"; + public string DateSingleSecondFromNow => "một giây nữa"; + public string DateSingleYearFromNow => "một năm nữa"; + public string TimeSpanMultipleMonths => "{0} tháng"; + public string TimeSpanMultipleYears => "{0} năm"; + public string TimeSpanSingleMonth => "1 tháng"; + public string TimeSpanSingleYear => "1 năm"; + public string DateMultipleHoursFromNowDual => InvariantResources.Instance.DateMultipleHoursFromNowDual; + public string DateMultipleMinutesFromNowPlural => InvariantResources.Instance.DateMultipleMinutesFromNowPlural; + public string DateMultipleSecondsAgoDual => InvariantResources.Instance.DateMultipleSecondsAgoDual; + public string DateMultipleSecondsFromNowDual => InvariantResources.Instance.DateMultipleSecondsFromNowDual; + public string DateMultipleYearsFromNowDual => InvariantResources.Instance.DateMultipleYearsFromNowDual; + public string TimeSpanMultipleDaysDual => InvariantResources.Instance.TimeSpanMultipleDaysDual; + public string TimeSpanMultipleDaysPlural => InvariantResources.Instance.TimeSpanMultipleDaysPlural; + public string TimeSpanMultipleHoursPlural => InvariantResources.Instance.TimeSpanMultipleHoursPlural; + public string TimeSpanMultipleMillisecondsDual => InvariantResources.Instance.TimeSpanMultipleMillisecondsDual; + public string TimeSpanMultipleMinutesDual => InvariantResources.Instance.TimeSpanMultipleMinutesDual; + public string TimeSpanMultipleMinutesPlural => InvariantResources.Instance.TimeSpanMultipleMinutesPlural; + public string TimeSpanMultipleSecondsPlural => InvariantResources.Instance.TimeSpanMultipleSecondsPlural; + public string TimeSpanMultipleMillisecondsPlural => InvariantResources.Instance.TimeSpanMultipleMillisecondsPlural; + public string DateMultipleDaysAgoDual => InvariantResources.Instance.DateMultipleDaysAgoDual; + public string DateMultipleDaysAgoPlural => InvariantResources.Instance.DateMultipleDaysAgoPlural; + public string DateMultipleDaysAgoSingular => InvariantResources.Instance.DateMultipleDaysAgoSingular; + public string DateMultipleDaysFromNowDual => InvariantResources.Instance.DateMultipleDaysFromNowDual; + public string DateMultipleDaysFromNowPlural => InvariantResources.Instance.DateMultipleDaysFromNowPlural; + public string DateMultipleDaysFromNowSingular => InvariantResources.Instance.DateMultipleDaysFromNowSingular; + public string DateMultipleHoursAgoDual => InvariantResources.Instance.DateMultipleHoursAgoDual; + public string DateMultipleHoursAgoPlural => InvariantResources.Instance.DateMultipleHoursAgoPlural; + public string DateMultipleHoursAgoSingular => InvariantResources.Instance.DateMultipleHoursAgoSingular; + public string DateMultipleHoursFromNowPlural => InvariantResources.Instance.DateMultipleHoursFromNowPlural; + public string DateMultipleHoursFromNowSingular => InvariantResources.Instance.DateMultipleHoursFromNowSingular; + public string DateMultipleMinutesAgoDual => InvariantResources.Instance.DateMultipleMinutesAgoDual; + public string DateMultipleMinutesAgoPlural => InvariantResources.Instance.DateMultipleMinutesAgoPlural; + public string DateMultipleMinutesAgoSingular => InvariantResources.Instance.DateMultipleMinutesAgoSingular; + public string DateMultipleMinutesFromNowDual => InvariantResources.Instance.DateMultipleMinutesFromNowDual; + public string DateMultipleMinutesFromNowSingular => InvariantResources.Instance.DateMultipleMinutesFromNowSingular; + public string DateMultipleMonthsAgoDual => InvariantResources.Instance.DateMultipleMonthsAgoDual; + public string DateMultipleMonthsAgoPlural => InvariantResources.Instance.DateMultipleMonthsAgoPlural; + public string DateMultipleMonthsAgoSingular => InvariantResources.Instance.DateMultipleMonthsAgoSingular; + public string DateMultipleMonthsFromNowDual => InvariantResources.Instance.DateMultipleMonthsFromNowDual; + public string DateMultipleMonthsFromNowPlural => InvariantResources.Instance.DateMultipleMonthsFromNowPlural; + public string DateMultipleMonthsFromNowSingular => InvariantResources.Instance.DateMultipleMonthsFromNowSingular; + public string DateMultipleSecondsAgoPlural => InvariantResources.Instance.DateMultipleSecondsAgoPlural; + public string DateMultipleSecondsAgoSingular => InvariantResources.Instance.DateMultipleSecondsAgoSingular; + public string DateMultipleSecondsFromNowPlural => InvariantResources.Instance.DateMultipleSecondsFromNowPlural; + public string DateMultipleSecondsFromNowSingular => InvariantResources.Instance.DateMultipleSecondsFromNowSingular; + public string DateMultipleYearsAgoDual => InvariantResources.Instance.DateMultipleYearsAgoDual; + public string DateMultipleYearsAgoPlural => InvariantResources.Instance.DateMultipleYearsAgoPlural; + public string DateMultipleYearsAgoSingular => InvariantResources.Instance.DateMultipleYearsAgoSingular; + public string DateMultipleYearsFromNowPlural => InvariantResources.Instance.DateMultipleYearsFromNowPlural; + public string DateMultipleYearsFromNowSingular => InvariantResources.Instance.DateMultipleYearsFromNowSingular; + public string TimeSpanMultipleDaysSingular => InvariantResources.Instance.TimeSpanMultipleDaysSingular; + public string TimeSpanMultipleHoursDual => InvariantResources.Instance.TimeSpanMultipleHoursDual; + public string TimeSpanMultipleHoursSingular => InvariantResources.Instance.TimeSpanMultipleHoursSingular; + public string TimeSpanMultipleMillisecondsSingular => InvariantResources.Instance.TimeSpanMultipleMillisecondsSingular; + public string TimeSpanMultipleMinutesSingular => InvariantResources.Instance.TimeSpanMultipleMinutesSingular; + public string TimeSpanMultipleSecondsDual => InvariantResources.Instance.TimeSpanMultipleSecondsDual; + public string TimeSpanMultipleSecondsSingular => InvariantResources.Instance.TimeSpanMultipleSecondsSingular; + public string TimeSpanMultipleWeeksDual => InvariantResources.Instance.TimeSpanMultipleWeeksDual; + public string TimeSpanMultipleWeeksPlural => InvariantResources.Instance.TimeSpanMultipleWeeksPlural; + public string TimeSpanMultipleWeeksSingular => InvariantResources.Instance.TimeSpanMultipleWeeksSingular; + public string DateNever => InvariantResources.Instance.DateNever; + public string TimeSpanMultipleMonthsDual => InvariantResources.Instance.TimeSpanMultipleMonthsDual; + public string TimeSpanMultipleMonthsPlural => InvariantResources.Instance.TimeSpanMultipleMonthsPlural; + public string TimeSpanMultipleMonthsSingular => InvariantResources.Instance.TimeSpanMultipleMonthsSingular; + public string TimeSpanMultipleYearsDual => InvariantResources.Instance.TimeSpanMultipleYearsDual; + public string TimeSpanMultipleYearsPlural => InvariantResources.Instance.TimeSpanMultipleYearsPlural; + public string TimeSpanMultipleYearsSingular => InvariantResources.Instance.TimeSpanMultipleYearsSingular; + public string TimeSpanSingleDayWords => InvariantResources.Instance.TimeSpanSingleDayWords; + public string TimeSpanSingleHourWords => InvariantResources.Instance.TimeSpanSingleHourWords; + public string TimeSpanSingleMillisecondWords => InvariantResources.Instance.TimeSpanSingleMillisecondWords; + public string TimeSpanSingleMinuteWords => InvariantResources.Instance.TimeSpanSingleMinuteWords; + public string TimeSpanSingleMonthWords => InvariantResources.Instance.TimeSpanSingleMonthWords; + public string TimeSpanSingleSecondWords => InvariantResources.Instance.TimeSpanSingleSecondWords; + public string TimeSpanSingleWeekWords => InvariantResources.Instance.TimeSpanSingleWeekWords; + public string TimeSpanSingleYearWords => InvariantResources.Instance.TimeSpanSingleYearWords; + public string N => InvariantResources.Instance.N; + public string NNE => InvariantResources.Instance.NNE; + public string NE => InvariantResources.Instance.NE; + public string ENE => InvariantResources.Instance.ENE; + public string E => InvariantResources.Instance.E; + public string ESE => InvariantResources.Instance.ESE; + public string SE => InvariantResources.Instance.SE; + public string SSE => InvariantResources.Instance.SSE; + public string S => InvariantResources.Instance.S; + public string SSW => InvariantResources.Instance.SSW; + public string SW => InvariantResources.Instance.SW; + public string WSW => InvariantResources.Instance.WSW; + public string W => InvariantResources.Instance.W; + public string WNW => InvariantResources.Instance.WNW; + public string NW => InvariantResources.Instance.NW; + public string NNW => InvariantResources.Instance.NNW; + public string NShort => InvariantResources.Instance.NShort; + public string NNEShort => InvariantResources.Instance.NNEShort; + public string NEShort => InvariantResources.Instance.NEShort; + public string ENEShort => InvariantResources.Instance.ENEShort; + public string EShort => InvariantResources.Instance.EShort; + public string ESEShort => InvariantResources.Instance.ESEShort; + public string SEShort => InvariantResources.Instance.SEShort; + public string SSEShort => InvariantResources.Instance.SSEShort; + public string SShort => InvariantResources.Instance.SShort; + public string SSWShort => InvariantResources.Instance.SSWShort; + public string SWShort => InvariantResources.Instance.SWShort; + public string WSWShort => InvariantResources.Instance.WSWShort; + public string WShort => InvariantResources.Instance.WShort; + public string WNWShort => InvariantResources.Instance.WNWShort; + public string NWShort => InvariantResources.Instance.NWShort; + public string NNWShort => InvariantResources.Instance.NNWShort; + public string DataUnitBit => InvariantResources.Instance.DataUnitBit; + public string DataUnitBitSymbol => InvariantResources.Instance.DataUnitBitSymbol; + public string DataUnitByte => InvariantResources.Instance.DataUnitByte; + public string DataUnitByteSymbol => InvariantResources.Instance.DataUnitByteSymbol; + public string DataUnitKilobyte => InvariantResources.Instance.DataUnitKilobyte; + public string DataUnitKilobyteSymbol => InvariantResources.Instance.DataUnitKilobyteSymbol; + public string DataUnitMegabyte => InvariantResources.Instance.DataUnitMegabyte; + public string DataUnitMegabyteSymbol => InvariantResources.Instance.DataUnitMegabyteSymbol; + public string DataUnitGigabyte => InvariantResources.Instance.DataUnitGigabyte; + public string DataUnitGigabyteSymbol => InvariantResources.Instance.DataUnitGigabyteSymbol; + public string DataUnitTerabyte => InvariantResources.Instance.DataUnitTerabyte; + public string DataUnitTerabyteSymbol => InvariantResources.Instance.DataUnitTerabyteSymbol; + public string TimeUnitMillisecond => InvariantResources.Instance.TimeUnitMillisecond; + public string TimeUnitSecond => InvariantResources.Instance.TimeUnitSecond; + public string TimeUnitMinute => InvariantResources.Instance.TimeUnitMinute; + public string TimeUnitHour => InvariantResources.Instance.TimeUnitHour; + public string TimeUnitDay => InvariantResources.Instance.TimeUnitDay; + public string TimeUnitWeek => InvariantResources.Instance.TimeUnitWeek; + public string TimeUnitMonth => InvariantResources.Instance.TimeUnitMonth; + public string TimeUnitYear => InvariantResources.Instance.TimeUnitYear; + public string DateMultipleDaysAgoPaucal => InvariantResources.Instance.DateMultipleDaysAgoPaucal; + public string DateMultipleDaysFromNowPaucal => InvariantResources.Instance.DateMultipleDaysFromNowPaucal; + public string DateMultipleHoursAgoPaucal => InvariantResources.Instance.DateMultipleHoursAgoPaucal; + public string DateMultipleHoursFromNowPaucal => InvariantResources.Instance.DateMultipleHoursFromNowPaucal; + public string DateMultipleMinutesAgoPaucal => InvariantResources.Instance.DateMultipleMinutesAgoPaucal; + public string DateMultipleMinutesFromNowPaucal => InvariantResources.Instance.DateMultipleMinutesFromNowPaucal; + public string DateMultipleMonthsAgoPaucal => InvariantResources.Instance.DateMultipleMonthsAgoPaucal; + public string DateMultipleMonthsFromNowPaucal => InvariantResources.Instance.DateMultipleMonthsFromNowPaucal; + public string DateMultipleSecondsAgoPaucal => InvariantResources.Instance.DateMultipleSecondsAgoPaucal; + public string DateMultipleSecondsFromNowPaucal => InvariantResources.Instance.DateMultipleSecondsFromNowPaucal; + public string DateMultipleYearsAgoPaucal => InvariantResources.Instance.DateMultipleYearsAgoPaucal; + public string DateMultipleYearsFromNowPaucal => InvariantResources.Instance.DateMultipleYearsFromNowPaucal; + public string DateTwoDaysAgo => InvariantResources.Instance.DateTwoDaysAgo; + public string DateTwoDaysFromNow => InvariantResources.Instance.DateTwoDaysFromNow; + public string TimeSpanMultipleDaysPaucal => InvariantResources.Instance.TimeSpanMultipleDaysPaucal; + public string TimeSpanMultipleHoursPaucal => InvariantResources.Instance.TimeSpanMultipleHoursPaucal; + public string TimeSpanMultipleMillisecondsPaucal => InvariantResources.Instance.TimeSpanMultipleMillisecondsPaucal; + public string TimeSpanMultipleMinutesPaucal => InvariantResources.Instance.TimeSpanMultipleMinutesPaucal; + public string TimeSpanMultipleMonthsPaucal => InvariantResources.Instance.TimeSpanMultipleMonthsPaucal; + public string TimeSpanMultipleSecondsPaucal => InvariantResources.Instance.TimeSpanMultipleSecondsPaucal; + public string TimeSpanMultipleWeeksPaucal => InvariantResources.Instance.TimeSpanMultipleWeeksPaucal; + public string TimeSpanMultipleYearsPaucal => InvariantResources.Instance.TimeSpanMultipleYearsPaucal; + public string TimeSpanAge => InvariantResources.Instance.TimeSpanAge; +}