lsegal/yard — pull request #547 by kou (2012-05-20 06:31:50+00:00)
Title: i18n: add translation function

This changes introduce YARD::I18n::Locale and YARD::I18n::Text#translate. This changes don't add translation feature to `yard doc` yet. It's the next step. This changes just add translation function.

YARD::I18n::Locale is a class that provides translation feature for a locale. YARD::I18n::Text#translate translates a text into a locale with YARD::I18n::Locale.

This changes add gettext gem dependency. Is it OK?