n2words 1.12.1 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/n2words.js +1 -1
- package/lib/classes/N2WordsAbs.mjs +1 -0
- package/lib/i18n/AZ.mjs +57 -0
- package/lib/i18n/CZ.mjs +12 -1
- package/lib/i18n/TR.mjs +38 -348
- package/lib/n2words.mjs +4 -0
- package/package.json +12 -11
- package/webpack.config.js +1 -1
- package/CHANGELOG.md +0 -180
package/CHANGELOG.md
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
|
|
4
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## [1.12.1] - 2022-11-17
|
|
9
|
-
|
|
10
|
-
### Changed
|
|
11
|
-
- Update dev dependencies [#73](https://github.com/forzagreen/n2words/pull/73).
|
|
12
|
-
|
|
13
|
-
### Fixed
|
|
14
|
-
- Fix Czech hundreds [#70](https://github.com/forzagreen/n2words/pull/70) [#71](https://github.com/forzagreen/n2words/pull/71). Thanks to [@matej-oliva](https://github.com/matej-oliva) !
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [1.12.0] - 2022-09-01
|
|
18
|
-
|
|
19
|
-
### Added
|
|
20
|
-
- New language: `vi` Vietnamese [#69](https://github.com/forzagreen/n2words/pull/69).
|
|
21
|
-
|
|
22
|
-
### Changed
|
|
23
|
-
- Bump dev dependencies [#68](https://github.com/forzagreen/n2words/pull/68). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## [1.11.1] - 2022-04-08
|
|
27
|
-
|
|
28
|
-
### Changed
|
|
29
|
-
- Improve README [#67](https://github.com/forzagreen/n2words/pull/67) [#66](https://github.com/forzagreen/n2words/pull/66). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
30
|
-
- Update dev dependencies (Webpack, ESLint...) [#65](https://github.com/forzagreen/n2words/pull/65). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [1.11.0] - 2022-01-08
|
|
34
|
-
|
|
35
|
-
### Added
|
|
36
|
-
- New language: `hr` Croatian [#61](https://github.com/forzagreen/n2words/pull/61). Thanks to [@lagavuliner](https://github.com/lagavuliner) !
|
|
37
|
-
|
|
38
|
-
### Fixed
|
|
39
|
-
- Fix translations for Serbian [#60](https://github.com/forzagreen/n2words/pull/60) [#61](https://github.com/forzagreen/n2words/pull/61). Thanks to [@lagavuliner](https://github.com/lagavuliner) !
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## [1.10.1] - 2021-10-31
|
|
43
|
-
|
|
44
|
-
### Fixed
|
|
45
|
-
- Correct translation of number 18 for NL.mjs [#59](https://github.com/forzagreen/n2words/pull/59). Thanks to [@K4CZP3R](https://github.com/K4CZP3R) !
|
|
46
|
-
- Update dev dependencies.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## [1.10.0] - 2021-08-22
|
|
50
|
-
### Added
|
|
51
|
-
- New language: `id` Indonesian [#58](https://github.com/forzagreen/n2words/pull/58).
|
|
52
|
-
|
|
53
|
-
### Changed
|
|
54
|
-
- Migrate to ES6 classes [#55](https://github.com/forzagreen/n2words/pull/55). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
55
|
-
|
|
56
|
-
### Fixed
|
|
57
|
-
- Accept numbers as string [#57](https://github.com/forzagreen/n2words/pull/57).
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
## [1.9.1] - 2021-08-14
|
|
61
|
-
### Changed
|
|
62
|
-
- Configs: update dependencies, linting, camelCase [#51](https://github.com/forzagreen/n2words/pull/51). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
63
|
-
|
|
64
|
-
### Fixed
|
|
65
|
-
- Fix Polish translation [#49](https://github.com/forzagreen/n2words/pull/49). Thanks to [@krzyhan](https://github.com/krzyhan) !
|
|
66
|
-
|
|
67
|
-
## [1.9.0] - 2020-12-19
|
|
68
|
-
### Added
|
|
69
|
-
- New language: `zh` Chinese [#43](https://github.com/forzagreen/n2words/pull/43). Thanks to [@ljinke](https://github.com/ljinke) !
|
|
70
|
-
- New language: `hu` Hungarian [#44](https://github.com/forzagreen/n2words/pull/44).
|
|
71
|
-
- Support for negative numbers [#42](https://github.com/forzagreen/n2words/pull/42).
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
- Turkish: added spaces between words, and added `dropSpaces` option [#41](https://github.com/forzagreen/n2words/pull/41).
|
|
75
|
-
- Improved linting [#45](https://github.com/forzagreen/n2words/pull/45).
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## [1.8.0] - 2020-11-11
|
|
79
|
-
### Added
|
|
80
|
-
- Support for decimal numbers [#34](https://github.com/forzagreen/n2words/pull/34), [#39](https://github.com/forzagreen/n2words/pull/39). Thanks to [@dylandoamaral](https://github.com/dylandoamaral) !
|
|
81
|
-
- New language: `fa` Farsi/Persian [#38](https://github.com/forzagreen/n2words/pull/38). Thanks to [@omarius](https://github.com/omarius) !
|
|
82
|
-
|
|
83
|
-
### Changed
|
|
84
|
-
- Update dev dependencies, move src/ to lib/ [#36](https://github.com/forzagreen/n2words/pull/36). Thanks to [@TylerVigario](https://github.com/TylerVigario) !
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [1.7.1] - 2020-07-10
|
|
88
|
-
### Changed
|
|
89
|
-
- Dutch (`nl`) Improvements [#31](https://github.com/forzagreen/n2words/issues/31) and [#32](https://github.com/forzagreen/n2words/pull/32).
|
|
90
|
-
- Normalize line endings and improve linting [#30](https://github.com/forzagreen/n2words/pull/30).
|
|
91
|
-
|
|
92
|
-
## [1.7.0] - 2020-04-03
|
|
93
|
-
### Added
|
|
94
|
-
- New language: `nl` Dutch [#27](https://github.com/forzagreen/n2words/pull/27). Thanks to [@jvanaert](https://github.com/jvanaert) !
|
|
95
|
-
- New language: `sr` Serbian [#29](https://github.com/forzagreen/n2words/pull/29)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
## [1.6.2] - 2020-03-15
|
|
99
|
-
|
|
100
|
-
### Changed
|
|
101
|
-
- Improve CI/CD: drop TravisCI, use Coveralls from Github Actions [#24](https://github.com/forzagreen/n2words/issues/24), [#25](https://github.com/forzagreen/n2words/issues/25)
|
|
102
|
-
- Rename source ES Modules with .mjs extension [#26](https://github.com/forzagreen/n2words/issues/26)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
## [1.6.1] - 2020-03-09
|
|
106
|
-
|
|
107
|
-
### Fixed
|
|
108
|
-
- Include src/ in npm publish: [#21](https://github.com/forzagreen/n2words/issues/21)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
## [1.6.0] - 2020-03-08
|
|
112
|
-
### Added
|
|
113
|
-
- Compatibility: CommonJS, ES6, Browser.
|
|
114
|
-
- New language: `ar` Arabic [#15](https://github.com/forzagreen/n2words/pull/15)
|
|
115
|
-
- New language: `ko` Korean [#18](https://github.com/forzagreen/n2words/pull/18)
|
|
116
|
-
- New language: `he` Hebrew [#17](https://github.com/forzagreen/n2words/pull/17)
|
|
117
|
-
|
|
118
|
-
### Changed
|
|
119
|
-
- Refactor project structure. Thanks to [@MeekLogic](https://github.com/MeekLogic) ! [#16](https://github.com/forzagreen/n2words/pull/16) [#19](https://github.com/forzagreen/n2words/pull/19)
|
|
120
|
-
- Build with [webpack](https://webpack.js.org)
|
|
121
|
-
- Unit tests with [ava](https://github.com/avajs/ava)
|
|
122
|
-
- Coverage migrated to [c8](https://github.com/bcoe/c8) : [#20](https://github.com/forzagreen/n2words/pull/20)
|
|
123
|
-
- Linter: [ESLint](https://eslint.org)
|
|
124
|
-
- Modules
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## [1.5.0] - 2020-03-01
|
|
129
|
-
### Added
|
|
130
|
-
- Add browser compatibility, using Babel and Grunt.
|
|
131
|
-
- New language: `lv` Latvian [#14](https://github.com/forzagreen/n2words/pull/14)
|
|
132
|
-
- New language: `lt` Lithuanian [#13](https://github.com/forzagreen/n2words/pull/13)
|
|
133
|
-
- New language: `uk` Ukrainian [#12](https://github.com/forzagreen/n2words/pull/12)
|
|
134
|
-
- New language: `pl` Polish [#11](https://github.com/forzagreen/n2words/pull/11)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
## [1.4.1] - 2020-02-25
|
|
138
|
-
### Added
|
|
139
|
-
- New language: `dk` Danish [#9](https://github.com/forzagreen/n2words/pull/9)
|
|
140
|
-
- New language: `no` Norwegian [#8](https://github.com/forzagreen/n2words/pull/8)
|
|
141
|
-
- New language: `cz` Czech [#7](https://github.com/forzagreen/n2words/pull/7)
|
|
142
|
-
- New language: `ru` Russian [#6](https://github.com/forzagreen/n2words/pull/6)
|
|
143
|
-
|
|
144
|
-
### Changed
|
|
145
|
-
- CI/CD: use a fake NPM_TOKEN
|
|
146
|
-
|
|
147
|
-
### Fixed
|
|
148
|
-
- Fix 21 in italian : [#4](https://github.com/forzagreen/n2words/issues/4) , [#5](https://github.com/forzagreen/n2words/pull/5)
|
|
149
|
-
|
|
150
|
-
## [1.3.2] - 2020-02-14
|
|
151
|
-
### Fixed
|
|
152
|
-
- Capital letter in German: [#2](https://github.com/forzagreen/n2words/issues/2)
|
|
153
|
-
- Replace `eval` with `if else` : [#1](https://github.com/forzagreen/n2words/issues/1)
|
|
154
|
-
### Changed
|
|
155
|
-
- Update `mochajs` test package to `v7.0.1`
|
|
156
|
-
|
|
157
|
-
## [1.3.1] - 2019-12-28
|
|
158
|
-
### Added
|
|
159
|
-
- Support for new language: `tr`.
|
|
160
|
-
- CI/CD with GitHub Actions.
|
|
161
|
-
- `.npmignore`, `.npmrc`, and publish from CI/CD.
|
|
162
|
-
### Changed
|
|
163
|
-
- Split tests to one file per language
|
|
164
|
-
- Update dev packages
|
|
165
|
-
|
|
166
|
-
## [1.2.0] - 2019-03-23
|
|
167
|
-
### Added
|
|
168
|
-
- Support for language: `it`.
|
|
169
|
-
|
|
170
|
-
## [1.1.0] - 2019-03-18
|
|
171
|
-
### Added
|
|
172
|
-
- Support for languages: `de`, `pt`.
|
|
173
|
-
|
|
174
|
-
## [1.0.0] - 2019-03-08
|
|
175
|
-
### Added
|
|
176
|
-
- Started the n2words project.
|
|
177
|
-
- Support for languages: `en`, `fr`, `es`.
|
|
178
|
-
- Unit test with Mocha and nyc
|
|
179
|
-
- Coverage with coveralls and nyc
|
|
180
|
-
|