Translates printSummary function