Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: Update POT and PO files #3729

Merged
merged 1 commit into from
May 23, 2024
Merged

i18n: Update POT and PO files #3729

merged 1 commit into from
May 23, 2024

Conversation

HuidaeCho
Copy link
Member

@HuidaeCho HuidaeCho commented May 23, 2024

# remove locally installed addons to avoid message strings being scanned
grass  --tmp-project XY --exec g.extension.all -f operation=remove

# create POT file and update PO files
cd locale/
make pot
make update-po

# bulk of potentially duplicated gettext messages
cd po/
for i in `ls grass*_*.po` ; do
    msguniq --use-first --width=80 $i > tmp.$i
    rm -f $i
    mv tmp.$i $i
done

(for posterity: edited for de-duplication and removal of locally installed addons )

@github-actions github-actions bot added the translation Message translation related label May 23, 2024
@neteler neteler added this to the 8.4.0 milestone May 23, 2024
Copy link
Member

@neteler neteler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! And important for the upcoming 8.4.0 release

@HuidaeCho HuidaeCho merged commit fddb7e8 into OSGeo:main May 23, 2024
26 checks passed
@HuidaeCho HuidaeCho deleted the i18n branch May 23, 2024 11:28
@neteler
Copy link
Member

neteler commented May 26, 2024

(I have made an attempt to update the i18N procedure, see PR description above)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation Message translation related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants