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

po4a dies on *.adocs with no translatable content #408

Closed
suddenfall opened this issue May 9, 2023 · 3 comments
Closed

po4a dies on *.adocs with no translatable content #408

suddenfall opened this issue May 9, 2023 · 3 comments

Comments

@suddenfall
Copy link
Contributor

I have a complex adoc-project with many includes. Some documents just contains includes. On these files po4a fails, because it cannot create a corresponding pot.

My fix:

Adding the parameter --force-po to the command msggrep in the file po4a at line 1617.

Modified line:

my $cmd = "msggrep$Config{_exe} $split_pot_files{$master_pot} -o $outfile $pot_filename --force-po";

@jnavila
Copy link
Collaborator

jnavila commented May 9, 2023

This seems all good. Please open a PR and claim the authorship.

suddenfall added a commit to suddenfall/po4a that referenced this issue May 9, 2023
@suddenfall
Copy link
Contributor Author

I have never done this before. I hope that fit.

@jnavila
Copy link
Collaborator

jnavila commented May 27, 2023

Hello. You have to open a pull request to mquinson/po4a via the GitHub site in order for this change to be merged.

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

No branches or pull requests

2 participants