replaced hardcoded strings with locale strings