mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix translation for Password label
This commit is contained in:
@@ -2366,6 +2366,9 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$output .= '<div ' . $this->get_atts( $key, $classes, $conditional, $data ) . '>';
|
||||
|
||||
if ( isset( $data['label'] ) ) {
|
||||
|
||||
$data['label'] = __( $data['label'], 'ultimate-member' );
|
||||
|
||||
$output .= $this->field_label( sprintf( __( 'Confirm %s', 'ultimate-member' ), $data['label'] ), $key, $data );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user