Re: [PATCH v1] docs/zh_CN: add zh_CN translation for memory-barriers.txt

From: Leo Yan
Date: Mon Aug 21 2023 - 08:53:42 EST


On Mon, Aug 21, 2023 at 02:39:15PM +0800, Gang Li wrote:
> Thanks for your review!
>
> Your suggestions will be integrated into the next version(v2).
>
> On 2023/8/20 00:25, Leo Yan wrote:
> > > + | | : | | : | |
> > > + | | : | | : | |
> > > + | CPU 1 |<----->| 内存 |<----->| CPU 2 |
> >
> > Unalignment caused by extra space around "内存".
> >
> If using Chinese, it is impossible to align properly no matter
> how it is modified. If strict alignment is needed, the text in the
> charts should not be translated.

In my editor (vim), a Chinese character is two-width of English
character. So you could see in above, I can simply remove a space for
alignment.

Anyway, if you have different editor or configuration, using either
langauge is fine for me.

Please expect I will have more review.

Thanks,
Leo