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
Split sentences on to separate lines in User Guide #855
Comments
Comment 1 by msuch on 2010-08-24 06:39 |
Comment 2 by jteh (in reply to comment 1) on 2010-08-24 07:20
The point isn't that long lines are a problem for editing. The problem is that diff works line by line, so when you have an entire paragraph on a line (which could be very long), it becomes very difficult for translators to determine what changed by reading the diff. |
Comment 3 by orcauser on 2010-08-24 13:04 Thanks for this, yes I still feel this is important, and it would make a noticeable diffrence, especially to translators that depend on speech to notice the changes. One further request, is that when this work is commited, it is only the new lines that are modified, therefore when we bring ourselves up to the commit before this one we know it is actual work, and when we handle the work created by this patch, it is only new lines, and that we dont have to worry about actual text being changed. Thank you. Mesar or (j.orcauser) |
Comment 4 by jteh (in reply to comment 3) on 2010-08-24 19:19
I don't think that is an option with txt2tags. It's pretty ugly at any rate.
Yup, already thought of this. It will be noted in the commit. |
Comment 5 by mdcurran on 2010-08-25 05:33 |
Reported by jteh on 2010-08-24 02:20
The current English User Guide has entire paragraphs of text on a single line. This makes it very difficult for translators to see what has changed when reading a diff.
Mesar Hameed requested that we break all lines at 80 characters. However, the problem with this approach is that the text has to be reflowed when changes are made. If a change is made in the middle of a paragraph and it is reflowed, it will cause the same problem for translators reading the diff. If we don't reflow, things get messy and we then have to do occasional "reflow" commits which are just silly.
My solution is to have one sentence per line. This means that translators only have to deal with changed sentences, which are much shorter and are a logical unit to translate. Most of the more recent changes to the User Guide follow this convention already.
Note that we can't do this for tables, as txt2tags requires table rows to be on a single line. However, this should be okay, as they are normally quite short or are a logical translation unit.
The only question is how to handle %kc:setting, which uses the first line as the description for a command. If we want the description to contain multiple sentences, this won't work. I'm tempted to just leave these alone like we do for table rows for the same reasons given above.
I don't think this is important for the What's New (changes) document, as individual entries aren't often changed. Where they are, they are relatively short and are probably a logical translation unit.
I'd appreciate feedback on this.
The text was updated successfully, but these errors were encountered: