Skip to content

Commit 1c0a2f2

Browse files
committed
fixes #960
1 parent e02514e commit 1c0a2f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

includes/class-kirki-l10n.php

+1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ public static function get_strings( $config_id = 'global' ) {
210210
'open-editor' => esc_attr__( 'Open Editor', 'kirki' ),
211211
'close-editor' => esc_attr__( 'Close Editor', 'kirki' ),
212212
'switch-editor' => esc_attr__( 'Switch Editor', 'kirki' ),
213+
'hex-value' => esc_attr__( 'Hex Value', 'kirki' ),
213214
);
214215

215216
$config = apply_filters( 'kirki/config', array() );

includes/controls/class-kirki-controls-repeater-control.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public function repeater_js_template() {
408408
<# if ( field.description ) { #>
409409
<span class="description customize-control-description">{{{ field.description }}}</span>
410410
<# } #>
411-
<input class="color-picker-hex" type="text" maxlength="7" placeholder="<?php esc_attr_e( 'Hex Value' ); ?>" value="{{{ field.default }}}" data-field="{{{ field.id }}}" {{ defaultValue }} />
411+
<input class="color-picker-hex" type="text" maxlength="7" placeholder="{{ window.kirki.l10n['hex-value'] }}" value="{{{ field.default }}}" data-field="{{{ field.id }}}" {{ defaultValue }} />
412412

413413
</label>
414414

0 commit comments

Comments
 (0)