tr function
A shorthand function for accessing translations.
This function returns the translated string for the given key
.
If the key is not found, it returns the key itself as a fallback.
Implementation
String tr(String key) {
return Translate(key).toString();
}