Add missing translations to constraint

Created on 15 April 2024, 2 months ago
Updated 12 June 2024, 11 days 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

Postponed: needs info

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.69.0 2024