Why hardcoded the error message
-
Hi,
I am trying to translate the messages, but some messages are hardcoded in .php
for example:
UM()->form()->add_error( $key, sprintf( __( ‘Your %s must contain less than %s characters‘, ‘ultimate-member’ ), $array[‘label’], $array[‘max_chars’] ) );Would it be possible to include this in the .pot language file?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Why hardcoded the error message’ is closed to new replies.