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

Update POTFILES #150

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

Conversation

rffontenelle
Copy link

POT file update is failing because 'src/gtk/help-overlay.ui' listed in po/POTFILES doesn't exist. Also, I noticed other files with translation strings not included in po/POTFILES, which causes their strings to not be available for translation.

Please notice this generates po/varia.pot, not po/Varia.pot. My recommendation is to use po/varia.pot as that's the one generated by meson, and using <meson-project-name>.pot is a very common in other projects around.

If you merge this with po/Varia.pot renamed, please make sure to update the filename for "template for new translations" in the component settings in Hosted Weblate.

Steps to reproduce:

  1. meson setup . build
  2. ninja -C build varia-pot
  3. fails with xgettext complaining 'No such file or directory' for 'varia/src/gtk/help-overlay.ui'
  4. (adds all these source files to POTFILES)
  5. po/varia.pot is generated without issue

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

Successfully merging this pull request may close these issues.

1 participant