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

Japanese Translate #219

Closed
wants to merge 10 commits into from
Prev Previous commit
Fix the short forms for multiple units.
  • Loading branch information
yhata committed Apr 18, 2014
commit 0dece61e050c7cd7c06845e198dd9e9ade84dcce
4 changes: 2 additions & 2 deletions src/Humanizer.Tests/Localisation/ja/TimeSpanHumanizeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public void Weeks(int days, string expected)
}

[Theory]
[InlineData(1, "1 日間")]
[InlineData(2, "2 日間")]
[InlineData(1, "1 ")]
[InlineData(2, "2 ")]
public void Days(int days, string expected)
{
Assert.Equal(expected, TimeSpan.FromDays(days).Humanize());
Expand Down
8 changes: 4 additions & 4 deletions src/Humanizer/Properties/Resources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,19 @@
<value>{0} 年前</value>
</data>
<data name="TimeSpanHumanize_MultipleDays" xml:space="preserve">
<value>{0} 日間</value>
<value>{0} </value>
</data>
<data name="TimeSpanHumanize_MultipleHours" xml:space="preserve">
<value>{0} 時間</value>
</data>
<data name="TimeSpanHumanize_MultipleMilliseconds" xml:space="preserve">
<value>{0} ミリ秒間</value>
<value>{0} ミリ秒</value>
</data>
<data name="TimeSpanHumanize_MultipleMinutes" xml:space="preserve">
<value>{0} 分間</value>
<value>{0} </value>
</data>
<data name="TimeSpanHumanize_MultipleSeconds" xml:space="preserve">
<value>{0} 秒間</value>
<value>{0} </value>
</data>
<data name="TimeSpanHumanize_SingleDay" xml:space="preserve">
<value>1 日</value>
Expand Down