doc / ch.tutteli.atrium.reporting.translating / UsingDefaultTranslator / translateWithoutArgs

translateWithoutArgs

protected fun translateWithoutArgs(translatable: Translatable): String (source)

Overrides ArgumentsSupportingTranslator.translateWithoutArgs

Do not call this method in case you want to translate a TranslatableWithArgs use translate in this case.

This method needs to be implemented by sub classes, which have to return the translation for the given translatable or the result of Translatable.getDefault if there is no translation defined for the given translatable.

Parameters

translatable - The Translatable which shall be translated.

Return
The translation for the given translatable or Translatable.getDefault of the given translatable in case there is no translation defined.