- Timestamp:
- Aug 24, 2009, 8:53:44 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/plugins/xpressme
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po
r354 r368 4 4 # toemon <info@toemon.com> 5 5 # 6 #, fuzzy7 6 msgid "" 8 7 msgstr "" 9 8 "Project-Id-Version: XPressME Plugin\n" 10 9 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2009-0 7-24 17:20+0900\n"12 "PO-Revision-Date: 2009-0 7-24 17:22+0900\n"10 "POT-Creation-Date: 2009-08-24 20:14+0900\n" 11 "PO-Revision-Date: 2009-08-24 20:26+0900\n" 13 12 "Last-Translator: toemon <info@toemon.com>\n" 14 13 "Language-Team: toemon <info@toemon.com>\n" … … 24 23 "X-Poedit-SearchPath-0: .\n" 25 24 26 #: xpressme.php:3 425 #: xpressme.php:33 27 26 msgid "Display Settings" 28 27 msgstr "表示設定" 29 28 30 #: xpressme.php:3 529 #: xpressme.php:34 31 30 msgid "Integration Settings" 32 31 msgstr "統合設定" 33 32 34 #: xpressme.php:3 633 #: xpressme.php:35 35 34 msgid "Other Settings" 36 35 msgstr "その他の設定" 37 36 38 37 #: xpressme.php:37 38 msgid "Upgrade" 39 msgstr "アップグレード" 40 41 #: xpressme.php:38 39 42 msgid "to XOOPS Admin" 40 43 msgstr "XOOPS管理へ" 41 44 42 #: xpressme.php:13 745 #: xpressme.php:138 43 46 msgid "XPressME Display Setting" 44 47 msgstr "XPressME 表示設定" 45 48 46 #: xpressme.php:14 349 #: xpressme.php:144 47 50 msgid "Thema Sidebar Display" 48 51 msgstr "テーマ表示時にサイドバー表示する。" 49 50 #: xpressme.php:14451 #: xpressme.php:23352 #: xpressme.php:23953 #: xpressme.php:24454 #: xpressme.php:25055 #: xpressme_class.php:27056 #: xpressme_class.php:28657 msgid "YES"58 msgstr "はい"59 52 60 53 #: xpressme.php:145 … … 65 58 #: xpressme_class.php:271 66 59 #: xpressme_class.php:287 60 msgid "YES" 61 msgstr "はい" 62 63 #: xpressme.php:146 64 #: xpressme.php:235 65 #: xpressme.php:241 66 #: xpressme.php:246 67 #: xpressme.php:252 68 #: xpressme_class.php:272 69 #: xpressme_class.php:288 67 70 msgid "NO" 68 71 msgstr "いいえ" 69 70 #: xpressme.php:15371 #: xpressme.php:20272 #: xpressme.php:25673 msgid "Update Config"74 msgstr "更新"75 72 76 73 #: xpressme.php:154 77 74 #: xpressme.php:203 78 75 #: xpressme.php:257 76 msgid "Update Config" 77 msgstr "更新" 78 79 #: xpressme.php:155 80 #: xpressme.php:204 81 #: xpressme.php:258 79 82 msgid "Preset Config" 80 83 msgstr "プリセット" 81 84 82 #: xpressme.php:18 685 #: xpressme.php:187 83 86 msgid "XPressME Integration Setting" 84 87 msgstr "XPressME 統合設定" 85 88 86 #: xpressme.php:19 189 #: xpressme.php:192 87 90 msgid "Media Upload Base Path" 88 91 msgstr "メディアアップロードのベースパス設定" 89 92 90 #: xpressme.php:19 293 #: xpressme.php:193 91 94 msgid "Use XOOPS UPLOAD PATH" 92 95 msgstr "XOOPSのアップロードパスを使用する。" 93 96 94 #: xpressme.php:19 397 #: xpressme.php:194 95 98 msgid "USE WordPress BASE_PATH" 96 99 msgstr "WordPressのベースパスを使用する。" 97 100 98 #: xpressme.php:22 7101 #: xpressme.php:228 99 102 msgid "XPressME Other Setting" 100 103 msgstr "XPressME その他の設定" 101 104 102 #: xpressme.php:23 2105 #: xpressme.php:233 103 106 msgid "The change tracking of the post is preserved" 104 107 msgstr "投稿の変更履歴を有効にする。" 105 108 106 #: xpressme.php:23 8109 #: xpressme.php:239 107 110 msgid "Select Multi user mode" 108 111 msgstr "マルチユーザーモードを選択" 109 112 110 #: xpressme.php:24 3113 #: xpressme.php:244 111 114 msgid "Is the posts author views counted?" 112 115 msgstr "投稿者の閲覧をカウントしますか?" 113 116 114 #: xpressme.php:2 49117 #: xpressme.php:250 115 118 msgid "Is SQL debugging window displayed?" 116 119 msgstr "SQLデバッグウィンドを表示しますか?" 117 120 118 #: xpressme_class.php:51 119 #: xpressme_class.php:222 121 #: xpressme.php:274 122 msgid "XPressME Upgrade" 123 msgstr "XPressME アップグレード" 124 125 #: xpressme.php:288 126 #, php-format 127 msgid "You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href=\"%2$s\">stay updated</a>." 128 msgstr "お使いの XPressME Integration Kit は開発版 (%1$s) です。すばらしい ! どうぞ<a href=\"%2$s\">最新版を使い続けてください</a>。" 129 130 #: xpressme.php:292 131 msgid "There is a new version of XPressME Integration Kit available for upgrade" 132 msgstr "新しいバージョンの XPressME Integration Kit にアップグレードが可能です" 133 134 #: xpressme.php:295 135 #, php-format 136 msgid "You can upgrade to version %s download the package and install it manually:" 137 msgstr "バージョン %s のパッケージを手動でダウンロードしてインストールすることができます。" 138 139 #: xpressme.php:298 140 #, php-format 141 msgid "Download %s" 142 msgstr "%s をダウンロード" 143 144 #: xpressme.php:301 145 msgid "You have the latest version of XPressME Integration Kit. You do not need to upgrade" 146 msgstr "最新バージョンの XPressME Integration Kit をご利用中です。アップグレードの必要はありません。" 147 148 #: xpressme.php:305 149 #, php-format 150 msgid "There is no response from <a href=\"%s\">version check API</a> now. sorry, please confirm it after." 151 msgstr "現在、<a href=\"%s\">version check API</a>からのレスポンスがありません。 申し訳ありませんが、しばらく後で確認してください。" 152 153 #: xpressme.php:398 154 #, php-format 155 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 156 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 157 158 #: xpressme.php:400 159 #, php-format 160 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 161 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 162 163 #: xpressme_class.php:52 164 #: xpressme_class.php:223 120 165 msgid "Older Post" 121 166 msgstr "前の投稿へ" 122 167 123 #: xpressme_class.php:5 2124 #: xpressme_class.php:22 5168 #: xpressme_class.php:53 169 #: xpressme_class.php:226 125 170 msgid "Newer Post" 126 171 msgstr "次の投稿へ" 127 172 128 #: xpressme_class.php:5 4129 #: xpressme_class.php:22 8173 #: xpressme_class.php:55 174 #: xpressme_class.php:229 130 175 msgid "Older Entries" 131 176 msgstr "前ページへ" 132 177 133 #: xpressme_class.php:5 5134 #: xpressme_class.php:23 1178 #: xpressme_class.php:56 179 #: xpressme_class.php:232 135 180 msgid "Newer Entries" 136 181 msgstr "次ページへ" 137 182 138 #: xpressme_class.php:69139 183 #: xpressme_class.php:70 140 #: xpressme_class.php:234 184 #: xpressme_class.php:71 185 #: xpressme_class.php:235 141 186 msgid "Read the rest of this entry »" 142 187 msgstr "この投稿の続きを読む »" 143 188 144 #: xpressme_class.php:3 29189 #: xpressme_class.php:330 145 190 msgid "Single Post Navi Setting" 146 191 msgstr "シングルポストナビの設定" 147 192 148 #: xpressme_class.php:33 4149 #: xpressme_class.php:3 79193 #: xpressme_class.php:335 194 #: xpressme_class.php:380 150 195 msgid "Adjustment of Navi link display position" 151 196 msgstr "リンクの表示位置設定" 152 197 153 #: xpressme_class.php:33 7198 #: xpressme_class.php:338 154 199 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 155 200 msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 156 201 157 #: xpressme_class.php:33 8202 #: xpressme_class.php:339 158 203 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 159 204 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 160 205 161 #: xpressme_class.php:34 4206 #: xpressme_class.php:345 162 207 msgid "Select Display name of PostNavi Link" 163 208 msgstr "表示するリンクテキストを選択" 164 209 165 #: xpressme_class.php:34 7210 #: xpressme_class.php:348 166 211 msgid "Title of post" 167 212 msgstr "投稿記事のタイトルを表示" 168 213 169 #: xpressme_class.php:34 8214 #: xpressme_class.php:349 170 215 msgid "Title of Navi" 171 216 msgstr "ナビタイトルを表示" 172 217 173 #: xpressme_class.php:35 4218 #: xpressme_class.php:355 174 219 msgid "Display Navi Title of Old Post Link" 175 220 msgstr "古い記事へのナビタイトルを設定" 176 221 177 #: xpressme_class.php:36 1222 #: xpressme_class.php:362 178 223 msgid "Display Navi Title of Newer Post Link" 179 224 msgstr "より新しい記事へのナビタイトルを設定" 180 225 181 #: xpressme_class.php:37 4226 #: xpressme_class.php:375 182 227 msgid "Posts List Page Navi Setting" 183 228 msgstr "ポストリストページナビの設定" 184 229 185 #: xpressme_class.php:38 2230 #: xpressme_class.php:383 186 231 msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 187 232 msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 188 233 189 #: xpressme_class.php:38 3234 #: xpressme_class.php:384 190 235 msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 191 236 msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 192 237 193 #: xpressme_class.php:3 89238 #: xpressme_class.php:390 194 239 msgid "Display Navi Title of Old Page Link" 195 240 msgstr "古いページへのナビタイトルを設定" 196 241 197 #: xpressme_class.php:39 6242 #: xpressme_class.php:397 198 243 msgid "Display Navi Title of Newer Page Link" 199 244 msgstr "より新しいページへのナビタイトルを設定" 200 245 201 #: xpressme_class.php:41 1246 #: xpressme_class.php:412 202 247 msgid "Role Setting at Login" 203 248 msgstr "ログイン時の権限設定" 204 249 205 #: xpressme_class.php:41 4250 #: xpressme_class.php:415 206 251 msgid "XOOPS Groupe" 207 252 msgstr "XOOPSグループ名" 208 253 209 #: xpressme_class.php:41 4254 #: xpressme_class.php:415 210 255 msgid "WordPress Role" 211 256 msgstr "WordPressでの権限" 212 257 213 #: xpressme_class.php:41 4258 #: xpressme_class.php:415 214 259 msgid "Role is set at each login" 215 260 msgstr "ログイン時、常に権限を更新する" 216 217 #: xpressme_class.php:440218 #: xpressme_class.php:444219 #: xpressme_class.php:447220 msgid "Default Role of WordPress"221 msgstr "WordPressのデフォルト権限"222 261 223 262 #: xpressme_class.php:441 224 263 #: xpressme_class.php:445 225 264 #: xpressme_class.php:448 265 msgid "Default Role of WordPress" 266 msgstr "WordPressのデフォルト権限" 267 268 #: xpressme_class.php:442 269 #: xpressme_class.php:446 270 #: xpressme_class.php:449 226 271 msgid "Group User Doesn't Register" 227 272 msgstr "ユーザ登録しない" 228 273 229 #: xpressme_class.php:4 79274 #: xpressme_class.php:480 230 275 msgid "WordPress MU cannot integrate the comments." 231 276 msgstr "WordPress MUはコメント統合できません。" 232 277 233 #: xpressme_class.php:48 1278 #: xpressme_class.php:482 234 279 msgid "Do Not Comment Integration." 235 280 msgstr "コメント統合しません。" 236 281 237 #: xpressme_class.php:51 6282 #: xpressme_class.php:517 238 283 msgid "Comment integration with D3Forum" 239 284 msgstr "D3Forumとのコメント統合" 240 285 241 #: xpressme_class.php:51 8286 #: xpressme_class.php:519 242 287 msgid "Select the forum of D3Forum that does the comment integration from the following lists." 243 288 msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 244 289 245 #: xpressme_class.php:52 3290 #: xpressme_class.php:524 246 291 msgid "Select the Type of display of D3Forum comment." 247 292 msgstr "D3Forumの表示タイプを選択" 248 293 249 #: xpressme_class.php:52 5250 #: xpressme_class.php:52 8294 #: xpressme_class.php:526 295 #: xpressme_class.php:529 251 296 msgid "Flat" 252 297 msgstr "フラット" 253 298 254 #: xpressme_class.php:52 6255 #: xpressme_class.php:5 29299 #: xpressme_class.php:527 300 #: xpressme_class.php:530 256 301 msgid "Threaded" 257 302 msgstr "スレッド" 258 303 259 #: xpressme_class.php:53 2304 #: xpressme_class.php:533 260 305 msgid "Select the order of display of D3Forum comment." 261 306 msgstr "D3Forumコメントの表示順を選択" 262 307 263 #: xpressme_class.php:53 4264 #: xpressme_class.php:53 7308 #: xpressme_class.php:535 309 #: xpressme_class.php:538 265 310 msgid "DESC" 266 311 msgstr "降順" 267 312 268 #: xpressme_class.php:53 5269 #: xpressme_class.php:53 8313 #: xpressme_class.php:536 314 #: xpressme_class.php:539 270 315 msgid "ASC" 271 316 msgstr "昇順" 272 317 273 #: xpressme_class.php:54 1318 #: xpressme_class.php:542 274 319 msgid "Number of displays of D3Forum comments." 275 320 msgstr "D3Forumのコメント表示数" 276 321 277 #: xpressme_class.php:54 4322 #: xpressme_class.php:545 278 323 msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 279 324 msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 280 325 281 #: xpressme_class.php:54 5326 #: xpressme_class.php:546 282 327 msgid "Export to D3Forum" 283 328 msgstr "D3Forumへ一括エクスポート" 284 329 285 #: xpressme_class.php:54 6330 #: xpressme_class.php:547 286 331 msgid "Import from D3Forum" 287 332 msgstr "D3Forumから一括インポート" 288 333 289 #: xpressme_class.php:5 59334 #: xpressme_class.php:560 290 335 msgid "Contents Excerpt Setting" 291 336 msgstr "記事抜粋の設定" 292 337 293 #: xpressme_class.php:56 4338 #: xpressme_class.php:565 294 339 msgid "Is the excerpt display done with the archive of contents?" 295 340 msgstr "記事のアーカイブで抜粋表示を行いますか?" 296 341 297 #: xpressme_class.php:57 1342 #: xpressme_class.php:572 298 343 msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 299 344 msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 300 345 301 #: xpressme_class.php:57 8346 #: xpressme_class.php:579 302 347 msgid "Excerpt length of word for ASCII contents" 303 348 msgstr "ASCIIコンテンツの抜粋単語数" 304 349 305 #: xpressme_class.php:58 5350 #: xpressme_class.php:586 306 351 msgid "Excerpt length of character for multibyte contents" 307 352 msgstr "マルチバイトコンテンツの抜粋文字数" 308 353 309 #: xpressme_class.php:59 2354 #: xpressme_class.php:593 310 355 msgid "This text is displayed in the link that reads contents not excerpted.(Is not displayed for the blank.)" 311 356 msgstr "抜粋されていないコンテンツを読むためのリンクに表示されるテキスト(空白の場合リンクを表示しません)" 312 357 313 #: xpressme_class.php: 599358 #: xpressme_class.php:600 314 359 msgid "This text is displayed in the link that more tag (<!--more-->). " 315 360 msgstr "more タグ (<!--more-->)のリンクに表示されるテキスト" 316 361 317 #: xpressme_class.php:61 1362 #: xpressme_class.php:612 318 363 msgid "Display Mode Setting" 319 364 msgstr "表示モード設定" 320 365 321 #: xpressme_class.php:61 4366 #: xpressme_class.php:615 322 367 msgid "Select the XPressME Display Mode." 323 368 msgstr "XPressMEの表示モードの選択" 324 369 325 #: xpressme_class.php:6 19370 #: xpressme_class.php:620 326 371 msgid "Xoops Mode" 327 372 msgstr "XOOPSモード" 328 373 329 #: xpressme_class.php:62 3374 #: xpressme_class.php:624 330 375 msgid "WordPress Mode" 331 376 msgstr "WordPressモード" 332 377 333 #: xpressme_class.php:62 7378 #: xpressme_class.php:628 334 379 msgid "User select" 335 380 msgstr "ユーザによる選択" 336 381 337 #: xpressme_class.php:63 7382 #: xpressme_class.php:638 338 383 msgid "Header Meta Option" 339 384 msgstr "ヘッダメタ オプション" 340 385 341 #: xpressme_class.php:64 2386 #: xpressme_class.php:643 342 387 msgid "Select the Header keyword." 343 388 msgstr "ヘッダで使用するキーワードの選択" 344 389 345 #: xpressme_class.php:64 7390 #: xpressme_class.php:648 346 391 msgid "Xoops KeyWord" 347 392 msgstr "XOOPSのキーワード" 348 393 349 #: xpressme_class.php:65 0394 #: xpressme_class.php:651 350 395 msgid "WordPress KeyWord" 351 396 msgstr "WordPressのキーワード" 352 397 353 #: xpressme_class.php:65 3398 #: xpressme_class.php:654 354 399 msgid "WordPress & Xoops KeyWord" 355 400 msgstr "WordPressjとXOOPSのキーワード" 356 401 357 #: xpressme_class.php:6 59402 #: xpressme_class.php:660 358 403 msgid "Select the Header Description." 359 404 msgstr "ヘッダで使用するディスクリプション(説明)の選択" 360 405 361 #: xpressme_class.php:66 4406 #: xpressme_class.php:665 362 407 msgid "Xoops Description" 363 408 msgstr "XOOPSのディスクリプション" 364 409 365 #: xpressme_class.php:66 7410 #: xpressme_class.php:668 366 411 msgid "WordPress Description" 367 412 msgstr "WordPressのディスクリプション" 368 413 369 #: xpressme_class.php:67 0414 #: xpressme_class.php:671 370 415 msgid "WordPress & Xoops Description" 371 416 msgstr "WordPressとXOOPSのディスクリプション" 372 417 373 #: xpressme_class.php:67 6418 #: xpressme_class.php:677 374 419 msgid "Select the Header Robots Index." 375 420 msgstr "ヘッダで使用するロボットインデックスの選択" 376 421 377 #: xpressme_class.php:68 1422 #: xpressme_class.php:682 378 423 msgid "Xoops Robots Index" 379 424 msgstr "XOOPSのロボットインデックス" 380 425 381 #: xpressme_class.php:68 4426 #: xpressme_class.php:685 382 427 msgid "WordPress Robots Index" 383 428 msgstr "WordPressのロボットインデックス" 384 429 385 #: xpressme_class.php:71 3430 #: xpressme_class.php:714 386 431 #, php-format 387 432 msgid "Unable to create directory %s. Is its parent directory writable by the server?" 388 433 msgstr "%s ディレクトリーが作成できません。サーバーの親ディレクトリー書き込み権限があるか確認くださいr?" 389 434 390 #: include/custom_functions.php:7 5435 #: include/custom_functions.php:74 391 436 #, php-format 392 437 msgid "Permanent Link to %s" 393 438 msgstr "%sのパーマリンク" 394 439 395 #: include/custom_functions.php:4 30396 #: include/custom_functions.php:45 5440 #: include/custom_functions.php:429 441 #: include/custom_functions.php:454 397 442 #, php-format 398 443 msgid "views :%d" 399 444 msgstr "閲覧数 :%d" 400 445 401 #: include/custom_functions.php:60 9446 #: include/custom_functions.php:608 402 447 msgid "Main" 403 448 msgstr "メイン" 404 449 405 #: include/custom_functions.php:61 2450 #: include/custom_functions.php:611 406 451 #, php-format 407 452 msgid "Archive for the ‘%s’ Category" 408 453 msgstr "カテゴリー ‘%s’ のアーカイブ" 409 454 410 #: include/custom_functions.php:61 5455 #: include/custom_functions.php:614 411 456 #, php-format 412 457 msgid "Posts Tagged ‘%s’" 413 458 msgstr "‘%s’ タグのついている投稿" 414 459 415 #: include/custom_functions.php:61 8460 #: include/custom_functions.php:617 416 461 #, php-format 417 462 msgid "Archive for %s|Daily archive page" 418 463 msgstr "%sの日別アーカイブ" 419 464 420 #: include/custom_functions.php:61 8465 #: include/custom_functions.php:617 421 466 msgid "F jS, Y" 422 467 msgstr "Y年n月j日" 423 468 424 #: include/custom_functions.php:6 20469 #: include/custom_functions.php:619 425 470 #, php-format 426 471 msgid "Archive for %s|Monthly archive page" 427 472 msgstr "%sの月別アーカイブ" 428 473 429 #: include/custom_functions.php:6 20474 #: include/custom_functions.php:619 430 475 msgid "F, Y" 431 476 msgstr "Y年n月" 432 477 433 #: include/custom_functions.php:62 2478 #: include/custom_functions.php:621 434 479 #, php-format 435 480 msgid "Archive for %s|Yearly archive page" 436 481 msgstr "%sの年別アーカイブ " 437 482 438 #: include/custom_functions.php:62 2483 #: include/custom_functions.php:621 439 484 msgid "Y" 440 485 msgstr "Y年" 441 486 442 #: include/custom_functions.php:62 5487 #: include/custom_functions.php:624 443 488 #, php-format 444 489 msgid "Archive for the ‘%s’ Author" 445 490 msgstr "投稿者 ‘%s’ のアーカイブ" 446 491 447 #: include/custom_functions.php:62 8492 #: include/custom_functions.php:627 448 493 #, php-format 449 494 msgid "Search Results of word ‘%s’" 450 495 msgstr "‘%s’ の検索結果" 451 496 452 #: include/custom_functions.php:63 4453 #: include/custom_functions.php:63 6497 #: include/custom_functions.php:633 498 #: include/custom_functions.php:635 454 499 #, php-format 455 500 msgid "Article of %s" 456 501 msgstr "%sの記事" 457 502 458 #: include/custom_functions.php:65 8503 #: include/custom_functions.php:657 459 504 #, php-format 460 505 msgid "From %1$s on site %2$s" 461 506 msgstr "サイト %2$s の %1$s より" 462 507 463 #: include/custom_functions.php:67 9508 #: include/custom_functions.php:678 464 509 msgid "No Trackback/Pingback" 465 510 msgstr "トラックバック・ピンバックはありません" 466 511 467 #: include/custom_functions.php:6 80512 #: include/custom_functions.php:679 468 513 msgid "One Trackback/Pingback" 469 514 msgstr "トラックバック・ピンバック 1 件" 470 515 471 #: include/custom_functions.php:68 1516 #: include/custom_functions.php:680 472 517 msgid "% TrackBack/Pingback" 473 518 msgstr "トラックバック・ピンバック % 件" 474 519 475 #: include/functions_for_wp 20.php:21520 #: include/functions_for_wp_old.php:21 476 521 msgid "<strong>ERROR</strong>: The password field is empty." 477 522 msgstr "<strong>エラー</strong>: パスワードが入力されていません." 478 523 479 #: include/functions_for_wp 20.php:29524 #: include/functions_for_wp_old.php:29 480 525 msgid "<strong>ERROR</strong>: Invalid username." 481 526 msgstr "<strong>エラー</strong>: ユーザ名が異なっています." 482 527 483 #: include/functions_for_wp 20.php:37528 #: include/functions_for_wp_old.php:37 484 529 msgid "<strong>ERROR</strong>: Incorrect password." 485 530 msgstr "<strong>エラー</strong>: パスワードが異なっています." … … 515 560 #~ msgid "XPressME Configuration Page" 516 561 #~ msgstr "XPressMEの設定ページ" 517 #~ msgid "XPressME" 518 #~ msgstr "XPressME" 519 562 -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r360 r368 34 34 add_submenu_page(__FILE__, __('Integration Settings', 'xpressme'), __('Integration Settings', 'xpressme'), 8, 'integration_option_page', 'integration_option_page'); 35 35 add_submenu_page(__FILE__, __('Other Settings', 'xpressme'), __('Other Settings', 'xpressme'), 8, 'other_option_page', 'other_option_page'); 36 if (function_exists(wp_remote_get)) 37 add_submenu_page(__FILE__, __('Upgrade', 'xpressme'), __('Upgrade', 'xpressme'), 8, 'upgrade_page', 'upgrade_page'); 36 38 add_submenu_page(__FILE__, __('to XOOPS Admin', 'xpressme'), __('to XOOPS Admin', 'xpressme'), 8, 'redirect_xoops_admin', 'redirect_xoops_admin'); 37 39 } … … 261 263 } 262 264 265 function upgrade_page() 266 { 267 global $xoops_config,$xpress_config; 268 269 $xpress_version = $xoops_config->module_version . $xoops_config->module_codename; 270 $check_url = "http://ja1.xpressme.info/version_check/?version=$xpress_version"; 271 272 echo '<div class="wrap">'."\n"; 273 echo '<div id="icon-options-general" class="icon32"><br /></div>'."\n"; 274 echo '<h2>' . __('XPressME Upgrade', 'xpressme') . "</h2><br>\n"; 275 276 if(get_xpress_latest_version()){ 277 $latest = get_option('xpressme_latest_version'); 278 if ($latest) { 279 $site_url=$latest['url']; 280 $package=$latest['package']; 281 $latest_version=$latest['latest_version']; 282 $check_time=$latest['check_time']; 283 } 284 285 286 if (version_compare($xpress_version, $latest_version, '>')){ 287 echo '<h3 class="response">'; 288 printf(__('You are using a XPressME Integration Kit development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.', 'xpressme') , $xpress_version , $site_url); 289 echo '</h3>'; 290 291 } else if (version_compare($xpress_version, $latest_version, '<')) { 292 echo '<h3 class="response">'. __('There is a new version of XPressME Integration Kit available for upgrade', 'xpressme') . '</h3>'; 293 echo '<p>'; 294 // printf(__('You can upgrade to version %s automatically or download the package and install it manually:'),$latest_version); 295 printf(__('You can upgrade to version %s download the package and install it manually:', 'xpressme'),$latest_version); 296 echo '</p>'; 297 echo '<a class="button" href="' . $package . '">'; 298 printf(__('Download %s', 'xpressme') , $latest_version); 299 echo '</a>'; 300 } else { 301 echo '<h3 class="response">'. __('You have the latest version of XPressME Integration Kit. You do not need to upgrade', 'xpressme') . '</h3>'; 302 } 303 } else { 304 echo '<h3 class="response">'; 305 printf(__('There is no response from <a href="%s">version check API</a> now. sorry, please confirm it after.', 'xpressme'),$check_url); 306 echo "</div>\n"; 307 } 308 } 309 310 function get_xpress_latest_version(){ 311 global $wp_version, $wpdb, $wp_local_package; 312 global $xoops_config; 313 314 $xpress_version = $xoops_config->module_version . $xoops_config->module_codename; 315 316 $check_url = "http://ja.xpressme.info/version_check/?version=$xpress_version"; 317 $request_options = array( 318 'timeout' => 3, 319 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) 320 ); 321 322 if (! function_exists(wp_remote_get)) return false; 323 324 $response = wp_remote_get($check_url, $request_options); 325 if ( is_wp_error( $response ) ) 326 return false; 327 328 if ( 200 != $response['response']['code'] ) 329 return false; 330 331 $body = trim( $response['body'] ); 332 $body = str_replace(array("\r\n", "\r"), "\n", $body); 333 $returns = explode("\n", $body); 334 $response = esc_attr( $returns[0] ); 335 if ( isset( $returns[1] ) ) 336 $url = esc_url( $returns[1] ); 337 if ( isset( $returns[2] ) ) 338 $package = esc_url( $returns[2] ); 339 if ( isset( $returns[3] ) ) 340 $latest_version = esc_attr( $returns[3] ); 341 342 $write_options = array ( 343 'url' => $url , 344 'package' => $package , 345 'latest_version' => $latest_version , 346 'check_time' => time() 347 ); 348 349 $latest_version = get_option('xpressme_latest_version'); 350 if (!$latest_version) { 351 add_option('xpressme_latest_version', $write_options); 352 } else { 353 update_option('xpressme_latest_version', $write_options); 354 } 355 return true; 356 } 357 358 function xpress_update_check() { 359 if ( defined('WP_INSTALLING') ) 360 return; 361 global $pagenow; 362 363 $php_query_string = $_SERVER['QUERY_STRING']; 364 365 if ( 'admin.php' == $pagenow && 'page=upgrade_page' == $php_query_string) 366 return; 367 368 global $wp_version, $wpdb, $wp_local_package; 369 global $xoops_config; 370 371 $php_query_string = $_SERVER['QUERY_STRING']; 372 $xpress_version = $xoops_config->module_version . $xoops_config->module_codename; 373 374 $latest = get_option('xpressme_latest_version'); 375 if (!$latest ) { 376 get_xpress_latest_version(); 377 $latest = get_option('xpressme_latest_version'); 378 } 379 380 if ($latest) { 381 $next_check = $latest['check_time'] + (60*60*24); 382 $now_time = time(); 383 if ($next_check < $now_time ){ 384 get_xpress_latest_version(); 385 $latest = get_option('xpressme_latest_version'); 386 } 387 } 388 389 if ($latest) { 390 $url=$latest['url']; 391 $package=$latest['package']; 392 $latest_version=$latest['latest_version']; 393 $check_time=$latest['check_time']; 394 $upgrade_page = $xoops_config->module_url . "/wp-admin/admin.php?page=upgrade_page"; 395 396 if (version_compare($xpress_version, $latest_version, '<')) { 397 if ( current_user_can('manage_options') ){ 398 $msg = sprintf( __('XPressME Integration Kit Version %1$s is available! <a href="%2$s">Please update now</a>.', 'xpressme'), $latest_version, $upgrade_page ); 399 } else { 400 $msg = sprintf( __('XPressME Integration Kit Version %1$s is available! Please notify the site administrator.', 'xpressme'), $latest_version ); 401 } 402 echo "<div id='update-nag'>$msg </div>"; 403 } 404 } 405 } 406 407 add_action( 'admin_notices', 'xpress_update_check', 3 ); 263 408 ?>
Note: See TracChangeset
for help on using the changeset viewer.