XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 5, 2009, 8:20:17 AM (16 years ago)
Author:
toemon
Message:

#121 meta robotをXOOPS側を使うかWordPress側を使うか選択できるようにする。

Location:
trunk/wp-content/plugins/xpressme
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/language/xpressme-ja.po

    r201 r202  
    33"Project-Id-Version: XPressME Plugin\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2009-05-04 19:31+0900\n" 
     5"PO-Revision-Date: 2009-05-05 08:09+0900\n" 
    66"Last-Translator: toemon <toychee@toemon.com>\n" 
    77"Language-Team: \n" 
     
    1515"X-Poedit-SearchPath-0: .\n" 
    1616 
    17 #: xpressme_class.php:45 
     17#: xpressme_class.php:46 
    1818msgid "XPressME Settings" 
    1919msgstr "XPressME設定" 
    2020 
    21 #: xpressme_class.php:62 
    22 #: xpressme_class.php:211 
     21#: xpressme_class.php:63 
     22#: xpressme_class.php:214 
    2323msgid "Older Post" 
    2424msgstr "前の投稿へ" 
    2525 
    26 #: xpressme_class.php:63 
    27 #: xpressme_class.php:213 
     26#: xpressme_class.php:64 
     27#: xpressme_class.php:216 
    2828msgid "Newer Post" 
    2929msgstr "次の投稿へ" 
    3030 
    31 #: xpressme_class.php:65 
    32 #: xpressme_class.php:216 
     31#: xpressme_class.php:66 
     32#: xpressme_class.php:219 
    3333msgid "Older Entries" 
    3434msgstr "前ページへ" 
    3535 
    36 #: xpressme_class.php:66 
    37 #: xpressme_class.php:218 
     36#: xpressme_class.php:67 
     37#: xpressme_class.php:221 
    3838msgid "Newer Entries" 
    3939msgstr "次ページへ" 
    4040 
    41 #: xpressme_class.php:80 
     41#: xpressme_class.php:81 
    4242msgid "more" 
    4343msgstr "続きを読む" 
    4444 
    45 #: xpressme_class.php:272 
    46 #: xpressme_class.php:288 
    47 #: xpressme_class.php:702 
    48 #: xpressme_class.php:707 
    49 #: xpressme_class.php:713 
    50 #: xpressme_class.php:724 
    51 #: xpressme_class.php:730 
     45#: xpressme_class.php:276 
     46#: xpressme_class.php:292 
     47#: xpressme_class.php:721 
     48#: xpressme_class.php:726 
     49#: xpressme_class.php:732 
     50#: xpressme_class.php:743 
     51#: xpressme_class.php:749 
    5252msgid "YES" 
    5353msgstr "はい" 
    5454 
    55 #: xpressme_class.php:273 
    56 #: xpressme_class.php:289 
    57 #: xpressme_class.php:703 
    58 #: xpressme_class.php:708 
    59 #: xpressme_class.php:714 
    60 #: xpressme_class.php:725 
    61 #: xpressme_class.php:731 
     55#: xpressme_class.php:277 
     56#: xpressme_class.php:293 
     57#: xpressme_class.php:722 
     58#: xpressme_class.php:727 
     59#: xpressme_class.php:733 
     60#: xpressme_class.php:744 
     61#: xpressme_class.php:750 
    6262msgid "NO" 
    6363msgstr "いいえ" 
    6464 
    65 #: xpressme_class.php:331 
     65#: xpressme_class.php:335 
    6666msgid "Single Post Navi Setting" 
    6767msgstr "シングルポストナビの設定" 
    6868 
    69 #: xpressme_class.php:336 
    70 #: xpressme_class.php:381 
     69#: xpressme_class.php:340 
     70#: xpressme_class.php:385 
    7171msgid "Adjustment of Navi link display position" 
    7272msgstr "リンクの表示位置設定" 
    7373 
    74 #: xpressme_class.php:339 
     74#: xpressme_class.php:343 
    7575msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 
    7676msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 
    7777 
    78 #: xpressme_class.php:340 
     78#: xpressme_class.php:344 
    7979msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 
    8080msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 
    8181 
    82 #: xpressme_class.php:346 
     82#: xpressme_class.php:350 
    8383msgid "Select Display name of PostNavi Link" 
    8484msgstr "表示するリンクテキストを選択" 
    8585 
    86 #: xpressme_class.php:349 
     86#: xpressme_class.php:353 
    8787msgid "Title of post" 
    8888msgstr "投稿記事のタイトルを表示" 
    8989 
    90 #: xpressme_class.php:350 
     90#: xpressme_class.php:354 
    9191msgid "Title of Navi" 
    9292msgstr "ナビタイトルを表示" 
    9393 
    94 #: xpressme_class.php:356 
     94#: xpressme_class.php:360 
    9595msgid "Display Navi Title of Old Post Link" 
    9696msgstr "古い記事へのナビタイトルを設定" 
    9797 
    98 #: xpressme_class.php:363 
     98#: xpressme_class.php:367 
    9999msgid "Display Navi Title of Newer Post Link" 
    100100msgstr "より新しい記事へのナビタイトルを設定" 
    101101 
    102 #: xpressme_class.php:376 
     102#: xpressme_class.php:380 
    103103msgid "Posts List Page Navi Setting" 
    104104msgstr "ポストリストページナビの設定" 
    105105 
    106 #: xpressme_class.php:384 
     106#: xpressme_class.php:388 
    107107msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 
    108108msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 
    109109 
    110 #: xpressme_class.php:385 
     110#: xpressme_class.php:389 
    111111msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 
    112112msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 
    113113 
    114 #: xpressme_class.php:391 
     114#: xpressme_class.php:395 
    115115msgid "Display Navi Title of Old Page Link" 
    116116msgstr "古いページへのナビタイトルを設定" 
    117117 
    118 #: xpressme_class.php:398 
     118#: xpressme_class.php:402 
    119119msgid "Display Navi Title of Newer Page Link" 
    120120msgstr "より新しいページへのナビタイトルを設定" 
    121121 
    122 #: xpressme_class.php:413 
     122#: xpressme_class.php:417 
    123123msgid "Role Setting at Login" 
    124124msgstr "ログイン時の権限設定" 
    125125 
    126 #: xpressme_class.php:416 
     126#: xpressme_class.php:420 
    127127msgid "XOOPS Groupe" 
    128128msgstr "XOOPSグループ名" 
    129129 
    130 #: xpressme_class.php:416 
     130#: xpressme_class.php:420 
    131131msgid "WordPress Role" 
    132132msgstr "WordPressでの権限" 
    133133 
    134 #: xpressme_class.php:416 
     134#: xpressme_class.php:420 
    135135msgid "Role is set at each login" 
    136136msgstr "ログイン時、常に権限を更新する" 
    137137 
    138 #: xpressme_class.php:442 
    139138#: xpressme_class.php:446 
    140 #: xpressme_class.php:449 
     139#: xpressme_class.php:450 
     140#: xpressme_class.php:453 
    141141msgid "Default Role of WordPress" 
    142142msgstr "WordPressのデフォルト権限" 
    143143 
    144 #: xpressme_class.php:443 
    145144#: xpressme_class.php:447 
    146 #: xpressme_class.php:450 
     145#: xpressme_class.php:451 
     146#: xpressme_class.php:454 
    147147msgid "Group User Doesn't Register" 
    148148msgstr "ユーザ登録しない" 
    149149 
    150 #: xpressme_class.php:479 
     150#: xpressme_class.php:483 
    151151msgid "Do Not Comment Integration." 
    152152msgstr "コメント統合しません。" 
    153153 
    154 #: xpressme_class.php:513 
     154#: xpressme_class.php:517 
    155155msgid "Comment integration with D3Forum" 
    156156msgstr "D3Forumとのコメント統合" 
    157157 
    158 #: xpressme_class.php:515 
     158#: xpressme_class.php:519 
    159159msgid "Select the forum of D3Forum that does the comment integration from the following lists." 
    160160msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 
    161161 
    162 #: xpressme_class.php:519 
     162#: xpressme_class.php:523 
    163163msgid "Select the Type of display of D3Forum comment." 
    164164msgstr "D3Forumの表示タイプを選択" 
    165165 
    166 #: xpressme_class.php:521 
    167 #: xpressme_class.php:524 
     166#: xpressme_class.php:525 
     167#: xpressme_class.php:528 
    168168msgid "Flat" 
    169169msgstr "フラット" 
    170170 
    171 #: xpressme_class.php:522 
    172 #: xpressme_class.php:525 
     171#: xpressme_class.php:526 
     172#: xpressme_class.php:529 
    173173msgid "Threaded" 
    174174msgstr "スレッド" 
    175175 
    176 #: xpressme_class.php:528 
     176#: xpressme_class.php:532 
    177177msgid "Select the order of display of D3Forum comment." 
    178178msgstr "D3Forumコメントの表示順を選択" 
    179179 
    180 #: xpressme_class.php:530 
    181 #: xpressme_class.php:533 
     180#: xpressme_class.php:534 
     181#: xpressme_class.php:537 
    182182msgid "DESC" 
    183183msgstr "降順" 
    184184 
    185 #: xpressme_class.php:531 
    186 #: xpressme_class.php:534 
     185#: xpressme_class.php:535 
     186#: xpressme_class.php:538 
    187187msgid "ASC" 
    188188msgstr "昇順" 
    189189 
    190 #: xpressme_class.php:537 
     190#: xpressme_class.php:541 
    191191msgid "Number of displays of D3Forum comments." 
    192192msgstr "D3Forumのコメント表示数" 
    193193 
    194 #: xpressme_class.php:541 
     194#: xpressme_class.php:545 
    195195msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 
    196196msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 
    197197 
    198 #: xpressme_class.php:542 
     198#: xpressme_class.php:546 
    199199msgid "Export to D3Forum" 
    200200msgstr "D3Forumへ一括エクスポート" 
    201201 
    202 #: xpressme_class.php:543 
     202#: xpressme_class.php:547 
    203203msgid "Import from D3Forum" 
    204204msgstr "D3Forumから一括インポート" 
    205205 
    206 #: xpressme_class.php:555 
     206#: xpressme_class.php:559 
    207207msgid "Contents Excerpt Setting" 
    208208msgstr "記事抜粋の設定" 
    209209 
    210 #: xpressme_class.php:560 
     210#: xpressme_class.php:564 
    211211msgid "Is the excerpt display done with the archive of contents?" 
    212212msgstr "記事のアーカイブで抜粋表示を行いますか?" 
    213213 
    214 #: xpressme_class.php:567 
     214#: xpressme_class.php:571 
    215215msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 
    216216msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 
    217217 
    218 #: xpressme_class.php:574 
     218#: xpressme_class.php:578 
    219219msgid "Excerpt length of word for ASCII contents" 
    220220msgstr "ASCIIコンテンツの抜粋単語数" 
    221221 
    222 #: xpressme_class.php:581 
     222#: xpressme_class.php:585 
    223223msgid "Excerpt length of character for multibyte contents" 
    224224msgstr "マルチバイトコンテンツの抜粋文字数" 
    225225 
    226 #: xpressme_class.php:588 
     226#: xpressme_class.php:592 
    227227msgid "More Link Text (Is not displayed for the blank.)" 
    228228msgstr "Moreリンクテキスト(ブランクの場合リンクを表示しません。)" 
    229229 
    230 #: xpressme_class.php:600 
     230#: xpressme_class.php:604 
    231231msgid "Display Mode Setting" 
    232232msgstr "表示モード設定" 
    233233 
    234 #: xpressme_class.php:603 
     234#: xpressme_class.php:607 
    235235msgid "Select the XPressME Display Mode." 
    236236msgstr "XPressMEの表示モードの選択" 
    237237 
    238 #: xpressme_class.php:608 
     238#: xpressme_class.php:612 
    239239msgid "Xoops Mode" 
    240240msgstr "XOOPSモード" 
    241241 
    242 #: xpressme_class.php:612 
     242#: xpressme_class.php:616 
    243243msgid "WordPress Mode" 
    244244msgstr "WordPressモード" 
    245245 
    246 #: xpressme_class.php:616 
     246#: xpressme_class.php:620 
    247247msgid "User select" 
    248248msgstr "ユーザによる選択" 
    249249 
    250 #: xpressme_class.php:626 
     250#: xpressme_class.php:630 
    251251msgid "Header Meta Option" 
    252252msgstr "ヘッダメタ オプション" 
    253253 
    254 #: xpressme_class.php:631 
     254#: xpressme_class.php:635 
    255255msgid "Select the Header keyword." 
    256256msgstr "ヘッダで使用するキーワードの選択" 
    257257 
    258 #: xpressme_class.php:636 
     258#: xpressme_class.php:640 
    259259msgid "Xoops KeyWord" 
    260260msgstr "XOOPSのキーワード" 
    261261 
    262 #: xpressme_class.php:639 
     262#: xpressme_class.php:643 
    263263msgid "WordPress KeyWord" 
    264264msgstr "WordPressのキーワード" 
    265265 
    266 #: xpressme_class.php:642 
     266#: xpressme_class.php:646 
    267267msgid "WordPress & Xoops KeyWord" 
    268268msgstr "WordPressjとXOOPSのキーワード" 
    269269 
    270 #: xpressme_class.php:648 
     270#: xpressme_class.php:652 
    271271msgid "Select the Header Description." 
    272272msgstr "ヘッダで使用するディスクリプション(説明)の選択" 
    273273 
    274 #: xpressme_class.php:653 
     274#: xpressme_class.php:657 
    275275msgid "Xoops Description" 
    276276msgstr "XOOPSのディスクリプション" 
    277277 
    278 #: xpressme_class.php:656 
     278#: xpressme_class.php:660 
    279279msgid "WordPress Description" 
    280280msgstr "WordPressのディスクリプション" 
    281281 
    282 #: xpressme_class.php:659 
     282#: xpressme_class.php:663 
    283283msgid "WordPress & Xoops Description" 
    284284msgstr "WordPressとXOOPSのディスクリプション" 
    285285 
    286 #: xpressme_class.php:691 
     286#: xpressme_class.php:669 
     287#, fuzzy 
     288msgid "Select the Header Robots Index." 
     289msgstr "ヘッダで使用するロボットインデックスの選択" 
     290 
     291#: xpressme_class.php:674 
     292#, fuzzy 
     293msgid "Xoops Robots Index" 
     294msgstr "XOOPSのロボットインデックス" 
     295 
     296#: xpressme_class.php:677 
     297#, fuzzy 
     298msgid "WordPress Robots Index" 
     299msgstr "WordPressのロボットインデックス" 
     300 
     301#: xpressme_class.php:710 
    287302msgid "XPressME Configuration Page" 
    288303msgstr "XPressMEの設定ページ" 
    289304 
    290 #: xpressme_class.php:696 
     305#: xpressme_class.php:715 
    291306msgid "Media Upload Base Path" 
    292307msgstr "メディアアップロードのベースパス設定" 
    293308 
    294 #: xpressme_class.php:697 
     309#: xpressme_class.php:716 
    295310msgid "Use XOOPS UPLOAD PATH" 
    296311msgstr "XOOPSのアップロードパスを使用する。" 
    297312 
    298 #: xpressme_class.php:698 
     313#: xpressme_class.php:717 
    299314msgid "USE WordPress BASE_PATH" 
    300315msgstr "WordPressのベースパスを使用する。" 
    301316 
    302 #: xpressme_class.php:701 
     317#: xpressme_class.php:720 
    303318msgid "Thema Sidebar Display" 
    304319msgstr "テーマ表示時にサイドバー表示する。" 
    305320 
    306 #: xpressme_class.php:706 
     321#: xpressme_class.php:725 
    307322msgid "The change tracking of the post is preserved" 
    308323msgstr "投稿の変更履歴を有効にする。" 
    309324 
    310 #: xpressme_class.php:712 
     325#: xpressme_class.php:731 
    311326msgid "Select Multi user mode" 
    312327msgstr "マルチユーザーモードを選択" 
    313328 
    314 #: xpressme_class.php:723 
     329#: xpressme_class.php:742 
    315330msgid "Is the posts author views counted?" 
    316331msgstr "投稿者の閲覧をカウントしますか?" 
    317332 
    318 #: xpressme_class.php:729 
     333#: xpressme_class.php:748 
    319334msgid "Is SQL debugging window displayed?" 
    320335msgstr "SQLデバッグウィンドを表示しますか?" 
    321336 
    322 #: xpressme_class.php:741 
     337#: xpressme_class.php:760 
    323338msgid "Update Config" 
    324339msgstr "更新" 
    325340 
    326 #: xpressme_class.php:742 
     341#: xpressme_class.php:761 
    327342msgid "Preset Config" 
    328343msgstr "プリセット" 
  • trunk/wp-content/plugins/xpressme/xpressme_class.php

    r201 r202  
    3131        var $meta_keyword_type; 
    3232        var $meta_description_type; 
     33        var $meta_robot_type; 
    3334        //constructor 
    3435        function XPressME_Class() 
     
    8384                $this->meta_keyword_type = 'xoops'; 
    8485                $this->meta_description_type = 'xoops'; 
     86                $this->meta_robot_type = 'xoops';        
    8587        } 
    8688         
     
    132134                        'is_multi_user' => $this->is_multi_user, 
    133135                        'meta_keyword_type' => $this->meta_keyword_type, 
    134                         'meta_description_type' => $this->meta_description_type 
     136                        'meta_description_type' => $this->meta_description_type, 
     137                        'meta_robot_type' => $this->meta_robot_type 
    135138                ); 
    136139                if ($mode == 'add_new') { 
     
    246249                $this->meta_keyword_type = stripslashes(trim($_POST['ch_meta_keyword_type'])); 
    247250                $this->meta_description_type = stripslashes(trim($_POST['ch_meta_description_type'])); 
     251                $this->meta_robot_type = stripslashes(trim($_POST['ch_meta_robot_type'])); 
    248252 
    249253                global $xoops_db; 
     
    661665                $form .= "</td>\n"; 
    662666                $form .= "</tr>\n"; 
     667 
     668                $form .= "<tr>\n"; 
     669                $form .=  "<td>" . __('Select the Header Robots Index.', 'xpressme') . "</td>\n"; 
     670                $form .= "<td>\n"; 
     671                $form .= '<select name="ch_meta_robot_type">' . "\n"; 
     672                $form .= '<option value="xoops" '; 
     673                if ($this->meta_robot_type == 'xoops') $form .= ' selected="selected"'; 
     674                $form .= '>'.__('Xoops Robots Index', 'xpressme') ."</option>\n"; 
     675                $form .= '<option value="wordpress" '; 
     676                if ($this->meta_robot_type == 'wordpress') $form .= ' selected="selected"'; 
     677                $form .= '>'.__('WordPress Robots Index', 'xpressme') ."</option>\n"; 
     678                $form .= "</select><br />\n"; 
     679                $form .= "</td>\n"; 
     680                $form .= "</tr>\n"; 
     681 
    663682                $form .= "</table>\n"; 
    664683                 
Note: See TracChangeset for help on using the changeset viewer.