Add missing translations to constraint

Created on 15 April 2024, 9 months ago
Updated 20 July 2024, 6 months ago

Problem/Motivation

The '%min_max' message is not translatable.

Proposed resolution

Add the StringTranslationTrait to make it translatable

Add in file ParagraphsLimitsConstraintValidator
use StringTranslationTrait;

'%min_max' => 'maximum', to '%min_max' => $this->t('maximum'),

'%min_max' => 'minimum', to '%min_max' => $this->t('minimum'),

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇨🇱Chile Aneida

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024