Return a function that returns the given string. An optimization for dart2js, used from the generated code.
static simpleMessage(translatedString) => () => translatedString;