package Ġcom . ta ir its u . ign ot us . exception Ċ Ċ import Ġcom . ta ir its u . ign ot us . support . util . Translation Ċ Ċ open Ġclass ĠTranslation Helper ( base Key : ĠString ) Ġ{ ĊĠĠĠ Ġval Ġtranslation Ġ= ĠTranslation . get Translation Service ( base Key ) ĊĊĠĠĠ Ġfun Ġtranslate Detail ( code : ĠString ) Ġ= Ġtranslation . getMessage ("$ code . detail ") ĊĊĠĠĠ Ġfun Ġtranslate Detail ( code : ĠString , Ġsub Type : ĠString ) Ġ= Ġtranslation . getMessage ("$ code . detail _$ sub Type ") ĊĊĠĠĠ Ġfun Ġtranslate Detail ( code : ĠString , Ġargs : ĠMap < String , ĠAny >) Ġ= Ġtranslation . getMessage ("$ code . detail ", Ġargs ) ĊĊĠĠĠ Ġfun Ġtranslate Detail ( code : ĠString , Ġsub Type : ĠString , Ġargs : ĠMap < String , ĠAny >) Ġ= ĊĠĠĠĠĠĠĠ Ġtranslation . getMessage ("$ code . detail _$ sub Type ", Ġargs ) ĊĊĠĠĠ Ġfun Ġtranslate Title ( code : ĠString ) Ġ= Ġtranslation . getMessage ("$ code . title ") Ċ } Ċ