Cmakify commands

dundargoc 2023-04-10 13:47:48 +02:00
parent 3ea0ce48cc
commit 359b400c95

@ -192,11 +192,10 @@ A normal build will create `.mo` files in `build/src/nvim/po`.
To check the translations for `$LANG`, run `make -C build check-po-$LANG`. Examples:
```
make -C build check-po-de
make -C build check-po-pt_BR
cmake --build build --target check-po-de
cmake --build build --target check-po-pt_BR
```
- Use `ninja` instead of `make` if applicable.
- `check-po-$LANG` generates a detailed report in `./build/src/nvim/po/check-${LANG}.log`. (The report is generated by `nvim`, not by `msgfmt`.)
### Localization update
@ -204,10 +203,9 @@ make -C build check-po-pt_BR
To update the `src/nvim/po/$LANG.po` file with the latest strings, run the following:
```
make -C build update-po-$LANG
cmake --build build --target update-po-$LANG
```
- Replace `make` with `ninja` if applicable.
- **Note**: Run `src/nvim/po/cleanup.vim` after updating.
## Compiler options