XPressME Integration Kit

Trac


Ignore:
Timestamp:
Feb 26, 2010, 11:38:49 PM (15 years ago)
Author:
toemon
Message:

グループ権限割り当てがリセットされてしまうバグの修正 #289

Location:
trunk/xpressme_integration_kit/wp-content/plugins/xpressme
Files:
4 edited

Legend:

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

    r448 r518  
    88"Project-Id-Version: XPressME Plugin\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2009-11-20 12:51+0900\n" 
    11 "PO-Revision-Date: 2009-11-20 12:51+0900\n" 
     10"POT-Creation-Date: 2010-02-26 16:00+0900\n" 
     11"PO-Revision-Date: 2010-02-26 16:01+0900\n" 
    1212"Last-Translator: toemon <info@toemon.com>\n" 
    1313"Language-Team: toemon <info@toemon.com>\n" 
     
    4343msgstr "モジュール管理へ" 
    4444 
    45 #: xpressme.php:164 
     45#: xpressme.php:159 
    4646msgid "XPressME Display Setting" 
    4747msgstr "XPressME 表示設定" 
    4848 
    49 #: xpressme.php:170 
     49#: xpressme.php:165 
    5050msgid "Thema Sidebar Display" 
    5151msgstr "テーマ表示時にサイドバー表示する。" 
    5252 
    53 #: xpressme.php:171 
    54 #: xpressme.php:263 
    55 #: xpressme.php:269 
    56 #: xpressme.php:274 
    57 #: xpressme.php:280 
    58 #: xpressme_class.php:296 
    59 #: xpressme_class.php:314 
    60 #: xpressme_class.php:445 
    61 #: xpressme_class.php:456 
     53#: xpressme.php:166 
     54#: xpressme.php:259 
     55#: xpressme.php:265 
     56#: xpressme.php:270 
     57#: xpressme.php:276 
     58#: xpressme_class.php:330 
     59#: xpressme_class.php:348 
     60#: xpressme_class.php:479 
     61#: xpressme_class.php:490 
    6262msgid "YES" 
    6363msgstr "はい" 
    6464 
    65 #: xpressme.php:172 
    66 #: xpressme.php:264 
    67 #: xpressme.php:270 
    68 #: xpressme.php:275 
    69 #: xpressme.php:281 
    70 #: xpressme_class.php:297 
    71 #: xpressme_class.php:315 
    72 #: xpressme_class.php:446 
    73 #: xpressme_class.php:457 
     65#: xpressme.php:167 
     66#: xpressme.php:260 
     67#: xpressme.php:266 
     68#: xpressme.php:271 
     69#: xpressme.php:277 
     70#: xpressme_class.php:331 
     71#: xpressme_class.php:349 
     72#: xpressme_class.php:480 
     73#: xpressme_class.php:491 
    7474msgid "NO" 
    7575msgstr "いいえ" 
    7676 
    77 #: xpressme.php:181 
    78 #: xpressme.php:232 
    79 #: xpressme.php:291 
     77#: xpressme.php:176 
     78#: xpressme.php:228 
     79#: xpressme.php:287 
    8080msgid "Update Config" 
    8181msgstr "更新" 
    8282 
    83 #: xpressme.php:182 
    84 #: xpressme.php:233 
    85 #: xpressme.php:292 
     83#: xpressme.php:177 
     84#: xpressme.php:229 
     85#: xpressme.php:288 
    8686msgid "Preset Config" 
    8787msgstr "プリセット" 
    8888 
    89 #: xpressme.php:214 
     89#: xpressme.php:210 
    9090msgid "XPressME Integration Setting" 
    9191msgstr "XPressME 統合設定" 
    9292 
    93 #: xpressme.php:218 
     93#: xpressme.php:214 
    9494msgid "Media Upload Base Path" 
    9595msgstr "メディアアップロードのベースパス設定" 
    9696 
    97 #: xpressme.php:222 
     97#: xpressme.php:218 
    9898msgid "Use XOOPS UPLOAD PATH" 
    9999msgstr "XOOPSのアップロードパスを使用する。" 
    100100 
    101 #: xpressme.php:223 
     101#: xpressme.php:219 
    102102msgid "USE WordPress BASE_PATH" 
    103103msgstr "WordPressのベースパスを使用する。" 
    104104 
    105 #: xpressme.php:257 
     105#: xpressme.php:253 
    106106msgid "XPressME Other Setting" 
    107107msgstr "XPressME その他の設定" 
    108108 
    109 #: xpressme.php:262 
     109#: xpressme.php:258 
    110110msgid "The change tracking of the post is preserved" 
    111111msgstr "投稿の変更履歴を有効にする。" 
    112112 
    113 #: xpressme.php:268 
     113#: xpressme.php:264 
    114114msgid "Select Multi user mode" 
    115115msgstr "マルチユーザーモードを選択" 
    116116 
    117 #: xpressme.php:273 
     117#: xpressme.php:269 
    118118msgid "Is the posts author views counted?" 
    119119msgstr "投稿者の閲覧をカウントしますか?" 
    120120 
    121 #: xpressme.php:279 
     121#: xpressme.php:275 
    122122msgid "Is SQL debugging window displayed?" 
    123123msgstr "SQLデバッグウィンドを表示しますか?" 
    124124 
    125 #: xpressme.php:284 
     125#: xpressme.php:280 
    126126msgid "Select warning display of block file version check" 
    127127msgstr "ブロックファイルのバージョンチェック時における警告表示" 
    128128 
    129 #: xpressme.php:285 
     129#: xpressme.php:281 
    130130msgid "Do display" 
    131131msgstr "表示する" 
    132132 
    133 #: xpressme.php:286 
     133#: xpressme.php:282 
    134134msgid "Do not display" 
    135135msgstr "表示しない" 
    136136 
    137137#: xpressme_class.php:61 
    138 #: xpressme_class.php:243 
     138#: xpressme_class.php:277 
    139139msgid "Older Post" 
    140140msgstr "前の投稿へ" 
    141141 
    142142#: xpressme_class.php:62 
    143 #: xpressme_class.php:246 
     143#: xpressme_class.php:280 
    144144msgid "Newer Post" 
    145145msgstr "次の投稿へ" 
    146146 
    147147#: xpressme_class.php:64 
    148 #: xpressme_class.php:249 
     148#: xpressme_class.php:283 
    149149msgid "Older Entries" 
    150150msgstr "前ページへ" 
    151151 
    152152#: xpressme_class.php:65 
    153 #: xpressme_class.php:252 
     153#: xpressme_class.php:286 
    154154msgid "Newer Entries" 
    155155msgstr "次ページへ" 
     
    157157#: xpressme_class.php:79 
    158158#: xpressme_class.php:80 
    159 #: xpressme_class.php:255 
     159#: xpressme_class.php:289 
    160160msgid "Read the rest of this entry &raquo;" 
    161161msgstr "この投稿の続きを読む &raquo;" 
    162162 
    163 #: xpressme_class.php:356 
     163#: xpressme_class.php:390 
    164164msgid "Single Post Navi Setting" 
    165165msgstr "シングルポストナビの設定" 
    166166 
    167 #: xpressme_class.php:361 
    168 #: xpressme_class.php:406 
     167#: xpressme_class.php:395 
     168#: xpressme_class.php:440 
    169169msgid "Adjustment of Navi link display position" 
    170170msgstr "リンクの表示位置設定" 
    171171 
    172 #: xpressme_class.php:364 
     172#: xpressme_class.php:398 
    173173msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 
    174174msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 
    175175 
    176 #: xpressme_class.php:365 
     176#: xpressme_class.php:399 
    177177msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 
    178178msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 
    179179 
    180 #: xpressme_class.php:371 
     180#: xpressme_class.php:405 
    181181msgid "Select Display name of PostNavi Link" 
    182182msgstr "表示するリンクテキストを選択" 
    183183 
    184 #: xpressme_class.php:374 
     184#: xpressme_class.php:408 
    185185msgid "Title of post" 
    186186msgstr "投稿記事のタイトルを表示" 
    187187 
    188 #: xpressme_class.php:375 
     188#: xpressme_class.php:409 
    189189msgid "Title of Navi" 
    190190msgstr "ナビタイトルを表示" 
    191191 
    192 #: xpressme_class.php:381 
     192#: xpressme_class.php:415 
    193193msgid "Display Navi Title of Old Post Link" 
    194194msgstr "古い記事へのナビタイトルを設定" 
    195195 
    196 #: xpressme_class.php:388 
     196#: xpressme_class.php:422 
    197197msgid "Display Navi Title of Newer Post Link" 
    198198msgstr "より新しい記事へのナビタイトルを設定" 
    199199 
    200 #: xpressme_class.php:401 
     200#: xpressme_class.php:435 
    201201msgid "Posts List Page Navi Setting" 
    202202msgstr "ポストリストページナビの設定" 
    203203 
    204 #: xpressme_class.php:409 
     204#: xpressme_class.php:443 
    205205msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 
    206206msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 
    207207 
    208 #: xpressme_class.php:410 
     208#: xpressme_class.php:444 
    209209msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 
    210210msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 
    211211 
    212 #: xpressme_class.php:416 
     212#: xpressme_class.php:450 
    213213msgid "Display Navi Title of Old Page Link" 
    214214msgstr "古いページへのナビタイトルを設定" 
    215215 
    216 #: xpressme_class.php:423 
     216#: xpressme_class.php:457 
    217217msgid "Display Navi Title of Newer Page Link" 
    218218msgstr "より新しいページへのナビタイトルを設定" 
    219219 
    220 #: xpressme_class.php:436 
     220#: xpressme_class.php:470 
    221221msgid "Dashboard feed Display Setting" 
    222222msgstr "ダッシュボード フィード表示設定" 
    223223 
    224 #: xpressme_class.php:442 
     224#: xpressme_class.php:476 
    225225msgid "Display XPressMe Integration Kit Blog" 
    226226msgstr "XPressME Integration Kit ブログを表示する。" 
    227227 
    228 #: xpressme_class.php:453 
     228#: xpressme_class.php:487 
    229229msgid "Display XPressMe Integration Kit Forum" 
    230230msgstr "XPressME Integration Kit フォーラムを表示する。" 
    231231 
    232 #: xpressme_class.php:471 
     232#: xpressme_class.php:505 
    233233msgid "Role Setting at Login" 
    234234msgstr "ログイン時の権限設定" 
    235235 
    236 #: xpressme_class.php:474 
     236#: xpressme_class.php:508 
    237237msgid "XOOPS Groupe" 
    238238msgstr "XOOPSグループ名" 
    239239 
    240 #: xpressme_class.php:474 
     240#: xpressme_class.php:508 
    241241msgid "WordPress Role" 
    242242msgstr "WordPressでの権限" 
    243243 
    244 #: xpressme_class.php:474 
     244#: xpressme_class.php:508 
    245245msgid "Role is set at each login" 
    246246msgstr "ログイン時、常に権限を更新する" 
    247247 
    248 #: xpressme_class.php:500 
    249 #: xpressme_class.php:504 
    250 #: xpressme_class.php:507 
     248#: xpressme_class.php:513 
     249msgid "module cannot be read" 
     250msgstr "モジュールアクセス権限なし" 
     251 
     252#: xpressme_class.php:545 
     253#: xpressme_class.php:549 
     254#: xpressme_class.php:552 
    251255msgid "Default Role of WordPress" 
    252256msgstr "WordPressのデフォルト権限" 
    253257 
    254 #: xpressme_class.php:501 
    255 #: xpressme_class.php:505 
    256 #: xpressme_class.php:508 
     258#: xpressme_class.php:546 
     259#: xpressme_class.php:550 
     260#: xpressme_class.php:553 
    257261msgid "Group User Doesn't Register" 
    258262msgstr "ユーザ登録しない" 
    259263 
    260 #: xpressme_class.php:521 
     264#: xpressme_class.php:566 
    261265msgid "Only the Admin can set Group Role Setting" 
    262266msgstr "管理者だけがグループ権限を設定できます。" 
    263267 
    264 #: xpressme_class.php:541 
     268#: xpressme_class.php:586 
    265269msgid "WordPress MU cannot integrate the comments." 
    266270msgstr "WordPress MUはコメント統合できません。" 
    267271 
    268 #: xpressme_class.php:543 
     272#: xpressme_class.php:588 
    269273msgid "Do Not Comment Integration." 
    270274msgstr "コメント統合しません。" 
    271275 
    272 #: xpressme_class.php:578 
     276#: xpressme_class.php:623 
    273277msgid "Comment integration with D3Forum" 
    274278msgstr "D3Forumとのコメント統合" 
    275279 
    276 #: xpressme_class.php:580 
     280#: xpressme_class.php:625 
    277281msgid "Select the forum of D3Forum that does the comment integration from the following lists." 
    278282msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 
    279283 
    280 #: xpressme_class.php:585 
     284#: xpressme_class.php:630 
    281285msgid "Select the Type of display of D3Forum comment." 
    282286msgstr "D3Forumの表示タイプを選択" 
    283287 
    284 #: xpressme_class.php:587 
    285 #: xpressme_class.php:590 
     288#: xpressme_class.php:632 
     289#: xpressme_class.php:635 
    286290msgid "Flat" 
    287291msgstr "フラット" 
    288292 
    289 #: xpressme_class.php:588 
    290 #: xpressme_class.php:591 
     293#: xpressme_class.php:633 
     294#: xpressme_class.php:636 
    291295msgid "Threaded" 
    292296msgstr "スレッド" 
    293297 
    294 #: xpressme_class.php:594 
     298#: xpressme_class.php:639 
    295299msgid "Select the order of display of D3Forum comment." 
    296300msgstr "D3Forumコメントの表示順を選択" 
    297301 
    298 #: xpressme_class.php:596 
    299 #: xpressme_class.php:599 
     302#: xpressme_class.php:641 
     303#: xpressme_class.php:644 
    300304msgid "DESC" 
    301305msgstr "降順" 
    302306 
    303 #: xpressme_class.php:597 
    304 #: xpressme_class.php:600 
     307#: xpressme_class.php:642 
     308#: xpressme_class.php:645 
    305309msgid "ASC" 
    306310msgstr "昇順" 
    307311 
    308 #: xpressme_class.php:603 
     312#: xpressme_class.php:648 
    309313msgid "Number of displays of D3Forum comments." 
    310314msgstr "D3Forumのコメント表示数" 
    311315 
    312 #: xpressme_class.php:606 
     316#: xpressme_class.php:651 
    313317msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 
    314318msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 
    315319 
    316 #: xpressme_class.php:607 
     320#: xpressme_class.php:652 
    317321msgid "Export to D3Forum" 
    318322msgstr "D3Forumへ一括エクスポート" 
    319323 
    320 #: xpressme_class.php:608 
     324#: xpressme_class.php:653 
    321325msgid "Import from D3Forum" 
    322326msgstr "D3Forumから一括インポート" 
    323327 
    324 #: xpressme_class.php:621 
     328#: xpressme_class.php:666 
    325329msgid "Contents Excerpt Setting" 
    326330msgstr "記事抜粋の設定" 
    327331 
    328 #: xpressme_class.php:626 
     332#: xpressme_class.php:671 
    329333msgid "Is the excerpt display done with the archive of contents?" 
    330334msgstr "記事のアーカイブで抜粋表示を行いますか?" 
    331335 
    332 #: xpressme_class.php:633 
     336#: xpressme_class.php:678 
    333337msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 
    334338msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 
    335339 
    336 #: xpressme_class.php:640 
     340#: xpressme_class.php:685 
    337341msgid "Excerpt length of word for ASCII contents" 
    338342msgstr "ASCIIコンテンツの抜粋単語数" 
    339343 
    340 #: xpressme_class.php:647 
     344#: xpressme_class.php:692 
    341345msgid "Excerpt length of character for multibyte contents" 
    342346msgstr "マルチバイトコンテンツの抜粋文字数" 
    343347 
    344 #: xpressme_class.php:654 
     348#: xpressme_class.php:699 
    345349msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)" 
    346350msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)" 
    347351 
    348 #: xpressme_class.php:661 
     352#: xpressme_class.php:706 
    349353msgid "This text is displayed in the link that more tag (&lt;!--more--&gt;). " 
    350354msgstr "more タグ (&lt;!--more--&gt;)のリンクに表示されるテキスト" 
    351355 
    352 #: xpressme_class.php:673 
     356#: xpressme_class.php:718 
    353357msgid "Display Mode Setting" 
    354358msgstr "表示モード設定" 
    355359 
    356 #: xpressme_class.php:676 
     360#: xpressme_class.php:721 
    357361msgid "Select the XPressME Display Mode." 
    358362msgstr "XPressMEの表示モードの選択" 
    359363 
    360 #: xpressme_class.php:681 
     364#: xpressme_class.php:726 
    361365msgid "Xoops Mode" 
    362366msgstr "XOOPSモード" 
    363367 
    364 #: xpressme_class.php:685 
     368#: xpressme_class.php:730 
    365369msgid "WordPress Mode" 
    366370msgstr "WordPressモード" 
    367371 
    368 #: xpressme_class.php:689 
     372#: xpressme_class.php:734 
    369373msgid "User select" 
    370374msgstr "ユーザによる選択" 
    371375 
    372 #: xpressme_class.php:694 
     376#: xpressme_class.php:739 
    373377msgid "Select the theme used in the XOOPS Mode." 
    374378msgstr "XOOPSモードで使用するテーマを選択" 
    375379 
    376 #: xpressme_class.php:699 
     380#: xpressme_class.php:744 
    377381msgid "Use WordPress Selected Themes" 
    378382msgstr "WordPressで選択したテーマを使う" 
    379383 
    380 #: xpressme_class.php:717 
     384#: xpressme_class.php:762 
    381385msgid "Header Meta Option" 
    382386msgstr "ヘッダメタ オプション" 
    383387 
    384 #: xpressme_class.php:722 
     388#: xpressme_class.php:767 
    385389msgid "Select the Header keyword." 
    386390msgstr "ヘッダで使用するキーワードの選択" 
    387391 
    388 #: xpressme_class.php:727 
     392#: xpressme_class.php:772 
    389393msgid "Xoops KeyWord" 
    390394msgstr "XOOPSのキーワード" 
    391395 
    392 #: xpressme_class.php:730 
     396#: xpressme_class.php:775 
    393397msgid "WordPress KeyWord" 
    394398msgstr "WordPressのキーワード" 
    395399 
    396 #: xpressme_class.php:733 
     400#: xpressme_class.php:778 
    397401msgid "WordPress & Xoops KeyWord" 
    398402msgstr "WordPressjとXOOPSのキーワード" 
    399403 
    400 #: xpressme_class.php:739 
     404#: xpressme_class.php:784 
    401405msgid "Select the Header Description." 
    402406msgstr "ヘッダで使用するディスクリプション(説明)の選択" 
    403407 
    404 #: xpressme_class.php:744 
     408#: xpressme_class.php:789 
    405409msgid "Xoops Description" 
    406410msgstr "XOOPSのディスクリプション" 
    407411 
    408 #: xpressme_class.php:747 
     412#: xpressme_class.php:792 
    409413msgid "WordPress Description" 
    410414msgstr "WordPressのディスクリプション" 
    411415 
    412 #: xpressme_class.php:750 
     416#: xpressme_class.php:795 
    413417msgid "WordPress & Xoops Description" 
    414418msgstr "WordPressとXOOPSのディスクリプション" 
    415419 
    416 #: xpressme_class.php:756 
     420#: xpressme_class.php:801 
    417421msgid "Select the Header Robots Index." 
    418422msgstr "ヘッダで使用するロボットインデックスの選択" 
    419423 
    420 #: xpressme_class.php:761 
     424#: xpressme_class.php:806 
    421425msgid "Xoops Robots Index" 
    422426msgstr "XOOPSのロボットインデックス" 
    423427 
    424 #: xpressme_class.php:764 
     428#: xpressme_class.php:809 
    425429msgid "WordPress Robots Index" 
    426430msgstr "WordPressのロボットインデックス" 
    427431 
    428 #: xpressme_class.php:793 
     432#: xpressme_class.php:838 
    429433#, php-format 
    430434msgid "Unable to create directory %s. Is its parent directory writable by the server?" 
     
    498502msgstr "%sのパーマリンク" 
    499503 
    500 #: include/custom_functions.php:429 
    501 #: include/custom_functions.php:459 
     504#: include/custom_functions.php:431 
     505#: include/custom_functions.php:461 
    502506#, php-format 
    503507msgid "views :%d" 
    504508msgstr "閲覧数 :%d" 
    505509 
    506 #: include/custom_functions.php:623 
     510#: include/custom_functions.php:625 
    507511msgid "Main" 
    508512msgstr "メイン" 
    509513 
    510 #: include/custom_functions.php:626 
     514#: include/custom_functions.php:628 
    511515#, php-format 
    512516msgid "Archive for the &#8216;%s&#8217; Category" 
    513517msgstr "カテゴリー &#8216;%s&#8217; のアーカイブ" 
    514518 
    515 #: include/custom_functions.php:629 
     519#: include/custom_functions.php:631 
    516520#, php-format 
    517521msgid "Posts Tagged &#8216;%s&#8217;" 
    518522msgstr "&#8216;%s&#8217; タグのついている投稿" 
    519523 
    520 #: include/custom_functions.php:632 
     524#: include/custom_functions.php:634 
    521525#, php-format 
    522526msgid "Archive for %s|Daily archive page" 
    523527msgstr "%sの日別アーカイブ" 
    524528 
    525 #: include/custom_functions.php:632 
     529#: include/custom_functions.php:634 
    526530msgid "F jS, Y" 
    527531msgstr "Y年n月j日" 
    528532 
    529 #: include/custom_functions.php:634 
     533#: include/custom_functions.php:636 
    530534#, php-format 
    531535msgid "Archive for %s|Monthly archive page" 
    532536msgstr "%sの月別アーカイブ" 
    533537 
    534 #: include/custom_functions.php:634 
     538#: include/custom_functions.php:636 
    535539msgid "F, Y" 
    536540msgstr "Y年n月" 
    537541 
    538 #: include/custom_functions.php:636 
     542#: include/custom_functions.php:638 
    539543#, php-format 
    540544msgid "Archive for %s|Yearly archive page" 
    541545msgstr "%sの年別アーカイブ " 
    542546 
    543 #: include/custom_functions.php:636 
     547#: include/custom_functions.php:638 
    544548msgid "Y" 
    545549msgstr "Y年" 
    546550 
    547 #: include/custom_functions.php:639 
     551#: include/custom_functions.php:641 
    548552#, php-format 
    549553msgid "Archive for the &#8216;%s&#8217; Author" 
    550554msgstr "投稿者 &#8216;%s&#8217; のアーカイブ" 
    551555 
    552 #: include/custom_functions.php:642 
     556#: include/custom_functions.php:644 
    553557#, php-format 
    554558msgid "Search Results of word &#8216;%s&#8217;" 
    555559msgstr "&#8216;%s&#8217; の検索結果" 
    556560 
    557 #: include/custom_functions.php:648 
    558561#: include/custom_functions.php:650 
     562#: include/custom_functions.php:652 
    559563#, php-format 
    560564msgid "Article of %s" 
    561565msgstr "%sの記事" 
    562566 
    563 #: include/custom_functions.php:672 
     567#: include/custom_functions.php:674 
    564568#, php-format 
    565569msgid "From %1$s on site %2$s" 
    566570msgstr "サイト %2$s の %1$s より" 
    567571 
    568 #: include/custom_functions.php:693 
     572#: include/custom_functions.php:695 
    569573msgid "No Trackback/Pingback" 
    570574msgstr "トラックバック・ピンバックはありません" 
    571575 
    572 #: include/custom_functions.php:694 
     576#: include/custom_functions.php:696 
    573577msgid "One Trackback/Pingback" 
    574578msgstr "トラックバック・ピンバック 1 件" 
    575579 
    576 #: include/custom_functions.php:695 
     580#: include/custom_functions.php:697 
    577581msgid "% TrackBack/Pingback" 
    578582msgstr "トラックバック・ピンバック % 件" 
     
    620624msgstr "WordPressモードへ切替" 
    621625 
    622 #: include/xpress_common_functions.php:390 
     626#: include/xpress_common_functions.php:382 
    623627#, php-format 
    624628msgid "Block file %1$s is an old version %2$s.<br />used block file %3$s of new version %4$s." 
     
    629633msgstr "XPressME アップグレード" 
    630634 
    631 #: include/xpress_upgrade.php:28 
     635#: include/xpress_upgrade.php:27 
    632636#, php-format 
    633637msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 
    634638msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 
    635639 
    636 #: include/xpress_upgrade.php:32 
     640#: include/xpress_upgrade.php:31 
    637641msgid "There is a new version of XPressME Integration Kit available for upgrade" 
    638642msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 
    639643 
    640 #: include/xpress_upgrade.php:35 
     644#: include/xpress_upgrade.php:33 
    641645#, php-format 
    642646msgid "You can upgrade to version %s download the package and install it manually:" 
    643647msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    644648 
    645 #: include/xpress_upgrade.php:38 
    646 #: include/xpress_upgrade.php:61 
     649#: include/xpress_upgrade.php:36 
     650#: include/xpress_upgrade.php:60 
    647651#, php-format 
    648652msgid "Download %s" 
    649653msgstr "%s をダウンロード" 
    650654 
    651 #: include/xpress_upgrade.php:43 
     655#: include/xpress_upgrade.php:41 
     656#: include/xpress_upgrade.php:68 
    652657#, php-format 
    653658msgid "You can download the differential file from version %s to %s and upgrade it manually:" 
    654659msgstr "バージョン%sから%sへの差分ファイルをダウンロードし、手動でアップグレードすることができます:" 
    655660 
    656 #: include/xpress_upgrade.php:46 
     661#: include/xpress_upgrade.php:44 
     662#: include/xpress_upgrade.php:71 
    657663#, php-format 
    658664msgid "Download differential file for %s" 
    659665msgstr "%sの差分ファイルをダウンロード" 
    660666 
    661 #: include/xpress_upgrade.php:50 
     667#: include/xpress_upgrade.php:48 
    662668msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 
    663669msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 
    664670 
    665 #: include/xpress_upgrade.php:58 
     671#: include/xpress_upgrade.php:57 
    666672#, php-format 
    667673msgid "You can use the development version %s download the package and install it manually:" 
    668674msgstr "開発バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 
    669675 
    670 #: include/xpress_upgrade.php:67 
     676#: include/xpress_upgrade.php:78 
    671677#, php-format 
    672678msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 
    673679msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 
    674680 
    675 #: include/xpress_upgrade.php:212 
     681#: include/xpress_upgrade.php:235 
    676682#, php-format 
    677683msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 
    678684msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 
    679685 
    680 #: include/xpress_upgrade.php:214 
     686#: include/xpress_upgrade.php:237 
    681687#, php-format 
    682688msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r454 r518  
    205205                }                
    206206                 
     207                $xpress_config->GroupeRoleCheck(); 
    207208                echo    '<div class="wrap">'."\n"; 
    208209                echo            '<div id="icon-options-general" class="icon32"><br /></div>'."\n"; 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php

    r516 r518  
    158158                global $xoops_db; 
    159159                 
    160                 // table sync 
    161160                $table = get_wp_prefix() . 'group_role'; 
    162                 $xoops_group = get_xoops_prefix() . 'groups'; 
    163                 $xoops_group_permission = get_xoops_prefix() . 'group_permission'; 
     161                 
     162                $sql=  "SELECT * FROM $table"; 
     163                $this->groupe_role =  $xoops_db->get_results($sql); 
     164        } 
     165 
     166        function GroupeRoleCheck() { 
     167                global $xoops_db; 
    164168                 
    165169                $module_id = get_xpress_modid(); 
    166170                 
    167                 $sql=  "SELECT * FROM $table"; 
    168                 $before_groupes = $xoops_db->get_results($sql); 
    169                  
    170                 $sql = "DELETE FROM $table"; 
    171                 $xoops_db->query($sql); 
    172                  
    173                 $sql =  "SELECT *  FROM $xoops_group_permission WHERE gperm_itemid = $module_id"; 
     171                $group_role_table = get_wp_prefix() . 'group_role'; 
     172                $xoops_group_table = get_xoops_prefix() . 'groups'; 
     173                $xoops_group_permission_table = get_xoops_prefix() . 'group_permission'; 
     174                 
     175 
     176                 
     177                $sql =  "SELECT *  FROM $xoops_group_permission_table WHERE gperm_itemid = $module_id"; 
    174178                $gperms = $xoops_db->get_results($sql); 
    175179                 
    176                 $sql =  "SELECT * FROM $xoops_group WHERE group_type <> 'Anonymous'"; 
     180                $sql =  "SELECT * FROM $xoops_group_table WHERE group_type <> 'Anonymous'"; 
    177181                $groupes = $xoops_db->get_results($sql); 
    178                 $insert_sql = ''; 
     182 
     183                // list of groups registered with XOOPS 
     184                $xoops_groupid_list = ''; 
    179185                foreach ($groupes as $groupe) { 
    180                         $parmsql =  "SELECT *  FROM $xoops_group_permission WHERE gperm_itemid = $module_id AND gperm_groupid = $groupe->groupid"; 
    181                         $gperms = $xoops_db->get_results($parmsql); 
    182                         $parmission = ''; 
     186                        if (!empty($xoops_groupid_list)) $xoops_groupid_list .= ','; 
     187                        $xoops_groupid_list .= $groupe->groupid; 
     188                } 
     189                 
     190                // delete the group deleted by the XOOPS group from a group role database 
     191                if (!empty($xoops_groupid_list)){ 
     192                        $del_sql = "DELETE FROM $group_role_table WHERE groupid NOT IN ($xoops_groupid_list)"; 
     193                        $xoops_db->query($del_sql); 
     194                } 
     195                 
     196                $sql =  "SELECT *  FROM $group_role_table"; 
     197                $groupes_role = $xoops_db->get_results($sql); 
     198                 
     199                foreach ($groupes as $groupe) { 
     200                        //get group parmission 
     201                        $group_type = ''; 
    183202                        foreach ($gperms as $gperm) { 
     203                                if ($gperm->gperm_groupid == $groupe->groupid){ 
     204                                        $group_type = $gperm->gperm_name; 
     205                                        if ($group_type == 'module_admin') break; 
     206                                } 
     207                        } 
     208                        if (empty($group_type)) $group_type = 'module_inhibit'; 
     209                         
     210                        $found = false; 
     211                        foreach ($groupes_role as $groupe_role) { 
     212                                if ($groupe_role->groupid == $groupe->groupid){ 
     213                                        $role = $groupe_role->role; 
     214                                        if ($group_type == 'module_admin') $role = 'administrator'; 
     215                                        if ($group_type == 'module_inhibit') $role = ''; 
     216                                        $edit_sql = "UPDATE $group_role_table SET group_type='$group_type',role='$role' WHERE groupid = $groupe->groupid"; 
     217                                        $found = true; 
     218                                        break; 
     219                                } 
     220                        } 
     221                        if(!$found){ 
     222                                $role = ''; 
     223                                if ($group_type == 'module_admin') $role = 'administrator'; 
     224 
     225                                $edit_sql  = "INSERT INTO  $group_role_table "; 
     226                                $edit_sql .= "(groupid , name , description , group_type , role , login_all) "; 
     227                                $edit_sql .= "VALUES ("; 
     228                                $edit_sql .= $groupe->groupid . ', '; 
     229                                $edit_sql .= "'" . $groupe->name . "' , "; 
     230                                $edit_sql .= "'" . $groupe->description . "' , "; 
     231                                $edit_sql .= "'" . $parmission . "' , "; 
     232                                $edit_sql .= "'" . $role . "' , '"; 
     233                                $edit_sql .= $login_all . "')"; 
     234                        } 
     235                        $xoops_db->query($edit_sql); 
     236                } 
     237                $this->GroupeRoleRead(); 
     238        } 
     239         
     240        function get_groupe_perm_for_modules($module_id ,$group_id) 
     241        { 
     242                $parmsql =  "SELECT *  FROM $xoops_group_permission WHERE gperm_itemid = $module_id AND gperm_groupid = $group_id"; 
     243                $gperms = $xoops_db->get_results($parmsql); 
     244                $parmission = ''; 
     245                foreach ($gperms as $gperm) { 
    184246                                $parmission = $gperm->gperm_name; 
    185247                                if ($parmission == 'module_admin') break; 
    186                         } 
    187                          
    188                         if (!empty($parmission)){ 
    189                                 $role = '';  
    190                                 foreach ($before_groupes as $before_groupe) { 
    191                                         if ($groupe->groupid == $before_groupe->groupid) { 
    192                                                 $role = $before_groupe->role; 
    193                                                 $login_all = $before_groupe->login_all; 
    194                                         } 
    195                                 } 
    196                                 if ($parmission == 'module_admin') $role = 'administrator'; 
    197                                  
    198                                 $insert_sql  = "INSERT INTO  $table "; 
    199                                 $insert_sql .= "(groupid , name , description , group_type , role , login_all) "; 
    200                                 $insert_sql .= "VALUES ("; 
    201                                 $insert_sql .= $groupe->groupid . ', '; 
    202                                 $insert_sql .= "'" . $groupe->name . "' , "; 
    203                                 $insert_sql .= "'" . $groupe->description . "' , "; 
    204                                 $insert_sql .= "'" . $parmission . "' , "; 
    205                                 $insert_sql .= "'" . $role . "' , '"; 
    206                                 $insert_sql .= $login_all . "')"; 
    207                                 $xoops_db->query($insert_sql); 
    208                         } 
    209                 } 
    210                  
    211                 $sql=  "SELECT * FROM $table"; 
    212                  
    213                 $this->groupe_role =  $xoops_db->get_results($sql); 
    214                         $sql=  "SELECT * FROM $table";   
     248                } 
     249                return $parmission; 
    215250        } 
    216251         
     
    474509                $form .= '<tr><td>' . __('XOOPS Groupe', 'xpressme') . '</td><td>' . __('WordPress Role', 'xpressme') . '</td><td>' . __('Role is set at each login', 'xpressme') . "</td></tr>\n"; 
    475510                foreach ($this->groupe_role as $groupe) { 
     511                        if ($groupe->group_type == 'module_inhibit'){ 
     512                                $form .= "<tr>"; 
     513                                $form .= "<td> $groupe->name </td>"; 
     514                                $form .= "<td>" .  __('module cannot be read', 'xpressme') . "</td>"; 
     515                                $form .= "</tr>\n";      
     516                                continue; 
     517                        } 
    476518                        $form .= "<tr>"; 
    477519                        $form .= "<td> $groupe->name </td>"; 
Note: See TracChangeset for help on using the changeset viewer.