Create MessageTemplate::getTranslatedRawText()

Created on 13 April 2023, almost 2 years ago

It would be helpful to have a method MessageTemplate::getTranslatedRawText(). This would consist of the code from the start of ::getText() (which would then use the new method). If the maintainers are agreeable, I can write it.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

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

Comments & Activities

  • Issue created by @Liam Morland
  • Status changed to Postponed: needs info about 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    I don't know what problem you are trying to solve, or how this method would be useful.

  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    It's been long enough that I don't recall my use case. Whatever it was, I needed to get access to the value of $text before the code under "Process text format".

    My work-around was probably to use ::getRawText() and then duplicate the translation code in my code. With the function I propose, it wouldn't be necessary to duplicate that code.

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Thank you, Iiam.

Production build 0.71.5 2024