Thread (18 messages) 18 messages, 5 authors, 2021-12-08

Re: [PATCH 1/1] docs/zh_CN: Add sched-capacity translation

flat view

From: Tang Yizhou <hidden>
Date: 2021-12-08 04:35:20

On 2021/12/8 11:16, Alex Shi wrote:
On Tue, Dec 7, 2021 at 10:57 PM Jonathan Corbet [off-list ref] wrote:
quoted
Alex Shi [off-list ref] writes:
quoted
What the result of scripts/checkpatch.pl or make htmldocs say?
Let's tame these tools and follow the regluar styles of kernel.
checkpatch knows nothing about different languages, and "make htmldocs"
doesn't do that sort of stylistic checking.
Thanks for the info!
quoted
I don't know enough (i.e. anything :) to have an opinion on the best
length for lines of Chinese text.  Surely there must be some conventions
out there?
The only reason I know is to remove extra spaces char in 'rendered
documentation'
which is generated by line break. For this purpose, 40 or 60 line chars limit
can't fulfill it obviously.

Yizhou's suggestion has no line break unless a punctuation hitted, so the
space will happen with the punctuation.   This makes the rendered document look
good, but will lead to toooo long and never alignment lines in the
source document.
It looks like we have no good way to resolve this issue by style
change. Also the '60'
number seems an arbitrary number? If we have to relief this problem from coding
style change, why not follow the new rule after checkpatch's change:
from 80 to 100,
let's say about 50 Chinese chars plus breaking after a meaningful Chinese word?
Agreed. 

Now I prefer 50 Chinese chars plus breaking after a meaningful Chinese word.

Thanks,
Tang
Thanks
Alex
quoted
Thanks,

jon
.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help