getLocalizedTextBySlug function
Implementation
String getLocalizedTextBySlug(
String textSlug
)
{
if ( textBySlugMap.containsKey( textSlug ) )
{
return getLocalizedText( textBySlugMap[ textSlug ]! );
}
else
{
logWarning( 'Missing text slug: $textSlug' );
return textSlug;
}
}