XPressME Integration Kit

Trac

Changeset 269 for trunk


Ignore:
Timestamp:
Jun 9, 2009, 1:22:56 PM (16 years ago)
Author:
toemon
Message:

WP2011のコメントブロックの元記事リンクが全て同じになっているバグ修正 fixed #146
コメント用言語ファイル修正

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/external/xpress_i18n/ja_EUC/wp-content/themes/xpress_default/ja_EUC.po

    r265 r269  
    1818"Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n" 
    1919"POT-Creation-Date: 2008-08-15 21:16+0900\n" 
    20 "PO-Revision-Date: 2009-06-09 09:03+0900\n" 
     20"PO-Revision-Date: 2009-06-09 13:05+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    692692 
    693693#: blocks/recent_comments_block_theme.php:76 
    694 #, fuzzy, php-format 
     694#, php-format 
    695695msgid "%1$s on %2$s" 
    696 msgstr "%1$s ¤È %2$s" 
     696msgstr "%2$s ¤Ë %1$s ¤è¤ê" 
    697697 
    698698#: blocks/recent_posts_content_block_theme.php:79 
  • trunk/external/xpress_i18n/ja_UTF/wp-content/themes/xpress_default/ja_UTF.po

    r265 r269  
    1818"Report-Msgid-Bugs-To: \n" 
    1919"POT-Creation-Date: 2009-06-08 20:01+0900\n" 
    20 "PO-Revision-Date: 2009-06-08 20:02+0900\n" 
     20"PO-Revision-Date: 2009-06-09 13:01+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    692692 
    693693#: blocks/recent_comments_block_theme.php:76 
    694 #, fuzzy, php-format 
     694#, php-format 
    695695msgid "%1$s on %2$s" 
    696 msgstr "%1$s と %2$s" 
     696msgstr "%2$s に %1$s より" 
    697697 
    698698#: blocks/recent_posts_content_block_theme.php:79 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php

    r262 r269  
    6060                                $comment_content = $comment->comment_content; 
    6161                                $comment_excerpt = ($disp_length>0 ? xpress_substr($comment_content, 0, $disp_length): $comment->comment_content); 
    62  
    63                                 $comment_link = get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID ; 
     62                                if (xpress_is_wp20()){ 
     63                                        $comment_link = get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID ; 
     64                                } else { 
     65                                        $comment_link = get_comment_link($comment->comment_ID); 
     66                                } 
    6467                                $comment_title = $comment_excerpt; 
    6568                                $comment_title_link = "<a href='$comment_link' rel='external nofollow' class='url'>$comment_title</a>"; 
    6669 
    67                                 $post_link = get_comment_link($comment->comment_ID); 
     70                                $post_link = get_permalink($comment->comment_post_ID); 
    6871                                $post_title = get_the_title($comment->comment_post_ID); 
    6972                                $post_title_link = '<a href="'. $post_link . '">' . $post_title . '</a>'; 
     
    7477 
    7578                                $comment_type = (empty($comment->comment_type) ? 'comment': $comment->comment_type); 
    76                                 $from_auther_to_post = sprintf(__('%1$s on %2$s'), $author_name_link , $post_title_link ); 
     79                                 
     80                                $post_title_comment_link = '<a href="'. $comment_link . '">' . $post_title . '</a>'; 
     81                                $from_auther_to_post = sprintf(__('%1$s on %2$s','xpress'), $author_name_link , $post_title_comment_link ); 
    7782 
    7883                                $row_data = array( 
  • trunk/xpressme_integration_kit/wp-content/themes/xpress_default/ja.po

    r265 r269  
    1717"Project-Id-Version: XPress_Default_themes\n" 
    1818"Report-Msgid-Bugs-To: \n" 
    19 "POT-Creation-Date: 2009-06-08 20:01+0900\n" 
    20 "PO-Revision-Date: 2009-06-08 20:02+0900\n" 
     19"POT-Creation-Date: 2009-06-09 13:10+0900\n" 
     20"PO-Revision-Date: 2009-06-09 13:12+0900\n" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    692692 
    693693#: blocks/recent_comments_block_theme.php:76 
    694 #, fuzzy, php-format 
     694#, php-format 
    695695msgid "%1$s on %2$s" 
    696 msgstr "%1$s と %2$s" 
     696msgstr "%2$s に %1$s より" 
    697697 
    698698#: blocks/recent_posts_content_block_theme.php:79 
Note: See TracChangeset for help on using the changeset viewer.