mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
* try to repro + initial fix * Use HTML button * extract useItemCollapsible() * Split DropdownNavbarItem into Mobile/Desktop subcomponents * Add aria labels to button * cleanup prop types * aria label * add translations * cleanup types * Split DefaultNavbarItem into Mobile/Desktop subcomponents * revert change * type fix |
||
---|---|---|
.. | ||
locales | ||
src | ||
.npmignore | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json | ||
update.mjs |
Docusaurus theme translations
This package includes default translations for labels (like the pagination "Next" / "Previous") used by official Docusaurus themes.
For Docusaurus users:
Please help us provide exhaustive translations:
- add new translation by running
yarn workspace @docusaurus/theme-translations update %new_lang_code%
, then edit generated JSON files - double-check existent
language.json
file for bad or missing translations
For maintainers:
After updating the theme code, you can "synchronize" the translations by running:
yarn workspace @docusaurus/theme-translations update
Then, ask contributors to translate the newly added labels on this issue