Skip to content

Commit db0e0c4

Browse files
authored
feat: automatic lang update (#74)
1 parent 67ab180 commit db0e0c4

19 files changed

+39532
-40602
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ To handle that, you must have `diff` and `git_rebase` tree-sitter grammars insta
4040

4141
If you're using Neovim and [`nvim-treesitter`](https://github.com/nvim-treesitter/nvim-treesitter), you just have to be sure that `diff` and `git_rebase` are installed (using `TSInstall diff git_rebase` for example).
4242

43+
## Upgrade translations
44+
45+
There is python script to upgrade translations from git source code. It will search for all translations in all tagged versions of git from the v2.30.2.
46+
So this parser should be compatible with all git versions from v2.30.2.
47+
48+
To upgrade translations, run:
49+
50+
```bash
51+
python parse-lang.py
52+
```
53+
4354
## Credits
4455

4556
- [https://github.com/the-mikedavis/tree-sitter-git-commit](https://github.com/the-mikedavis/tree-sitter-git-commit) Good parser but [only works in English](https://github.com/the-mikedavis/tree-sitter-git-commit/issues/4).

0 commit comments

Comments
 (0)