There are calls to \Drupal::messenger()->addMessage() in /src/Plugin/views/filter/Selective.php where the message isn't translated, as the following code.
\Drupal::messenger()->addMessage('Selective filter "@name": relationship of field and filter must match.',
[
'@name' => $ui_name,
'@type' => $base_field,
],
'error');
It should be changed to the following.
\Drupal::messenger()->addMessage(t('Selective filter "@name": relationship of field and filter must match.',
[
'@name' => $ui_name,
'@type' => $base_field,
]),
'error');
Issue fork views_selective_filters-3317499
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
immaculatexavier commentedCommitted in accordance to the proposed resolution
Comment #5
avpadernoComment #6
juancec commentedHi, I'll review it.
Comment #7
juancec commentedI reviewed the MR and the
\Drupal::messenger()->addMessage()calls have their messages translated as the proposed solution shows. Hence I move the issue to RTBC. Good job @immaculatexavier.Comment #8
philosurfer commentedBump. RBTC++
Comment #11
joelpittetThanks I've committed this.