-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add --no-line-numbers option, default false (no behavior change). #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Perhaps we can improve the parameter name. "No line numbers false" is a bit hard to understand because of the double negation. Perhaps it could be better "Remove line numbers" .
But that's just my opinion 😄
In the code translate this and the `--no-line-numbers` option to `include_line_numbers`. This avoids double negatives, like 'no line numbers is false'.
Fair point. I had a doubt about the naming as well. |
Yes, that's right, way better. |
I have released |
For the moment I will leave the po files with line numbers. I think that it
is helpful to easily check where are the msgids.
Anyway, as said, the option is there.
Hau idatzi du Maurits van Rees ***@***.***) erabiltzaileak
(2022 ira. 19, al. (11:30)):
… I have released i18ndude 5.5.0 and have updated coredev 5.2 and 6.0 to
use it.
I will leave it up to you to change the coredev scripts to use the new
option.
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGHRVKPLVH245E4UP5LGXTV7AXB3ANCNFSM6AAAAAAQGGTPQE>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
--
Mikel Larreategi
***@***.***
CodeSyntax
Azitain industrialdea, 3-K - Eibar
Tfnoa.: +34 943821780
|
For me, the main reason to add this option, is to avoid getting merge conflicts when one person works on translations for a language and someone else runs |
Fixes #77
Note for reviewers: a few related test classes had some lines in
setUp
and then onetest_read
method. I have merged these methods and then duplicated them intotest_read_no_line_numbers
andtest_read_with_line_numbers
. Very little of thesetUp
was useful for sharing.