From 152a119418776e75b1b3d23b1bdcc6b556dc3def Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 30 Nov 2016 23:50:51 +0100 Subject: [PATCH] Workaround for unneeded suffix: Just use the same value. The reason for this workaround is that at the method that decides if the suffix should be applied, the information about the time unit is not available. So it would either need to do some string magic and explicitly exclude the "TimeSpanHumanize_MultipleDays" resource key from adding the postfix, or most of the `TimeSpan` formatting code would need to be rewriten for Croatian or modified for all languages to support Croatian. Neither seems reasonable for a quick change. --- src/Humanizer/Properties/Resources.hr.resx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Humanizer/Properties/Resources.hr.resx b/src/Humanizer/Properties/Resources.hr.resx index 8d7a0b703..436f13840 100644 --- a/src/Humanizer/Properties/Resources.hr.resx +++ b/src/Humanizer/Properties/Resources.hr.resx @@ -171,6 +171,9 @@ {0} dana + + {0} dana + {0} sati @@ -276,4 +279,4 @@ za godinu dana - \ No newline at end of file +