Unable to translate "You must include at least one keyword to match in the content..."

Created on 25 May 2017, over 7 years ago
Updated 3 July 2024, 5 months ago

API page: https://api.drupal.org/api/drupal/core%21modules%21node%21src%21Plugin%2...

Enter a descriptive title (above) relating to protected function NodeSearch::findResults, then describe the problem you have found:

I am not able to translate text on
"You must include at least one keyword to match in the content. Keywords must be at least @count characters, and punctuation is ignored."

I think issue is not using "t" function here.

drupal_set_message(\Drupal::translation()->formatPlural($this->searchSettings->get('index.minimum_word_size'), t('You must include at least one keyword to match in the content, and punctuation is ignored.'), t('You must include at least one keyword to match in the content. Keywords must be at least @count characters, and punctuation is ignored.')), 'warning');

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component
Node system 

Last updated about 16 hours ago

No maintainer
Created by

🇨🇦Canada jatinkumar1989 Vancouver

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024