Graffino/Custom-Post-Type-Maker

Make Post Titles Localizable

Closed this issue · 2 comments

Hello, would it be possible to register "cptm_label" and "cptm_name" as a localizable string so developers can translate them via their theme's .po file? Something like...
Instead of:
'cptm_label' => $cptm_label

This:
'cptm_label' => __($cptm_label, $my_theme->get( 'TextDomain' ))

Thank you for this great plugin!

@jaydeesigns We're a bit overwhelmed right now, but will implement this soon.

This is already possible:

// See line 317
__( $cptm_post_type['cptm_label'], 'custom-post-type-maker' )