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

gettext-flatpak: Fix only the last pot is updated #80

Merged

Conversation

ryonakano
Copy link
Contributor

@ryonakano ryonakano commented Oct 21, 2023

Fixes only the last pot file is updated when there are multiple pot files.

ryo@b760m:~/work/sgpthomas/hourglass$ TRANSLATION_FILES=$(git ls-files | grep \.pot$)
ryo@b760m:~/work/sgpthomas/hourglass$ echo $TRANSLATION_FILES
po/com.github.sgpthomas.hourglass.pot po/extra/extra.pot
ryo@b760m:~/work/sgpthomas/hourglass$ GETTEXT_TARGETS=$(echo $TRANSLATION_FILES | sed 's/\S*\///g' | sed 's/.pot/-pot/g')
ryo@b760m:~/work/sgpthomas/hourglass$ echo "ninja $GETTEXT_TARGETS"
ninja com.github.sgpthomas.hourglass-pot extra-pot
ryo@b760m:~/work/sgpthomas/hourglass$

@ryonakano ryonakano marked this pull request as draft August 29, 2024 21:57
@ryonakano ryonakano marked this pull request as ready for review August 29, 2024 22:35
@ryonakano
Copy link
Contributor Author

@ryonakano ryonakano requested a review from a team August 29, 2024 22:51
@tintou tintou merged commit 1a696a9 into elementary:main Sep 1, 2024
@ryonakano ryonakano deleted the gettext-flatpak-support-multiple-pots branch September 1, 2024 09:14
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.

2 participants