XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jan 31, 2009, 10:04:53 AM (15 years ago)
Author:
toemon
Message:

設定画面のレイアウトと言語ファイルメンテナンス

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/xpressme_class.php

    r76 r79  
    4545                $this->is_postnavi_title_disp = true; 
    4646                $this->is_left_postnavi_old = true; 
    47                 $this->old_post_link_text = __('to Old Post'); 
    48                 $this->newer_post_link_text = __('to Newer Post'); 
     47                $this->old_post_link_text = __('to Old Post', 'xpressme'); 
     48                $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 
    4949                $this->is_author_view_count = false; 
    5050        } 
     
    7575                        'old_post_link_text' => $this->old_post_link_text , 
    7676                        'newer_post_link_text' => $this->newer_post_link_text, 
    77                         'is_author_view_count' => $this->is_author_view_count, 
    78                         'groupe_role_serial' => $this->$groupe_role_serial 
     77                        'is_author_view_count' => $this->is_author_view_count 
    7978                ); 
    8079                if ($mode == 'add_new') { 
     
    132131                $this->is_left_postnavi_old = stripslashes(trim($_POST['ch_is_left_postnavi_old'])); 
    133132                $this->old_post_link_text = stripslashes($_POST['ch_old_post_link_text']); 
    134                 if(empty($this->old_post_link_text)) $this->old_post_link_text = __('to Old Post'); 
     133                if(empty($this->old_post_link_text)) $this->old_post_link_text = __('to Old Post', 'xpressme'); 
    135134                $this->newer_post_link_text = stripslashes($_POST['ch_newer_post_link_text']); 
    136                 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post'); 
     135                if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 
    137136                $this->is_author_view_count = stripslashes(trim($_POST['ch_is_author_view_count'])); 
    138137                 
     
    185184                 
    186185                $form = ''; 
    187                 $form .= '<tr><th><label for="role">' .__('Role Setting at Login') . '</label></th>'; 
     186                $form .= '<tr><th><label for="role">' .__('Role Setting at Login', 'xpressme') . '</label></th>'; 
    188187                $form .= '<td>'; 
    189188                $form .= "<table>\n"; 
    190                 $form .= '<tr><td>' . __('XOOPS Groupe') . '</td><td>' . __('WordPress Role') . '</td><td>' . __('Only First Login') . "</td></tr>\n"; 
     189                $form .= '<tr><td>' . __('XOOPS Groupe', 'xpressme') . '</td><td>' . __('WordPress Role', 'xpressme') . '</td><td>' . __('Only First Login', 'xpressme') . "</td></tr>\n"; 
    191190                foreach ($this->groupe_role as $groupe) { 
    192191                        $form .= "<tr>"; 
     
    209208                        } 
    210209                        if ( $group_has_role ) 
    211                                 $role_list .= '<option value="">' . __('&mdash; No role for this blog &mdash;') . "</option>\n"; 
     210                                $role_list .= '<option value="">' . __('&mdash; No role for this blog &mdash;', 'xpressme') . "</option>\n"; 
    212211                        else 
    213                                 $role_list .= '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . "</option>\n"; 
     212                                $role_list .= '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;', 'xpressme') . "</option>\n"; 
    214213                        $form .= $role_list . "</select>\n</td></tr>\n"; 
    215214                } 
     
    283282                                                                                                __('NO','xpressme') 
    284283                                                                                                ); 
     284                echo                            $this->text_option('old_post_link_text', 
     285                                                                                                __('Display Navi Title of Old Post Link','xpressme') 
     286                                                                                                ); 
     287                echo                            $this->text_option('newer_post_link_text', 
     288                                                                                                __('Display Navi Title of Newer Post Link','xpressme') 
     289                                                                                                ); 
    285290                echo                            $this->yes_no_radio_option('is_postnavi_title_disp', 
    286291                                                                                                __('Select Display name of PostNavi Link','xpressme'), 
    287292                                                                                                __('Title of post','xpressme'), 
    288                                                                                                 __('Next and Previous','xpressme') 
     293                                                                                                __('Title of Navi','xpressme') 
    289294                                                                                                ); 
    290295                echo                            $this->yes_no_radio_option('is_left_postnavi_old', 
     
    293298                                                                                                __("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme') 
    294299                                                                                                ); 
    295                 echo                            $this->text_option('old_post_link_text', 
    296                                                                                                 __('Display Title of Old Post Link','xpressme') 
    297                                                                                                 ); 
    298                 echo                            $this->text_option('newer_post_link_text', 
    299                                                                                                 __('Display Title of Newer Post Link','xpressme') 
    300                                                                                                 );               
    301300                echo                            $this->yes_no_radio_option('is_author_view_count', 
    302301                                                                                                __('Is the posts author views counted?','xpressme'), 
Note: See TracChangeset for help on using the changeset viewer.