TranslatableString.InvalidObjectField is removed
Detect
- In a custom
translateStringor a translation table, a reference toTranslatableString.InvalidObjectField. - The type checker reports
Property 'InvalidObjectField' does not exist on typefollowed by the type ofTranslatableString.
Change
An incomplete ui:order no longer renders an error, so no string names it. Remove the case:
switch (key) {
- case TranslatableString.InvalidObjectField:
- return translated.invalidObjectField;
default:
return englishStringTranslator(key, params);
}
Verify
- The custom
translateStringcompiles.
Also read: