Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed The resource object with key 'DateHumanize_MultipleDaysAgo' was… #1171

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@ public void MonthsFromNow(int months, string expected)
}

[Theory]
[InlineData(-24, "prije 24 dana")]
[InlineData(-22, "prije 22 dana")]
[InlineData(-10, "prije 10 dana")]
[InlineData(-5, "prije 5 dana")]
[InlineData(-4, "prije 4 dana")]
[InlineData(-3, "prije 3 dana")]
[InlineData(-2, "prije 2 dana")]
[InlineData(-1, "jučer")]
public void DaysAgo(int days, string expected)
{
Expand Down
3 changes: 3 additions & 0 deletions src/Humanizer/Properties/Resources.hr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,7 @@
<data name="TimeSpanHumanize_SingleYear" xml:space="preserve">
<value>1 godina</value>
</data>
<data name="DateHumanize_MultipleDaysAgo_DualTrialQuadral" xml:space="preserve">
<value>prije {0} dana</value>
</data>
</root>