v1.0.0
First stable release!
Breaking changes
In v0.5.0
count
placeholder in plural terms was an int
formatted as decimalPattern
. In v1.0.0
they are treated as num
and simply toString()
ed. If you wish to preserve the previous behavior, you need to define the count
placeholder in your terms as {count,int,decimalPattern}
in one of the occurrences of the {count}
placeholder.
Added
- Support for advanced placeholders
- All term parsing errors are reported, not just the first one.
Changelog
- f1bf185: Brew formula update for poe2arb version v0.5.0 (@goreleaserbot)
- 9b40ad8: Remove positional parameters leftovers (@Albert221)
- f6fc794: Add support for advanced placeholders (@Albert221)
- 94aa66b: Remove unused var (@Albert221)
- cb7eb4a: Add translation parser tests (@Albert221)
- a5e0d1c: Return error on no other plural category (@Albert221)
- 3298af7: Don't fail on empty other plural in non-template (@Albert221)
- c5dc097: Buffer all errors from parsing terms (@Albert221)
- ef752ff: Add ability to log multiline errors (@Albert221)
- f1e641e: Add placeholder definitions docs (@Albert221)
- 83107ea: Add some complex placeholders to smoke test (@Albert221)
- 8accf83: Fix typo in README (@Albert221)
- fcf77ff: Treat non-template placeholders as dummy (@Albert221)
- 2393b12: Rename some variables (@Albert221)
- 79e5171: Add a note on non-template languages placeholders (@Albert221)
- 5b7b2e6: Add ignore for unused_local_variable to smoke test (@Albert221)
- e2811dd: Fix replaced if-else with non-template being dummy parsed (@Albert221)
- f169406: Update readme screenshot (@Albert221)
- eebf3b6: Remove width from screenshot in readme (@Albert221)