Skip to content

Commit

Permalink
Bump version: 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed May 20, 2021
1 parent 40ecda6 commit c9df2e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Some of the changes done in this fork have been merged upstream. The only signif
1. Replaced use of `Intl.PluralRules` with `mw.libs.pluralruleparser` and a pluralrules.json data file
- `Intl.PluralRules` is not supported in IE 11 and Safari <13, for which MediaWiki still provides Grade A support.
- The JSON data file is from version 1.2 of banana-i18n which used it along with the [cldrpluralruleparser](https://www.npmjs.com/package/cldrpluralruleparser) npm package. cldrpluralruleparser is equivalent to mediawiki.libs.pluralruleparser. The former is kept as a dev dependency for mocking the latter in tests.
- 2021-05-20: [Additional bugfix](https://github.com/wikimedia-gadgets/orange-i18n/commit/8d73d29b4d794c6e2f181560f7839bfe23e3853a) applied.
2. Added support for `{{formatnum:}}` operation - this converts the default [Arabic numerals](https://en.wikipedia.org/wiki/Arabic_numerals) to locale-specific numerals
- The data for numerals was already present in the repo. Code for formatnum parsing is copied from mediawiki.jqueryMsg, in which this functionality is present. ([Link](https://github.com/wikimedia/mediawiki/blob/8dbcddb333435b2deb7975632ebdead29b25dd83/resources/src/mediawiki.jqueryMsg/mediawiki.jqueryMsg.js#L1445))
- MERGED UPSTREAM in https://github.com/wikimedia/banana-i18n/pull/43
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orange-i18n",
"version": "3.1.0",
"version": "3.2.0",
"description": "Banana Internationalization library",
"main": "dist/banana-i18n.js",
"typings": "types/index.d.ts",
Expand Down

0 comments on commit c9df2e1

Please sign in to comment.