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:
parent
58db6cea1e
commit
9c8344b68b
12
po/README.md
12
po/README.md
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user