CONTRIBUTING.md: correct the instructions for adding a locale code

This commit is contained in:
01micko 2024-03-02 11:39:36 +10:00 committed by Consolatis
parent 5a70027e30
commit 5b2b1c31ab

View file

@ -354,10 +354,10 @@ Translators can add their `MY_LOCALE.po` files to the `po` directory
based on `po/labwc.pot` and issue a pull request. To do this they can based on `po/labwc.pot` and issue a pull request. To do this they can
generate their `MY_LOCALE.po` file in a few steps: generate their `MY_LOCALE.po` file in a few steps:
1. Edit the `po/LINGUAS` file to add their locale name by adding a space 1. Edit the `po/LINGUAS` file to add their locale code in English
to the end of the field and typing the locale code. alphabetical order to the field of locale codes.
2. Copy the po/labwc.pot to po/MY_LOCALE.po 2. Copy the `po/labwc.pot` to `po/MY_LOCALE.po`
3. Edit the newly generated MY_LOCALE.po file with some of their 3. Edit the newly generated `MY_LOCALE.po` file with some of their
contact and locale details in the header of the file then add the contact and locale details in the header of the file then add the
translation strings under each English string. translation strings under each English string.