NLS: translate "Workspaces" in rcxml.c

Fixes: #1630
This commit is contained in:
M A 2024-03-17 15:23:41 +10:00 committed by GitHub
parent 631cd5ab28
commit 5a20014f50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 322 additions and 320 deletions

View file

@ -377,9 +377,10 @@ translation strings under each English string.
## Coders
Code contributors may need to update relevant files if their additions
affect UI elements (at the moment only `src/menu/menu.c`). In this case
the `po/labwc.pot` file needs to be updated so that translators can
update their translations. Remember, many translators are _not_ coders!
affect UI elements (at the moment only `src/menu/menu.c` and
`src/config/rcxml.c`). In this case the `po/labwc.pot` file needs to be
updated so that translators can update their translations. Remember,
many translators are _not_ coders!
The process is fairly trivial however does involve some manual steps.
@ -390,13 +391,13 @@ generated .pot file in the next step.
2. From the root of the repository run this:
```
xgettext --keyword=_ --language=C --add-comments -o po/labwc.pot src/menu/menu.c
xgettext --keyword=_ --language=C --add-comments -o po/labwc.pot src/menu/menu.c src/config/rcxml.c
```
This generates a new pot file at `po/labwc.pot`
3. Copy the header from the original `labwc.pot` to the new one, check
for sanity and commit.
3. Copy the header from the original `labwc.pot` to the new one, keeping
the newly generated dates, check for sanity and commit.
# Upversion