Add alternative token with capitalized entity bundle label

Created on 11 June 2024, 5 months ago
Updated 31 July 2024, 4 months ago

Problem/Motivation

Currently in several notifications we use placeholders to show the entity bundle (Topic, Event, Comment etc). We force this placeholders to always be lowercase. This works well in english and most languages, but not in German for example where those terms should be displayed uppercase.

Proposed resolution

Add an alternative version of the same tokens with capitalized entity bundle label, so it can be used in German. The original tokens are kept the same.

Add variations for the tokens:

  • [social_mentions:commented_entity_link_html:capitalized]
  • [social_group:content_type:capitalized]
  • [social_group:created_entity_link_html:capitalized]
  • [social_comment:commented_content_type:capitalized]
  • [social_comment:commented_entity_link:capitalized]
  • [social_comment:commented_entity_link_html:capitalized]
  • [social_taxonomy_follow:content_type:capitalized]
  • [social_taxonomy_follow:indefinite_article:capitalized]

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

πŸ‡§πŸ‡·Brazil tregismoreira

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024