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

enhance debug output, fix docbook behavior, allow separate input for POT #153

Merged
merged 22 commits into from
Oct 17, 2018

Conversation

osamuaoki
Copy link
Contributor

Since #148 was auto closed, I am creating new merge request.

This has much cleaner history... I hope you can accept this one.

This is without addendum

Signed-off-by: Osamu Aoki <osamu@debian.org>
Split lines to separate array items to ensure expected search operation for
addendum.

Use /(?<=\n)/ trick to avoid adding extra line breaks

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
POT/PO file updated by the secondary master file specified in pot_in if it is
specified.  Otherwise the same master file used for creating the output file.

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Perl's one dimensional array creates big barrier for non-perl users to read
code.

Signed-off-by: Osamu Aoki <osamu@debian.org>
tags in untranslated tag list don't take W nor w translation option
since these are only valid for translated tags

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Debug code enabled by --debug

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
  Two style:
    One by how to set via -o option
    Another by how internal logic use as controlling flags

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Adjust test case

Signed-off-by: Osamu Aoki <osamu@debian.org>

=head2 DEFINE WHAT TAGS AND ATTRIBUTES TO TRANSLATE

The simplest customization is to define which tags and attributes you want
The simplest customization is to define whicattributes you want
Copy link
Owner

Choose a reason for hiding this comment

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

This seems to be a typo...

@mquinson
Copy link
Owner

Hello,

many many thanks for these changes, I just read the whole patch, and this is a very impressive piece of code. The added comments and debug messages are a real asset for the future of the project.

Unfortunately, some tests seem to fail on travis. Could you please fix it? I think that one of the problems is that a full path gets displayed, making the test unreproducible.

Also, you did not add anything to the NEWS file. Could you please document your contribution here?

Thanks again,

This should fix failure on travis.

Signed-off-by: Osamu Aoki <osamu@debian.org>
I must have accidentally typed some vim key while updating something else.

Signed-off-by: Osamu Aoki <osamu@debian.org>
This gets ready for Perl 5.32.  (Debian's #903735)

Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
Signed-off-by: Osamu Aoki <osamu@debian.org>
@mquinson mquinson merged commit 7f3ff73 into mquinson:master Oct 17, 2018
@mquinson
Copy link
Owner

Wonderful, thank you so much.

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.

3 participants