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

Added Italian localisation and tests #332

Closed
wants to merge 41 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7a78924
Added initial Resource italian translation
Aug 18, 2014
2b65001
Improved 'xxxFromNow' translations
Aug 18, 2014
107ba30
Added Zero Time italian translation
Aug 18, 2014
5a38abf
L10n: added italian collection formatter
Aug 25, 2014
b84a80b
L10n: added failing italian DateHumanizeTests
Aug 25, 2014
960e46e
L10n: Fix: VS project was missing italian resource file
Aug 25, 2014
1df1d6b
Merge branch 'fix_res_not_added'
Aug 25, 2014
7158e06
L10n: italian DateHumanizeTests now passing
Aug 25, 2014
104a1dc
L10n: italian TimeSpanHumanizeTests passing
Aug 25, 2014
f39506b
L10n: italian CollectionFormatterTests passing
Aug 26, 2014
42a2f7e
L10n: in italian collections avoid last comma
Aug 26, 2014
bcbadfe
L10n: Refactored italian CollectionFormatterTests
Aug 26, 2014
d413bae
Readme: fixed ToOrdinalWords in place of Ordinalize
Aug 26, 2014
fce81bf
Merge branch 'readme_fix_ordinalize'
Aug 26, 2014
eebaabd
L10n: added italian OrdinalizerTests
Aug 26, 2014
3946dee
L10n: italian OrdinalizerTests passing
Aug 26, 2014
55a61f3
L10: italian OrdinalizerTests passing with text input
Aug 26, 2014
793139f
L10n: added initial italian NumberToWordsConverter
Aug 26, 2014
103f6d2
L10n: italian NumberToWordsTests passing for thousand and negative
Aug 26, 2014
d113e6b
L10n: Refactor: removed inner class in ItalianNumberToWordsConverter
Aug 26, 2014
19742d1
L10n: Refactor: added header comments and renamed identifiers.
Aug 26, 2014
43cae6f
L10n: italian NumberToWordsTests passing for simple million numbers
Aug 26, 2014
1ae2ff0
L10n: italian NumberToWordsTests passing for simple billions numbers.
Aug 26, 2014
7409b5c
L10n: italian NumberToWords converter supports ventitrè, trentatrè, etc.
Aug 26, 2014
92c5ca3
L10n: italian NumberToWords passing all ToWords tests
Aug 26, 2014
88f5bae
L10n: italian NumberToWordsTests passing for feminine gender
Aug 26, 2014
f4cca21
L10n: Refactor: italian cardinal number to words logic moved to separ…
Aug 26, 2014
4a7533f
L10n: added initial italian ordinal NumberToWordsConverter
Aug 26, 2014
17e2e12
L10n: italian NumberToWordsTests passing for ordinals up to 30.
Aug 26, 2014
adf3153
L10n: italian NumberToWordsTests passing for ordinals up to 99.
Aug 26, 2014
2d28a62
L10n: italian NumberToWordsTests passing for ordinals up to 201
Aug 26, 2014
28d72e0
L10n: Refactor: move zero logic to NumberCruncher in italian NumberTo…
Aug 26, 2014
2462be2
L10n: italian NumberToWordsTests passing for ordinals up to 900
Aug 26, 2014
200273d
L10n: Refactor: italian ordinal NumberToWords reuses cardinal logic
Aug 26, 2014
2901c67
L10n: italian NumberToWordsTests passing for ordinals up to 10121
Aug 26, 2014
06d7d14
L10n: italian NumberToWordsTests passing for ordinals up to 100000000
Aug 26, 2014
c9cad01
L10n: italian NumberToWordsTests passing for ordinals up to 2 billions
Aug 26, 2014
164f12c
L10n: italian NumberToWordsTests passing for feminine ordinal
Aug 27, 2014
af961ff
L10n: italian NumberToWordsTests passing for masculine ordinal
Aug 28, 2014
ceba64c
Added PR entry in release notes
Aug 28, 2014
8c2f275
Refactor: ItalianCollectionFormatter starts with an array, not enumer…
Sep 1, 2014
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
Prev Previous commit
Next Next commit
L10n: italian NumberToWordsTests passing for ordinals up to 99.
  • Loading branch information
Giuseppe Piscopo committed Aug 26, 2014
commit adf31539fccc92aac0c76335f7d18fb03f0d8467
13 changes: 8 additions & 5 deletions src/Humanizer.Tests/Localisation/it/NumberToWordsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,15 @@ public void ToMasculineWords(int number, string expected)
[InlineData(22, "ventiduesimo")]
[InlineData(28, "ventottesimo")]
[InlineData(30, "trentesimo")]
[InlineData(44, "quarantaquattresimo")]
[InlineData(55, "cinquantacinquesimo")]
[InlineData(60, "sessantesimo")]
[InlineData(63, "sessantatreesimo")]
[InlineData(66, "sessantaseiesimo")]
[InlineData(77, "settantasettesimo")]
[InlineData(88, "ottantottesimo")]
[InlineData(99, "novantanovesimo")]
/*
[InlineData(40, "quadragésimo")]
[InlineData(50, "quinquagésimo")]
[InlineData(60, "sexagésimo")]
[InlineData(70, "septuagésimo")]
[InlineData(80, "octogésimo")]
[InlineData(90, "nonagésimo")]
[InlineData(95, "nonagésimo quinto")]
[InlineData(96, "nonagésimo sexto")]
Expand Down