Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.3.1
- inc/navigation/js/navigation.js +4 -1
- inc/widgets/widget-full-wide-title.php +212 -0
- languages/lightning-adv-unit-ja.mo +0 -0
- languages/lightning-adv-unit-ja.po +59 -52
- lightning_advanced_unit.php +2 -1
- readme.txt +2 -1
inc/navigation/js/navigation.js
CHANGED
@@ -103,9 +103,12 @@ function menuClose_common(){
|
|
103 |
jQuery('#navSection').removeClass('navSection_open_left');
|
104 |
jQuery('#navSection').css({ "right":"", "left":"", "display":"" });
|
105 |
jQuery('#headerTop').prependTo('header.siteHeader');
|
106 |
-
jQuery('#gMenu_outer').insertAfter('.navbar-header');
|
107 |
jQuery('#bodyInner').css({"width":""});
|
108 |
jQuery('#wrap').css({"width":""});
|
|
|
|
|
|
|
|
|
109 |
}
|
110 |
function run_menuResize(){
|
111 |
var wrap_width = jQuery('body').width();
|
103 |
jQuery('#navSection').removeClass('navSection_open_left');
|
104 |
jQuery('#navSection').css({ "right":"", "left":"", "display":"" });
|
105 |
jQuery('#headerTop').prependTo('header.siteHeader');
|
|
|
106 |
jQuery('#bodyInner').css({"width":""});
|
107 |
jQuery('#wrap').css({"width":""});
|
108 |
+
// judge animate execution
|
109 |
+
if(jQuery('#navSection').is(':animated')){
|
110 |
+
jQuery('#gMenu_outer').insertAfter('.navbar-header');
|
111 |
+
}
|
112 |
}
|
113 |
function run_menuResize(){
|
114 |
var wrap_width = jQuery('body').width();
|
inc/widgets/widget-full-wide-title.php
ADDED
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*-------------------------------------------*/
|
4 |
+
/* LTG Full Wide Title widget
|
5 |
+
/*-------------------------------------------*/
|
6 |
+
|
7 |
+
add_action(
|
8 |
+
'widgets_init',
|
9 |
+
create_function( '', 'return register_widget( "LTG_Full_Wide_Title" );' )
|
10 |
+
);
|
11 |
+
|
12 |
+
class LTG_Full_Wide_Title extends WP_Widget {
|
13 |
+
function __construct()
|
14 |
+
{
|
15 |
+
$widget_id = 'ltg_full_wide_title';
|
16 |
+
$widget_name = LIGHTNING_ADVANCED_SHORT_NAME. ' ' . __( 'Full Wide Title', LIGHTNING_ADVANCED_TEXTDOMAIN );
|
17 |
+
$widget_description = array( 'description' => __( 'This widget is used for single column only.', LIGHTNING_ADVANCED_TEXTDOMAIN ) );
|
18 |
+
|
19 |
+
parent::__construct (
|
20 |
+
$widget_id,
|
21 |
+
$widget_name,
|
22 |
+
$widget_description
|
23 |
+
);
|
24 |
+
|
25 |
+
}
|
26 |
+
|
27 |
+
public static function default_options( $args=array() )
|
28 |
+
{
|
29 |
+
$defaults = array(
|
30 |
+
'media_image_id' => Null,
|
31 |
+
'title_bg_color' => '',
|
32 |
+
'title_font_color' => '',
|
33 |
+
'title' => Null,
|
34 |
+
'after_widget' => '',
|
35 |
+
);
|
36 |
+
return wp_parse_args( (array) $args, $defaults );
|
37 |
+
}
|
38 |
+
|
39 |
+
public function form ( $instance )
|
40 |
+
{
|
41 |
+
$instance = self::default_options( $instance );
|
42 |
+
|
43 |
+
// タイトルの入力
|
44 |
+
if ( isset ( $instance['title']) && $instance['title'] ) {
|
45 |
+
$title = $instance['title'];
|
46 |
+
} else {
|
47 |
+
$title = '';
|
48 |
+
}
|
49 |
+
|
50 |
+
$id = $this->get_field_id('title');
|
51 |
+
$name = $this->get_field_name('title');
|
52 |
+
|
53 |
+
echo '<p>';
|
54 |
+
echo __( 'Title:', LIGHTNING_ADVANCED_TEXTDOMAIN ).'<br>';
|
55 |
+
printf (
|
56 |
+
'<input type="text" id="%s" name="%s" value="%s" />',
|
57 |
+
$id,
|
58 |
+
$name,
|
59 |
+
esc_attr( $title )
|
60 |
+
);
|
61 |
+
echo '</p>';
|
62 |
+
|
63 |
+
$image = null;
|
64 |
+
// ちゃんと数字が入っているかどうか?
|
65 |
+
if ( is_numeric( $instance['media_image_id'] ) ) {
|
66 |
+
// 数字だったら、その数字の画像を full サイズで取得
|
67 |
+
$image = wp_get_attachment_image_src( $instance['media_image_id'], 'full' );
|
68 |
+
}
|
69 |
+
?>
|
70 |
+
|
71 |
+
<div class="vkExUnit_banner_area" style="padding: 0.7em 0;">
|
72 |
+
<div class="_display" style="height:auto">
|
73 |
+
<?php if ( $image ): ?>
|
74 |
+
<img src="<?php echo esc_url( $image[0] ); ?>" style="width:100%;height:auto;" />
|
75 |
+
<?php endif; ?>
|
76 |
+
</div>
|
77 |
+
<button class="button button-default button-block" style="display:block;width:100%;text-align: center; margin:4px 0;" onclick="javascript:vk_title_bg_image_addiditional(this);return false;"><?php _e('Set image', LIGHTNING_ADVANCED_TEXTDOMAIN ); ?></button>
|
78 |
+
<button class="button button-default button-block" style="display:block;width:100%;text-align: center; margin:4px 0;" onclick="javascript:vk_title_bg_image_delete(this);return false;"><?php _e('Delete image', LIGHTNING_ADVANCED_TEXTDOMAIN ); ?></button>
|
79 |
+
<div class="_form" style="line-height: 2em">
|
80 |
+
<input type="hidden" class="__id" name="<?php echo $this->get_field_name( 'media_image_id' ); ?>" value="<?php echo esc_attr( $instance['media_image_id'] ); ?>" />
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<script type="text/javascript">
|
84 |
+
// 背景画像登録処理
|
85 |
+
if ( vk_title_bg_image_addiditional == undefined ){
|
86 |
+
var vk_title_bg_image_addiditional = function(e){
|
87 |
+
// プレビュー画像を表示するdiv
|
88 |
+
var d=jQuery(e).parent().children("._display");
|
89 |
+
// 画像IDを保存するinputタグ
|
90 |
+
var w=jQuery(e).parent().children("._form").children('.__id')[0];
|
91 |
+
var u=wp.media({library:{type:'image'},multiple:false}).on('select', function(e){
|
92 |
+
u.state().get('selection').each(function(f){
|
93 |
+
d.children().remove();
|
94 |
+
d.append(jQuery('<img style="width:100%;mheight:auto">').attr('src',f.toJSON().url));
|
95 |
+
jQuery(w).val(f.toJSON().id).change();
|
96 |
+
});
|
97 |
+
});
|
98 |
+
u.open();
|
99 |
+
};
|
100 |
+
}
|
101 |
+
// 背景画像削除処理
|
102 |
+
if ( vk_title_bg_image_delete == undefined ){
|
103 |
+
var vk_title_bg_image_delete = function(e){
|
104 |
+
// プレビュー画像を表示するdiv
|
105 |
+
var d=jQuery(e).parent().children("._display");
|
106 |
+
// 画像IDを保存するinputタグ
|
107 |
+
var w=jQuery(e).parent().children("._form").children('.__id')[0];
|
108 |
+
|
109 |
+
// プレビュー画像のimgタグを削除
|
110 |
+
d.children().remove();
|
111 |
+
// w.attr("value","");
|
112 |
+
jQuery(e).parent().children("._form").children('.__id').attr("value","").change();
|
113 |
+
};
|
114 |
+
}
|
115 |
+
</script>
|
116 |
+
<?php
|
117 |
+
// title bg color
|
118 |
+
echo '<p class="color_picker_wrap">'.
|
119 |
+
'<label for="'.$this->get_field_id( 'title_bg_color' ).'">'.__( 'Title background color:', LIGHTNING_ADVANCED_TEXTDOMAIN ).'</label><br/>'.
|
120 |
+
'<input type="text" id="'.$this->get_field_id( 'title_bg_color' ).'" class="color_picker" name="'.$this->get_field_name( 'title_bg_color' ).'" value="'. esc_attr( $instance[ 'title_bg_color' ] ).'" /></p>';
|
121 |
+
|
122 |
+
// title font color
|
123 |
+
echo '<p class="color_picker_wrap">'.
|
124 |
+
'<label for="'.$this->get_field_id( 'title_font_color' ).'">'.__( 'Text color of the title:', LIGHTNING_ADVANCED_TEXTDOMAIN ).'</label><br/>'.
|
125 |
+
'<input type="text" id="'.$this->get_field_id( 'title_font_color' ).'" class="color_picker" name="'.$this->get_field_name( 'title_font_color' ).'" value="'. esc_attr( $instance[ 'title_font_color' ] ).'" /></p>';
|
126 |
+
|
127 |
+
|
128 |
+
// サブタイトルの入力
|
129 |
+
if ( isset( $instance['text'] ) && $instance['text'] ) {
|
130 |
+
$text = $instance['text'];
|
131 |
+
} else {
|
132 |
+
$text = '';
|
133 |
+
}
|
134 |
+
|
135 |
+
$id = $this->get_field_id('text');
|
136 |
+
$name = $this->get_field_name('text');
|
137 |
+
|
138 |
+
echo '<p>';
|
139 |
+
echo __( 'Sub title:', LIGHTNING_ADVANCED_TEXTDOMAIN ).'<br>';
|
140 |
+
echo '<textarea id="'.$id.'" name="'.$name.'" style="width:100%;">'.esc_textarea( $text ).'</textarea>';
|
141 |
+
echo '</p>';
|
142 |
+
}
|
143 |
+
|
144 |
+
/*-------------------------------------------*/
|
145 |
+
/* update
|
146 |
+
/*-------------------------------------------*/
|
147 |
+
|
148 |
+
public function update( $new_instance, $old_instance )
|
149 |
+
{
|
150 |
+
$instance[ 'media_image_id' ] = $new_instance[ 'media_image_id' ];
|
151 |
+
$instance[ 'title_bg_color' ] = sanitize_hex_color( $new_instance[ 'title_bg_color' ] );
|
152 |
+
$instance[ 'title_font_color' ] = sanitize_hex_color( $new_instance[ 'title_font_color' ] );
|
153 |
+
$instance[ 'title' ] = wp_kses_post( $new_instance[ 'title' ] );
|
154 |
+
$instance[ 'text' ] = wp_kses_post( $new_instance[ 'text' ] );
|
155 |
+
return $new_instance;
|
156 |
+
}
|
157 |
+
|
158 |
+
|
159 |
+
public static function widget_outer_style( $instance ){
|
160 |
+
$widget_outer_style = 'border:1px solid #f00;';
|
161 |
+
|
162 |
+
// 画像IDから画像のURLを取得
|
163 |
+
if ( ! empty( $instance['media_image_id'] ) ) {
|
164 |
+
$image = wp_get_attachment_image_src( $instance['media_image_id'], 'full' );
|
165 |
+
$image = $image[0];
|
166 |
+
} else {
|
167 |
+
$image = null;
|
168 |
+
}
|
169 |
+
|
170 |
+
// 画像が登録されている場合
|
171 |
+
if ( ! empty( $image ) && empty( $instance[ 'title_bg_color' ] ) ) {
|
172 |
+
$widget_outer_style = 'background: url(\''.esc_url( $image ).'\');';
|
173 |
+
// 背景色が登録されている場合(画像は登録されていない)
|
174 |
+
} else if ( ! empty( $instance[ 'title_bg_color' ] ) && empty( $image ) ) {
|
175 |
+
$widget_outer_style = 'background: '.sanitize_hex_color( $instance[ 'title_bg_color' ] ).';';
|
176 |
+
// 画像も背景色もどちらも登録されている場合
|
177 |
+
} else if ( ! empty( $image ) && ! empty( $instance[ 'title_bg_color' ] ) ) {
|
178 |
+
$widget_outer_style = 'background-image: url(\''.esc_url( $image ).'\');';
|
179 |
+
// その他(画像も背景色も登録されていない)
|
180 |
+
} else if ( empty( $image) && empty( $instance[ 'title_bg_color' ] ) ) {
|
181 |
+
$widget_outer_style = '';
|
182 |
+
}
|
183 |
+
return $widget_outer_style;
|
184 |
+
}
|
185 |
+
|
186 |
+
public static function widget_font_style( $instance ){
|
187 |
+
$widget_font_style = 'border:1px solid #f00;';
|
188 |
+
// 色が登録されている場合
|
189 |
+
if ( ! empty( $instance[ 'title_font_color' ] ) ) {
|
190 |
+
$widget_font_style = 'color:' .$instance[ 'title_font_color' ].';';
|
191 |
+
} else {
|
192 |
+
// その他(色が登録されていない)
|
193 |
+
$widget_font_style = '';
|
194 |
+
}
|
195 |
+
return $widget_font_style;
|
196 |
+
}
|
197 |
+
|
198 |
+
public function widget( $args, $instance )
|
199 |
+
{
|
200 |
+
$instance = self::default_options( $instance );
|
201 |
+
echo $args ['before_widget'];
|
202 |
+
echo '<div class="widget_ltg_full_wide_title_outer" style="'.$this->widget_outer_style($instance).'">';
|
203 |
+
echo '<h1 style="'.$this->widget_font_style($instance).'">'.wp_kses_post( $instance['title'] ).'</h1>';
|
204 |
+
// サブテキストがある場合
|
205 |
+
if ( ! empty( $instance['text'] ) ){
|
206 |
+
echo '<p style="'.$this->widget_font_style($instance).'" class="widget-title-caption">'.wp_kses_post( $instance['text'] ).'</p>';
|
207 |
+
}
|
208 |
+
echo '</div>';
|
209 |
+
echo $args ['after_widget'];
|
210 |
+
}
|
211 |
+
|
212 |
+
}
|
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-
|
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"
|
@@ -9,7 +9,7 @@ msgstr ""
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_x;_e;_ex\n"
|
@@ -17,7 +17,7 @@ msgstr ""
|
|
17 |
|
18 |
#: ../inc/menu-btn-position.php:14
|
19 |
msgid "Menu button position ( Mobile mode )"
|
20 |
-
msgstr "
|
21 |
|
22 |
#: ../inc/menu-btn-position.php:19 ../inc/sidebar-position.php:20
|
23 |
msgid "Left"
|
@@ -49,6 +49,39 @@ msgstr ""
|
|
49 |
msgid "Sidebar position ( PC mode )"
|
50 |
msgstr "サイドバーの位置(PC閲覧時)"
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
#: ../inc/widgets/widget-new-posts.php:12
|
53 |
msgid "Content Area Posts Widget"
|
54 |
msgstr "コンテンツエリア投稿リスト"
|
@@ -57,96 +90,79 @@ msgstr "コンテンツエリア投稿リスト"
|
|
57 |
msgid "Displays a list of your most recent posts"
|
58 |
msgstr "最新の投稿記事リストを表示します。"
|
59 |
|
60 |
-
#: ../inc/widgets/widget-new-posts.php:
|
61 |
-
|
62 |
-
msgstr "最終更新日"
|
63 |
-
|
64 |
-
#: ../inc/widgets/widget-new-posts.php:134
|
65 |
-
#: ../inc/widgets/widget-new-posts.php:158
|
66 |
msgid "Read more"
|
67 |
msgstr "詳しくはこちら"
|
68 |
|
69 |
-
#: ../inc/widgets/widget-new-posts.php:
|
70 |
msgid "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
71 |
msgstr "<dl><dt>%s</dt><dd>%l</dd></dl>"
|
72 |
|
73 |
-
#: ../inc/widgets/widget-new-posts.php:
|
74 |
msgid "Tags"
|
75 |
msgstr "タグ"
|
76 |
|
77 |
-
#: ../inc/widgets/widget-new-posts.php:
|
78 |
msgid "Recent Posts"
|
79 |
msgstr "最新記事"
|
80 |
|
81 |
-
#: ../inc/widgets/widget-new-posts.php:
|
82 |
msgid "Display Format"
|
83 |
msgstr "表示形式"
|
84 |
|
85 |
-
#: ../inc/widgets/widget-new-posts.php:
|
86 |
-
#: ../inc/widgets/widget-new-posts.php:
|
87 |
msgid "Thumbnail"
|
88 |
msgstr "サムネイル画像"
|
89 |
|
90 |
-
#: ../inc/widgets/widget-new-posts.php:
|
91 |
-
#: ../inc/widgets/widget-new-posts.php:
|
92 |
msgid "Date"
|
93 |
msgstr "日付"
|
94 |
|
95 |
-
#: ../inc/widgets/widget-new-posts.php:
|
96 |
-
#: ../inc/widgets/widget-new-posts.php:
|
97 |
msgid "Category"
|
98 |
msgstr "カテゴリー"
|
99 |
|
100 |
-
#: ../inc/widgets/widget-new-posts.php:
|
101 |
-
#: ../inc/widgets/widget-new-posts.php:
|
102 |
msgid "Title"
|
103 |
msgstr "タイトル"
|
104 |
|
105 |
-
#: ../inc/widgets/widget-new-posts.php:
|
106 |
msgid "Excerpt"
|
107 |
msgstr "抜粋"
|
108 |
|
109 |
-
#: ../inc/widgets/widget-new-posts.php:
|
110 |
msgid "Content"
|
111 |
msgstr "本文"
|
112 |
|
113 |
-
#: ../inc/widgets/widget-new-posts.php:
|
114 |
-
msgid "Title:"
|
115 |
-
msgstr "タイトル"
|
116 |
-
|
117 |
-
#: ../inc/widgets/widget-new-posts.php:254
|
118 |
msgid "Display count"
|
119 |
msgstr "表示する記事数"
|
120 |
|
121 |
-
#: ../inc/widgets/widget-new-posts.php:
|
122 |
msgid "Slug for the custom type you want to display"
|
123 |
msgstr "表示したい記事タイプ"
|
124 |
|
125 |
-
#: ../inc/widgets/widget-new-posts.php:
|
126 |
msgid "taxonomy ID"
|
127 |
msgstr "カテゴリー(タクソノミー)ID"
|
128 |
|
129 |
-
#: ../inc/widgets/widget-new-posts.php:
|
130 |
msgid "if you need filtering by term, add the term ID separate by \",\"."
|
131 |
msgstr ""
|
132 |
"特定のカテゴリーのみ表示したい場合は<br/>カンマ(,)区切りでカテゴリーIDを入力"
|
133 |
"します。"
|
134 |
|
135 |
-
#: ../inc/widgets/widget-new-posts.php:
|
136 |
msgid "if empty this area, I will do not filtering."
|
137 |
msgstr "空欄の場合はフィルタリングは行いません。"
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: ../node_modules/rx/dist/rx.min.js:1
|
144 |
-
msgid "E"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: ../node_modules/rx/dist/rx.min.js:1
|
148 |
-
msgid "C"
|
149 |
-
msgstr ""
|
150 |
|
151 |
#~ msgid "Main setting"
|
152 |
#~ msgstr "メイン設定"
|
@@ -673,9 +689,6 @@ msgstr ""
|
|
673 |
#~ msgid "<title> tag of homepage"
|
674 |
#~ msgstr "トップページの<title>タグ"
|
675 |
|
676 |
-
#~ msgid "title of the site"
|
677 |
-
#~ msgstr "サイトのタイトル"
|
678 |
-
|
679 |
#~ msgid "Normally \"%1$s\" is placed in the title tags of all the pages."
|
680 |
#~ msgstr "通常「%1$s」が全ページのタイトルタグに入ります。"
|
681 |
|
@@ -851,9 +864,6 @@ msgstr ""
|
|
851 |
#~ msgid "Select image for PC:"
|
852 |
#~ msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
|
853 |
|
854 |
-
#~ msgid "Select image"
|
855 |
-
#~ msgstr "画像を選択"
|
856 |
-
|
857 |
#~ msgid "Clear image"
|
858 |
#~ msgstr "画像クリア"
|
859 |
|
@@ -1079,9 +1089,6 @@ msgstr ""
|
|
1079 |
#~ msgid "Follow me"
|
1080 |
#~ msgstr "このサイトをフォローする"
|
1081 |
|
1082 |
-
#~ msgid "Sns Title"
|
1083 |
-
#~ msgstr "OGPタイトル"
|
1084 |
-
|
1085 |
#~ msgid "if filled this area then override title of OGP and Twitter Card"
|
1086 |
#~ msgstr ""
|
1087 |
#~ "このエリアにタイトルを入力すると、このページのOGP,ツイッターカードに出力さ"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2017-09-14 12:44+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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.0.3\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_x;_e;_ex\n"
|
17 |
|
18 |
#: ../inc/menu-btn-position.php:14
|
19 |
msgid "Menu button position ( Mobile mode )"
|
20 |
+
msgstr "メニューボタンの位置(モバイルモード)"
|
21 |
|
22 |
#: ../inc/menu-btn-position.php:19 ../inc/sidebar-position.php:20
|
23 |
msgid "Left"
|
49 |
msgid "Sidebar position ( PC mode )"
|
50 |
msgstr "サイドバーの位置(PC閲覧時)"
|
51 |
|
52 |
+
#: ../inc/widgets/widget-full-wide-title.php:16
|
53 |
+
msgid "Full Wide Title"
|
54 |
+
msgstr "全幅見出し"
|
55 |
+
|
56 |
+
#: ../inc/widgets/widget-full-wide-title.php:17
|
57 |
+
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:219
|
62 |
+
msgid "Title:"
|
63 |
+
msgstr "タイトル :"
|
64 |
+
|
65 |
+
#: ../inc/widgets/widget-full-wide-title.php:77
|
66 |
+
msgid "Set image"
|
67 |
+
msgstr "画像を選択"
|
68 |
+
|
69 |
+
#: ../inc/widgets/widget-full-wide-title.php:78
|
70 |
+
msgid "Delete image"
|
71 |
+
msgstr "画像を削除"
|
72 |
+
|
73 |
+
#: ../inc/widgets/widget-full-wide-title.php:119
|
74 |
+
msgid "Title background color:"
|
75 |
+
msgstr "背景色:"
|
76 |
+
|
77 |
+
#: ../inc/widgets/widget-full-wide-title.php:124
|
78 |
+
msgid "Text color of the title:"
|
79 |
+
msgstr "タイトルの文字色:"
|
80 |
+
|
81 |
+
#: ../inc/widgets/widget-full-wide-title.php:139
|
82 |
+
msgid "Sub title:"
|
83 |
+
msgstr "サブタイトル :"
|
84 |
+
|
85 |
#: ../inc/widgets/widget-new-posts.php:12
|
86 |
msgid "Content Area Posts Widget"
|
87 |
msgstr "コンテンツエリア投稿リスト"
|
90 |
msgid "Displays a list of your most recent posts"
|
91 |
msgstr "最新の投稿記事リストを表示します。"
|
92 |
|
93 |
+
#: ../inc/widgets/widget-new-posts.php:104
|
94 |
+
#: ../inc/widgets/widget-new-posts.php:128
|
|
|
|
|
|
|
|
|
95 |
msgid "Read more"
|
96 |
msgstr "詳しくはこちら"
|
97 |
|
98 |
+
#: ../inc/widgets/widget-new-posts.php:148
|
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:168
|
103 |
msgid "Tags"
|
104 |
msgstr "タグ"
|
105 |
|
106 |
+
#: ../inc/widgets/widget-new-posts.php:201
|
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:212
|
115 |
+
#: ../inc/widgets/widget-new-posts.php:214
|
116 |
msgid "Thumbnail"
|
117 |
msgstr "サムネイル画像"
|
118 |
|
119 |
+
#: ../inc/widgets/widget-new-posts.php:212
|
120 |
+
#: ../inc/widgets/widget-new-posts.php:214
|
121 |
msgid "Date"
|
122 |
msgstr "日付"
|
123 |
|
124 |
+
#: ../inc/widgets/widget-new-posts.php:212
|
125 |
+
#: ../inc/widgets/widget-new-posts.php:214
|
126 |
msgid "Category"
|
127 |
msgstr "カテゴリー"
|
128 |
|
129 |
+
#: ../inc/widgets/widget-new-posts.php:212
|
130 |
+
#: ../inc/widgets/widget-new-posts.php:214
|
131 |
msgid "Title"
|
132 |
msgstr "タイトル"
|
133 |
|
134 |
+
#: ../inc/widgets/widget-new-posts.php:212
|
135 |
msgid "Excerpt"
|
136 |
msgstr "抜粋"
|
137 |
|
138 |
+
#: ../inc/widgets/widget-new-posts.php:214
|
139 |
msgid "Content"
|
140 |
msgstr "本文"
|
141 |
|
142 |
+
#: ../inc/widgets/widget-new-posts.php:224
|
|
|
|
|
|
|
|
|
143 |
msgid "Display count"
|
144 |
msgstr "表示する記事数"
|
145 |
|
146 |
+
#: ../inc/widgets/widget-new-posts.php:229
|
147 |
msgid "Slug for the custom type you want to display"
|
148 |
msgstr "表示したい記事タイプ"
|
149 |
|
150 |
+
#: ../inc/widgets/widget-new-posts.php:234
|
151 |
msgid "taxonomy ID"
|
152 |
msgstr "カテゴリー(タクソノミー)ID"
|
153 |
|
154 |
+
#: ../inc/widgets/widget-new-posts.php:236
|
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:238
|
161 |
msgid "if empty this area, I will do not filtering."
|
162 |
msgstr "空欄の場合はフィルタリングは行いません。"
|
163 |
|
164 |
+
#~ msgid "Last updated"
|
165 |
+
#~ msgstr "最終更新日"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
#~ msgid "Main setting"
|
168 |
#~ msgstr "メイン設定"
|
689 |
#~ msgid "<title> tag of homepage"
|
690 |
#~ msgstr "トップページの<title>タグ"
|
691 |
|
|
|
|
|
|
|
692 |
#~ msgid "Normally \"%1$s\" is placed in the title tags of all the pages."
|
693 |
#~ msgstr "通常「%1$s」が全ページのタイトルタグに入ります。"
|
694 |
|
864 |
#~ msgid "Select image for PC:"
|
865 |
#~ msgstr "PC 用に表示される画像を選択(横 300px 程度推奨)"
|
866 |
|
|
|
|
|
|
|
867 |
#~ msgid "Clear image"
|
868 |
#~ msgstr "画像クリア"
|
869 |
|
1089 |
#~ msgid "Follow me"
|
1090 |
#~ msgstr "このサイトをフォローする"
|
1091 |
|
|
|
|
|
|
|
1092 |
#~ msgid "if filled this area then override title of OGP and Twitter Card"
|
1093 |
#~ msgstr ""
|
1094 |
#~ "このエリアにタイトルを入力すると、このページのOGP,ツイッターカードに出力さ"
|
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.
|
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".
|
@@ -29,6 +29,7 @@ require_once( LIGHTNING_ADVANCED_DIR . 'inc/widgets/widget-new-posts.php' );
|
|
29 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/menu-btn-position.php' );
|
30 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/sidebar-position.php' );
|
31 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/sidebar-child-list-hidden.php' );
|
|
|
32 |
|
33 |
/*-------------------------------------------*/
|
34 |
/* translations
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
+
* Version: 2.3.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".
|
29 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/menu-btn-position.php' );
|
30 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/sidebar-position.php' );
|
31 |
require_once( LIGHTNING_ADVANCED_DIR . 'inc/sidebar-child-list-hidden.php' );
|
32 |
+
require_once( LIGHTNING_ADVANCED_DIR . 'inc/widgets/widget-full-wide-title.php' );
|
33 |
|
34 |
/*-------------------------------------------*/
|
35 |
/* translations
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -16,6 +16,7 @@ This is a plug-ins that extend the functionality of the theme "Lightning".
|
|
16 |
|
17 |
[ Powerful Widgets ]
|
18 |
|
|
|
19 |
* Content area widget - Thumbnail / Date / Category / Excerpt
|
20 |
* Content area widget - Thumbnail / Date / Category / Content
|
21 |
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.7.0
|
7 |
+
Stable tag: 2.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
16 |
|
17 |
[ Powerful Widgets ]
|
18 |
|
19 |
+
* Full Wide Title Widget
|
20 |
* Content area widget - Thumbnail / Date / Category / Excerpt
|
21 |
* Content area widget - Thumbnail / Date / Category / Content
|
22 |
|