lsegal/yard — pull request #570 by kou (2012-07-10 13:35:27+00:00)
Title: i18n: support Docstring translation

Docstring#document is added. It returns localized document. We should
use for it when we want localized document. We should use
Docstring#to_s or Docstring itself when we want non-localized
document.

The template for docstring uses Docstring#document because it should
render localized document. Docstring#summary also uses
Docstring#document because the same reason.

`bin/yard doc --locale ja` with this change generates documents in
Japanese. You can find a document in Japanese at doc/YARD.html.