Skip to content

Placeholder text and variable interpolation issues in modal and translations #8

@SinghaAnirban005

Description

@SinghaAnirban005

Description

This issue highlights two problems:

  • The placeholder text "Please post your updates here 😄" in the /agile-settings modal does not render the 😄 emoji visually.

  • Translations using variable interpolation, such as poll_with_uuid_not_found: 'Poll with ID ${uuid} not found', do not support variable interpolation, leading to incorrect or incomplete text rendering.

Steps to Reproduce

1 Open the /agile-settings modal in the application.
2. Observe the placeholder text "Please post your updates here 😄". It does not render the smile emoji visually.
3. Trigger an event where the poll_with_uuid_not_found translation is used (e.g., fetching a poll with an invalid UUID).
4. Observe that the ${uuid} variable is not interpolated correctly in the translation text.

Expected Behaviour

  • The placeholder text in the modal should render the 😄 emoji visually as a proper emoji (e.g., 😄).
  • Translations with variable interpolation should correctly replace placeholders (e.g., ${uuid}) with the corresponding variable values.

Actual Behaviour

general.-.Singha.-.Brave.2025-01-23.02-15-36.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions