docusaurus/packages/docusaurus-theme-common
Sébastien Lorber 364d4dbf01
fix(v2): fix bad theme pluralization rules for some labels (#4304)
* Pluralization test!

* Simplify usePluralForm usage with | plural message separator

* fix interpolate bug with falsy values like 0

* fix interpolate bug with falsy values like 0

* Order plural forms + allow to not provide the last plural forms if they are not used

* fix typo

* revert test!

* plurals and typo of the SearchPage

* update some labels

* improve the update-code-translations cli + update translations

* pluralize blog reading time label

* ensure base.json contains message descriptions: helps the user to provide the translations

* remove russian production locale
2021-03-03 17:05:21 +01:00
..
src fix(v2): fix bad theme pluralization rules for some labels (#4304) 2021-03-03 17:05:21 +01:00
package.json chore(v2): upgrade dependencies + require Node 12 (#4223) 2021-02-18 15:12:42 +01:00
README.md docs(v2): Add READMEs to v2 packages (#4034) 2021-01-14 17:16:26 +01:00
tsconfig.json feat(v2): @docusaurus/theme-common (#3775) 2020-11-18 16:00:51 +01:00

@docusaurus/theme-common

Common code for Docusaurus themes.