Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- inc/widgets/widget-new-posts.php +7 -3
- languages/lightning-adv-unit-ja.mo +0 -0
- languages/lightning-adv-unit-ja.po +44 -32
- lightning_advanced_unit.php +1 -1
- readme.txt +1 -1
inc/widgets/widget-new-posts.php
CHANGED
@@ -40,10 +40,14 @@ class WP_Widget_ltg_adv_post_list extends WP_Widget {
|
|
40 |
|
41 |
echo $args['before_widget'];
|
42 |
echo '<div class="pt_'.$instance['format'].'">';
|
43 |
-
if (
|
44 |
echo $args['before_title'];
|
45 |
echo $instance['label'];
|
46 |
echo $args['after_title'];
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
|
49 |
$count = ( isset( $instance['count'] ) && $instance['count'] ) ? $instance['count'] : 10;
|
@@ -261,10 +265,10 @@ class WP_Widget_ltg_adv_post_list extends WP_Widget {
|
|
261 |
echo '<br/><br/>';?>
|
262 |
|
263 |
<?php // Read more ?>
|
264 |
-
<label for="<?php echo $this->get_field_id( 'more_url' ); ?>"><?php _e( 'Destination URL:',
|
265 |
<input type="text" id="<?php echo $this->get_field_id( 'more_url' ); ?>" name="<?php echo $this->get_field_name( 'more_url' ); ?>" value="<?php echo esc_attr( $instance['more_url'] ); ?>" />
|
266 |
<br /><br />
|
267 |
-
<label for="<?php echo $this->get_field_id( 'more_text' ); ?>"><?php _e( 'Notation text:',
|
268 |
<input type="text" placeholder="最新記事一覧 ≫" id="<?php echo $this->get_field_id( 'more_text' ); ?>" name="<?php echo $this->get_field_name( 'more_text' ); ?>" value="<?php echo esc_attr( $instance['more_text'] ); ?>" />
|
269 |
<br /><br />
|
270 |
<?php
|
40 |
|
41 |
echo $args['before_widget'];
|
42 |
echo '<div class="pt_'.$instance['format'].'">';
|
43 |
+
if ( ! empty( $instance['label'] ) ) {
|
44 |
echo $args['before_title'];
|
45 |
echo $instance['label'];
|
46 |
echo $args['after_title'];
|
47 |
+
} else if ( ! isset( $instance['label'] ) ){
|
48 |
+
echo $args['before_title'];
|
49 |
+
echo __( 'Recent Posts', LIGHTNING_ADVANCED_TEXTDOMAIN );
|
50 |
+
echo $args['after_title'];
|
51 |
}
|
52 |
|
53 |
$count = ( isset( $instance['count'] ) && $instance['count'] ) ? $instance['count'] : 10;
|
265 |
echo '<br/><br/>';?>
|
266 |
|
267 |
<?php // Read more ?>
|
268 |
+
<label for="<?php echo $this->get_field_id( 'more_url' ); ?>"><?php _e( 'Destination URL:', LIGHTNING_ADVANCED_TEXTDOMAIN ); ?></label><br/>
|
269 |
<input type="text" id="<?php echo $this->get_field_id( 'more_url' ); ?>" name="<?php echo $this->get_field_name( 'more_url' ); ?>" value="<?php echo esc_attr( $instance['more_url'] ); ?>" />
|
270 |
<br /><br />
|
271 |
+
<label for="<?php echo $this->get_field_id( 'more_text' ); ?>"><?php _e( 'Notation text:', LIGHTNING_ADVANCED_TEXTDOMAIN ); ?></label><br/>
|
272 |
<input type="text" placeholder="最新記事一覧 ≫" id="<?php echo $this->get_field_id( 'more_text' ); ?>" name="<?php echo $this->get_field_name( 'more_text' ); ?>" value="<?php echo esc_attr( $instance['more_text'] ); ?>" />
|
273 |
<br /><br />
|
274 |
<?php
|
languages/lightning-adv-unit-ja.mo
CHANGED
Binary file
|
languages/lightning-adv-unit-ja.po
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
-
"POT-Creation-Date: 2017-09-
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
7 |
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
|
@@ -58,7 +58,7 @@ msgid "This widget is used for single column only."
|
|
58 |
msgstr "このウィジェットは1カラム表示選択時に利用できます。"
|
59 |
|
60 |
#: ../inc/widgets/widget-full-wide-title.php:54
|
61 |
-
#: ../inc/widgets/widget-new-posts.php:
|
62 |
msgid "Title:"
|
63 |
msgstr "タイトル :"
|
64 |
|
@@ -90,77 +90,95 @@ msgstr "コンテンツエリア投稿リスト"
|
|
90 |
msgid "Displays a list of your most recent posts"
|
91 |
msgstr "最新の投稿記事リストを表示します。"
|
92 |
|
93 |
-
#: ../inc/widgets/widget-new-posts.php:
|
94 |
-
#: ../inc/widgets/widget-new-posts.php:
|
|
|
|
|
|
|
|
|
|
|
95 |
msgid "Read more"
|
96 |
msgstr "詳しくはこちら"
|
97 |
|
98 |
-
#: ../inc/widgets/widget-new-posts.php:
|
99 |
msgid "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
100 |
msgstr "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
101 |
|
102 |
-
#: ../inc/widgets/widget-new-posts.php:
|
103 |
msgid "Tags"
|
104 |
msgstr "タグ"
|
105 |
|
106 |
-
#: ../inc/widgets/widget-new-posts.php:
|
107 |
-
msgid "Recent Posts"
|
108 |
-
msgstr "最新記事"
|
109 |
-
|
110 |
-
#: ../inc/widgets/widget-new-posts.php:210
|
111 |
msgid "Display Format"
|
112 |
msgstr "表示形式"
|
113 |
|
114 |
-
#: ../inc/widgets/widget-new-posts.php:
|
115 |
-
#: ../inc/widgets/widget-new-posts.php:
|
116 |
msgid "Thumbnail"
|
117 |
msgstr "サムネイル画像"
|
118 |
|
119 |
-
#: ../inc/widgets/widget-new-posts.php:
|
120 |
-
#: ../inc/widgets/widget-new-posts.php:
|
121 |
msgid "Date"
|
122 |
msgstr "日付"
|
123 |
|
124 |
-
#: ../inc/widgets/widget-new-posts.php:
|
125 |
-
#: ../inc/widgets/widget-new-posts.php:
|
126 |
msgid "Category"
|
127 |
msgstr "カテゴリー"
|
128 |
|
129 |
-
#: ../inc/widgets/widget-new-posts.php:
|
130 |
-
#: ../inc/widgets/widget-new-posts.php:
|
131 |
msgid "Title"
|
132 |
msgstr "タイトル"
|
133 |
|
134 |
-
#: ../inc/widgets/widget-new-posts.php:
|
135 |
msgid "Excerpt"
|
136 |
msgstr "抜粋"
|
137 |
|
138 |
-
#: ../inc/widgets/widget-new-posts.php:
|
139 |
msgid "Content"
|
140 |
msgstr "本文"
|
141 |
|
142 |
-
#: ../inc/widgets/widget-new-posts.php:
|
143 |
msgid "Display count"
|
144 |
msgstr "表示する記事数"
|
145 |
|
146 |
-
#: ../inc/widgets/widget-new-posts.php:
|
147 |
msgid "Slug for the custom type you want to display"
|
148 |
msgstr "表示したい記事タイプ"
|
149 |
|
150 |
-
#: ../inc/widgets/widget-new-posts.php:
|
151 |
msgid "taxonomy ID"
|
152 |
msgstr "カテゴリー(タクソノミー)ID"
|
153 |
|
154 |
-
#: ../inc/widgets/widget-new-posts.php:
|
155 |
msgid "if you need filtering by term, add the term ID separate by \",\"."
|
156 |
msgstr ""
|
157 |
"特定のカテゴリーのみ表示したい場合は<br/>カンマ(,)区切りでカテゴリーIDを入力"
|
158 |
"します。"
|
159 |
|
160 |
-
#: ../inc/widgets/widget-new-posts.php:
|
161 |
msgid "if empty this area, I will do not filtering."
|
162 |
msgstr "空欄の場合はフィルタリングは行いません。"
|
163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
#~ msgid "Last updated"
|
165 |
#~ msgstr "最終更新日"
|
166 |
|
@@ -771,9 +789,6 @@ msgstr "空欄の場合はフィルタリングは行いません。"
|
|
771 |
#~ msgid "left"
|
772 |
#~ msgstr "左寄せ"
|
773 |
|
774 |
-
#~ msgid "Button text"
|
775 |
-
#~ msgstr "ボタンの表記文言"
|
776 |
-
|
777 |
#~ msgid "Button link url"
|
778 |
#~ msgstr "ボタンのリンク先URL"
|
779 |
|
@@ -1023,9 +1038,6 @@ msgstr "空欄の場合はフィルタリングは行いません。"
|
|
1023 |
#~ msgid "instagram URL:"
|
1024 |
#~ msgstr "instagram リンク先ページのURL"
|
1025 |
|
1026 |
-
#~ msgid "linkedin URL:"
|
1027 |
-
#~ msgstr "linkedin リンク先ページのURL"
|
1028 |
-
|
1029 |
#~ msgid "Categories/Custom taxonomies list"
|
1030 |
#~ msgstr "カテゴリー/カスタム分類リスト"
|
1031 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2017-09-21 13:48+0900\n"
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
|
7 |
"Language-Team: Vektor translate Team <info@vektor-inc.co.jp>\n"
|
58 |
msgstr "このウィジェットは1カラム表示選択時に利用できます。"
|
59 |
|
60 |
#: ../inc/widgets/widget-full-wide-title.php:54
|
61 |
+
#: ../inc/widgets/widget-new-posts.php:245
|
62 |
msgid "Title:"
|
63 |
msgstr "タイトル :"
|
64 |
|
90 |
msgid "Displays a list of your most recent posts"
|
91 |
msgstr "最新の投稿記事リストを表示します。"
|
92 |
|
93 |
+
#: ../inc/widgets/widget-new-posts.php:49
|
94 |
+
#: ../inc/widgets/widget-new-posts.php:225
|
95 |
+
msgid "Recent Posts"
|
96 |
+
msgstr "最新記事"
|
97 |
+
|
98 |
+
#: ../inc/widgets/widget-new-posts.php:124
|
99 |
+
#: ../inc/widgets/widget-new-posts.php:148
|
100 |
msgid "Read more"
|
101 |
msgstr "詳しくはこちら"
|
102 |
|
103 |
+
#: ../inc/widgets/widget-new-posts.php:172
|
104 |
msgid "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
105 |
msgstr "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
106 |
|
107 |
+
#: ../inc/widgets/widget-new-posts.php:192
|
108 |
msgid "Tags"
|
109 |
msgstr "タグ"
|
110 |
|
111 |
+
#: ../inc/widgets/widget-new-posts.php:236
|
|
|
|
|
|
|
|
|
112 |
msgid "Display Format"
|
113 |
msgstr "表示形式"
|
114 |
|
115 |
+
#: ../inc/widgets/widget-new-posts.php:238
|
116 |
+
#: ../inc/widgets/widget-new-posts.php:240
|
117 |
msgid "Thumbnail"
|
118 |
msgstr "サムネイル画像"
|
119 |
|
120 |
+
#: ../inc/widgets/widget-new-posts.php:238
|
121 |
+
#: ../inc/widgets/widget-new-posts.php:240
|
122 |
msgid "Date"
|
123 |
msgstr "日付"
|
124 |
|
125 |
+
#: ../inc/widgets/widget-new-posts.php:238
|
126 |
+
#: ../inc/widgets/widget-new-posts.php:240
|
127 |
msgid "Category"
|
128 |
msgstr "カテゴリー"
|
129 |
|
130 |
+
#: ../inc/widgets/widget-new-posts.php:238
|
131 |
+
#: ../inc/widgets/widget-new-posts.php:240
|
132 |
msgid "Title"
|
133 |
msgstr "タイトル"
|
134 |
|
135 |
+
#: ../inc/widgets/widget-new-posts.php:238
|
136 |
msgid "Excerpt"
|
137 |
msgstr "抜粋"
|
138 |
|
139 |
+
#: ../inc/widgets/widget-new-posts.php:240
|
140 |
msgid "Content"
|
141 |
msgstr "本文"
|
142 |
|
143 |
+
#: ../inc/widgets/widget-new-posts.php:250
|
144 |
msgid "Display count"
|
145 |
msgstr "表示する記事数"
|
146 |
|
147 |
+
#: ../inc/widgets/widget-new-posts.php:255
|
148 |
msgid "Slug for the custom type you want to display"
|
149 |
msgstr "表示したい記事タイプ"
|
150 |
|
151 |
+
#: ../inc/widgets/widget-new-posts.php:260
|
152 |
msgid "taxonomy ID"
|
153 |
msgstr "カテゴリー(タクソノミー)ID"
|
154 |
|
155 |
+
#: ../inc/widgets/widget-new-posts.php:262
|
156 |
msgid "if you need filtering by term, add the term ID separate by \",\"."
|
157 |
msgstr ""
|
158 |
"特定のカテゴリーのみ表示したい場合は<br/>カンマ(,)区切りでカテゴリーIDを入力"
|
159 |
"します。"
|
160 |
|
161 |
+
#: ../inc/widgets/widget-new-posts.php:264
|
162 |
msgid "if empty this area, I will do not filtering."
|
163 |
msgstr "空欄の場合はフィルタリングは行いません。"
|
164 |
|
165 |
+
#: ../inc/widgets/widget-new-posts.php:268
|
166 |
+
msgid "Destination URL:"
|
167 |
+
msgstr "リンク先URL:"
|
168 |
+
|
169 |
+
#: ../inc/widgets/widget-new-posts.php:271
|
170 |
+
msgid "Notation text:"
|
171 |
+
msgstr "表記テキスト:"
|
172 |
+
|
173 |
+
#~ msgid "Order by"
|
174 |
+
#~ msgstr "表示順"
|
175 |
+
|
176 |
+
#~ msgid "Publish date"
|
177 |
+
#~ msgstr "公開日"
|
178 |
+
|
179 |
+
#~ msgid "Modified date"
|
180 |
+
#~ msgstr "最終更新日"
|
181 |
+
|
182 |
#~ msgid "Last updated"
|
183 |
#~ msgstr "最終更新日"
|
184 |
|
789 |
#~ msgid "left"
|
790 |
#~ msgstr "左寄せ"
|
791 |
|
|
|
|
|
|
|
792 |
#~ msgid "Button link url"
|
793 |
#~ msgstr "ボタンのリンク先URL"
|
794 |
|
1038 |
#~ msgid "instagram URL:"
|
1039 |
#~ msgstr "instagram リンク先ページのURL"
|
1040 |
|
|
|
|
|
|
|
1041 |
#~ msgid "Categories/Custom taxonomies list"
|
1042 |
#~ msgstr "カテゴリー/カスタム分類リスト"
|
1043 |
|
lightning_advanced_unit.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
-
* Version: 2.4.
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: http://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
+
* Version: 2.4.1
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: http://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.7.0
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.7.0
|
7 |
+
Stable tag: 2.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|