Version Description
Download this release
Release Info
Developer | poporon |
Plugin | Pz-LinkCard |
Version | 2.1.9 |
Comparing to | |
See all releases |
Code changes from version 2.1.8.4 to 2.1.9
- languages/pz-linkcard-ja.mo +0 -0
- languages/pz-linkcard-ja.po +43 -35
- lib/pz-linkcard-settings.php +5 -0
- pz-linkcard.php +8 -2
- readme.txt +4 -0
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: 2018-09-
|
8 |
-
"PO-Revision-Date: 2018-09-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: poporon\n"
|
11 |
"Language: ja_JP\n"
|
@@ -19,71 +19,71 @@ 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 ""
|
25 |
|
26 |
-
#: ../pz-linkcard.php:
|
27 |
msgid "Category"
|
28 |
msgstr "カテゴリー"
|
29 |
|
30 |
-
#: ../pz-linkcard.php:
|
31 |
msgid "‘"
|
32 |
msgstr "「"
|
33 |
|
34 |
-
#: ../pz-linkcard.php:
|
35 |
msgid "’"
|
36 |
msgstr "」"
|
37 |
|
38 |
-
#: ../pz-linkcard.php:
|
39 |
msgid "("
|
40 |
msgstr "("
|
41 |
|
42 |
-
#: ../pz-linkcard.php:
|
43 |
msgid "Count"
|
44 |
msgstr "件数"
|
45 |
|
46 |
-
#: ../pz-linkcard.php:
|
47 |
msgid ")"
|
48 |
msgstr ")"
|
49 |
|
50 |
-
#: ../pz-linkcard.php:
|
51 |
msgid "Tag"
|
52 |
msgstr "タグ"
|
53 |
|
54 |
-
#: ../pz-linkcard.php:
|
55 |
msgid "Linkcard"
|
56 |
msgstr "リンクカード"
|
57 |
|
58 |
-
#: ../pz-linkcard.php:
|
59 |
msgid "Make Linkcard"
|
60 |
msgstr "リンクカードのショートコードを挿入する"
|
61 |
|
62 |
-
#: ../pz-linkcard.php:
|
63 |
msgid "Invalid URL parameter in "
|
64 |
msgstr "URLパラメーターの指定が無効です→"
|
65 |
|
66 |
-
#: ../pz-linkcard.php:
|
67 |
msgid "Pz LkC Cache"
|
68 |
msgstr "Pz カード管理"
|
69 |
|
70 |
-
#: ../pz-linkcard.php:
|
71 |
msgid "Pz LinkCard"
|
72 |
msgstr "Pz カード設定"
|
73 |
|
74 |
-
#: ../pz-linkcard.php:
|
75 |
msgid "LinkCard cache manager"
|
76 |
msgstr "リンクカード/DBキャッシュ管理"
|
77 |
|
78 |
-
#: ../pz-linkcard.php:
|
79 |
msgid "LinkCard Settings"
|
80 |
msgstr "リンクカード設定"
|
81 |
|
82 |
-
#: ../pz-linkcard.php:
|
83 |
msgid "Settings"
|
84 |
msgstr "設定"
|
85 |
|
86 |
-
#: ../pz-linkcard.php:
|
87 |
msgid "Manage"
|
88 |
msgstr "管理"
|
89 |
|
@@ -928,7 +928,7 @@ msgstr "はてなブログカードを利用する"
|
|
928 |
msgid "External links will use Always HatenaBlogCard."
|
929 |
msgstr "外部リンクは「はてなブログカード」を利用する"
|
930 |
|
931 |
-
#: ../lib/pz-linkcard-settings.php:786 ../lib/pz-linkcard-settings.php:
|
932 |
msgid "(Not recommended)"
|
933 |
msgstr "(非推奨)"
|
934 |
|
@@ -1242,66 +1242,74 @@ msgstr ""
|
|
1242 |
"本語ドメインなど)"
|
1243 |
|
1244 |
#: ../lib/pz-linkcard-settings.php:1075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1245 |
msgid "Display link to author page"
|
1246 |
msgstr "プラグイン名を表示する"
|
1247 |
|
1248 |
-
#: ../lib/pz-linkcard-settings.php:
|
1249 |
msgid "Plugin URL"
|
1250 |
msgstr "プラグインページURL"
|
1251 |
|
1252 |
-
#: ../lib/pz-linkcard-settings.php:
|
1253 |
msgid "Plugin name"
|
1254 |
msgstr "プラグイン名"
|
1255 |
|
1256 |
-
#: ../lib/pz-linkcard-settings.php:
|
1257 |
msgid "Plugin version"
|
1258 |
msgstr "プラグインバージョン"
|
1259 |
|
1260 |
-
#: ../lib/pz-linkcard-settings.php:
|
1261 |
msgid "Saved datetime"
|
1262 |
msgstr "保存した日時"
|
1263 |
|
1264 |
-
#: ../lib/pz-linkcard-settings.php:
|
1265 |
msgid "Display elapsed time"
|
1266 |
msgstr "実行時間の表示"
|
1267 |
|
1268 |
-
#: ../lib/pz-linkcard-settings.php:
|
1269 |
msgid "Output the elapsed time to HTML comment."
|
1270 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
1271 |
|
1272 |
-
#: ../lib/pz-linkcard-settings.php:
|
1273 |
msgid "Initialize"
|
1274 |
msgstr "初期化"
|
1275 |
|
1276 |
-
#: ../lib/pz-linkcard-settings.php:
|
1277 |
msgid "Return to the initial setting"
|
1278 |
msgstr "設定を初期状態へ戻す"
|
1279 |
|
1280 |
-
#: ../lib/pz-linkcard-settings.php:
|
1281 |
msgid "etc"
|
1282 |
msgstr "その他"
|
1283 |
|
1284 |
-
#: ../lib/pz-linkcard-settings.php:
|
1285 |
msgid "Author's site"
|
1286 |
msgstr "作者のサイト"
|
1287 |
|
1288 |
-
#: ../lib/pz-linkcard-settings.php:
|
1289 |
msgid "Popozure."
|
1290 |
msgstr "ぽぽづれ。"
|
1291 |
|
1292 |
-
#: ../lib/pz-linkcard-settings.php:
|
1293 |
msgid "Poporon's PC daily diary"
|
1294 |
msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
|
1295 |
|
1296 |
-
#: ../lib/pz-linkcard-settings.php:
|
1297 |
msgid "When in trouble"
|
1298 |
msgstr "困ったときは"
|
1299 |
|
1300 |
-
#: ../lib/pz-linkcard-settings.php:
|
1301 |
msgid "Twitter account"
|
1302 |
msgstr "ツイッター アカウント"
|
1303 |
|
1304 |
-
#: ../lib/pz-linkcard-settings.php:
|
1305 |
msgid "Donation"
|
1306 |
msgstr "寄付"
|
1307 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Pz-LinkCard\n"
|
6 |
"Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
|
7 |
+
"POT-Creation-Date: 2018-09-08 06:01+0900\n"
|
8 |
+
"PO-Revision-Date: 2018-09-08 06:01+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:350
|
23 |
msgid "Incorrect URL specification."
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: ../pz-linkcard.php:1225
|
27 |
msgid "Category"
|
28 |
msgstr "カテゴリー"
|
29 |
|
30 |
+
#: ../pz-linkcard.php:1225 ../pz-linkcard.php:1238
|
31 |
msgid "‘"
|
32 |
msgstr "「"
|
33 |
|
34 |
+
#: ../pz-linkcard.php:1225 ../pz-linkcard.php:1238
|
35 |
msgid "’"
|
36 |
msgstr "」"
|
37 |
|
38 |
+
#: ../pz-linkcard.php:1226 ../pz-linkcard.php:1239
|
39 |
msgid "("
|
40 |
msgstr "("
|
41 |
|
42 |
+
#: ../pz-linkcard.php:1226 ../pz-linkcard.php:1239
|
43 |
msgid "Count"
|
44 |
msgstr "件数"
|
45 |
|
46 |
+
#: ../pz-linkcard.php:1226 ../pz-linkcard.php:1239
|
47 |
msgid ")"
|
48 |
msgstr ")"
|
49 |
|
50 |
+
#: ../pz-linkcard.php:1238
|
51 |
msgid "Tag"
|
52 |
msgstr "タグ"
|
53 |
|
54 |
+
#: ../pz-linkcard.php:1631
|
55 |
msgid "Linkcard"
|
56 |
msgstr "リンクカード"
|
57 |
|
58 |
+
#: ../pz-linkcard.php:1631
|
59 |
msgid "Make Linkcard"
|
60 |
msgstr "リンクカードのショートコードを挿入する"
|
61 |
|
62 |
+
#: ../pz-linkcard.php:1639
|
63 |
msgid "Invalid URL parameter in "
|
64 |
msgstr "URLパラメーターの指定が無効です→"
|
65 |
|
66 |
+
#: ../pz-linkcard.php:1670
|
67 |
msgid "Pz LkC Cache"
|
68 |
msgstr "Pz カード管理"
|
69 |
|
70 |
+
#: ../pz-linkcard.php:1671
|
71 |
msgid "Pz LinkCard"
|
72 |
msgstr "Pz カード設定"
|
73 |
|
74 |
+
#: ../pz-linkcard.php:1679 ../lib/pz-linkcard-cacheman.php:6
|
75 |
msgid "LinkCard cache manager"
|
76 |
msgstr "リンクカード/DBキャッシュ管理"
|
77 |
|
78 |
+
#: ../pz-linkcard.php:1680 ../lib/pz-linkcard-settings.php:4
|
79 |
msgid "LinkCard Settings"
|
80 |
msgstr "リンクカード設定"
|
81 |
|
82 |
+
#: ../pz-linkcard.php:1768
|
83 |
msgid "Settings"
|
84 |
msgstr "設定"
|
85 |
|
86 |
+
#: ../pz-linkcard.php:1768
|
87 |
msgid "Manage"
|
88 |
msgstr "管理"
|
89 |
|
928 |
msgid "External links will use Always HatenaBlogCard."
|
929 |
msgstr "外部リンクは「はてなブログカード」を利用する"
|
930 |
|
931 |
+
#: ../lib/pz-linkcard-settings.php:786 ../lib/pz-linkcard-settings.php:1102
|
932 |
msgid "(Not recommended)"
|
933 |
msgstr "(非推奨)"
|
934 |
|
1242 |
"本語ドメインなど)"
|
1243 |
|
1244 |
#: ../lib/pz-linkcard-settings.php:1075
|
1245 |
+
msgid "Relative URL"
|
1246 |
+
msgstr "相対指定URL"
|
1247 |
+
|
1248 |
+
#: ../lib/pz-linkcard-settings.php:1076
|
1249 |
+
msgid "For relative-specified URLs, complement the site URL."
|
1250 |
+
msgstr "相対指定のURLの場合、サイトURLを補完します。"
|
1251 |
+
|
1252 |
+
#: ../lib/pz-linkcard-settings.php:1080
|
1253 |
msgid "Display link to author page"
|
1254 |
msgstr "プラグイン名を表示する"
|
1255 |
|
1256 |
+
#: ../lib/pz-linkcard-settings.php:1084
|
1257 |
msgid "Plugin URL"
|
1258 |
msgstr "プラグインページURL"
|
1259 |
|
1260 |
+
#: ../lib/pz-linkcard-settings.php:1088
|
1261 |
msgid "Plugin name"
|
1262 |
msgstr "プラグイン名"
|
1263 |
|
1264 |
+
#: ../lib/pz-linkcard-settings.php:1092
|
1265 |
msgid "Plugin version"
|
1266 |
msgstr "プラグインバージョン"
|
1267 |
|
1268 |
+
#: ../lib/pz-linkcard-settings.php:1096
|
1269 |
msgid "Saved datetime"
|
1270 |
msgstr "保存した日時"
|
1271 |
|
1272 |
+
#: ../lib/pz-linkcard-settings.php:1101
|
1273 |
msgid "Display elapsed time"
|
1274 |
msgstr "実行時間の表示"
|
1275 |
|
1276 |
+
#: ../lib/pz-linkcard-settings.php:1102
|
1277 |
msgid "Output the elapsed time to HTML comment."
|
1278 |
msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
|
1279 |
|
1280 |
+
#: ../lib/pz-linkcard-settings.php:1108
|
1281 |
msgid "Initialize"
|
1282 |
msgstr "初期化"
|
1283 |
|
1284 |
+
#: ../lib/pz-linkcard-settings.php:1111
|
1285 |
msgid "Return to the initial setting"
|
1286 |
msgstr "設定を初期状態へ戻す"
|
1287 |
|
1288 |
+
#: ../lib/pz-linkcard-settings.php:1117
|
1289 |
msgid "etc"
|
1290 |
msgstr "その他"
|
1291 |
|
1292 |
+
#: ../lib/pz-linkcard-settings.php:1120
|
1293 |
msgid "Author's site"
|
1294 |
msgstr "作者のサイト"
|
1295 |
|
1296 |
+
#: ../lib/pz-linkcard-settings.php:1121
|
1297 |
msgid "Popozure."
|
1298 |
msgstr "ぽぽづれ。"
|
1299 |
|
1300 |
+
#: ../lib/pz-linkcard-settings.php:1121
|
1301 |
msgid "Poporon's PC daily diary"
|
1302 |
msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
|
1303 |
|
1304 |
+
#: ../lib/pz-linkcard-settings.php:1124
|
1305 |
msgid "When in trouble"
|
1306 |
msgstr "困ったときは"
|
1307 |
|
1308 |
+
#: ../lib/pz-linkcard-settings.php:1125
|
1309 |
msgid "Twitter account"
|
1310 |
msgstr "ツイッター アカウント"
|
1311 |
|
1312 |
+
#: ../lib/pz-linkcard-settings.php:1128
|
1313 |
msgid "Donation"
|
1314 |
msgstr "寄付"
|
1315 |
|
lib/pz-linkcard-settings.php
CHANGED
@@ -1071,6 +1071,11 @@
|
|
1071 |
<td><label><input name="properties[flg-idn]" type="checkbox" id="check" value="1" <?php checked( (isset($this->options['flg-idn']) && function_exists('idn_to_utf8') ) ? $this->options['flg-idn'] : null, 1); ?> /><?php _e('Convert domain name from IDNA ASCII to Unicode.', $this->text_domain); ?></label></td>
|
1072 |
</tr>
|
1073 |
|
|
|
|
|
|
|
|
|
|
|
1074 |
<tr valign="top" style="display: none;">
|
1075 |
<th scope="row"><?php _e('Display link to author page', $this->text_domain); ?></th>
|
1076 |
<td><input name="properties[plugin-link]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['plugin-link']) ? $this->options['plugin-link'] : null, 1); ?> disabled="disabled" /><a href="<?php echo $this->options['plugin-url']; ?>" target="_blank"><?php echo $this->options['plugin-name']; ?></a></td>
|
1071 |
<td><label><input name="properties[flg-idn]" type="checkbox" id="check" value="1" <?php checked( (isset($this->options['flg-idn']) && function_exists('idn_to_utf8') ) ? $this->options['flg-idn'] : null, 1); ?> /><?php _e('Convert domain name from IDNA ASCII to Unicode.', $this->text_domain); ?></label></td>
|
1072 |
</tr>
|
1073 |
|
1074 |
+
<tr valign="top">
|
1075 |
+
<th scope="row"><?php _e('Relative URL', $this->text_domain); ?></th>
|
1076 |
+
<td><label><input name="properties[flg-relative-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-relative-url']) ? $this->options['flg-relative-url'] : null, 1); ?> /><?php _e('For relative-specified URLs, complement the site URL.', $this->text_domain); ?></label></td>
|
1077 |
+
</tr>
|
1078 |
+
|
1079 |
<tr valign="top" style="display: none;">
|
1080 |
<th scope="row"><?php _e('Display link to author page', $this->text_domain); ?></th>
|
1081 |
<td><input name="properties[plugin-link]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['plugin-link']) ? $this->options['plugin-link'] : null, 1); ?> disabled="disabled" /><a href="<?php echo $this->options['plugin-url']; ?>" target="_blank"><?php echo $this->options['plugin-name']; ?></a></td>
|
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: 2.1.
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
@@ -132,6 +132,7 @@ class Pz_LinkCard {
|
|
132 |
'flg-alive-count' => null,
|
133 |
'flg-ssl' => '1',
|
134 |
'flg-amp-url' => null,
|
|
|
135 |
'flg-idn' => '1',
|
136 |
'flg-anker' => '1',
|
137 |
'flg-unlink' => '1',
|
@@ -164,7 +165,7 @@ class Pz_LinkCard {
|
|
164 |
'invalid-time' => null,
|
165 |
'plugin-link' => null,
|
166 |
'plugin-name' => 'Pz-LinkCard',
|
167 |
-
'plugin-version' => '2.1.
|
168 |
'plugin-url' => 'https://popozure.info/pz-linkcard',
|
169 |
'pz-hbc-options' => null,
|
170 |
'debug-time' => null
|
@@ -328,6 +329,11 @@ class Pz_LinkCard {
|
|
328 |
}
|
329 |
}
|
330 |
$url_org = $url; // 指定されたurlパラメータ
|
|
|
|
|
|
|
|
|
|
|
331 |
$url = $this->pz_TrimURL( $url ); // URLエンティティ化など(無害化?)
|
332 |
if ( !$url ) {
|
333 |
if ($this->options['debug-time']) {
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
+
Version: 2.1.9
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
132 |
'flg-alive-count' => null,
|
133 |
'flg-ssl' => '1',
|
134 |
'flg-amp-url' => null,
|
135 |
+
'flg-relative-url' => null,
|
136 |
'flg-idn' => '1',
|
137 |
'flg-anker' => '1',
|
138 |
'flg-unlink' => '1',
|
165 |
'invalid-time' => null,
|
166 |
'plugin-link' => null,
|
167 |
'plugin-name' => 'Pz-LinkCard',
|
168 |
+
'plugin-version' => '2.1.9',
|
169 |
'plugin-url' => 'https://popozure.info/pz-linkcard',
|
170 |
'pz-hbc-options' => null,
|
171 |
'debug-time' => null
|
329 |
}
|
330 |
}
|
331 |
$url_org = $url; // 指定されたurlパラメータ
|
332 |
+
if ($this->options['flg-relative-url']) {
|
333 |
+
if (substr($url, 0, 1) == '/') {
|
334 |
+
$url = home_url() . $url;
|
335 |
+
}
|
336 |
+
}
|
337 |
$url = $this->pz_TrimURL( $url ); // URLエンティティ化など(無害化?)
|
338 |
if ( !$url ) {
|
339 |
if ($this->options['debug-time']) {
|
readme.txt
CHANGED
@@ -163,6 +163,10 @@ A7.
|
|
163 |
5. "Write shortcode and url"
|
164 |
|
165 |
== Changelog ==
|
|
|
|
|
|
|
|
|
166 |
Ver2.1.8.4
|
167 |
* サイト情報が「なし」の場合、「続きを読む」ボタンが表示されなかったのを修正しました。(Thanks Andrew)
|
168 |
Fixed: Fixed a bug that the `Read more` button is not displayed.
|
163 |
5. "Write shortcode and url"
|
164 |
|
165 |
== Changelog ==
|
166 |
+
Ver2.1.9
|
167 |
+
* 相対URLを指定したときにサイトURLを補完する機能を追加しました。
|
168 |
+
Added: Added a function to supplement site URL when relative URL is specified.
|
169 |
+
|
170 |
Ver2.1.8.4
|
171 |
* サイト情報が「なし」の場合、「続きを読む」ボタンが表示されなかったのを修正しました。(Thanks Andrew)
|
172 |
Fixed: Fixed a bug that the `Read more` button is not displayed.
|