flask-docs-zh icon indicating copy to clipboard operation
flask-docs-zh copied to clipboard

Poedit will change msgid after saving the file

Open greyli opened this issue 3 years ago • 2 comments

我在 Poedit 使用一致的折行设置,但是基本上都会打乱原先的 msgid 折行。每次都要手动更改回去。直接使用文本编辑器编辑,要手动控制折行,打双引号,非常麻烦。不知道有没有好一点的方法。

Originally posted by @rosekc in https://github.com/greyli/flask-docs-zh/issues/36#issuecomment-851282215

greyli avatar May 31 '21 10:05 greyli

@rosekc Gtranslator 和 Lokalize 有这个问题吗?

greyli avatar May 31 '21 10:05 greyli

@rosekc Gtranslator 和 Lokalize 有这个问题吗?

Lokalize 不会更改原文,但是翻译后也要手动折行。看起来它会在一行比较长的时候(大于100)才会折行,而且好像找不到相关的设置项。

Gtranslator 貌似找不到 release binary,有待测试。

现在想是否能不折行或者在 pre commit 里来做自动折行。现在看不同软件折行实现都不大一致。

rosekc avatar May 31 '21 12:05 rosekc