1
0
mirror of https://github.com/lutris/lutris synced 2024-07-01 06:34:26 +00:00

(i18n) Add a separate subsection to explain how to update POTFILES

This commit is contained in:
SwimmingTiger 2022-09-19 10:52:56 +08:00 committed by Mathieu Comandon
parent 58db6cea1e
commit 9c8344b68b

View File

@ -4,6 +4,18 @@ Please read the notes below before opening a PR.
Note: All the commands below need to be run in the project root directory, not in the `po` directory. Otherwise you may get `Not the project root` error in meson.
## Update POTFILES
Before you start translating, you may want to update `POTFILES`, which contains a list of all source files that need to be translated.
If someone deletes or renames some file, it has to be updated, otherwise "No such file or directory" will throw.
Run the following command to update:
```
./po/generate-potfiles.sh
```
## Updating a translations
```bash