WP2.7 wp_list_comments()の日本語表記
-
wp_list_comments()で出力されるコメント表示が日本語表記になると、ありがたいです。
具体的には、wp-includes/comment-template.php(svn rev.9771)の
1152行<?php printf(__('<cite class="fn">%s</cite> Says:'), get_comment_author_link()) ?>
の<cite class=”fn”>%s</cite> Says:部分と
1159行<div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID, $page ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date('F jS, Y'), get_comment_time()) ?></a><?php edit_comment_link('edit',' ','') ?></div>
の’F jS, Y’ と edit 部分です。
こちらのほうは<div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID, $page ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(__('F jS, Y')), get_comment_time()) ?></a><?php edit_comment_link(__('Edit This'),' ','') ?></div>
みたいな修正しないと無理でしょうか?
4件の返信を表示中 - 1 - 4件目 (全4件中)
4件の返信を表示中 - 1 - 4件目 (全4件中)
- トピック「WP2.7 wp_list_comments()の日本語表記」には新たに返信することはできません。