Module: BCDice::Translate
- Included in:
- Base, GameSystem::Cthulhu::CompareResult, GameSystem::DoubleCross::DX, GameSystem::LogHorizon::TreasureTable, GameSystem::SwordWorld2_0::TranscendentTest
- Defined in:
- lib/bcdice/translate.rb
Overview
i18n用のモジュール
Instance Method Summary collapse
-
#translate(key, **options) ⇒ Object
i18n用の翻訳メソッド.
Instance Method Details
#translate(key, **options) ⇒ Object
i18n用の翻訳メソッド
9 10 11 |
# File 'lib/bcdice/translate.rb', line 9 def translate(key, **) I18n.translate(key, locale: @locale, raise: true, **) end |