Not translatable string (render output)

Created on 21 May 2024, about 1 month ago
Updated 6 June 2024, 22 days ago

Problem/Motivation

There is a non translatable string in render function of views plugin (poll\src\Plugin\views\field\PollStatus.php).

Proposed resolution

Replace the non translatable string with a translatable one.

Before:
$output = 'Yes (until ' . rtrim(strstr($date, '-', TRUE)) . ')';

After:
$output = t('Yes (until :date)', [':date' => rtrim(strstr($date, '-', TRUE))]);

Remaining tasks

Create the patch.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡·Argentina fpap

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024