Version Description
Download this release
Release Info
Developer | poporon |
Plugin | Pz-LinkCard |
Version | 1.7.7 |
Comparing to | |
See all releases |
Code changes from version 1.7.5 to 1.7.7
- languages/pz-linkcard-ja.mo +0 -0
- languages/pz-linkcard-ja.po +292 -269
- lib/pz-linkcard-cacheman.php +22 -12
- lib/pz-linkcard-settings.php +152 -69
- lib/pz-linkcard-style.php +45 -14
- pz-linkcard.php +60 -19
- readme.txt +28 -11
- templete/pz-linkcard-templete.css +5 -5
languages/pz-linkcard-ja.mo
CHANGED
Binary file
|
languages/pz-linkcard-ja.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Pz-LinkCard\n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
-
"POT-Creation-Date: 2017-01-
|
8 |
-
"PO-Revision-Date: 2017-01-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: poporon\n"
|
11 |
"Language: ja_JP\n"
|
@@ -19,31 +19,31 @@ msgstr ""
|
|
19 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
-
#: ../pz-linkcard.php:
|
23 |
msgid "Incorrect URL specification."
|
24 |
msgstr "URLの指定が誤っています。"
|
25 |
|
26 |
-
#: ../pz-linkcard.php:
|
27 |
msgid "LinkCard cache manager"
|
28 |
msgstr "リンクカード/DBキャッシュ管理"
|
29 |
|
30 |
-
#: ../pz-linkcard.php:
|
31 |
msgid "Pz LkC Cache"
|
32 |
msgstr "Pz カード管理"
|
33 |
|
34 |
-
#: ../pz-linkcard.php:
|
35 |
msgid "LinkCard Settings"
|
36 |
msgstr "リンクカード設定"
|
37 |
|
38 |
-
#: ../pz-linkcard.php:
|
39 |
msgid "Pz LinkCard"
|
40 |
msgstr "Pz カード設定"
|
41 |
|
42 |
-
#: ../pz-linkcard.php:
|
43 |
msgid "Settings"
|
44 |
msgstr "設定"
|
45 |
|
46 |
-
#: ../pz-linkcard.php:
|
47 |
msgid "Manage"
|
48 |
msgstr "管理"
|
49 |
|
@@ -149,17 +149,17 @@ msgid "URL key"
|
|
149 |
msgstr "URLキー"
|
150 |
|
151 |
#: ../lib/pz-linkcard-cacheman.php:308 ../lib/pz-linkcard-edit.php:21
|
152 |
-
#: ../lib/pz-linkcard-settings.php:
|
153 |
msgid "URL"
|
154 |
msgstr "URL"
|
155 |
|
156 |
#: ../lib/pz-linkcard-cacheman.php:309 ../lib/pz-linkcard-edit.php:37
|
157 |
-
#: ../lib/pz-linkcard-settings.php:
|
158 |
msgid "Title"
|
159 |
msgstr "タイトル"
|
160 |
|
161 |
#: ../lib/pz-linkcard-cacheman.php:310 ../lib/pz-linkcard-edit.php:41
|
162 |
-
#: ../lib/pz-linkcard-settings.php:
|
163 |
msgid "Excerpt"
|
164 |
msgstr "抜粋文"
|
165 |
|
@@ -259,133 +259,140 @@ msgstr "キャンセル"
|
|
259 |
msgid "Short code is not set."
|
260 |
msgstr "ショートコードが指定されていません。"
|
261 |
|
262 |
-
#: ../lib/pz-linkcard-settings.php:
|
263 |
msgid "Changes saved."
|
264 |
msgstr "設定を保存しました。"
|
265 |
|
266 |
-
#: ../lib/pz-linkcard-settings.php:
|
267 |
msgid "Not changed."
|
268 |
msgstr "設定は変更されませんでした。"
|
269 |
|
270 |
-
#: ../lib/pz-linkcard-settings.php:
|
271 |
msgid "Special format"
|
272 |
msgstr "定型書式"
|
273 |
|
274 |
-
#: ../lib/pz-linkcard-settings.php:
|
275 |
msgid "Tiny format"
|
276 |
msgstr "かんたん書式設定"
|
277 |
|
278 |
-
#: ../lib/pz-linkcard-settings.php:
|
279 |
-
#: ../lib/pz-linkcard-settings.php:
|
280 |
-
#: ../lib/pz-linkcard-settings.php:
|
281 |
-
#: ../lib/pz-linkcard-settings.php:
|
282 |
-
#: ../lib/pz-linkcard-settings.php:
|
283 |
-
#: ../lib/pz-linkcard-settings.php:664
|
284 |
msgid "None"
|
285 |
msgstr "なし"
|
286 |
|
287 |
-
#: ../lib/pz-linkcard-settings.php:
|
288 |
msgid "Pz-LkC Default"
|
289 |
msgstr "Pz リンクカード 標準書式"
|
290 |
|
291 |
-
#: ../lib/pz-linkcard-settings.php:
|
292 |
msgid "Cellophane tape \"center\""
|
293 |
msgstr "セロハンテープ(中央)"
|
294 |
|
295 |
-
#: ../lib/pz-linkcard-settings.php:
|
296 |
msgid "Cellophane tape \"Top corner\""
|
297 |
msgstr "セロハンテープ(左上と右上)"
|
298 |
|
299 |
-
#: ../lib/pz-linkcard-settings.php:
|
300 |
msgid "Cellophane tape \"long\""
|
301 |
msgstr "セロハンテープ(長め)"
|
302 |
|
303 |
-
#: ../lib/pz-linkcard-settings.php:
|
304 |
msgid "Slanting"
|
305 |
msgstr "斜め"
|
306 |
|
307 |
-
#: ../lib/pz-linkcard-settings.php:
|
308 |
msgid "3D Rotate"
|
309 |
msgstr "3D回転"
|
310 |
|
311 |
-
#: ../lib/pz-linkcard-settings.php:
|
312 |
msgid "Curling paper"
|
313 |
msgstr "紙がめくれた効果(テーマとの相性があります)"
|
314 |
|
315 |
-
#: ../lib/pz-linkcard-settings.php:
|
316 |
msgid "Taping and curling"
|
317 |
msgstr "テープと紙めくれ(テーマとの相性があります)"
|
318 |
|
319 |
-
#: ../lib/pz-linkcard-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
msgid "Neutral"
|
321 |
msgstr "ブルーグリーン(黒背景推奨)"
|
322 |
|
323 |
-
#: ../lib/pz-linkcard-settings.php:
|
324 |
msgid "Orange"
|
325 |
msgstr "オレンジ(黒背景推奨)"
|
326 |
|
327 |
-
#: ../lib/pz-linkcard-settings.php:
|
328 |
msgid "Green"
|
329 |
msgstr "グリーン(黒背景推奨)"
|
330 |
|
331 |
-
#: ../lib/pz-linkcard-settings.php:
|
332 |
msgid "Blue"
|
333 |
msgstr "ブルー(黒背景推奨)"
|
334 |
|
335 |
-
#: ../lib/pz-linkcard-settings.php:
|
336 |
msgid "* It applies over other formatting settings."
|
337 |
msgstr "※ほかの項目よりも優先して適用されます。"
|
338 |
|
339 |
-
#: ../lib/pz-linkcard-settings.php:
|
340 |
msgid "Shortcode"
|
341 |
msgstr "ショートコード "
|
342 |
|
343 |
-
#: ../lib/pz-linkcard-settings.php:
|
344 |
msgid "ShortCode1"
|
345 |
msgstr "ショートコード 1"
|
346 |
|
347 |
-
#: ../lib/pz-linkcard-settings.php:
|
348 |
-
#: ../lib/pz-linkcard-settings.php:
|
349 |
msgid "Case-sensitive"
|
350 |
msgstr "大文字と小文字を区別します"
|
351 |
|
352 |
-
#: ../lib/pz-linkcard-settings.php:
|
353 |
msgid "Use inlinetext"
|
354 |
msgstr "ショートコードで囲んだ文字列"
|
355 |
|
356 |
-
#: ../lib/pz-linkcard-settings.php:
|
357 |
msgid "No use"
|
358 |
msgstr "使用しない"
|
359 |
|
360 |
-
#: ../lib/pz-linkcard-settings.php:
|
361 |
msgid "Use to excerpt"
|
362 |
msgstr "抜粋文として使用"
|
363 |
|
364 |
-
#: ../lib/pz-linkcard-settings.php:
|
365 |
msgid "Use to title"
|
366 |
msgstr "タイトルとして使用"
|
367 |
|
368 |
-
#: ../lib/pz-linkcard-settings.php:
|
369 |
msgid "This setting applies only to the Shortcode1"
|
370 |
msgstr "ショートコード1にのみ適用されます"
|
371 |
|
372 |
-
#: ../lib/pz-linkcard-settings.php:
|
373 |
msgid "ShortCode 2"
|
374 |
msgstr "ショートコード 2"
|
375 |
|
376 |
-
#: ../lib/pz-linkcard-settings.php:
|
377 |
msgid "ShortCode 3"
|
378 |
msgstr "ショートコード 3"
|
379 |
|
380 |
-
#: ../lib/pz-linkcard-settings.php:
|
381 |
msgid "ShortCode 4"
|
382 |
msgstr "ショートコード 4"
|
383 |
|
384 |
-
#: ../lib/pz-linkcard-settings.php:
|
385 |
msgid "Parameters"
|
386 |
msgstr "パラメータ"
|
387 |
|
388 |
-
#: ../lib/pz-linkcard-settings.php:
|
389 |
msgid ""
|
390 |
"For any shortcode you can change the title and excerpt with `title` "
|
391 |
"parameter and `content` parameter"
|
@@ -393,411 +400,397 @@ msgstr ""
|
|
393 |
"どのショートコードでも title パラメータと content パラメータでタイトルと抜粋"
|
394 |
"文を指定できます。"
|
395 |
|
396 |
-
#: ../lib/pz-linkcard-settings.php:
|
397 |
msgid "Style"
|
398 |
msgstr "表示設定"
|
399 |
|
400 |
-
#: ../lib/pz-linkcard-settings.php:
|
401 |
msgid "Use blockquote tag"
|
402 |
msgstr "BLOCKQUOTEをタグを使用する"
|
403 |
|
404 |
-
#: ../lib/pz-linkcard-settings.php:
|
405 |
msgid "without using DIV tag, and use BLOCKQUOTE tag"
|
406 |
msgstr "<BLOCKQUOTE>で囲んで引用扱いにします"
|
407 |
|
408 |
-
#: ../lib/pz-linkcard-settings.php:
|
409 |
msgid "Link the whole"
|
410 |
msgstr "カード全体をリンク"
|
411 |
|
412 |
-
#: ../lib/pz-linkcard-settings.php:
|
413 |
msgid "Enclose the entire card at anchor"
|
414 |
msgstr ""
|
415 |
"カード全体をAタグで囲って、どこをクリックしてもリンク先を開くようにします。"
|
416 |
|
417 |
-
#: ../lib/pz-linkcard-settings.php:
|
418 |
msgid "Position"
|
419 |
msgstr "配置設定"
|
420 |
|
421 |
-
#: ../lib/pz-linkcard-settings.php:
|
422 |
msgid "Margin top"
|
423 |
msgstr "上の余白"
|
424 |
|
425 |
-
#: ../lib/pz-linkcard-settings.php:
|
426 |
-
#: ../lib/pz-linkcard-settings.php:
|
427 |
-
#: ../lib/pz-linkcard-settings.php:
|
428 |
-
#: ../lib/pz-linkcard-settings.php:
|
429 |
msgid "Not defined"
|
430 |
msgstr "設定しない"
|
431 |
|
432 |
-
#: ../lib/pz-linkcard-settings.php:
|
433 |
-
#: ../lib/pz-linkcard-settings.php:
|
434 |
-
#: ../lib/pz-linkcard-settings.php:
|
435 |
-
#: ../lib/pz-linkcard-settings.php:
|
436 |
msgid "0"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: ../lib/pz-linkcard-settings.php:
|
440 |
-
#: ../lib/pz-linkcard-settings.php:
|
441 |
-
#: ../lib/pz-linkcard-settings.php:
|
442 |
-
#: ../lib/pz-linkcard-settings.php:
|
443 |
msgid "4px"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../lib/pz-linkcard-settings.php:
|
447 |
-
#: ../lib/pz-linkcard-settings.php:
|
448 |
-
#: ../lib/pz-linkcard-settings.php:
|
449 |
-
#: ../lib/pz-linkcard-settings.php:
|
450 |
msgid "8px"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../lib/pz-linkcard-settings.php:
|
454 |
-
#: ../lib/pz-linkcard-settings.php:
|
455 |
-
#: ../lib/pz-linkcard-settings.php:
|
456 |
-
#: ../lib/pz-linkcard-settings.php:
|
457 |
msgid "16px"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: ../lib/pz-linkcard-settings.php:
|
461 |
-
#: ../lib/pz-linkcard-settings.php:
|
462 |
-
#: ../lib/pz-linkcard-settings.php:
|
463 |
-
#: ../lib/pz-linkcard-settings.php:
|
464 |
msgid "32px"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: ../lib/pz-linkcard-settings.php:
|
468 |
-
#: ../lib/pz-linkcard-settings.php:
|
469 |
-
#: ../lib/pz-linkcard-settings.php:
|
470 |
-
#: ../lib/pz-linkcard-settings.php:
|
471 |
msgid "64px"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: ../lib/pz-linkcard-settings.php:
|
475 |
msgid "Margin left"
|
476 |
msgstr "左の余白"
|
477 |
|
478 |
-
#: ../lib/pz-linkcard-settings.php:
|
479 |
msgid "Margin right"
|
480 |
msgstr "右の余白"
|
481 |
|
482 |
-
#: ../lib/pz-linkcard-settings.php:
|
|
|
483 |
msgid "Width"
|
484 |
-
msgstr "
|
485 |
|
486 |
-
#: ../lib/pz-linkcard-settings.php:
|
487 |
-
#: ../lib/pz-linkcard-settings.php:
|
488 |
-
#: ../lib/pz-linkcard-settings.php:
|
489 |
msgid "Height"
|
490 |
msgstr "高さ"
|
491 |
|
492 |
-
#: ../lib/pz-linkcard-settings.php:
|
493 |
msgid "Margin bottom"
|
494 |
msgstr "下の余白"
|
495 |
|
496 |
-
#: ../lib/pz-linkcard-settings.php:
|
497 |
msgid "Centering"
|
498 |
msgstr "中央に寄せる"
|
499 |
|
500 |
-
#: ../lib/pz-linkcard-settings.php:363
|
501 |
-
msgid "Border"
|
502 |
-
msgstr "枠線の太さ"
|
503 |
-
|
504 |
-
#: ../lib/pz-linkcard-settings.php:367
|
505 |
-
msgid "Gray thin"
|
506 |
-
msgstr "薄い色/細い(1px)"
|
507 |
-
|
508 |
-
#: ../lib/pz-linkcard-settings.php:368
|
509 |
-
msgid "Gray"
|
510 |
-
msgstr "薄い色/普通(2px)"
|
511 |
-
|
512 |
-
#: ../lib/pz-linkcard-settings.php:369
|
513 |
-
msgid "Gray thick"
|
514 |
-
msgstr "薄い色/太い(4px)"
|
515 |
-
|
516 |
-
#: ../lib/pz-linkcard-settings.php:370
|
517 |
-
msgid "Black thin"
|
518 |
-
msgstr "黒/細い(1px)"
|
519 |
-
|
520 |
-
#: ../lib/pz-linkcard-settings.php:371
|
521 |
-
msgid "Black"
|
522 |
-
msgstr "黒/普通(2px)"
|
523 |
-
|
524 |
-
#: ../lib/pz-linkcard-settings.php:372
|
525 |
-
msgid "Black thick"
|
526 |
-
msgstr "黒/太い(4px)"
|
527 |
-
|
528 |
-
#: ../lib/pz-linkcard-settings.php:373
|
529 |
-
msgid "Black frame"
|
530 |
-
msgstr "黒/額縁(8px)"
|
531 |
-
|
532 |
-
#: ../lib/pz-linkcard-settings.php:374
|
533 |
-
msgid "Dodgerblue"
|
534 |
-
msgstr "ドジャー・ブルー(明るい青)"
|
535 |
-
|
536 |
-
#: ../lib/pz-linkcard-settings.php:375
|
537 |
-
msgid "Mediumaquamarine"
|
538 |
-
msgstr "ミディアム・アクアマリーン(明るい緑)"
|
539 |
-
|
540 |
-
#: ../lib/pz-linkcard-settings.php:376
|
541 |
-
msgid "Hotpink"
|
542 |
-
msgstr "ホット・ピンク(明るい赤)"
|
543 |
-
|
544 |
#: ../lib/pz-linkcard-settings.php:377
|
545 |
-
msgid "Wheat"
|
546 |
-
msgstr "小麦色(明るい茶色)"
|
547 |
-
|
548 |
-
#: ../lib/pz-linkcard-settings.php:378
|
549 |
-
msgid "Double"
|
550 |
-
msgstr "二重線"
|
551 |
-
|
552 |
-
#: ../lib/pz-linkcard-settings.php:379
|
553 |
-
msgid "Dotted"
|
554 |
-
msgstr "点線"
|
555 |
-
|
556 |
-
#: ../lib/pz-linkcard-settings.php:385
|
557 |
msgid "Layout"
|
558 |
msgstr "外観設定"
|
559 |
|
560 |
-
#: ../lib/pz-linkcard-settings.php:
|
561 |
-
|
562 |
-
msgstr "角を丸める"
|
563 |
-
|
564 |
-
#: ../lib/pz-linkcard-settings.php:400 ../lib/pz-linkcard-settings.php:594
|
565 |
-
#: ../lib/pz-linkcard-settings.php:657 ../lib/pz-linkcard-settings.php:703
|
566 |
msgid "Site information"
|
567 |
msgstr "サイト情報"
|
568 |
|
569 |
-
#: ../lib/pz-linkcard-settings.php:
|
570 |
msgid "Top"
|
571 |
msgstr "上側"
|
572 |
|
573 |
-
#: ../lib/pz-linkcard-settings.php:
|
574 |
msgid "Bottom"
|
575 |
msgstr "下側"
|
576 |
|
577 |
-
#: ../lib/pz-linkcard-settings.php:
|
578 |
msgid "Use SiteName"
|
579 |
msgstr "サイト名称を使用"
|
580 |
|
581 |
-
#: ../lib/pz-linkcard-settings.php:
|
582 |
msgid "Separator line"
|
583 |
msgstr "区切り線"
|
584 |
|
585 |
-
#: ../lib/pz-linkcard-settings.php:
|
586 |
msgid "Display URL"
|
587 |
msgstr "リンク先のURLを表示する"
|
588 |
|
589 |
-
#: ../lib/pz-linkcard-settings.php:
|
590 |
-
#: ../lib/pz-linkcard-settings.php:
|
591 |
msgid "Thumbnail"
|
592 |
msgstr "サムネイル"
|
593 |
|
594 |
-
#: ../lib/pz-linkcard-settings.php:
|
595 |
msgid "Right"
|
596 |
msgstr "右側"
|
597 |
|
598 |
-
#: ../lib/pz-linkcard-settings.php:
|
599 |
msgid "Left"
|
600 |
msgstr "左側"
|
601 |
|
602 |
-
#: ../lib/pz-linkcard-settings.php:
|
603 |
msgid "Shadow"
|
604 |
msgstr "影を付ける"
|
605 |
|
606 |
-
#: ../lib/pz-linkcard-settings.php:
|
607 |
msgid "Hollow content area"
|
608 |
msgstr "記事の情報に枠を付ける"
|
609 |
|
610 |
-
#: ../lib/pz-linkcard-settings.php:
|
611 |
msgid "Display excerpt"
|
612 |
msgstr "抜粋文を表示する"
|
613 |
|
614 |
-
#: ../lib/pz-linkcard-settings.php:
|
615 |
msgid "Hollow"
|
616 |
msgstr "内側に影を付ける"
|
617 |
|
618 |
-
#: ../lib/pz-linkcard-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
619 |
msgid "Reset img style"
|
620 |
msgstr "CSSリセット(img)"
|
621 |
|
622 |
-
#: ../lib/pz-linkcard-settings.php:
|
623 |
msgid ""
|
624 |
"When unnecessary frame is displayed on the image, you can improve it by case"
|
625 |
msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
|
626 |
|
627 |
-
#: ../lib/pz-linkcard-settings.php:
|
628 |
msgid "Display SNS Count"
|
629 |
msgstr "シェア数を表示する"
|
630 |
|
631 |
-
#: ../lib/pz-linkcard-settings.php:
|
632 |
msgid "After Title"
|
633 |
msgstr "タイトルの後ろ"
|
634 |
|
635 |
-
#: ../lib/pz-linkcard-settings.php:
|
636 |
msgid "After site-name"
|
637 |
msgstr "サイト情報の後ろ"
|
638 |
|
639 |
-
#: ../lib/pz-linkcard-settings.php:
|
640 |
msgid "Twitter"
|
641 |
msgstr "ツイッター"
|
642 |
|
643 |
-
#: ../lib/pz-linkcard-settings.php:
|
644 |
msgid "Facebook"
|
645 |
msgstr "フェイスブック(シェア数)"
|
646 |
|
647 |
-
#: ../lib/pz-linkcard-settings.php:
|
648 |
msgid "Hatena"
|
649 |
msgstr "はてなブックマーク"
|
650 |
|
651 |
-
#: ../lib/pz-linkcard-settings.php:
|
652 |
msgid ""
|
653 |
"There is a possibility that the screen display is slow If you enable this "
|
654 |
"setting."
|
655 |
msgstr "有効にする取得APIによっては表示が遅くなる場合があります。"
|
656 |
|
657 |
-
#: ../lib/pz-linkcard-settings.php:
|
658 |
msgid "Letters"
|
659 |
msgstr "文字設定"
|
660 |
|
661 |
-
#: ../lib/pz-linkcard-settings.php:
|
662 |
msgid "Site-info."
|
663 |
msgstr "サイト情報"
|
664 |
|
665 |
-
#: ../lib/pz-linkcard-settings.php:
|
666 |
-
#: ../lib/pz-linkcard-settings.php:
|
667 |
-
msgid "
|
668 |
-
msgstr "
|
669 |
|
670 |
-
#: ../lib/pz-linkcard-settings.php:
|
671 |
-
#: ../lib/pz-linkcard-settings.php:
|
672 |
msgid "Size"
|
673 |
msgstr "大きさ"
|
674 |
|
675 |
-
#: ../lib/pz-linkcard-settings.php:
|
676 |
-
#: ../lib/pz-linkcard-settings.php:
|
677 |
msgid "Length"
|
678 |
msgstr "桁数"
|
679 |
|
680 |
-
#: ../lib/pz-linkcard-settings.php:
|
681 |
-
#: ../lib/pz-linkcard-settings.php:529 ../lib/pz-linkcard-settings.php:547
|
682 |
-
msgid "Outline"
|
683 |
-
msgstr "縁取り"
|
684 |
-
|
685 |
-
#: ../lib/pz-linkcard-settings.php:552
|
686 |
msgid "Resize"
|
687 |
msgstr "幅に合わせて縮小"
|
688 |
|
689 |
-
#: ../lib/pz-linkcard-settings.php:
|
690 |
msgid "Adjust thumbnail and letter size according to width"
|
691 |
msgstr "画面幅に合わせて文字とサムネイルの大きさを調整します。"
|
692 |
|
693 |
-
#: ../lib/pz-linkcard-settings.php:
|
694 |
msgid "External link"
|
695 |
msgstr "外部リンク"
|
696 |
|
697 |
-
#: ../lib/pz-linkcard-settings.php:
|
698 |
-
#: ../lib/pz-linkcard-settings.php:
|
699 |
msgid "Background Color"
|
700 |
msgstr "背景色"
|
701 |
|
702 |
-
#: ../lib/pz-linkcard-settings.php:
|
703 |
msgid "Background image"
|
704 |
msgstr "背景画像"
|
705 |
|
706 |
-
#: ../lib/pz-linkcard-settings.php:
|
707 |
-
#: ../lib/pz-linkcard-settings.php:
|
708 |
msgid "Direct"
|
709 |
msgstr "直接取得する"
|
710 |
|
711 |
-
#: ../lib/pz-linkcard-settings.php:
|
712 |
-
#: ../lib/pz-linkcard-settings.php:
|
713 |
msgid "Use WebAPI"
|
714 |
msgstr "WebAPIを利用する"
|
715 |
|
716 |
-
#: ../lib/pz-linkcard-settings.php:
|
717 |
-
#: ../lib/pz-linkcard-settings.php:
|
718 |
msgid "Use WebAPI ,If can not direct"
|
719 |
msgstr "直接取得できない場合、WebAPIを利用する"
|
720 |
|
721 |
-
#: ../lib/pz-linkcard-settings.php:
|
722 |
-
#: ../lib/pz-linkcard-settings.php:
|
723 |
msgid "Favicon"
|
724 |
msgstr "サイトアイコン"
|
725 |
|
726 |
-
#: ../lib/pz-linkcard-settings.php:
|
727 |
-
#: ../lib/pz-linkcard-settings.php:
|
728 |
msgid "Open new window/tab"
|
729 |
msgstr "新しいウィンドウで開く"
|
730 |
|
731 |
-
#: ../lib/pz-linkcard-settings.php:
|
732 |
msgid "All client"
|
733 |
msgstr "すべての端末"
|
734 |
|
735 |
-
#: ../lib/pz-linkcard-settings.php:
|
736 |
msgid "Other than mobile"
|
737 |
msgstr "モバイル端末以外"
|
738 |
|
739 |
-
#: ../lib/pz-linkcard-settings.php:
|
740 |
msgid "Get contents"
|
741 |
msgstr "記事取得方法"
|
742 |
|
743 |
-
#: ../lib/pz-linkcard-settings.php:
|
744 |
msgid "Initially acquired only from the content"
|
745 |
msgstr "カード管理画面に記録されている内容から表示する"
|
746 |
|
747 |
-
#: ../lib/pz-linkcard-settings.php:
|
748 |
msgid "Set nofollow"
|
749 |
msgstr "nofollowを付与する"
|
750 |
|
751 |
-
#: ../lib/pz-linkcard-settings.php:
|
752 |
msgid "In the case of an external site, it puts the \"nofollow\""
|
753 |
msgstr "外部リンクのリンクを nofollow にする"
|
754 |
|
755 |
-
#: ../lib/pz-linkcard-settings.php:
|
756 |
msgid "Use HatenaBlogCard"
|
757 |
msgstr "はてなブログカードを利用する"
|
758 |
|
759 |
-
#: ../lib/pz-linkcard-settings.php:
|
760 |
msgid "External links will use Always HatenaBlogCard."
|
761 |
msgstr "外部リンクは「はてなブログカード」を利用する"
|
762 |
|
763 |
-
#: ../lib/pz-linkcard-settings.php:
|
764 |
msgid "(Not recommended)"
|
765 |
msgstr "(非推奨)"
|
766 |
|
767 |
-
#: ../lib/pz-linkcard-settings.php:
|
768 |
msgid "Internal link"
|
769 |
msgstr "内部リンク"
|
770 |
|
771 |
-
#: ../lib/pz-linkcard-settings.php:
|
772 |
msgid "Background Image"
|
773 |
msgstr "背景画像"
|
774 |
|
775 |
-
#: ../lib/pz-linkcard-settings.php:
|
776 |
msgid "Always get the latest from the content"
|
777 |
msgstr "常に最新の記事内容から抜粋文を作成する"
|
778 |
|
779 |
-
#: ../lib/pz-linkcard-settings.php:
|
780 |
msgid "Always get the latest from the excerpt"
|
781 |
msgstr "抜粋文が設定されている投稿はそちらを優先する"
|
782 |
|
783 |
-
#: ../lib/pz-linkcard-settings.php:
|
784 |
msgid "Same-page link"
|
785 |
msgstr "同ページへのリンク"
|
786 |
|
787 |
-
#: ../lib/pz-linkcard-settings.php:
|
788 |
-
#: ../lib/pz-linkcard-settings.php:
|
789 |
msgid "It is common with setting Internal-link"
|
790 |
msgstr "内部リンク用の設定が使用されます"
|
791 |
|
792 |
-
#: ../lib/pz-linkcard-settings.php:
|
793 |
msgid "Web-API"
|
794 |
msgstr "画像取得APIの指定"
|
795 |
|
796 |
-
#: ../lib/pz-linkcard-settings.php:
|
797 |
msgid "Favicon API"
|
798 |
msgstr "ファビコンの取得API"
|
799 |
|
800 |
-
#: ../lib/pz-linkcard-settings.php:
|
801 |
msgid ""
|
802 |
"%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
|
803 |
"replace to domain URL (ex. http://poporon.poponet.jp )"
|
@@ -806,164 +799,197 @@ msgstr ""
|
|
806 |
"%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に置き"
|
807 |
"換わります。"
|
808 |
|
809 |
-
#: ../lib/pz-linkcard-settings.php:
|
810 |
msgid "ex1."
|
811 |
msgstr "例1."
|
812 |
|
813 |
-
#: ../lib/pz-linkcard-settings.php:
|
814 |
msgid "ex2."
|
815 |
msgstr "例2."
|
816 |
|
817 |
-
#: ../lib/pz-linkcard-settings.php:
|
818 |
msgid "Thumbnail API"
|
819 |
msgstr "サムネイル画像の取得API"
|
820 |
|
821 |
-
#: ../lib/pz-linkcard-settings.php:
|
822 |
msgid "%URL% replace to URL"
|
823 |
msgstr "%URL% と記述するとURLに置き換わります"
|
824 |
|
825 |
-
#: ../lib/pz-linkcard-settings.php:
|
826 |
msgid "Link check"
|
827 |
msgstr "リンク先のチェック"
|
828 |
|
829 |
-
#: ../lib/pz-linkcard-settings.php:
|
830 |
msgid "SSL verification disabled"
|
831 |
msgstr "SSL検証を無効"
|
832 |
|
833 |
-
#: ../lib/pz-linkcard-settings.php:
|
834 |
msgid "Try setting if the contents of the SSL site can not be acquired."
|
835 |
msgstr ""
|
836 |
"SSLサイトのタイトルや記事内容が取得できない場合に設定することで取得できる可能"
|
837 |
"性があります。"
|
838 |
|
839 |
-
#: ../lib/pz-linkcard-settings.php:
|
840 |
msgid "Follow location"
|
841 |
msgstr "リダイレクト処理"
|
842 |
|
843 |
-
#: ../lib/pz-linkcard-settings.php:
|
844 |
msgid "Track when the link destination is redirected."
|
845 |
msgstr "リンク先がリダイレクトされている場合に追跡します。"
|
846 |
|
847 |
-
#: ../lib/pz-linkcard-settings.php:
|
848 |
msgid "Broken link checker"
|
849 |
msgstr "リンク切れチェック"
|
850 |
|
851 |
-
#: ../lib/pz-linkcard-settings.php:
|
852 |
msgid "Alive confirmation of the link destination."
|
853 |
msgstr "リンク先がアクセスできるか定期的に確認します。"
|
854 |
|
855 |
-
#: ../lib/pz-linkcard-settings.php:
|
856 |
msgid "Debug"
|
857 |
msgstr "詳しい人用(Debug)"
|
858 |
|
859 |
-
#: ../lib/pz-linkcard-settings.php:
|
860 |
msgid "Trailing slash"
|
861 |
msgstr "末尾のスラッシュ"
|
862 |
|
863 |
-
#: ../lib/pz-linkcard-settings.php:
|
864 |
msgid "As it"
|
865 |
msgstr "そのまま"
|
866 |
|
867 |
-
#: ../lib/pz-linkcard-settings.php:
|
868 |
msgid "When only domain name, remove"
|
869 |
msgstr "ドメイン名のみのときだけ削除"
|
870 |
|
871 |
-
#: ../lib/pz-linkcard-settings.php:
|
872 |
msgid "Always remove"
|
873 |
msgstr "常に削除"
|
874 |
|
875 |
-
#: ../lib/pz-linkcard-settings.php:
|
876 |
msgid "specified CSS"
|
877 |
msgstr "指定したCSSを使用"
|
878 |
|
879 |
-
#: ../lib/pz-linkcard-settings.php:
|
880 |
msgid "Use specified CSS file"
|
881 |
msgstr "指定したCSSファイルを使用する"
|
882 |
|
883 |
-
#: ../lib/pz-linkcard-settings.php:
|
884 |
msgid "CSS file"
|
885 |
msgstr "CSSファイル名"
|
886 |
|
887 |
-
#: ../lib/pz-linkcard-settings.php:
|
888 |
msgid "(ex. http://exsample.com/style.css )"
|
889 |
msgstr "例.http://exsample.com/style.css"
|
890 |
|
891 |
-
#: ../lib/pz-linkcard-settings.php:
|
892 |
msgid "CSS URL"
|
893 |
msgstr "CSSファイルのURL"
|
894 |
|
895 |
-
#: ../lib/pz-linkcard-settings.php:
|
896 |
msgid "Class ID to be added(for PC)"
|
897 |
msgstr "PCのときに追加するクラス名"
|
898 |
|
899 |
-
#: ../lib/pz-linkcard-settings.php:
|
900 |
msgid "Class ID to be added(for Mobile)"
|
901 |
msgstr "モバイルのときに追加するクラス名"
|
902 |
|
903 |
-
#: ../lib/pz-linkcard-settings.php:
|
904 |
msgid "Display link to author page"
|
905 |
msgstr "プラグイン名を表示する"
|
906 |
|
907 |
-
#: ../lib/pz-linkcard-settings.php:
|
908 |
msgid "Plugin URL"
|
909 |
msgstr "プラグインページURL"
|
910 |
|
911 |
-
#: ../lib/pz-linkcard-settings.php:
|
912 |
msgid "Plugin name"
|
913 |
msgstr "プラグイン名"
|
914 |
|
915 |
-
#: ../lib/pz-linkcard-settings.php:
|
916 |
msgid "Plugin version"
|
917 |
msgstr "プラグインバージョン"
|
918 |
|
919 |
-
#: ../lib/pz-linkcard-settings.php:
|
920 |
msgid "Saved datetime"
|
921 |
msgstr "保存した日時"
|
922 |
|
923 |
-
#: ../lib/pz-linkcard-settings.php:
|
924 |
msgid "Display elapsed time"
|
925 |
msgstr "実行時間の表示"
|
926 |
|
927 |
-
#: ../lib/pz-linkcard-settings.php:
|
928 |
msgid "Output the elapsed time to HTML comment."
|
929 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
930 |
|
931 |
-
#: ../lib/pz-linkcard-settings.php:
|
932 |
msgid "Initialize"
|
933 |
msgstr "初期化"
|
934 |
|
935 |
-
#: ../lib/pz-linkcard-settings.php:
|
936 |
msgid "Return to the initial setting"
|
937 |
msgstr "設定を初期状態へ戻す"
|
938 |
|
939 |
-
#: ../lib/pz-linkcard-settings.php:
|
940 |
msgid "etc"
|
941 |
msgstr "その他"
|
942 |
|
943 |
-
#: ../lib/pz-linkcard-settings.php:
|
944 |
msgid "Author's site"
|
945 |
msgstr "作者のサイト"
|
946 |
|
947 |
-
#: ../lib/pz-linkcard-settings.php:
|
948 |
msgid "Popozure."
|
949 |
msgstr "ぽぽづれ。"
|
950 |
|
951 |
-
#: ../lib/pz-linkcard-settings.php:
|
952 |
msgid "Poporon's PC daily diary"
|
953 |
msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
|
954 |
|
955 |
-
#: ../lib/pz-linkcard-settings.php:
|
956 |
msgid "Plugin's page"
|
957 |
msgstr "プラグインのページ"
|
958 |
|
959 |
-
#: ../lib/pz-linkcard-style.php:
|
960 |
msgid "Style sheet saved."
|
961 |
msgstr "設定を元にスタイルシートを自動生成しました。"
|
962 |
|
963 |
-
#: ../lib/pz-linkcard-style.php:
|
964 |
msgid "Style sheet failed."
|
965 |
msgstr "スタイルシートの自動生成に失敗しました。"
|
966 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
967 |
#~ msgid "Basic"
|
968 |
#~ msgstr "基本設定"
|
969 |
|
@@ -1034,9 +1060,6 @@ msgstr "スタイルシートの自動生成に失敗しました。"
|
|
1034 |
#~ msgid "Background Image URL"
|
1035 |
#~ msgstr "背景画像"
|
1036 |
|
1037 |
-
#~ msgid "none"
|
1038 |
-
#~ msgstr "なし"
|
1039 |
-
|
1040 |
#~ msgid "Cellophane tape 2"
|
1041 |
#~ msgstr "セロハンテープ(左上、右上)"
|
1042 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Pz-LinkCard\n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
+
"POT-Creation-Date: 2017-01-19 18:52+0900\n"
|
8 |
+
"PO-Revision-Date: 2017-01-19 19:02+0900\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: poporon\n"
|
11 |
"Language: ja_JP\n"
|
19 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
+
#: ../pz-linkcard.php:230
|
23 |
msgid "Incorrect URL specification."
|
24 |
msgstr "URLの指定が誤っています。"
|
25 |
|
26 |
+
#: ../pz-linkcard.php:1193 ../lib/pz-linkcard-cacheman.php:6
|
27 |
msgid "LinkCard cache manager"
|
28 |
msgstr "リンクカード/DBキャッシュ管理"
|
29 |
|
30 |
+
#: ../pz-linkcard.php:1193
|
31 |
msgid "Pz LkC Cache"
|
32 |
msgstr "Pz カード管理"
|
33 |
|
34 |
+
#: ../pz-linkcard.php:1194 ../lib/pz-linkcard-settings.php:4
|
35 |
msgid "LinkCard Settings"
|
36 |
msgstr "リンクカード設定"
|
37 |
|
38 |
+
#: ../pz-linkcard.php:1194
|
39 |
msgid "Pz LinkCard"
|
40 |
msgstr "Pz カード設定"
|
41 |
|
42 |
+
#: ../pz-linkcard.php:1279
|
43 |
msgid "Settings"
|
44 |
msgstr "設定"
|
45 |
|
46 |
+
#: ../pz-linkcard.php:1279
|
47 |
msgid "Manage"
|
48 |
msgstr "管理"
|
49 |
|
149 |
msgstr "URLキー"
|
150 |
|
151 |
#: ../lib/pz-linkcard-cacheman.php:308 ../lib/pz-linkcard-edit.php:21
|
152 |
+
#: ../lib/pz-linkcard-settings.php:579
|
153 |
msgid "URL"
|
154 |
msgstr "URL"
|
155 |
|
156 |
#: ../lib/pz-linkcard-cacheman.php:309 ../lib/pz-linkcard-edit.php:37
|
157 |
+
#: ../lib/pz-linkcard-settings.php:550
|
158 |
msgid "Title"
|
159 |
msgstr "タイトル"
|
160 |
|
161 |
#: ../lib/pz-linkcard-cacheman.php:310 ../lib/pz-linkcard-edit.php:41
|
162 |
+
#: ../lib/pz-linkcard-settings.php:607
|
163 |
msgid "Excerpt"
|
164 |
msgstr "抜粋文"
|
165 |
|
259 |
msgid "Short code is not set."
|
260 |
msgstr "ショートコードが指定されていません。"
|
261 |
|
262 |
+
#: ../lib/pz-linkcard-settings.php:138
|
263 |
msgid "Changes saved."
|
264 |
msgstr "設定を保存しました。"
|
265 |
|
266 |
+
#: ../lib/pz-linkcard-settings.php:140
|
267 |
msgid "Not changed."
|
268 |
msgstr "設定は変更されませんでした。"
|
269 |
|
270 |
+
#: ../lib/pz-linkcard-settings.php:149
|
271 |
msgid "Special format"
|
272 |
msgstr "定型書式"
|
273 |
|
274 |
+
#: ../lib/pz-linkcard-settings.php:152
|
275 |
msgid "Tiny format"
|
276 |
msgstr "かんたん書式設定"
|
277 |
|
278 |
+
#: ../lib/pz-linkcard-settings.php:155 ../lib/pz-linkcard-settings.php:385
|
279 |
+
#: ../lib/pz-linkcard-settings.php:406 ../lib/pz-linkcard-settings.php:504
|
280 |
+
#: ../lib/pz-linkcard-settings.php:657 ../lib/pz-linkcard-settings.php:669
|
281 |
+
#: ../lib/pz-linkcard-settings.php:684 ../lib/pz-linkcard-settings.php:721
|
282 |
+
#: ../lib/pz-linkcard-settings.php:732 ../lib/pz-linkcard-settings.php:747
|
|
|
283 |
msgid "None"
|
284 |
msgstr "なし"
|
285 |
|
286 |
+
#: ../lib/pz-linkcard-settings.php:156
|
287 |
msgid "Pz-LkC Default"
|
288 |
msgstr "Pz リンクカード 標準書式"
|
289 |
|
290 |
+
#: ../lib/pz-linkcard-settings.php:157
|
291 |
msgid "Cellophane tape \"center\""
|
292 |
msgstr "セロハンテープ(中央)"
|
293 |
|
294 |
+
#: ../lib/pz-linkcard-settings.php:158
|
295 |
msgid "Cellophane tape \"Top corner\""
|
296 |
msgstr "セロハンテープ(左上と右上)"
|
297 |
|
298 |
+
#: ../lib/pz-linkcard-settings.php:159
|
299 |
msgid "Cellophane tape \"long\""
|
300 |
msgstr "セロハンテープ(長め)"
|
301 |
|
302 |
+
#: ../lib/pz-linkcard-settings.php:160
|
303 |
msgid "Slanting"
|
304 |
msgstr "斜め"
|
305 |
|
306 |
+
#: ../lib/pz-linkcard-settings.php:161
|
307 |
msgid "3D Rotate"
|
308 |
msgstr "3D回転"
|
309 |
|
310 |
+
#: ../lib/pz-linkcard-settings.php:162
|
311 |
msgid "Curling paper"
|
312 |
msgstr "紙がめくれた効果(テーマとの相性があります)"
|
313 |
|
314 |
+
#: ../lib/pz-linkcard-settings.php:163
|
315 |
msgid "Taping and curling"
|
316 |
msgstr "テープと紙めくれ(テーマとの相性があります)"
|
317 |
|
318 |
+
#: ../lib/pz-linkcard-settings.php:164
|
319 |
+
msgid "Stitch blue&red"
|
320 |
+
msgstr "縫い目(青&赤)"
|
321 |
+
|
322 |
+
#: ../lib/pz-linkcard-settings.php:165
|
323 |
+
msgid "Stitch green&yellow"
|
324 |
+
msgstr "縫い目(緑&黄色)"
|
325 |
+
|
326 |
+
#: ../lib/pz-linkcard-settings.php:166
|
327 |
msgid "Neutral"
|
328 |
msgstr "ブルーグリーン(黒背景推奨)"
|
329 |
|
330 |
+
#: ../lib/pz-linkcard-settings.php:167
|
331 |
msgid "Orange"
|
332 |
msgstr "オレンジ(黒背景推奨)"
|
333 |
|
334 |
+
#: ../lib/pz-linkcard-settings.php:168
|
335 |
msgid "Green"
|
336 |
msgstr "グリーン(黒背景推奨)"
|
337 |
|
338 |
+
#: ../lib/pz-linkcard-settings.php:169
|
339 |
msgid "Blue"
|
340 |
msgstr "ブルー(黒背景推奨)"
|
341 |
|
342 |
+
#: ../lib/pz-linkcard-settings.php:171
|
343 |
msgid "* It applies over other formatting settings."
|
344 |
msgstr "※ほかの項目よりも優先して適用されます。"
|
345 |
|
346 |
+
#: ../lib/pz-linkcard-settings.php:177
|
347 |
msgid "Shortcode"
|
348 |
msgstr "ショートコード "
|
349 |
|
350 |
+
#: ../lib/pz-linkcard-settings.php:180
|
351 |
msgid "ShortCode1"
|
352 |
msgstr "ショートコード 1"
|
353 |
|
354 |
+
#: ../lib/pz-linkcard-settings.php:182 ../lib/pz-linkcard-settings.php:200
|
355 |
+
#: ../lib/pz-linkcard-settings.php:205 ../lib/pz-linkcard-settings.php:210
|
356 |
msgid "Case-sensitive"
|
357 |
msgstr "大文字と小文字を区別します"
|
358 |
|
359 |
+
#: ../lib/pz-linkcard-settings.php:185
|
360 |
msgid "Use inlinetext"
|
361 |
msgstr "ショートコードで囲んだ文字列"
|
362 |
|
363 |
+
#: ../lib/pz-linkcard-settings.php:189
|
364 |
msgid "No use"
|
365 |
msgstr "使用しない"
|
366 |
|
367 |
+
#: ../lib/pz-linkcard-settings.php:190
|
368 |
msgid "Use to excerpt"
|
369 |
msgstr "抜粋文として使用"
|
370 |
|
371 |
+
#: ../lib/pz-linkcard-settings.php:191
|
372 |
msgid "Use to title"
|
373 |
msgstr "タイトルとして使用"
|
374 |
|
375 |
+
#: ../lib/pz-linkcard-settings.php:194
|
376 |
msgid "This setting applies only to the Shortcode1"
|
377 |
msgstr "ショートコード1にのみ適用されます"
|
378 |
|
379 |
+
#: ../lib/pz-linkcard-settings.php:198
|
380 |
msgid "ShortCode 2"
|
381 |
msgstr "ショートコード 2"
|
382 |
|
383 |
+
#: ../lib/pz-linkcard-settings.php:203
|
384 |
msgid "ShortCode 3"
|
385 |
msgstr "ショートコード 3"
|
386 |
|
387 |
+
#: ../lib/pz-linkcard-settings.php:208
|
388 |
msgid "ShortCode 4"
|
389 |
msgstr "ショートコード 4"
|
390 |
|
391 |
+
#: ../lib/pz-linkcard-settings.php:213
|
392 |
msgid "Parameters"
|
393 |
msgstr "パラメータ"
|
394 |
|
395 |
+
#: ../lib/pz-linkcard-settings.php:216
|
396 |
msgid ""
|
397 |
"For any shortcode you can change the title and excerpt with `title` "
|
398 |
"parameter and `content` parameter"
|
400 |
"どのショートコードでも title パラメータと content パラメータでタイトルと抜粋"
|
401 |
"文を指定できます。"
|
402 |
|
403 |
+
#: ../lib/pz-linkcard-settings.php:222
|
404 |
msgid "Style"
|
405 |
msgstr "表示設定"
|
406 |
|
407 |
+
#: ../lib/pz-linkcard-settings.php:226
|
408 |
msgid "Use blockquote tag"
|
409 |
msgstr "BLOCKQUOTEをタグを使用する"
|
410 |
|
411 |
+
#: ../lib/pz-linkcard-settings.php:227
|
412 |
msgid "without using DIV tag, and use BLOCKQUOTE tag"
|
413 |
msgstr "<BLOCKQUOTE>で囲んで引用扱いにします"
|
414 |
|
415 |
+
#: ../lib/pz-linkcard-settings.php:231
|
416 |
msgid "Link the whole"
|
417 |
msgstr "カード全体をリンク"
|
418 |
|
419 |
+
#: ../lib/pz-linkcard-settings.php:235
|
420 |
msgid "Enclose the entire card at anchor"
|
421 |
msgstr ""
|
422 |
"カード全体をAタグで囲って、どこをクリックしてもリンク先を開くようにします。"
|
423 |
|
424 |
+
#: ../lib/pz-linkcard-settings.php:241
|
425 |
msgid "Position"
|
426 |
msgstr "配置設定"
|
427 |
|
428 |
+
#: ../lib/pz-linkcard-settings.php:248 ../lib/pz-linkcard-settings.php:279
|
429 |
msgid "Margin top"
|
430 |
msgstr "上の余白"
|
431 |
|
432 |
+
#: ../lib/pz-linkcard-settings.php:250 ../lib/pz-linkcard-settings.php:265
|
433 |
+
#: ../lib/pz-linkcard-settings.php:281 ../lib/pz-linkcard-settings.php:295
|
434 |
+
#: ../lib/pz-linkcard-settings.php:307 ../lib/pz-linkcard-settings.php:327
|
435 |
+
#: ../lib/pz-linkcard-settings.php:343 ../lib/pz-linkcard-settings.php:360
|
436 |
msgid "Not defined"
|
437 |
msgstr "設定しない"
|
438 |
|
439 |
+
#: ../lib/pz-linkcard-settings.php:251 ../lib/pz-linkcard-settings.php:266
|
440 |
+
#: ../lib/pz-linkcard-settings.php:287 ../lib/pz-linkcard-settings.php:301
|
441 |
+
#: ../lib/pz-linkcard-settings.php:313 ../lib/pz-linkcard-settings.php:333
|
442 |
+
#: ../lib/pz-linkcard-settings.php:344 ../lib/pz-linkcard-settings.php:361
|
443 |
msgid "0"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: ../lib/pz-linkcard-settings.php:252 ../lib/pz-linkcard-settings.php:267
|
447 |
+
#: ../lib/pz-linkcard-settings.php:282 ../lib/pz-linkcard-settings.php:296
|
448 |
+
#: ../lib/pz-linkcard-settings.php:308 ../lib/pz-linkcard-settings.php:328
|
449 |
+
#: ../lib/pz-linkcard-settings.php:345 ../lib/pz-linkcard-settings.php:362
|
450 |
msgid "4px"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: ../lib/pz-linkcard-settings.php:253 ../lib/pz-linkcard-settings.php:268
|
454 |
+
#: ../lib/pz-linkcard-settings.php:283 ../lib/pz-linkcard-settings.php:297
|
455 |
+
#: ../lib/pz-linkcard-settings.php:309 ../lib/pz-linkcard-settings.php:329
|
456 |
+
#: ../lib/pz-linkcard-settings.php:346 ../lib/pz-linkcard-settings.php:363
|
457 |
msgid "8px"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../lib/pz-linkcard-settings.php:254 ../lib/pz-linkcard-settings.php:269
|
461 |
+
#: ../lib/pz-linkcard-settings.php:284 ../lib/pz-linkcard-settings.php:298
|
462 |
+
#: ../lib/pz-linkcard-settings.php:310 ../lib/pz-linkcard-settings.php:330
|
463 |
+
#: ../lib/pz-linkcard-settings.php:347 ../lib/pz-linkcard-settings.php:364
|
464 |
msgid "16px"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../lib/pz-linkcard-settings.php:255 ../lib/pz-linkcard-settings.php:270
|
468 |
+
#: ../lib/pz-linkcard-settings.php:285 ../lib/pz-linkcard-settings.php:299
|
469 |
+
#: ../lib/pz-linkcard-settings.php:311 ../lib/pz-linkcard-settings.php:331
|
470 |
+
#: ../lib/pz-linkcard-settings.php:348 ../lib/pz-linkcard-settings.php:365
|
471 |
msgid "32px"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: ../lib/pz-linkcard-settings.php:256 ../lib/pz-linkcard-settings.php:271
|
475 |
+
#: ../lib/pz-linkcard-settings.php:286 ../lib/pz-linkcard-settings.php:300
|
476 |
+
#: ../lib/pz-linkcard-settings.php:312 ../lib/pz-linkcard-settings.php:332
|
477 |
+
#: ../lib/pz-linkcard-settings.php:349 ../lib/pz-linkcard-settings.php:366
|
478 |
msgid "64px"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: ../lib/pz-linkcard-settings.php:263 ../lib/pz-linkcard-settings.php:293
|
482 |
msgid "Margin left"
|
483 |
msgstr "左の余白"
|
484 |
|
485 |
+
#: ../lib/pz-linkcard-settings.php:305 ../lib/pz-linkcard-settings.php:341
|
486 |
msgid "Margin right"
|
487 |
msgstr "右の余白"
|
488 |
|
489 |
+
#: ../lib/pz-linkcard-settings.php:319 ../lib/pz-linkcard-settings.php:411
|
490 |
+
#: ../lib/pz-linkcard-settings.php:488
|
491 |
msgid "Width"
|
492 |
+
msgstr "幅"
|
493 |
|
494 |
+
#: ../lib/pz-linkcard-settings.php:320 ../lib/pz-linkcard-settings.php:542
|
495 |
+
#: ../lib/pz-linkcard-settings.php:571 ../lib/pz-linkcard-settings.php:600
|
496 |
+
#: ../lib/pz-linkcard-settings.php:628
|
497 |
msgid "Height"
|
498 |
msgstr "高さ"
|
499 |
|
500 |
+
#: ../lib/pz-linkcard-settings.php:325 ../lib/pz-linkcard-settings.php:358
|
501 |
msgid "Margin bottom"
|
502 |
msgstr "下の余白"
|
503 |
|
504 |
+
#: ../lib/pz-linkcard-settings.php:355
|
505 |
msgid "Centering"
|
506 |
msgstr "中央に寄せる"
|
507 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
#: ../lib/pz-linkcard-settings.php:377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
msgid "Layout"
|
510 |
msgstr "外観設定"
|
511 |
|
512 |
+
#: ../lib/pz-linkcard-settings.php:383 ../lib/pz-linkcard-settings.php:677
|
513 |
+
#: ../lib/pz-linkcard-settings.php:740 ../lib/pz-linkcard-settings.php:786
|
|
|
|
|
|
|
|
|
514 |
msgid "Site information"
|
515 |
msgstr "サイト情報"
|
516 |
|
517 |
+
#: ../lib/pz-linkcard-settings.php:386
|
518 |
msgid "Top"
|
519 |
msgstr "上側"
|
520 |
|
521 |
+
#: ../lib/pz-linkcard-settings.php:387
|
522 |
msgid "Bottom"
|
523 |
msgstr "下側"
|
524 |
|
525 |
+
#: ../lib/pz-linkcard-settings.php:389
|
526 |
msgid "Use SiteName"
|
527 |
msgstr "サイト名称を使用"
|
528 |
|
529 |
+
#: ../lib/pz-linkcard-settings.php:394
|
530 |
msgid "Separator line"
|
531 |
msgstr "区切り線"
|
532 |
|
533 |
+
#: ../lib/pz-linkcard-settings.php:401
|
534 |
msgid "Display URL"
|
535 |
msgstr "リンク先のURLを表示する"
|
536 |
|
537 |
+
#: ../lib/pz-linkcard-settings.php:404 ../lib/pz-linkcard-settings.php:654
|
538 |
+
#: ../lib/pz-linkcard-settings.php:718 ../lib/pz-linkcard-settings.php:778
|
539 |
msgid "Thumbnail"
|
540 |
msgstr "サムネイル"
|
541 |
|
542 |
+
#: ../lib/pz-linkcard-settings.php:407
|
543 |
msgid "Right"
|
544 |
msgstr "右側"
|
545 |
|
546 |
+
#: ../lib/pz-linkcard-settings.php:408
|
547 |
msgid "Left"
|
548 |
msgstr "左側"
|
549 |
|
550 |
+
#: ../lib/pz-linkcard-settings.php:413 ../lib/pz-linkcard-settings.php:435
|
551 |
msgid "Shadow"
|
552 |
msgstr "影を付ける"
|
553 |
|
554 |
+
#: ../lib/pz-linkcard-settings.php:418
|
555 |
msgid "Hollow content area"
|
556 |
msgstr "記事の情報に枠を付ける"
|
557 |
|
558 |
+
#: ../lib/pz-linkcard-settings.php:423
|
559 |
msgid "Display excerpt"
|
560 |
msgstr "抜粋文を表示する"
|
561 |
|
562 |
+
#: ../lib/pz-linkcard-settings.php:428
|
563 |
msgid "Hollow"
|
564 |
msgstr "内側に影を付ける"
|
565 |
|
566 |
+
#: ../lib/pz-linkcard-settings.php:441
|
567 |
+
msgid "Radius"
|
568 |
+
msgstr "角を丸める"
|
569 |
+
|
570 |
+
#: ../lib/pz-linkcard-settings.php:469
|
571 |
+
msgid "Border"
|
572 |
+
msgstr "枠線の太さ"
|
573 |
+
|
574 |
+
#: ../lib/pz-linkcard-settings.php:471 ../lib/pz-linkcard-settings.php:526
|
575 |
+
#: ../lib/pz-linkcard-settings.php:555 ../lib/pz-linkcard-settings.php:584
|
576 |
+
#: ../lib/pz-linkcard-settings.php:612
|
577 |
+
msgid "Color"
|
578 |
+
msgstr "色"
|
579 |
+
|
580 |
+
#: ../lib/pz-linkcard-settings.php:476
|
581 |
+
msgid "none"
|
582 |
+
msgstr "なし"
|
583 |
+
|
584 |
+
#: ../lib/pz-linkcard-settings.php:477
|
585 |
+
msgid "solid"
|
586 |
+
msgstr "solid/実線"
|
587 |
+
|
588 |
+
#: ../lib/pz-linkcard-settings.php:478
|
589 |
+
msgid "dotted"
|
590 |
+
msgstr "dotted/点線"
|
591 |
+
|
592 |
+
#: ../lib/pz-linkcard-settings.php:479
|
593 |
+
msgid "dashed"
|
594 |
+
msgstr "dashed/破線"
|
595 |
+
|
596 |
+
#: ../lib/pz-linkcard-settings.php:480
|
597 |
+
msgid "double"
|
598 |
+
msgstr "double/二重線"
|
599 |
+
|
600 |
+
#: ../lib/pz-linkcard-settings.php:481
|
601 |
+
msgid "groove"
|
602 |
+
msgstr "groove/立体(へこみ)"
|
603 |
+
|
604 |
+
#: ../lib/pz-linkcard-settings.php:482
|
605 |
+
msgid "ridge"
|
606 |
+
msgstr "ridge/立体(隆起)"
|
607 |
+
|
608 |
+
#: ../lib/pz-linkcard-settings.php:483
|
609 |
+
msgid "inset"
|
610 |
+
msgstr "inset/立体(押したボタンのような効果)"
|
611 |
+
|
612 |
+
#: ../lib/pz-linkcard-settings.php:484
|
613 |
+
msgid "outset"
|
614 |
+
msgstr "outset/立体(ボタンのような効果)"
|
615 |
+
|
616 |
+
#: ../lib/pz-linkcard-settings.php:496
|
617 |
msgid "Reset img style"
|
618 |
msgstr "CSSリセット(img)"
|
619 |
|
620 |
+
#: ../lib/pz-linkcard-settings.php:497
|
621 |
msgid ""
|
622 |
"When unnecessary frame is displayed on the image, you can improve it by case"
|
623 |
msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
|
624 |
|
625 |
+
#: ../lib/pz-linkcard-settings.php:501
|
626 |
msgid "Display SNS Count"
|
627 |
msgstr "シェア数を表示する"
|
628 |
|
629 |
+
#: ../lib/pz-linkcard-settings.php:505
|
630 |
msgid "After Title"
|
631 |
msgstr "タイトルの後ろ"
|
632 |
|
633 |
+
#: ../lib/pz-linkcard-settings.php:506
|
634 |
msgid "After site-name"
|
635 |
msgstr "サイト情報の後ろ"
|
636 |
|
637 |
+
#: ../lib/pz-linkcard-settings.php:508
|
638 |
msgid "Twitter"
|
639 |
msgstr "ツイッター"
|
640 |
|
641 |
+
#: ../lib/pz-linkcard-settings.php:509
|
642 |
msgid "Facebook"
|
643 |
msgstr "フェイスブック(シェア数)"
|
644 |
|
645 |
+
#: ../lib/pz-linkcard-settings.php:510
|
646 |
msgid "Hatena"
|
647 |
msgstr "はてなブックマーク"
|
648 |
|
649 |
+
#: ../lib/pz-linkcard-settings.php:511
|
650 |
msgid ""
|
651 |
"There is a possibility that the screen display is slow If you enable this "
|
652 |
"setting."
|
653 |
msgstr "有効にする取得APIによっては表示が遅くなる場合があります。"
|
654 |
|
655 |
+
#: ../lib/pz-linkcard-settings.php:517
|
656 |
msgid "Letters"
|
657 |
msgstr "文字設定"
|
658 |
|
659 |
+
#: ../lib/pz-linkcard-settings.php:521
|
660 |
msgid "Site-info."
|
661 |
msgstr "サイト情報"
|
662 |
|
663 |
+
#: ../lib/pz-linkcard-settings.php:529 ../lib/pz-linkcard-settings.php:558
|
664 |
+
#: ../lib/pz-linkcard-settings.php:587 ../lib/pz-linkcard-settings.php:615
|
665 |
+
msgid "Outline"
|
666 |
+
msgstr "縁取り"
|
667 |
|
668 |
+
#: ../lib/pz-linkcard-settings.php:539 ../lib/pz-linkcard-settings.php:568
|
669 |
+
#: ../lib/pz-linkcard-settings.php:597 ../lib/pz-linkcard-settings.php:625
|
670 |
msgid "Size"
|
671 |
msgstr "大きさ"
|
672 |
|
673 |
+
#: ../lib/pz-linkcard-settings.php:545 ../lib/pz-linkcard-settings.php:574
|
674 |
+
#: ../lib/pz-linkcard-settings.php:631
|
675 |
msgid "Length"
|
676 |
msgstr "桁数"
|
677 |
|
678 |
+
#: ../lib/pz-linkcard-settings.php:635
|
|
|
|
|
|
|
|
|
|
|
679 |
msgid "Resize"
|
680 |
msgstr "幅に合わせて縮小"
|
681 |
|
682 |
+
#: ../lib/pz-linkcard-settings.php:636
|
683 |
msgid "Adjust thumbnail and letter size according to width"
|
684 |
msgstr "画面幅に合わせて文字とサムネイルの大きさを調整します。"
|
685 |
|
686 |
+
#: ../lib/pz-linkcard-settings.php:642
|
687 |
msgid "External link"
|
688 |
msgstr "外部リンク"
|
689 |
|
690 |
+
#: ../lib/pz-linkcard-settings.php:646 ../lib/pz-linkcard-settings.php:710
|
691 |
+
#: ../lib/pz-linkcard-settings.php:770
|
692 |
msgid "Background Color"
|
693 |
msgstr "背景色"
|
694 |
|
695 |
+
#: ../lib/pz-linkcard-settings.php:650
|
696 |
msgid "Background image"
|
697 |
msgstr "背景画像"
|
698 |
|
699 |
+
#: ../lib/pz-linkcard-settings.php:658 ../lib/pz-linkcard-settings.php:670
|
700 |
+
#: ../lib/pz-linkcard-settings.php:722 ../lib/pz-linkcard-settings.php:733
|
701 |
msgid "Direct"
|
702 |
msgstr "直接取得する"
|
703 |
|
704 |
+
#: ../lib/pz-linkcard-settings.php:659 ../lib/pz-linkcard-settings.php:671
|
705 |
+
#: ../lib/pz-linkcard-settings.php:723 ../lib/pz-linkcard-settings.php:734
|
706 |
msgid "Use WebAPI"
|
707 |
msgstr "WebAPIを利用する"
|
708 |
|
709 |
+
#: ../lib/pz-linkcard-settings.php:660 ../lib/pz-linkcard-settings.php:672
|
710 |
+
#: ../lib/pz-linkcard-settings.php:724 ../lib/pz-linkcard-settings.php:735
|
711 |
msgid "Use WebAPI ,If can not direct"
|
712 |
msgstr "直接取得できない場合、WebAPIを利用する"
|
713 |
|
714 |
+
#: ../lib/pz-linkcard-settings.php:666 ../lib/pz-linkcard-settings.php:729
|
715 |
+
#: ../lib/pz-linkcard-settings.php:782
|
716 |
msgid "Favicon"
|
717 |
msgstr "サイトアイコン"
|
718 |
|
719 |
+
#: ../lib/pz-linkcard-settings.php:681 ../lib/pz-linkcard-settings.php:744
|
720 |
+
#: ../lib/pz-linkcard-settings.php:790
|
721 |
msgid "Open new window/tab"
|
722 |
msgstr "新しいウィンドウで開く"
|
723 |
|
724 |
+
#: ../lib/pz-linkcard-settings.php:685 ../lib/pz-linkcard-settings.php:748
|
725 |
msgid "All client"
|
726 |
msgstr "すべての端末"
|
727 |
|
728 |
+
#: ../lib/pz-linkcard-settings.php:686 ../lib/pz-linkcard-settings.php:749
|
729 |
msgid "Other than mobile"
|
730 |
msgstr "モバイル端末以外"
|
731 |
|
732 |
+
#: ../lib/pz-linkcard-settings.php:691 ../lib/pz-linkcard-settings.php:754
|
733 |
msgid "Get contents"
|
734 |
msgstr "記事取得方法"
|
735 |
|
736 |
+
#: ../lib/pz-linkcard-settings.php:693 ../lib/pz-linkcard-settings.php:760
|
737 |
msgid "Initially acquired only from the content"
|
738 |
msgstr "カード管理画面に記録されている内容から表示する"
|
739 |
|
740 |
+
#: ../lib/pz-linkcard-settings.php:697
|
741 |
msgid "Set nofollow"
|
742 |
msgstr "nofollowを付与する"
|
743 |
|
744 |
+
#: ../lib/pz-linkcard-settings.php:698
|
745 |
msgid "In the case of an external site, it puts the \"nofollow\""
|
746 |
msgstr "外部リンクのリンクを nofollow にする"
|
747 |
|
748 |
+
#: ../lib/pz-linkcard-settings.php:701
|
749 |
msgid "Use HatenaBlogCard"
|
750 |
msgstr "はてなブログカードを利用する"
|
751 |
|
752 |
+
#: ../lib/pz-linkcard-settings.php:702
|
753 |
msgid "External links will use Always HatenaBlogCard."
|
754 |
msgstr "外部リンクは「はてなブログカード」を利用する"
|
755 |
|
756 |
+
#: ../lib/pz-linkcard-settings.php:702 ../lib/pz-linkcard-settings.php:899
|
757 |
msgid "(Not recommended)"
|
758 |
msgstr "(非推奨)"
|
759 |
|
760 |
+
#: ../lib/pz-linkcard-settings.php:707
|
761 |
msgid "Internal link"
|
762 |
msgstr "内部リンク"
|
763 |
|
764 |
+
#: ../lib/pz-linkcard-settings.php:714 ../lib/pz-linkcard-settings.php:774
|
765 |
msgid "Background Image"
|
766 |
msgstr "背景画像"
|
767 |
|
768 |
+
#: ../lib/pz-linkcard-settings.php:758
|
769 |
msgid "Always get the latest from the content"
|
770 |
msgstr "常に最新の記事内容から抜粋文を作成する"
|
771 |
|
772 |
+
#: ../lib/pz-linkcard-settings.php:759
|
773 |
msgid "Always get the latest from the excerpt"
|
774 |
msgstr "抜粋文が設定されている投稿はそちらを優先する"
|
775 |
|
776 |
+
#: ../lib/pz-linkcard-settings.php:767
|
777 |
msgid "Same-page link"
|
778 |
msgstr "同ページへのリンク"
|
779 |
|
780 |
+
#: ../lib/pz-linkcard-settings.php:779 ../lib/pz-linkcard-settings.php:783
|
781 |
+
#: ../lib/pz-linkcard-settings.php:791
|
782 |
msgid "It is common with setting Internal-link"
|
783 |
msgstr "内部リンク用の設定が使用されます"
|
784 |
|
785 |
+
#: ../lib/pz-linkcard-settings.php:796
|
786 |
msgid "Web-API"
|
787 |
msgstr "画像取得APIの指定"
|
788 |
|
789 |
+
#: ../lib/pz-linkcard-settings.php:799
|
790 |
msgid "Favicon API"
|
791 |
msgstr "ファビコンの取得API"
|
792 |
|
793 |
+
#: ../lib/pz-linkcard-settings.php:802
|
794 |
msgid ""
|
795 |
"%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
|
796 |
"replace to domain URL (ex. http://poporon.poponet.jp )"
|
799 |
"%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に置き"
|
800 |
"換わります。"
|
801 |
|
802 |
+
#: ../lib/pz-linkcard-settings.php:803 ../lib/pz-linkcard-settings.php:812
|
803 |
msgid "ex1."
|
804 |
msgstr "例1."
|
805 |
|
806 |
+
#: ../lib/pz-linkcard-settings.php:804 ../lib/pz-linkcard-settings.php:813
|
807 |
msgid "ex2."
|
808 |
msgstr "例2."
|
809 |
|
810 |
+
#: ../lib/pz-linkcard-settings.php:808
|
811 |
msgid "Thumbnail API"
|
812 |
msgstr "サムネイル画像の取得API"
|
813 |
|
814 |
+
#: ../lib/pz-linkcard-settings.php:811
|
815 |
msgid "%URL% replace to URL"
|
816 |
msgstr "%URL% と記述するとURLに置き換わります"
|
817 |
|
818 |
+
#: ../lib/pz-linkcard-settings.php:819
|
819 |
msgid "Link check"
|
820 |
msgstr "リンク先のチェック"
|
821 |
|
822 |
+
#: ../lib/pz-linkcard-settings.php:822
|
823 |
msgid "SSL verification disabled"
|
824 |
msgstr "SSL検証を無効"
|
825 |
|
826 |
+
#: ../lib/pz-linkcard-settings.php:823
|
827 |
msgid "Try setting if the contents of the SSL site can not be acquired."
|
828 |
msgstr ""
|
829 |
"SSLサイトのタイトルや記事内容が取得できない場合に設定することで取得できる可能"
|
830 |
"性があります。"
|
831 |
|
832 |
+
#: ../lib/pz-linkcard-settings.php:826
|
833 |
msgid "Follow location"
|
834 |
msgstr "リダイレクト処理"
|
835 |
|
836 |
+
#: ../lib/pz-linkcard-settings.php:827
|
837 |
msgid "Track when the link destination is redirected."
|
838 |
msgstr "リンク先がリダイレクトされている場合に追跡します。"
|
839 |
|
840 |
+
#: ../lib/pz-linkcard-settings.php:830
|
841 |
msgid "Broken link checker"
|
842 |
msgstr "リンク切れチェック"
|
843 |
|
844 |
+
#: ../lib/pz-linkcard-settings.php:831
|
845 |
msgid "Alive confirmation of the link destination."
|
846 |
msgstr "リンク先がアクセスできるか定期的に確認します。"
|
847 |
|
848 |
+
#: ../lib/pz-linkcard-settings.php:836
|
849 |
msgid "Debug"
|
850 |
msgstr "詳しい人用(Debug)"
|
851 |
|
852 |
+
#: ../lib/pz-linkcard-settings.php:839
|
853 |
msgid "Trailing slash"
|
854 |
msgstr "末尾のスラッシュ"
|
855 |
|
856 |
+
#: ../lib/pz-linkcard-settings.php:843
|
857 |
msgid "As it"
|
858 |
msgstr "そのまま"
|
859 |
|
860 |
+
#: ../lib/pz-linkcard-settings.php:844
|
861 |
msgid "When only domain name, remove"
|
862 |
msgstr "ドメイン名のみのときだけ削除"
|
863 |
|
864 |
+
#: ../lib/pz-linkcard-settings.php:845
|
865 |
msgid "Always remove"
|
866 |
msgstr "常に削除"
|
867 |
|
868 |
+
#: ../lib/pz-linkcard-settings.php:851
|
869 |
msgid "specified CSS"
|
870 |
msgstr "指定したCSSを使用"
|
871 |
|
872 |
+
#: ../lib/pz-linkcard-settings.php:852
|
873 |
msgid "Use specified CSS file"
|
874 |
msgstr "指定したCSSファイルを使用する"
|
875 |
|
876 |
+
#: ../lib/pz-linkcard-settings.php:855 ../lib/pz-linkcard-settings.php:859
|
877 |
msgid "CSS file"
|
878 |
msgstr "CSSファイル名"
|
879 |
|
880 |
+
#: ../lib/pz-linkcard-settings.php:856
|
881 |
msgid "(ex. http://exsample.com/style.css )"
|
882 |
msgstr "例.http://exsample.com/style.css"
|
883 |
|
884 |
+
#: ../lib/pz-linkcard-settings.php:863
|
885 |
msgid "CSS URL"
|
886 |
msgstr "CSSファイルのURL"
|
887 |
|
888 |
+
#: ../lib/pz-linkcard-settings.php:868
|
889 |
msgid "Class ID to be added(for PC)"
|
890 |
msgstr "PCのときに追加するクラス名"
|
891 |
|
892 |
+
#: ../lib/pz-linkcard-settings.php:872
|
893 |
msgid "Class ID to be added(for Mobile)"
|
894 |
msgstr "モバイルのときに追加するクラス名"
|
895 |
|
896 |
+
#: ../lib/pz-linkcard-settings.php:877
|
897 |
msgid "Display link to author page"
|
898 |
msgstr "プラグイン名を表示する"
|
899 |
|
900 |
+
#: ../lib/pz-linkcard-settings.php:881
|
901 |
msgid "Plugin URL"
|
902 |
msgstr "プラグインページURL"
|
903 |
|
904 |
+
#: ../lib/pz-linkcard-settings.php:885
|
905 |
msgid "Plugin name"
|
906 |
msgstr "プラグイン名"
|
907 |
|
908 |
+
#: ../lib/pz-linkcard-settings.php:889
|
909 |
msgid "Plugin version"
|
910 |
msgstr "プラグインバージョン"
|
911 |
|
912 |
+
#: ../lib/pz-linkcard-settings.php:893
|
913 |
msgid "Saved datetime"
|
914 |
msgstr "保存した日時"
|
915 |
|
916 |
+
#: ../lib/pz-linkcard-settings.php:898
|
917 |
msgid "Display elapsed time"
|
918 |
msgstr "実行時間の表示"
|
919 |
|
920 |
+
#: ../lib/pz-linkcard-settings.php:899
|
921 |
msgid "Output the elapsed time to HTML comment."
|
922 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
923 |
|
924 |
+
#: ../lib/pz-linkcard-settings.php:905
|
925 |
msgid "Initialize"
|
926 |
msgstr "初期化"
|
927 |
|
928 |
+
#: ../lib/pz-linkcard-settings.php:908
|
929 |
msgid "Return to the initial setting"
|
930 |
msgstr "設定を初期状態へ戻す"
|
931 |
|
932 |
+
#: ../lib/pz-linkcard-settings.php:914
|
933 |
msgid "etc"
|
934 |
msgstr "その他"
|
935 |
|
936 |
+
#: ../lib/pz-linkcard-settings.php:917
|
937 |
msgid "Author's site"
|
938 |
msgstr "作者のサイト"
|
939 |
|
940 |
+
#: ../lib/pz-linkcard-settings.php:918
|
941 |
msgid "Popozure."
|
942 |
msgstr "ぽぽづれ。"
|
943 |
|
944 |
+
#: ../lib/pz-linkcard-settings.php:918
|
945 |
msgid "Poporon's PC daily diary"
|
946 |
msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
|
947 |
|
948 |
+
#: ../lib/pz-linkcard-settings.php:921
|
949 |
msgid "Plugin's page"
|
950 |
msgstr "プラグインのページ"
|
951 |
|
952 |
+
#: ../lib/pz-linkcard-style.php:427
|
953 |
msgid "Style sheet saved."
|
954 |
msgstr "設定を元にスタイルシートを自動生成しました。"
|
955 |
|
956 |
+
#: ../lib/pz-linkcard-style.php:429
|
957 |
msgid "Style sheet failed."
|
958 |
msgstr "スタイルシートの自動生成に失敗しました。"
|
959 |
|
960 |
+
#~ msgid "Gray thin"
|
961 |
+
#~ msgstr "薄い色/細い(1px)"
|
962 |
+
|
963 |
+
#~ msgid "Gray"
|
964 |
+
#~ msgstr "薄い色/普通(2px)"
|
965 |
+
|
966 |
+
#~ msgid "Gray thick"
|
967 |
+
#~ msgstr "薄い色/太い(4px)"
|
968 |
+
|
969 |
+
#~ msgid "Black thin"
|
970 |
+
#~ msgstr "黒/細い(1px)"
|
971 |
+
|
972 |
+
#~ msgid "Black"
|
973 |
+
#~ msgstr "黒/普通(2px)"
|
974 |
+
|
975 |
+
#~ msgid "Black thick"
|
976 |
+
#~ msgstr "黒/太い(4px)"
|
977 |
+
|
978 |
+
#~ msgid "Black frame"
|
979 |
+
#~ msgstr "黒/額縁(8px)"
|
980 |
+
|
981 |
+
#~ msgid "Dodgerblue"
|
982 |
+
#~ msgstr "ドジャー・ブルー(明るい青)"
|
983 |
+
|
984 |
+
#~ msgid "Mediumaquamarine"
|
985 |
+
#~ msgstr "ミディアム・アクアマリーン(明るい緑)"
|
986 |
+
|
987 |
+
#~ msgid "Hotpink"
|
988 |
+
#~ msgstr "ホット・ピンク(明るい赤)"
|
989 |
+
|
990 |
+
#~ msgid "Wheat"
|
991 |
+
#~ msgstr "小麦色(明るい茶色)"
|
992 |
+
|
993 |
#~ msgid "Basic"
|
994 |
#~ msgstr "基本設定"
|
995 |
|
1060 |
#~ msgid "Background Image URL"
|
1061 |
#~ msgstr "背景画像"
|
1062 |
|
|
|
|
|
|
|
1063 |
#~ msgid "Cellophane tape 2"
|
1064 |
#~ msgstr "セロハンテープ(左上、右上)"
|
1065 |
|
lib/pz-linkcard-cacheman.php
CHANGED
@@ -228,22 +228,32 @@ if (strpos($sql, '--') || strpos($sql, 'UPDATE') || strpos($sql, 'UNION') ) { //
|
|
228 |
$domain_list = $wpdb->get_results($sql); // テーブルデータ
|
229 |
|
230 |
// SUB(CASE WHEN ... END) で一気に取れないぽい?
|
231 |
-
$
|
232 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE url LIKE '".get_bloginfo('url')."%'");
|
234 |
-
$
|
|
|
|
|
235 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE url NOT LIKE '".get_bloginfo('url')."%'");
|
236 |
-
$
|
|
|
|
|
237 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE alive_result <> result_code");
|
238 |
-
$
|
239 |
-
|
|
|
240 |
?>
|
241 |
-
|
242 |
<ul class='subsubsub'>
|
243 |
-
<li class="all"><a href="?page=pz-linkcard-cache&link_type=all&orderby=regist&order=desc"
|
244 |
-
<li class="all"><a href="?page=pz-linkcard-cache&link_type=internal&orderby=regist&order=desc"
|
245 |
-
<li class="all"><a href="?page=pz-linkcard-cache&link_type=external&orderby=regist&order=desc"
|
246 |
-
<li class="all"><a href="?page=pz-linkcard-cache&link_type=modify&orderby=regist&order=desc"
|
247 |
</ul>
|
248 |
|
249 |
<form id="posts-filter" action="" method="post">
|
@@ -369,7 +379,7 @@ foreach ($data_all as $data) {
|
|
369 |
$sns_count = $data->sns_hatena;
|
370 |
echo ' <td style="font-size: 60%;">'.(($sns_count >= 0) ? $sns_count : '-').'</td>';
|
371 |
|
372 |
-
echo ' <td>'.$data->regist.'
|
373 |
echo ' <td style="word-break: break-all;"><a href="'.get_permalink($data->post_id).'" target="_blank" title="'.get_the_title($data->post_id).'">'.$data->post_id.'</td>';
|
374 |
echo ' <td>'.$data->result_code.($data->result_code <> $data->alive_result ? '<br><span style="color:#f00;">('.$data->alive_result.')</span>' : '').'</td>';
|
375 |
echo '</tr>';
|
228 |
$domain_list = $wpdb->get_results($sql); // テーブルデータ
|
229 |
|
230 |
// SUB(CASE WHEN ... END) で一気に取れないぽい?
|
231 |
+
$count_all = 0;
|
232 |
+
$count_internal = 0;
|
233 |
+
$count_external = 0;
|
234 |
+
$count_modify = 0;
|
235 |
+
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name");
|
236 |
+
if (isset($result) && isset($result->count)) {
|
237 |
+
$count_all = $result->count;
|
238 |
+
}
|
239 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE url LIKE '".get_bloginfo('url')."%'");
|
240 |
+
if (isset($result) && isset($result->count)) {
|
241 |
+
$count_internal = $result->count;
|
242 |
+
}
|
243 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE url NOT LIKE '".get_bloginfo('url')."%'");
|
244 |
+
if (isset($result) && isset($result->count)) {
|
245 |
+
$count_external = $result->count;
|
246 |
+
}
|
247 |
$result = $wpdb->get_row("SELECT COUNT(*) AS count FROM $this->db_name WHERE alive_result <> result_code");
|
248 |
+
if (isset($result) && isset($result->count)) {
|
249 |
+
$count_modify = $result->count;
|
250 |
+
}
|
251 |
?>
|
|
|
252 |
<ul class='subsubsub'>
|
253 |
+
<li class="all"><a href="?page=pz-linkcard-cache&link_type=all&orderby=regist&order=desc" <?php if ($link_type == 'all') echo 'class="current"'; ?>><?php _e('All', $this->text_domain); ?> <span class="count">(<?php echo $count_all; ?>)</span></a> |</li>
|
254 |
+
<li class="all"><a href="?page=pz-linkcard-cache&link_type=internal&orderby=regist&order=desc" <?php if ($link_type == 'internal') echo 'class="current"'; ?>><?php _e('Internal', $this->text_domain); ?> <span class="count">(<?php echo $count_internal; ?>)</span></a> |</li>
|
255 |
+
<li class="all"><a href="?page=pz-linkcard-cache&link_type=external&orderby=regist&order=desc" <?php if ($link_type == 'external') echo 'class="current"'; ?>><?php _e('External', $this->text_domain); ?> <span class="count">(<?php echo $count_external; ?>)</span></a> |</li>
|
256 |
+
<li class="all"><a href="?page=pz-linkcard-cache&link_type=modify&orderby=regist&order=desc" <?php if ($link_type == 'modify') echo 'class="current"'; ?>><?php _e('Modify', $this->text_domain); ?> <span class="count">(<?php echo $count_modify; ?>)</span></a></li>
|
257 |
</ul>
|
258 |
|
259 |
<form id="posts-filter" action="" method="post">
|
379 |
$sns_count = $data->sns_hatena;
|
380 |
echo ' <td style="font-size: 60%;">'.(($sns_count >= 0) ? $sns_count : '-').'</td>';
|
381 |
|
382 |
+
echo ' <td>'.$data->regist.'</td>';
|
383 |
echo ' <td style="word-break: break-all;"><a href="'.get_permalink($data->post_id).'" target="_blank" title="'.get_the_title($data->post_id).'">'.$data->post_id.'</td>';
|
384 |
echo ' <td>'.$data->result_code.($data->result_code <> $data->alive_result ? '<br><span style="color:#f00;">('.$data->alive_result.')</span>' : '').'</td>';
|
385 |
echo '</tr>';
|
lib/pz-linkcard-settings.php
CHANGED
@@ -98,6 +98,18 @@
|
|
98 |
}
|
99 |
$this->options['height-url'] = $trim_count.'px';
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
$trim_count = preg_replace('/[^0-9]/', '', $this->options['size-excerpt']) - 0;
|
102 |
if ($trim_count == 0) {
|
103 |
$trim_count = $this->defaults['size-excerpt'];
|
@@ -149,6 +161,8 @@
|
|
149 |
<option value="3Dr" <?php if($this->options['special-format'] == '3Dr') echo 'selected="selected"'; ?>><?php _e('3D Rotate', $this->text_domain); ?></option>
|
150 |
<option value="ppc" <?php if($this->options['special-format'] == 'ppc') echo 'selected="selected"'; ?>><?php _e('Curling paper', $this->text_domain); ?></option>
|
151 |
<option value="tac" <?php if($this->options['special-format'] == 'tac') echo 'selected="selected"'; ?>><?php _e('Taping and curling', $this->text_domain); ?></option>
|
|
|
|
|
152 |
<option value="inN" <?php if($this->options['special-format'] == 'inN') echo 'selected="selected"'; ?>><?php _e('Neutral', $this->text_domain); ?></option>
|
153 |
<option value="inI" <?php if($this->options['special-format'] == 'inI') echo 'selected="selected"'; ?>><?php _e('Orange', $this->text_domain); ?></option>
|
154 |
<option value="inE" <?php if($this->options['special-format'] == 'inE') echo 'selected="selected"'; ?>><?php _e('Green', $this->text_domain); ?></option>
|
@@ -164,13 +178,13 @@
|
|
164 |
<table class="form-table">
|
165 |
<tr valign="top">
|
166 |
<th scope="row"><?php _e('ShortCode1', $this->text_domain); ?></th>
|
167 |
-
<td
|
168 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
169 |
</tr>
|
170 |
<tr valign="top">
|
171 |
<th scope="row"><?php _e('Use inlinetext', $this->text_domain); ?></th>
|
172 |
<td>
|
173 |
-
[<span style="color: #888888;"><?php echo esc_attr($this->options['code1']); ?></span> url="xxx"]
|
174 |
<select name="properties[use-inline]">
|
175 |
<option value="" <?php if($this->options['use-inline'] == '') echo 'selected="selected"'; ?>><?php _e('No use', $this->text_domain); ?></option>
|
176 |
<option value="1" <?php if($this->options['use-inline'] == '1') echo 'selected="selected"'; ?>><?php _e('Use to excerpt', $this->text_domain); ?></option>
|
@@ -182,23 +196,23 @@
|
|
182 |
</tr>
|
183 |
<tr valign="top">
|
184 |
<th scope="row"><?php _e('ShortCode 2', $this->text_domain); ?></th>
|
185 |
-
<td
|
186 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
187 |
</tr>
|
188 |
<tr valign="top">
|
189 |
<th scope="row"><?php _e('ShortCode 3', $this->text_domain); ?></th>
|
190 |
-
<td
|
191 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
192 |
</tr>
|
193 |
<tr valign="top" style="display: none;">
|
194 |
<th scope="row"><?php _e('ShortCode 4', $this->text_domain); ?></th>
|
195 |
-
<td
|
196 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
197 |
</tr>
|
198 |
<tr valign="top">
|
199 |
<th scope="row"><?php _e('Parameters', $this->text_domain); ?></th>
|
200 |
<td>
|
201 |
-
[<span style="color: #888888;"><?php echo esc_attr($this->options['code1']); ?></span> url="xxx" <span style="color: #4488ff; font-weight: bold;">title=</span>"
|
202 |
<?php _e('For any shortcode you can change the title and excerpt with `title` parameter and `content` parameter', $this->text_domain); ?>
|
203 |
</ts>
|
204 |
</tr>
|
@@ -359,39 +373,8 @@
|
|
359 |
</td>
|
360 |
</tr>
|
361 |
|
362 |
-
<tr valign="top">
|
363 |
-
<th scope="row"><?php _e('Border', $this->text_domain); ?></th>
|
364 |
-
<td>
|
365 |
-
<select name="properties[border]">
|
366 |
-
<option value="" <?php if($this->options['border'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
|
367 |
-
<option value="1gr" <?php if($this->options['border'] == '1gr') echo 'selected="selected"'; ?>><?php _e('Gray thin', $this->text_domain); ?></option>
|
368 |
-
<option value="2gr" <?php if($this->options['border'] == '2gr') echo 'selected="selected"'; ?>><?php _e('Gray', $this->text_domain); ?></option>
|
369 |
-
<option value="4gr" <?php if($this->options['border'] == '4gr') echo 'selected="selected"'; ?>><?php _e('Gray thick', $this->text_domain); ?></option>
|
370 |
-
<option value="1bk" <?php if($this->options['border'] == '1bk') echo 'selected="selected"'; ?>><?php _e('Black thin', $this->text_domain); ?></option>
|
371 |
-
<option value="2bk" <?php if($this->options['border'] == '2bk') echo 'selected="selected"'; ?>><?php _e('Black', $this->text_domain); ?></option>
|
372 |
-
<option value="4bk" <?php if($this->options['border'] == '4bk') echo 'selected="selected"'; ?>><?php _e('Black thick', $this->text_domain); ?></option>
|
373 |
-
<option value="8bk" <?php if($this->options['border'] == '8bk') echo 'selected="selected"'; ?>><?php _e('Black frame', $this->text_domain); ?></option>
|
374 |
-
<option value="blu" <?php if($this->options['border'] == 'blu') echo 'selected="selected"'; ?>><?php _e('Dodgerblue', $this->text_domain); ?></option>
|
375 |
-
<option value="gre" <?php if($this->options['border'] == 'gre') echo 'selected="selected"'; ?>><?php _e('Mediumaquamarine', $this->text_domain); ?></option>
|
376 |
-
<option value="red" <?php if($this->options['border'] == 'red') echo 'selected="selected"'; ?>><?php _e('Hotpink', $this->text_domain); ?></option>
|
377 |
-
<option value="wht" <?php if($this->options['border'] == 'wht') echo 'selected="selected"'; ?>><?php _e('Wheat', $this->text_domain); ?></option>
|
378 |
-
<option value="dbl" <?php if($this->options['border'] == 'dbl') echo 'selected="selected"'; ?>><?php _e('Double', $this->text_domain); ?></option>
|
379 |
-
<option value="dot" <?php if($this->options['border'] == 'dot') echo 'selected="selected"'; ?>><?php _e('Dotted', $this->text_domain); ?></option>
|
380 |
-
</select>
|
381 |
-
</td>
|
382 |
-
</tr>
|
383 |
-
|
384 |
-
<tr valign="top">
|
385 |
-
<th scope="row"><?php _e('Layout', $this->text_domain); ?></th>
|
386 |
-
<td>
|
387 |
-
<label>
|
388 |
-
<input name="properties[radius]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['radius']) ? $this->options['radius'] : null, 1); ?> /><?php _e('Radius', $this->text_domain); ?>
|
389 |
-
</label>
|
390 |
-
</td>
|
391 |
-
</tr>
|
392 |
-
|
393 |
<tr>
|
394 |
-
<th scope="row"
|
395 |
<td>
|
396 |
|
397 |
<table style="border: 1px solid #000; background-color: #fff; width: 500px;">
|
@@ -418,13 +401,15 @@
|
|
418 |
<label><input name="properties[display-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-url']) ? $this->options['display-url'] : null, 1); ?> /><?php _e('Display URL', $this->text_domain); ?></label>
|
419 |
</td>
|
420 |
<td rowspan="3" style="border: 1px solid #000;">
|
421 |
-
<?php _e('Thumbnail', $this->text_domain);
|
422 |
<select name="properties[thumbnail-position]">
|
423 |
<option value="0" <?php if($this->options['thumbnail-position'] == '0') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
|
424 |
<option value="1" <?php if($this->options['thumbnail-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Right', $this->text_domain); ?></option>
|
425 |
<option value="2" <?php if($this->options['thumbnail-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Left', $this->text_domain); ?></option>
|
426 |
</select>
|
427 |
<br>
|
|
|
|
|
428 |
<label><input name="properties[thumbnail-shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-shadow']) ? $this->options['thumbnail-shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label>
|
429 |
</td>
|
430 |
</tr>
|
@@ -445,12 +430,66 @@
|
|
445 |
<td>
|
446 |
</td>
|
447 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
</table>
|
449 |
</td>
|
450 |
</tr>
|
451 |
-
|
452 |
-
|
453 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
</tr>
|
455 |
|
456 |
<tr valign="top">
|
@@ -480,72 +519,116 @@
|
|
480 |
|
481 |
<tr valign="top">
|
482 |
<th scope="row"><?php _e('Site-info.', $this->text_domain); ?></th>
|
483 |
-
<td>
|
484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
</td>
|
|
|
|
|
|
|
486 |
<td>
|
487 |
-
|
488 |
-
<br> <?php _e('Height', $this->text_domain); ?><input name="properties[height-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-info']) ? $this->options['height-info'] : $this->defaults['height-info']); ?>" style="width: 4em;" />
|
489 |
</td>
|
490 |
<td>
|
491 |
-
|
492 |
</td>
|
493 |
<td>
|
494 |
-
|
495 |
-
<br><input name="properties[outline-color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-info']) ? $this->options['outline-color-info'] : $this->defaults['outline-color-info'])); ?>" />
|
496 |
</td>
|
497 |
</tr>
|
498 |
|
499 |
<tr valign="top">
|
500 |
<th scope="row"><?php _e('Title', $this->text_domain); ?></th>
|
501 |
-
<td>
|
502 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
</td>
|
|
|
|
|
|
|
504 |
<td>
|
505 |
-
|
506 |
-
<br> <?php _e('Height', $this->text_domain); ?><input name="properties[height-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-title']) ? $this->options['height-title'] : $this->defaults['height-title']); ?>" style="width: 4em;" />
|
507 |
</td>
|
508 |
<td>
|
509 |
-
|
510 |
</td>
|
511 |
<td>
|
512 |
-
|
513 |
-
<br><input name="properties[outline-color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-title']) ? $this->options['outline-color-title'] : $this->defaults['outline-color-title'])); ?>" />
|
514 |
</td>
|
515 |
</tr>
|
516 |
|
517 |
<tr valign="top">
|
518 |
<th scope="row"><?php _e('URL', $this->text_domain); ?></th>
|
519 |
-
<td>
|
520 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
</td>
|
|
|
|
|
|
|
522 |
<td>
|
523 |
-
|
524 |
-
<br> <?php _e('Height', $this->text_domain); ?><input name="properties[height-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-url']) ? $this->options['height-url'] : $this->defaults['height-url']); ?>" style="width: 4em;" />
|
525 |
</td>
|
526 |
<td>
|
|
|
527 |
</td>
|
528 |
<td>
|
529 |
-
<label><input name="properties[outline-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-url']) ? $this->options['outline-url'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
|
530 |
-
<br><input name="properties[outline-color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-url']) ? $this->options['outline-color-url'] : $this->defaults['outline-color-url'])); ?>" />
|
531 |
</td>
|
532 |
</tr>
|
533 |
|
534 |
<tr valign="top">
|
535 |
<th scope="row"><?php _e('Excerpt', $this->text_domain); ?></th>
|
536 |
-
<td>
|
537 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
</td>
|
|
|
|
|
|
|
539 |
<td>
|
540 |
-
|
541 |
-
<br> <?php _e('Height', $this->text_domain); ?><input name="properties[height-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-excerpt']) ? $this->options['height-excerpt'] : $this->defaults['height-excerpt']); ?>" style="width: 4em;" />
|
542 |
</td>
|
543 |
<td>
|
544 |
-
|
545 |
</td>
|
546 |
<td>
|
547 |
-
|
548 |
-
<br><input name="properties[outline-color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-excerpt']) ? $this->options['outline-color-excerpt'] : $this->defaults['outline-color-excerpt'])); ?>" />
|
549 |
</td>
|
550 |
</tr>
|
551 |
<tr valign="top">
|
98 |
}
|
99 |
$this->options['height-url'] = $trim_count.'px';
|
100 |
|
101 |
+
$trim_count = preg_replace('/[^0-9]/', '', $this->options['thumbnail-width']) - 0;
|
102 |
+
if ($trim_count == 0) {
|
103 |
+
$trim_count = $this->defaults['thumbnail-width'];
|
104 |
+
}
|
105 |
+
$this->options['size-excerpt'] = $trim_count.'px';
|
106 |
+
|
107 |
+
$trim_count = preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0;
|
108 |
+
if ($trim_count == 0) {
|
109 |
+
$trim_count = $this->defaults['border-width'];
|
110 |
+
}
|
111 |
+
$this->options['size-excerpt'] = $trim_count.'px';
|
112 |
+
|
113 |
$trim_count = preg_replace('/[^0-9]/', '', $this->options['size-excerpt']) - 0;
|
114 |
if ($trim_count == 0) {
|
115 |
$trim_count = $this->defaults['size-excerpt'];
|
161 |
<option value="3Dr" <?php if($this->options['special-format'] == '3Dr') echo 'selected="selected"'; ?>><?php _e('3D Rotate', $this->text_domain); ?></option>
|
162 |
<option value="ppc" <?php if($this->options['special-format'] == 'ppc') echo 'selected="selected"'; ?>><?php _e('Curling paper', $this->text_domain); ?></option>
|
163 |
<option value="tac" <?php if($this->options['special-format'] == 'tac') echo 'selected="selected"'; ?>><?php _e('Taping and curling', $this->text_domain); ?></option>
|
164 |
+
<option value="sBR" <?php if($this->options['special-format'] == 'sBR') echo 'selected="selected"'; ?>><?php _e('Stitch blue&red', $this->text_domain); ?></option>
|
165 |
+
<option value="sGY" <?php if($this->options['special-format'] == 'sGY') echo 'selected="selected"'; ?>><?php _e('Stitch green&yellow', $this->text_domain); ?></option>
|
166 |
<option value="inN" <?php if($this->options['special-format'] == 'inN') echo 'selected="selected"'; ?>><?php _e('Neutral', $this->text_domain); ?></option>
|
167 |
<option value="inI" <?php if($this->options['special-format'] == 'inI') echo 'selected="selected"'; ?>><?php _e('Orange', $this->text_domain); ?></option>
|
168 |
<option value="inE" <?php if($this->options['special-format'] == 'inE') echo 'selected="selected"'; ?>><?php _e('Green', $this->text_domain); ?></option>
|
178 |
<table class="form-table">
|
179 |
<tr valign="top">
|
180 |
<th scope="row"><?php _e('ShortCode1', $this->text_domain); ?></th>
|
181 |
+
<td>[<input name="properties[code1]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code1']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
|
182 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
183 |
</tr>
|
184 |
<tr valign="top">
|
185 |
<th scope="row"><?php _e('Use inlinetext', $this->text_domain); ?></th>
|
186 |
<td>
|
187 |
+
[<span style="color: #888888;"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx"]
|
188 |
<select name="properties[use-inline]">
|
189 |
<option value="" <?php if($this->options['use-inline'] == '') echo 'selected="selected"'; ?>><?php _e('No use', $this->text_domain); ?></option>
|
190 |
<option value="1" <?php if($this->options['use-inline'] == '1') echo 'selected="selected"'; ?>><?php _e('Use to excerpt', $this->text_domain); ?></option>
|
196 |
</tr>
|
197 |
<tr valign="top">
|
198 |
<th scope="row"><?php _e('ShortCode 2', $this->text_domain); ?></th>
|
199 |
+
<td>[<input name="properties[code2]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code2']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
|
200 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
201 |
</tr>
|
202 |
<tr valign="top">
|
203 |
<th scope="row"><?php _e('ShortCode 3', $this->text_domain); ?></th>
|
204 |
+
<td>[<input name="properties[code3]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code3']); ?>"class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
|
205 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
206 |
</tr>
|
207 |
<tr valign="top" style="display: none;">
|
208 |
<th scope="row"><?php _e('ShortCode 4', $this->text_domain); ?></th>
|
209 |
+
<td>[<input name="properties[code4]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code4']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
|
210 |
<p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
|
211 |
</tr>
|
212 |
<tr valign="top">
|
213 |
<th scope="row"><?php _e('Parameters', $this->text_domain); ?></th>
|
214 |
<td>
|
215 |
+
[<span style="color: #888888;"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx" <span style="color: #4488ff; font-weight: bold;">title=</span>"xxxxxx" <span style="color: #8844ff; font-weight: bold;">content=</span>"xxxxxx"]<br>
|
216 |
<?php _e('For any shortcode you can change the title and excerpt with `title` parameter and `content` parameter', $this->text_domain); ?>
|
217 |
</ts>
|
218 |
</tr>
|
373 |
</td>
|
374 |
</tr>
|
375 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
<tr>
|
377 |
+
<th scope="row"><?php _e('Layout', $this->text_domain); ?></th>
|
378 |
<td>
|
379 |
|
380 |
<table style="border: 1px solid #000; background-color: #fff; width: 500px;">
|
401 |
<label><input name="properties[display-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-url']) ? $this->options['display-url'] : null, 1); ?> /><?php _e('Display URL', $this->text_domain); ?></label>
|
402 |
</td>
|
403 |
<td rowspan="3" style="border: 1px solid #000;">
|
404 |
+
<?php _e('Thumbnail', $this->text_domain); ?>
|
405 |
<select name="properties[thumbnail-position]">
|
406 |
<option value="0" <?php if($this->options['thumbnail-position'] == '0') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
|
407 |
<option value="1" <?php if($this->options['thumbnail-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Right', $this->text_domain); ?></option>
|
408 |
<option value="2" <?php if($this->options['thumbnail-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Left', $this->text_domain); ?></option>
|
409 |
</select>
|
410 |
<br>
|
411 |
+
<?php _e('Width', $this->text_domain); ?><input name="properties[thumbnail-width]" type="text" id="inputtext" value="<?php echo (isset($this->options['thumbnail-width']) ? $this->options['thumbnail-width'] : $this->defaults['thumbnail-width']); ?>" style="width: 4em;" />
|
412 |
+
<br>
|
413 |
<label><input name="properties[thumbnail-shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-shadow']) ? $this->options['thumbnail-shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label>
|
414 |
</td>
|
415 |
</tr>
|
430 |
<td>
|
431 |
</td>
|
432 |
</tr>
|
433 |
+
<tr>
|
434 |
+
<td>
|
435 |
+
<label><input name="properties[shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['shadow']) ? $this->options['shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label></td>
|
436 |
+
</td>
|
437 |
+
</tr>
|
438 |
+
<tr>
|
439 |
+
<td>
|
440 |
+
<label>
|
441 |
+
<input name="properties[radius]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['radius']) ? $this->options['radius'] : null, 1); ?> /><?php _e('Radius', $this->text_domain); ?>
|
442 |
+
</label>
|
443 |
+
</td>
|
444 |
+
</tr>
|
445 |
</table>
|
446 |
</td>
|
447 |
</tr>
|
448 |
+
|
449 |
+
<?php
|
450 |
+
$this->options['border-width'] = (preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0).'px';
|
451 |
+
$this->options['border-style'] = (isset($this->options['border-style']) ? $this->options['border-style'] : $this->defaults['border-style']);
|
452 |
+
$this->options['border-color'] = (isset($this->options['border-color']) ? $this->options['border-color'] : $this->defaults['border-color']);
|
453 |
+
$in_data = (isset($this->options['border']) ? $this->options['border'] : '');
|
454 |
+
if ($in_data == '1gr') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#dddddd'; }
|
455 |
+
if ($in_data == '2gr') { $this->options['border-width'] = '2px'; $this->options['border-color'] = '#dddddd'; }
|
456 |
+
if ($in_data == '4gr') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#dddddd'; }
|
457 |
+
if ($in_data == '1bk') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#444444'; }
|
458 |
+
if ($in_data == '2bk') { $this->options['border-width'] = '2px'; $this->options['border-color'] = '#444444'; }
|
459 |
+
if ($in_data == '4bk') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#444444'; }
|
460 |
+
if ($in_data == '8bk') { $this->options['border-width'] = '8px'; $this->options['border-color'] = '#444444'; }
|
461 |
+
if ($in_data == 'blu') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#1e90ff'; }
|
462 |
+
if ($in_data == 'gre') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#66cdaa'; }
|
463 |
+
if ($in_data == 'red') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#ff69b4'; }
|
464 |
+
if ($in_data == 'wht') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#f5deb3'; }
|
465 |
+
if ($in_data == 'dbl') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#444444'; }
|
466 |
+
if ($in_data == 'dot') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#444444'; }
|
467 |
+
?>
|
468 |
+
|
469 |
+
<th scope="row"><?php _e('Border', $this->text_domain); ?></th>
|
470 |
+
<td>
|
471 |
+
<?php _e('Color', $this->text_domain); ?><input name="properties[border-color]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['border-color']); ?>" />
|
472 |
+
<table>
|
473 |
+
<tr>
|
474 |
+
<td>
|
475 |
+
<select name="properties[border-style]">
|
476 |
+
<option value="none" <?php if ($this->options['border-style'] == 'none') echo 'selected="selected"'; ?>><?php _e('none', $this->text_domain); ?></option>
|
477 |
+
<option value="solid" <?php if ($this->options['border-style'] == 'solid') echo 'selected="selected"'; ?>><?php _e('solid', $this->text_domain); ?></option>
|
478 |
+
<option value="dotted" <?php if ($this->options['border-style'] == 'dotted') echo 'selected="selected"'; ?>><?php _e('dotted', $this->text_domain); ?></option>
|
479 |
+
<option value="dashed" <?php if ($this->options['border-style'] == 'dashed') echo 'selected="selected"'; ?>><?php _e('dashed', $this->text_domain); ?></option>
|
480 |
+
<option value="double" <?php if ($this->options['border-style'] == 'double') echo 'selected="selected"'; ?>><?php _e('double', $this->text_domain); ?></option>
|
481 |
+
<option value="groove" <?php if ($this->options['border-style'] == 'groove') echo 'selected="selected"'; ?>><?php _e('groove', $this->text_domain); ?></option>
|
482 |
+
<option value="ridge" <?php if ($this->options['border-style'] == 'ridge') echo 'selected="selected"'; ?>><?php _e('ridge', $this->text_domain); ?></option>
|
483 |
+
<option value="inset" <?php if ($this->options['border-style'] == 'inset') echo 'selected="selected"'; ?>><?php _e('inset', $this->text_domain); ?></option>
|
484 |
+
<option value="outset" <?php if ($this->options['border-style'] == 'outset') echo 'selected="selected"'; ?>><?php _e('outset', $this->text_domain); ?></option>
|
485 |
+
</select>
|
486 |
+
</td>
|
487 |
+
<td>
|
488 |
+
<?php _e('Width', $this->text_domain); ?><input name="properties[border-width]" type="text" id="inputtext" value="<?php echo $this->options['border-width']; ?>" style="width: 4em;" />
|
489 |
+
</td>
|
490 |
+
</tr>
|
491 |
+
</table>
|
492 |
+
</td>
|
493 |
</tr>
|
494 |
|
495 |
<tr valign="top">
|
519 |
|
520 |
<tr valign="top">
|
521 |
<th scope="row"><?php _e('Site-info.', $this->text_domain); ?></th>
|
522 |
+
<td colspan="3">
|
523 |
+
<table>
|
524 |
+
<tr>
|
525 |
+
<td>
|
526 |
+
<?php _e('Color', $this->text_domain); ?><input name="properties[color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-info']); ?>" />
|
527 |
+
</td>
|
528 |
+
<td>
|
529 |
+
<label><input name="properties[outline-info]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-info']) ? $this->options['outline-info'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
|
530 |
+
<input name="properties[outline-color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-info']) ? $this->options['outline-color-info'] : $this->defaults['outline-color-info'])); ?>" />
|
531 |
+
</td>
|
532 |
+
</tr>
|
533 |
+
</table>
|
534 |
</td>
|
535 |
+
</tr>
|
536 |
+
<tr valign="top">
|
537 |
+
<th scope="row"></th>
|
538 |
<td>
|
539 |
+
<?php _e('Size', $this->text_domain); ?><input name="properties[size-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-info']) ? $this->options['size-info'] : $this->defaults['size-info']); ?>" style="width: 4em;" />
|
|
|
540 |
</td>
|
541 |
<td>
|
542 |
+
<?php _e('Height', $this->text_domain); ?><input name="properties[height-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-info']) ? $this->options['height-info'] : $this->defaults['height-info']); ?>" style="width: 4em;" />
|
543 |
</td>
|
544 |
<td>
|
545 |
+
<?php _e('Length', $this->text_domain); ?><input name="properties[trim-sitename]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-sitename']) ? $this->options['trim-sitename'] : $this->defaults['trim-sitename']); ?>" style="width: 3em;" />
|
|
|
546 |
</td>
|
547 |
</tr>
|
548 |
|
549 |
<tr valign="top">
|
550 |
<th scope="row"><?php _e('Title', $this->text_domain); ?></th>
|
551 |
+
<td colspan="3">
|
552 |
+
<table>
|
553 |
+
<tr>
|
554 |
+
<td>
|
555 |
+
<?php _e('Color', $this->text_domain); ?><input name="properties[color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-title']); ?>" />
|
556 |
+
</td>
|
557 |
+
<td>
|
558 |
+
<label><input name="properties[outline-title]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-title']) ? $this->options['outline-title'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
|
559 |
+
<input name="properties[outline-color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-title']) ? $this->options['outline-color-title'] : $this->defaults['outline-color-title'])); ?>" />
|
560 |
+
</td>
|
561 |
+
</tr>
|
562 |
+
</table>
|
563 |
</td>
|
564 |
+
</tr>
|
565 |
+
<tr valign="top">
|
566 |
+
<th scope="row"></th>
|
567 |
<td>
|
568 |
+
<?php _e('Size', $this->text_domain); ?><input name="properties[size-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-title']) ? $this->options['size-title'] : $this->defaults['size-title']); ?>" style="width: 4em;" />
|
|
|
569 |
</td>
|
570 |
<td>
|
571 |
+
<?php _e('Height', $this->text_domain); ?><input name="properties[height-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-title']) ? $this->options['height-title'] : $this->defaults['height-title']); ?>" style="width: 4em;" />
|
572 |
</td>
|
573 |
<td>
|
574 |
+
<?php _e('Length', $this->text_domain); ?><input name="properties[trim-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-title']) ? $this->options['trim-title'] : $this->defaults['trim-title']); ?>" style="width: 3em;" />
|
|
|
575 |
</td>
|
576 |
</tr>
|
577 |
|
578 |
<tr valign="top">
|
579 |
<th scope="row"><?php _e('URL', $this->text_domain); ?></th>
|
580 |
+
<td colspan="3">
|
581 |
+
<table>
|
582 |
+
<tr>
|
583 |
+
<td>
|
584 |
+
<?php _e('Color', $this->text_domain); ?><input name="properties[color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-url']); ?>" />
|
585 |
+
</td>
|
586 |
+
<td>
|
587 |
+
<label><input name="properties[outline-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-url']) ? $this->options['outline-url'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
|
588 |
+
<input name="properties[outline-color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-url']) ? $this->options['outline-color-url'] : $this->defaults['outline-color-url'])); ?>" />
|
589 |
+
</td>
|
590 |
+
</tr>
|
591 |
+
</table>
|
592 |
</td>
|
593 |
+
</tr>
|
594 |
+
<tr valign="top">
|
595 |
+
<th scope="row"></th>
|
596 |
<td>
|
597 |
+
<?php _e('Size', $this->text_domain); ?><input name="properties[size-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-url']) ? $this->options['size-url'] : $this->defaults['size-url']); ?>" style="width: 4em;" />
|
|
|
598 |
</td>
|
599 |
<td>
|
600 |
+
<?php _e('Height', $this->text_domain); ?><input name="properties[height-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-url']) ? $this->options['height-url'] : $this->defaults['height-url']); ?>" style="width: 4em;" />
|
601 |
</td>
|
602 |
<td>
|
|
|
|
|
603 |
</td>
|
604 |
</tr>
|
605 |
|
606 |
<tr valign="top">
|
607 |
<th scope="row"><?php _e('Excerpt', $this->text_domain); ?></th>
|
608 |
+
<td colspan="3">
|
609 |
+
<table>
|
610 |
+
<tr>
|
611 |
+
<td>
|
612 |
+
<?php _e('Color', $this->text_domain); ?><input name="properties[color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-excerpt']); ?>" />
|
613 |
+
</td>
|
614 |
+
<td>
|
615 |
+
<label><input name="properties[outline-excerpt]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-excerpt']) ? $this->options['outline-excerpt'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
|
616 |
+
<input name="properties[outline-color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-excerpt']) ? $this->options['outline-color-excerpt'] : $this->defaults['outline-color-excerpt'])); ?>" />
|
617 |
+
</td>
|
618 |
+
</tr>
|
619 |
+
</table>
|
620 |
</td>
|
621 |
+
</tr>
|
622 |
+
<tr valign="top">
|
623 |
+
<th scope="row"></th>
|
624 |
<td>
|
625 |
+
<?php _e('Size', $this->text_domain); ?><input name="properties[size-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-excerpt']) ? $this->options['size-excerpt'] : $this->defaults['size-excerpt']); ?>" style="width: 4em;" />
|
|
|
626 |
</td>
|
627 |
<td>
|
628 |
+
<?php _e('Height', $this->text_domain); ?><input name="properties[height-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-excerpt']) ? $this->options['height-excerpt'] : $this->defaults['height-excerpt']); ?>" style="width: 4em;" />
|
629 |
</td>
|
630 |
<td>
|
631 |
+
<?php _e('Length', $this->text_domain); ?><input name="properties[trim-count]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-count']) ? $this->options['trim-count'] : $this->defaults['trim-sount']); ?>" style="width: 3em;" />
|
|
|
632 |
</td>
|
633 |
</tr>
|
634 |
<tr valign="top">
|
lib/pz-linkcard-style.php
CHANGED
@@ -80,6 +80,14 @@
|
|
80 |
$file_text = str_replace('/*SHADOW*/', 'box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);', $file_text );
|
81 |
$file_text = str_replace('/*OPTION*/', 'article { position: relative; z-index: 0; } article blockquote { position: relative; z-index: 0; }', $file_text );
|
82 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
case 'inN': // Neutral
|
84 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #59fbea;',$file_text );
|
85 |
$file_text = str_replace('/*COLOR-TITLE*/', 'color: #59fbea;',$file_text );
|
@@ -87,9 +95,9 @@
|
|
87 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #59fbea;',$file_text );
|
88 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #59fbea;',$file_text );
|
89 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #59fbea;',$file_text );
|
90 |
-
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba(
|
91 |
-
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba(
|
92 |
-
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(89,251,234,0.05);',$file_text );
|
93 |
break;
|
94 |
case 'inI': // Orange
|
95 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #ebbc4a;',$file_text );
|
@@ -98,9 +106,9 @@
|
|
98 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #ebbc4a;',$file_text );
|
99 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #ebbc4a;',$file_text );
|
100 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #ebbc4a;',$file_text );
|
101 |
-
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba(
|
102 |
-
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba(
|
103 |
-
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(235,188,74,0.05);',$file_text );
|
104 |
break;
|
105 |
case 'inE': // Green
|
106 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #28f428;',$file_text );
|
@@ -109,9 +117,9 @@
|
|
109 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #28f428;',$file_text );
|
110 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #28f428;',$file_text );
|
111 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #28f428;',$file_text );
|
112 |
-
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba(
|
113 |
-
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba(
|
114 |
-
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(40,244,40,0.05);',$file_text );
|
115 |
break;
|
116 |
case 'inR': // Blue
|
117 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #00c2ff;',$file_text );
|
@@ -120,9 +128,21 @@
|
|
120 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #00c2ff;',$file_text );
|
121 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #00c2ff;',$file_text );
|
122 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #00c2ff;',$file_text );
|
123 |
-
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba(0,
|
124 |
-
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba(0,
|
125 |
-
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(0,194,255,0.05);',$file_text );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
break;
|
127 |
}
|
128 |
|
@@ -275,6 +295,12 @@
|
|
275 |
}
|
276 |
}
|
277 |
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
// サムネイル影あり
|
279 |
if (isset($this->options['thumbnail-shadow']) && $this->options['thumbnail-shadow'] == '1') {
|
280 |
$file_text = str_replace('/*THUMBNAIL-SHADOW*/', 'box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);',$file_text );
|
@@ -320,7 +346,7 @@
|
|
320 |
}
|
321 |
|
322 |
// 枠線の太さ
|
323 |
-
switch ($this->options['border']) {
|
324 |
case '1gr':
|
325 |
$file_text = str_replace('/*BORDER*/', 'border: 1px solid #ddd;',$file_text );
|
326 |
break;
|
@@ -361,10 +387,15 @@
|
|
361 |
$file_text = str_replace('/*BORDER*/', 'border: 1px dotted #444;',$file_text );
|
362 |
break;
|
363 |
default:
|
364 |
-
$file_text = str_replace('/*BORDER*/', 'border: none;',$file_text );
|
365 |
break;
|
366 |
}
|
367 |
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
// 抜粋文の部分を凹ませる
|
369 |
if (isset($this->options['content-inset']) && $this->options['content-inset'] == '1') {
|
370 |
$file_text = str_replace('/*CONTENT-PADDING*/', 'padding: 6px;',$file_text );
|
80 |
$file_text = str_replace('/*SHADOW*/', 'box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);', $file_text );
|
81 |
$file_text = str_replace('/*OPTION*/', 'article { position: relative; z-index: 0; } article blockquote { position: relative; z-index: 0; }', $file_text );
|
82 |
break;
|
83 |
+
case 'stR': // Stitch red
|
84 |
+
$file_text = str_replace('/*WRAP*/', 'position: relative;',$file_text );
|
85 |
+
$file_text = str_replace('/*WRAP-BEFORE*/', 'content: ""; display: block; position: absolute; left: -24px; top: 0px; width: 200px; height: 25px; z-index: 2; background-color: rgba(243,245,228,0.5); border: 2px solid rgba(255,255,255,0.5); -webkit-box-shadow: 1px 1px 4px rgba(200,200,180,0.8); -moz-box-shadow: 1px 1px 4px rgba(200,200,180,0.8); box-shadow: 1px 1px 4px rgba(200,200,180,0.8); -webkit-transform: rotate(-8deg); -moz-transform: rotate(-8deg); -o-transform: rotate(-8deg);', $file_text );
|
86 |
+
$file_text = str_replace('/*WRAP-AFTER*/', 'z-index: -1; content:""; height: 10px; width: 60%; position: absolute; right: 16px; bottom: 14px; left: auto; transform: skew(5deg) rotate(3deg); -webkit-transform: skew(5deg) rotate(3deg); -moz-transform: skew(5deg) rotate(3deg); box-shadow: 0 16px 16px rgba(0,0,0,1); -webkit-box-shadow: 0 16px 16px rgba(0,0,0,1); -moz-box-shadow: 0 16px 12px rgba(0,0,0,1);', $file_text );
|
87 |
+
$file_text = str_replace('/*MARGIN-LEFT*/', 'margin-left: 24px;',$file_text );
|
88 |
+
$file_text = str_replace('/*SHADOW*/', 'box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);', $file_text );
|
89 |
+
$file_text = str_replace('/*OPTION*/', 'article { position: relative; z-index: 0; } article blockquote { position: relative; z-index: 0; }', $file_text );
|
90 |
+
break;
|
91 |
case 'inN': // Neutral
|
92 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #59fbea;',$file_text );
|
93 |
$file_text = str_replace('/*COLOR-TITLE*/', 'color: #59fbea;',$file_text );
|
95 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #59fbea;',$file_text );
|
96 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #59fbea;',$file_text );
|
97 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #59fbea;',$file_text );
|
98 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba( 35,100, 93,0.9);',$file_text );
|
99 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba( 8, 25, 23,0.9);',$file_text );
|
100 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 89,251,234,0.05);',$file_text );
|
101 |
break;
|
102 |
case 'inI': // Orange
|
103 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #ebbc4a;',$file_text );
|
106 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #ebbc4a;',$file_text );
|
107 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #ebbc4a;',$file_text );
|
108 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #ebbc4a;',$file_text );
|
109 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba( 94, 75, 29,0.9);',$file_text );
|
110 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba( 23, 18, 7,0.9);',$file_text );
|
111 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(235,188, 74,0.05);',$file_text );
|
112 |
break;
|
113 |
case 'inE': // Green
|
114 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #28f428;',$file_text );
|
117 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #28f428;',$file_text );
|
118 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #28f428;',$file_text );
|
119 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #28f428;',$file_text );
|
120 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba( 16, 97, 16,0.9);',$file_text );
|
121 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba( 4, 24, 4,0.9);',$file_text );
|
122 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 40,244, 40,0.05);',$file_text );
|
123 |
break;
|
124 |
case 'inR': // Blue
|
125 |
$file_text = str_replace('/*BORDER*/', 'border: 4px solid #00c2ff;',$file_text );
|
128 |
$file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #00c2ff;',$file_text );
|
129 |
$file_text = str_replace('/*COLOR-INFO*/', 'color: #00c2ff;',$file_text );
|
130 |
$file_text = str_replace('/*COLOR-PLUGIN*/', 'color: #00c2ff;',$file_text );
|
131 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background-color: rgba( 0, 77,102,0.9);',$file_text );
|
132 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background-color: rgba( 0, 19, 25,0.9);',$file_text );
|
133 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 0,194,255,0.05);',$file_text );
|
134 |
+
break;
|
135 |
+
case 'sBR': // Stitch blue&red
|
136 |
+
$file_text = str_replace('/*BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);',$file_text );
|
137 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background: #bcddff; box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
138 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background: #f8d0d0; box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
139 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f29db0; box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
140 |
+
break;
|
141 |
+
case 'sGY': // Stitch green&yellow
|
142 |
+
$file_text = str_replace('/*BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);',$file_text );
|
143 |
+
$file_text = str_replace('/*EX-BGCOLOR*/', 'background: #acefdd; box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
144 |
+
$file_text = str_replace('/*IN-BGCOLOR*/', 'background: #ffde51; box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
145 |
+
$file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f0e0b0; box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6);',$file_text );
|
146 |
break;
|
147 |
}
|
148 |
|
295 |
}
|
296 |
}
|
297 |
|
298 |
+
// サムネイルサイズ
|
299 |
+
$thumbnail_width = preg_replace('/[^0-9]/', '', isset($this->options['thumbnail-width']) ? $this->options['thumbnail-width'] : $this->defaults['thumbnail-width'] ) - 0;
|
300 |
+
$thumbnail_height = preg_replace('/[^0-9]/', '', isset($this->options['content-height'] ) ? $this->options['content-height'] : $this->defaults['content-height'] ) - 0;
|
301 |
+
$file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: '.$thumbnail_width .'px;', $file_text );
|
302 |
+
$file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'max-height: '.$thumbnail_height.'px;', $file_text );
|
303 |
+
|
304 |
// サムネイル影あり
|
305 |
if (isset($this->options['thumbnail-shadow']) && $this->options['thumbnail-shadow'] == '1') {
|
306 |
$file_text = str_replace('/*THUMBNAIL-SHADOW*/', 'box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);',$file_text );
|
346 |
}
|
347 |
|
348 |
// 枠線の太さ
|
349 |
+
switch (isset($this->options['border']) ? $this->options['border'] : '') {
|
350 |
case '1gr':
|
351 |
$file_text = str_replace('/*BORDER*/', 'border: 1px solid #ddd;',$file_text );
|
352 |
break;
|
387 |
$file_text = str_replace('/*BORDER*/', 'border: 1px dotted #444;',$file_text );
|
388 |
break;
|
389 |
default:
|
|
|
390 |
break;
|
391 |
}
|
392 |
|
393 |
+
// 枠線の太さ
|
394 |
+
$border = (preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0).'px ';
|
395 |
+
$border .= (isset($this->options['border-style']) ? $this->options['border-style'] : $this->defaults['border-style']).' ';
|
396 |
+
$border .= (isset($this->options['border-color']) ? $this->options['border-color'] : $this->defaults['border-color']).';';
|
397 |
+
$file_text = str_replace('/*BORDER*/', 'border: '.$border,$file_text );
|
398 |
+
|
399 |
// 抜粋文の部分を凹ませる
|
400 |
if (isset($this->options['content-inset']) && $this->options['content-inset'] == '1') {
|
401 |
$file_text = str_replace('/*CONTENT-PADDING*/', 'padding: 6px;',$file_text );
|
pz-linkcard.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
-
Version: 1.7.
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
@@ -31,13 +31,15 @@ class Pz_LinkCard {
|
|
31 |
'code3' => null,
|
32 |
'code4' => null,
|
33 |
'trail-slash' => '1',
|
34 |
-
'border'
|
35 |
-
'
|
36 |
-
'
|
37 |
-
'
|
38 |
-
'
|
39 |
-
'margin-
|
40 |
-
'margin-
|
|
|
|
|
41 |
'card-top' => null,
|
42 |
'card-right' => null,
|
43 |
'card-bottom' => null,
|
@@ -96,6 +98,7 @@ class Pz_LinkCard {
|
|
96 |
'favicon-api' => 'https://www.google.com/s2/favicons?domain=%DOMAIN%',
|
97 |
'thumbnail-api' => 'https://s.wordpress.com/mshots/v1/%URL%?w=100',
|
98 |
'thumbnail-position'=> '2',
|
|
|
99 |
'thumbnail-shadow' => '1',
|
100 |
'thumbnail-resize' => '1',
|
101 |
'cache-time' => 31536000,
|
@@ -119,7 +122,7 @@ class Pz_LinkCard {
|
|
119 |
'presence' => null,
|
120 |
'plugin-link' => null,
|
121 |
'plugin-name' => 'Pz-LinkCard',
|
122 |
-
'plugin-version' => '1.7.
|
123 |
'plugin-url' => 'http://poporon.poponet.jp/pz-linkcard',
|
124 |
'pz-hbc-options' => null,
|
125 |
'debug-time' => null
|
@@ -179,8 +182,8 @@ class Pz_LinkCard {
|
|
179 |
add_action ('admin_enqueue_scripts', array($this, 'enqueue_admin')); // 設定メニュー用スクリプト
|
180 |
add_filter ('plugin_action_links_'.$this->plugin_basename, array($this, 'action_links')); // プラグイン画面
|
181 |
|
182 |
-
if (
|
183 |
-
if (
|
184 |
$this->pz_SetStyle();
|
185 |
}
|
186 |
}
|
@@ -209,7 +212,7 @@ class Pz_LinkCard {
|
|
209 |
// ショートコード処理
|
210 |
public function shortcode($atts, $content = null, $shortcode) {
|
211 |
// 実行時間
|
212 |
-
if (isset($this->options['debug-time']) &&
|
213 |
$start_time = microtime(true);
|
214 |
}
|
215 |
|
@@ -255,7 +258,7 @@ class Pz_LinkCard {
|
|
255 |
$data = $this->pz_GetHTML ( $atts );
|
256 |
|
257 |
// 実行時間
|
258 |
-
if (isset($this->options['debug-time']) &&
|
259 |
$end_time = microtime(true);
|
260 |
$elasped_time = number_format($end_time - $start_time, 8, '.', ',');
|
261 |
$data = PHP_EOL.'<!-- Pz-LkC -->'.PHP_EOL.$data.PHP_EOL.'<!-- /Pz-LkC ('.$elasped_time.'sec) -->'.PHP_EOL;
|
@@ -290,7 +293,7 @@ class Pz_LinkCard {
|
|
290 |
|
291 |
// 自サイトチェック
|
292 |
if (preg_match('{'.home_url().'\/.*?}', $url.'/')) {
|
293 |
-
if (get_permalink() == $url) {
|
294 |
$link_type = 1; // 自ページ
|
295 |
} else {
|
296 |
$link_type = 2; // 自サイト内
|
@@ -415,10 +418,13 @@ class Pz_LinkCard {
|
|
415 |
$thumbnail = null;
|
416 |
} else {
|
417 |
if ($sw_thumbnail == '1' || $sw_thumbnail == '13') {
|
418 |
-
if (
|
|
|
|
|
|
|
419 |
$thumbnail = '<img class="lkc-thumbnail-img" src="'.$thumbnail_url.'" alt="" />';
|
420 |
} elseif ($sw_thumbnail == '13') {
|
421 |
-
$sw_thumbnail
|
422 |
}
|
423 |
}
|
424 |
if ($sw_thumbnail == '3') {
|
@@ -438,7 +444,7 @@ class Pz_LinkCard {
|
|
438 |
} else{
|
439 |
if ($sw_favicon == '1' || $sw_favicon == '13') {
|
440 |
if ( !is_null($favicon_url ) ) {
|
441 |
-
$favicon = '<img class="lkc-favicon" src="'.$favicon_url.'" alt="" />';
|
442 |
} elseif ($sw_favicon == '13') {
|
443 |
$sw_favicon == '3';
|
444 |
}
|
@@ -449,7 +455,7 @@ class Pz_LinkCard {
|
|
449 |
$favicon = preg_replace('/%DOMAIN_URL%/', $domain_url, $this->options['favicon-api'] );
|
450 |
$favicon = preg_replace('/%DOMAIN%/', $domain, $favicon);
|
451 |
$favicon = preg_replace('/%URL%/', rawurlencode($url), $favicon);
|
452 |
-
$favicon = '<img class="lkc-favicon" src="'.$favicon.'" alt="" />';
|
453 |
}
|
454 |
}
|
455 |
}
|
@@ -866,7 +872,10 @@ class Pz_LinkCard {
|
|
866 |
}
|
867 |
}
|
868 |
$thumbnail_id = get_post_thumbnail_id( $post_id ); // サムネイル
|
869 |
-
$
|
|
|
|
|
|
|
870 |
} else {
|
871 |
// カテゴリページ等は内部取得できないので外部取得する
|
872 |
$data = $this->pz_GetCURL( $data );
|
@@ -1127,6 +1136,38 @@ class Pz_LinkCard {
|
|
1127 |
return $tags;
|
1128 |
}
|
1129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1130 |
// 管理画面時のスタイルシート、スクリプト設定
|
1131 |
public function enqueue_admin($hook) {
|
1132 |
wp_enqueue_style ('wp-color-picker');
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
+
Version: 1.7.7
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
31 |
'code3' => null,
|
32 |
'code4' => null,
|
33 |
'trail-slash' => '1',
|
34 |
+
'border-width' => '1px',
|
35 |
+
'border-style' => 'solid',
|
36 |
+
'border-color' => '#444444',
|
37 |
+
'width' => '500px',
|
38 |
+
'content-height' => '108px',
|
39 |
+
'margin-top' => '4px',
|
40 |
+
'margin-right' => '16px',
|
41 |
+
'margin-bottom' => '16px',
|
42 |
+
'margin-left' => '4px',
|
43 |
'card-top' => null,
|
44 |
'card-right' => null,
|
45 |
'card-bottom' => null,
|
98 |
'favicon-api' => 'https://www.google.com/s2/favicons?domain=%DOMAIN%',
|
99 |
'thumbnail-api' => 'https://s.wordpress.com/mshots/v1/%URL%?w=100',
|
100 |
'thumbnail-position'=> '2',
|
101 |
+
'thumbnail-width' => '100px',
|
102 |
'thumbnail-shadow' => '1',
|
103 |
'thumbnail-resize' => '1',
|
104 |
'cache-time' => 31536000,
|
122 |
'presence' => null,
|
123 |
'plugin-link' => null,
|
124 |
'plugin-name' => 'Pz-LinkCard',
|
125 |
+
'plugin-version' => '1.7.7',
|
126 |
'plugin-url' => 'http://poporon.poponet.jp/pz-linkcard',
|
127 |
'pz-hbc-options' => null,
|
128 |
'debug-time' => null
|
182 |
add_action ('admin_enqueue_scripts', array($this, 'enqueue_admin')); // 設定メニュー用スクリプト
|
183 |
add_filter ('plugin_action_links_'.$this->plugin_basename, array($this, 'action_links')); // プラグイン画面
|
184 |
|
185 |
+
if (!isset($this->options['style']) || $this->options['style'] == '') {
|
186 |
+
if (!isset($this->options['css-path']) || !file_exists($this->options['css-path'])) {
|
187 |
$this->pz_SetStyle();
|
188 |
}
|
189 |
}
|
212 |
// ショートコード処理
|
213 |
public function shortcode($atts, $content = null, $shortcode) {
|
214 |
// 実行時間
|
215 |
+
if (isset($this->options['debug-time']) && $this->options['debug-time']) {
|
216 |
$start_time = microtime(true);
|
217 |
}
|
218 |
|
258 |
$data = $this->pz_GetHTML ( $atts );
|
259 |
|
260 |
// 実行時間
|
261 |
+
if (isset($this->options['debug-time']) && $this->options['debug-time']) {
|
262 |
$end_time = microtime(true);
|
263 |
$elasped_time = number_format($end_time - $start_time, 8, '.', ',');
|
264 |
$data = PHP_EOL.'<!-- Pz-LkC -->'.PHP_EOL.$data.PHP_EOL.'<!-- /Pz-LkC ('.$elasped_time.'sec) -->'.PHP_EOL;
|
293 |
|
294 |
// 自サイトチェック
|
295 |
if (preg_match('{'.home_url().'\/.*?}', $url.'/')) {
|
296 |
+
if ($this->pz_TrimURL(get_permalink()) == $url) {
|
297 |
$link_type = 1; // 自ページ
|
298 |
} else {
|
299 |
$link_type = 2; // 自サイト内
|
418 |
$thumbnail = null;
|
419 |
} else {
|
420 |
if ($sw_thumbnail == '1' || $sw_thumbnail == '13') {
|
421 |
+
if ( !$link_type ) {
|
422 |
+
$thumbnail_url = $this->pz_GetThumbnail($thumbnail_url);
|
423 |
+
}
|
424 |
+
if ( isset($thumbnail_url) && $thumbnail_url <> '' ) {
|
425 |
$thumbnail = '<img class="lkc-thumbnail-img" src="'.$thumbnail_url.'" alt="" />';
|
426 |
} elseif ($sw_thumbnail == '13') {
|
427 |
+
$sw_thumbnail = '3';
|
428 |
}
|
429 |
}
|
430 |
if ($sw_thumbnail == '3') {
|
444 |
} else{
|
445 |
if ($sw_favicon == '1' || $sw_favicon == '13') {
|
446 |
if ( !is_null($favicon_url ) ) {
|
447 |
+
$favicon = '<img class="lkc-favicon" src="'.$favicon_url.'" alt="" width=16 height=16 />';
|
448 |
} elseif ($sw_favicon == '13') {
|
449 |
$sw_favicon == '3';
|
450 |
}
|
455 |
$favicon = preg_replace('/%DOMAIN_URL%/', $domain_url, $this->options['favicon-api'] );
|
456 |
$favicon = preg_replace('/%DOMAIN%/', $domain, $favicon);
|
457 |
$favicon = preg_replace('/%URL%/', rawurlencode($url), $favicon);
|
458 |
+
$favicon = '<img class="lkc-favicon" src="'.$favicon.'" alt="" width=16 height=16 />';
|
459 |
}
|
460 |
}
|
461 |
}
|
872 |
}
|
873 |
}
|
874 |
$thumbnail_id = get_post_thumbnail_id( $post_id ); // サムネイル
|
875 |
+
$attach = wp_get_attachment_image_src( $thumbnail_id , true );
|
876 |
+
if (isset($attach) && count($attach) && isset($attach[0])) {
|
877 |
+
$thumbnail = $attach[0];
|
878 |
+
}
|
879 |
} else {
|
880 |
// カテゴリページ等は内部取得できないので外部取得する
|
881 |
$data = $this->pz_GetCURL( $data );
|
1136 |
return $tags;
|
1137 |
}
|
1138 |
|
1139 |
+
// サムネイル画像取得
|
1140 |
+
public function pz_GetThumbnail($url) {
|
1141 |
+
if (!isset($url) || $url == '' || $url == 'https://s0.wp.com/i/blank.jpg') {
|
1142 |
+
return null;
|
1143 |
+
}
|
1144 |
+
$file_name = 'thumbnail/'.bin2hex(hash('sha256', $url, true));
|
1145 |
+
//$file_name = 'thumbnail/'.rawurlencode($url).'.thumbnail';
|
1146 |
+
$file_path = $this->plugin_dir_path.$file_name;
|
1147 |
+
$file_url = $this->plugin_dir_url.$file_name;
|
1148 |
+
if (file_exists($file_path )) {
|
1149 |
+
return $file_url;
|
1150 |
+
}
|
1151 |
+
list($width, $height) = getimagesize($url);
|
1152 |
+
if (!isset($width) || !isset($height) || $width < 8 || $height < 8) {
|
1153 |
+
return null;
|
1154 |
+
}
|
1155 |
+
$image = imagecreatefromstring(file_get_contents($url));
|
1156 |
+
$new_width = 100;
|
1157 |
+
$new_height = 100;
|
1158 |
+
if ($width <> $height) {
|
1159 |
+
if ($width > $height) {
|
1160 |
+
$new_height = $height * ( $new_width / $width );
|
1161 |
+
} else {
|
1162 |
+
$new_width = $width * ( $new_height / $height );
|
1163 |
+
}
|
1164 |
+
}
|
1165 |
+
$image_p = imagecreatetruecolor($new_width, $new_height);
|
1166 |
+
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
|
1167 |
+
imagejpeg($image_p, $file_path);
|
1168 |
+
return $file_url;
|
1169 |
+
}
|
1170 |
+
|
1171 |
// 管理画面時のスタイルシート、スクリプト設定
|
1172 |
public function enqueue_admin($hook) {
|
1173 |
wp_enqueue_style ('wp-color-picker');
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: poporon
|
3 |
Tags: post, internal link, external link, blogcard, linkcard
|
4 |
Requires at least: 4.3
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -155,28 +155,45 @@ A5.
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
= 1.7.5 =
|
|
|
159 |
* Cleaning up garbage from the database at activation.
|
160 |
* Modefied: Cleaned up the settings screen
|
161 |
-
*
|
162 |
-
*
|
163 |
-
*
|
164 |
* Fixed: facebook API.
|
165 |
* Fixed: bugfix.
|
166 |
|
|
|
167 |
* アクティベート/バージョンアップ時に重複データを削除。
|
168 |
* Pzカード設定画面の項目追加と整理。
|
169 |
* Pzカード設定画面に用例などを追加。
|
170 |
* Pzカード管理画面での内部リンクの判定方法を変更。
|
171 |
-
* サイト情報、タイトル、URL
|
172 |
-
*
|
173 |
-
*
|
174 |
-
*
|
175 |
-
*
|
176 |
* リンク先がリンク切れの場合、Aタグを無効にする設定を追加。
|
177 |
* 末尾のスラッシュを無視する設定を追加。
|
178 |
-
*
|
179 |
-
|
180 |
|
181 |
= 1.7.4 =
|
182 |
* Fixed: Fixed a bug that table is not created.
|
2 |
Contributors: poporon
|
3 |
Tags: post, internal link, external link, blogcard, linkcard
|
4 |
Requires at least: 4.3
|
5 |
+
Tested up to: 4.7.1
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= 1.7.7
|
159 |
+
* Fixed: Fixed a bug
|
160 |
+
|
161 |
+
* アイキャッチ画像が設定されていないテーマの場合にエラーが発生してしまうのを修正。(Thanks enomoto、sato)
|
162 |
+
|
163 |
+
= 1.7.6
|
164 |
+
* Added: Add tips at settings screen
|
165 |
+
* Added: Tiny format 'Stitch'.
|
166 |
+
* Modefied: Able to change the size of the thumbnail.
|
167 |
+
|
168 |
+
* Pzカード設定画面に用例などを追加。
|
169 |
+
* 「かんたん書式設定」に「縫い目」を追加。(Thanks @i_tsu_tsu)
|
170 |
+
* サムネイルのサイズを指定できるように変更。(Thanks @misoji_13)
|
171 |
+
|
172 |
+
|
173 |
= 1.7.5 =
|
174 |
+
* Compatible with WordPress 4.7.1.
|
175 |
* Cleaning up garbage from the database at activation.
|
176 |
* Modefied: Cleaned up the settings screen
|
177 |
+
* Added: Add tips at settings screen
|
178 |
+
* Added: Added setting. `Height` in letter.
|
179 |
+
* Added: Added setting. Trailing slash.
|
180 |
* Fixed: facebook API.
|
181 |
* Fixed: bugfix.
|
182 |
|
183 |
+
* WordPress 4.7.1 での動作確認。
|
184 |
* アクティベート/バージョンアップ時に重複データを削除。
|
185 |
* Pzカード設定画面の項目追加と整理。
|
186 |
* Pzカード設定画面に用例などを追加。
|
187 |
* Pzカード管理画面での内部リンクの判定方法を変更。
|
188 |
+
* サイト情報、タイトル、URL、抜粋文部分の行の高さを追加。(Thanks @keitaihoo、@ud_fibonacci)
|
189 |
+
* 内部リンクのキャッシュが正常に作成されない場合があったのを修正。(Thanks @i_tsu_tsu)
|
190 |
+
* 内部リンクをキャッシュから取得した場合に画像が表示されなかったのを修正。(Thanks @i_tsu_tsu)
|
191 |
+
* リンク先がリダイレクトされているときの追尾を選択できる設定を追加。(Thanks @fumieblog)
|
192 |
+
* リンク先がリンク切れになっていないかチェックする設定を追加。(Thanks @misoji_13)
|
193 |
* リンク先がリンク切れの場合、Aタグを無効にする設定を追加。
|
194 |
* 末尾のスラッシュを無視する設定を追加。
|
195 |
+
* フェイスブックのシェア数取得方法の修正。(Thanks @i_tsu_tsu)
|
196 |
+
* WebAPIに使用しているURLのデフォルトをSSL対応のものに変更。(Thanks @fumieblog、@hareannie01)
|
197 |
|
198 |
= 1.7.4 =
|
199 |
* Fixed: Fixed a bug that table is not created.
|
templete/pz-linkcard-templete.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/* [Pz-LkC][1.7.
|
2 |
.linkcard {
|
3 |
/*MARGIN-TOP*/
|
4 |
/*MARGIN-BOTTOM*/
|
@@ -116,15 +116,15 @@
|
|
116 |
overflow: hidden;
|
117 |
}
|
118 |
.lkc-thumbnail {
|
119 |
-
|
120 |
-
|
121 |
padding: 0;
|
122 |
margin: 0 6px 4px 4px;
|
123 |
/*THUMBNAIL_POSITION*/
|
124 |
}
|
125 |
.lkc-thumbnail-img {
|
126 |
-
|
127 |
-
|
128 |
border: 1px solid #222;
|
129 |
/*THUMBNAIL-RADIUS*/
|
130 |
/*THUMBNAIL-SHADOW*/
|
1 |
+
/* [Pz-LkC][1.7.6] CSS */
|
2 |
.linkcard {
|
3 |
/*MARGIN-TOP*/
|
4 |
/*MARGIN-BOTTOM*/
|
116 |
overflow: hidden;
|
117 |
}
|
118 |
.lkc-thumbnail {
|
119 |
+
/*THUMBNAIL-WIDTH*/
|
120 |
+
/*THUMBNAIL-HEIGHT*/
|
121 |
padding: 0;
|
122 |
margin: 0 6px 4px 4px;
|
123 |
/*THUMBNAIL_POSITION*/
|
124 |
}
|
125 |
.lkc-thumbnail-img {
|
126 |
+
/*THUMBNAIL-WIDTH*/
|
127 |
+
/*THUMBNAIL-HEIGHT*/
|
128 |
border: 1px solid #222;
|
129 |
/*THUMBNAIL-RADIUS*/
|
130 |
/*THUMBNAIL-SHADOW*/
|