- πΊπΈUnited States smustgrave
Could the issue summary be updated for what's needed here? We looking to throw another exception if empty?
Follow-up to #2570285: Make sure TranslatableMarkup accepts string values only β
Follow-up to #2557113: Make t() return a TranslationWrapper object to remove reliance on a static, unpredictable safe list β
Empty strings are not valid input for the TranslatableMarkup constructor.
Fail when input doesn't make sense. Test for empty strings before creating new TranslatableMarkup objects, and leave them as plain strings if they are empty.
Postponed: needs info
11.0 π₯
It deals with the addition of an assert() statement(s) to the code, and/or contains a test patch where one is failing indicating a need to change code or the documentation the statement was based on.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Could the issue summary be updated for what's needed here? We looking to throw another exception if empty?