• post-updated-date.php, Line 39

    $awd_modified_date= '<span style="font-style:italic; font-weight:bold;text-align:center;">' . __('(Last Updated On: [post_modified])', 'post-updated-date' ) . '</span>';
    

    If you accept this change, the string (Last Updated On: [post_modified]) will be extracted as a translatable string, this action will be useful for plugin localization.

Viewing 1 replies (of 1 total)
  • Thread Starter Alex Lion (阿力獅)

    (@alexclassroom)

    The better modification should be the following.

    $awd_modified_date= '<span style="font-style:italic; font-weight:bold;text-align:center;">' . sprintf(__('(Last Updated On: %s)', 'post-updated-date' ),'[post_modified]') . '</span>';

    Translators can not touch the shortcode.

Viewing 1 replies (of 1 total)
  • The topic ‘Improve I18N Issues (Based on 1.3)’ is closed to new replies.