hi Tom,
in gp-premium/library/customizer/controls/class-typography-control.php
, could you add gettext support for a few more labels in future updates? To be exact, I am talking about the text ‘normal’, ‘bold’, ‘none’, ‘capitalize’, ‘uppercase’, and ‘lowercase’ in:
public function get_font_weight_choices() {
return array(
'normal' => esc_html( 'normal' ),
'bold' => esc_html( 'bold' ),
'100' => esc_html( '100' ),
'200' => esc_html( '200' ),
'300' => esc_html( '300' ),
'400' => esc_html( '400' ),
'500' => esc_html( '500' ),
'600' => esc_html( '600' ),
'700' => esc_html( '700' ),
'800' => esc_html( '800' ),
'900' => esc_html( '900' ),
);
}
public function get_font_transform_choices() {
return array(
'none' => esc_html( 'none' ),
'capitalize' => esc_html( 'capitalize' ),
'uppercase' => esc_html( 'uppercase' ),
'lowercase' => esc_html( 'lowercase' ),
);
}
I understand they are standard phrases used in css but they are not descriptive enough for clients who do not speak English. Adding gettext support wouldn’t break backward compatibility I suppose?