Hi Bram,

2016/2/2 Tue 8:09:45 UTC+9 Ken Takata wrote:
> Hi Bram,
> 
> 2016/2/2 Tue 6:35:09 UTC+9 Bram Moolenaar wrote:
> > Taro Muraoka wrote:
> > 
> > > Sorry and Thanks
> > > 
> > > I attached updated version and upload it to:
> > > https://github.com/vim-jp/lang-ja/releases/tag/20160201
> > > 
> > > Please replace old one.
> > 
> > Thanks, I'll include these.
> > 
> > I forgot to mention one more problem (which is a bit hard to spot, it's
> > reported by msgfmt):
> >    ja.sjis.po:3825: 'msgid' and 'msgstr' entries do not both end with '\n'
> >  
> > Same for the other two files.
> 
> These additional '\n' in Japanese translations are intentional.
> Without each of them, the Japanese message is connected with the next message
> and it exceeds 80 columns, because this is a part of long messages.
> See L4046 to L4079 in memline.c:
> https://github.com/vim/vim/blob/master/src/memline.c#L4076-L4079
> 
> So please do not remove these additional '\n'.

Oops! The additional '\n' causes fatal error:

  ja.sjis.po:3825: 'msgid' and 'msgstr' entries do not both end with '\n'
  msgfmt: found 1 fatal error

I have to rethink how to fix this.  Moving a white space from the top of the
latter message to end of the former message solves the problem, but ugly...

--- a/src/po/ja.po
+++ b/src/po/ja.po
@@ -3826,10 +3826,10 @@ msgstr ""
 "\n"
 "(1) 別のプログラムが同じファイルを編集しているかもしれません.\n"
 "    この場合には, 変更をしてしまうと1つのファイルに対して異なる2つの\n"
-"    インスタンスができてしまうので, そうしないように気をつけてください."
+"    インスタンスができてしまうので, そうしないように気をつけてください.\n "

 msgid "  Quit, or continue with caution.\n"
-msgstr "    終了するか, 注意しながら続けてください.\n"
+msgstr "   終了するか, 注意しながら続けてください.\n"

 msgid "(2) An edit session for this file crashed.\n"
 msgstr "(2) このファイルの編集セッションがクラッシュした.\n"


Regards,
Ken Takata

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui