Exception: ZLocalize::MissingTranslationDataError
- Inherits:
-
StandardError
- Object
- StandardError
- ZLocalize::MissingTranslationDataError
- Defined in:
- lib/zlocalize/backend.rb
Instance Method Summary collapse
-
#initialize(locale, key, options) ⇒ MissingTranslationDataError
constructor
A new instance of MissingTranslationDataError.
Constructor Details
#initialize(locale, key, options) ⇒ MissingTranslationDataError
Returns a new instance of MissingTranslationDataError.
10 11 12 |
# File 'lib/zlocalize/backend.rb', line 10 def initialize(locale, key, ) super "No translation exists in '#{locale}' for key \"#{key}\"" end |