mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Begin updating language
This commit is contained in:
@@ -117,9 +117,9 @@ class Display_Featured_Image_Genesis_HelpTabs extends Display_Featured_Image_Gen
|
||||
* @since 2.6.0
|
||||
*/
|
||||
protected function height() {
|
||||
$help = '<p>' . __( 'Depending on how your header/nav are set up, or if you just do not want your backstretch image to extend to the bottom of the user screen, you may want to change this number. It will raise the bottom line of the backstretch image, making it shorter.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'The plugin determines the size of your backstretch image based on the size of the user\'s browser window. Changing the "Height" setting tells the plugin to subtract that number of pixels from the measured height of the user\'s window, regardless of the size of that window.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'If you need to control the size of the backstretch Featured Image output with more attention to the user\'s screen size, add a Maximum Height number, which affects the CSS.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help = '<p>' . __( 'Depending on how your header/nav are set up, or if you just do not want your backstretch banner image to extend to the bottom of the user screen, you may want to change this number. It will raise the bottom line of the backstretch banner image, making it shorter.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'The plugin determines the size of your backstretch banner image based on the size of the user\'s browser window. Changing the "Height" setting tells the plugin to subtract that number of pixels from the measured height of the user\'s window, regardless of the size of that window.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'If you need to control the size of the backstretch banner image output with more attention to the user\'s screen size, add a Maximum Height number, which affects the CSS.', 'display-featured-image-genesis' ) . '</p>';
|
||||
|
||||
return $help;
|
||||
}
|
||||
@@ -165,7 +165,7 @@ class Display_Featured_Image_Genesis_HelpTabs extends Display_Featured_Image_Gen
|
||||
*/
|
||||
protected function keep_titles() {
|
||||
$help = '<h3>' . __( 'Do Not Move Titles', 'display-featured-image-genesis' ) . '</h3>';
|
||||
$help .= '<p>' . __( 'This setting applies to the backstretch Featured Image only. It allows you to keep the post/page titles in their original location, instead of overlaying the new image.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'This setting applies to the banner Featured Image only. It allows you to keep the post/page titles in their original location, instead of overlaying the new image.', 'display-featured-image-genesis' ) . '</p>';
|
||||
|
||||
return $help;
|
||||
}
|
||||
@@ -304,7 +304,7 @@ class Display_Featured_Image_Genesis_HelpTabs extends Display_Featured_Image_Gen
|
||||
*/
|
||||
protected function javascript() {
|
||||
$help = '<h3>' . __( 'Disable JavaScript', 'display-featured-image-genesis' ) . '</h3>';
|
||||
$help .= '<p>' . __( 'Optionally disable JavaScript for your backstretch images. The output will mostly be similar, although some behavior will change. For example, without the backstretch script, images will always display full width, regardless of screen size (with backstretch, you\'ll often only see the center of the image on small screens.', 'display-featured-image-genesis' ) . '</p>';
|
||||
$help .= '<p>' . __( 'Optionally disable JavaScript for your banner images. The output will mostly be similar, although some behavior will change. For example, without the backstretch script, images will always display full width, regardless of screen size (with backstretch, you\'ll often only see the center of the image on small screens.', 'display-featured-image-genesis' ) . '</p>';
|
||||
|
||||
return $help;
|
||||
}
|
||||
|
||||
@@ -177,7 +177,15 @@ class Display_Featured_Image_Genesis_Settings extends Display_Featured_Image_Gen
|
||||
* Style section description
|
||||
*/
|
||||
public function style_section_description() {
|
||||
return __( 'These settings modify the output style/methods for the backstretch image.', 'display-featured-image-genesis' );
|
||||
return __( 'These settings modify the output style/methods for the banner image.', 'display-featured-image-genesis' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Backtretch section description
|
||||
* @return string
|
||||
*/
|
||||
public function backstretch_section_description() {
|
||||
return __( 'These settings apply only to the backstretch (script) banner image.', 'display-featured-image-genesis' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ $fields = array(
|
||||
'callback' => 'do_checkbox_array',
|
||||
'section' => 'cpt_sitewide',
|
||||
'options' => $this->get_post_types(),
|
||||
'description' => __( 'Select content types which should always prefer to use the large image size instead of the backstretch, even if a backstretch size image is available (singular posts/pages, not archives).', 'display-featured-image-genesis' ),
|
||||
'description' => __( 'Select content types which should always prefer to use the large image size instead of the banner, even if a banner size image is available (singular posts/pages, not archives).', 'display-featured-image-genesis' ),
|
||||
'skip' => true,
|
||||
),
|
||||
);
|
||||
|
||||
@@ -32,7 +32,7 @@ return array(
|
||||
'choices' => apply_filters(
|
||||
'displayfeaturedimagegenesis_image_size_choices',
|
||||
array(
|
||||
'displayfeaturedimage_backstretch' => __( 'Backstretch (default)', 'display-featured-image-genesis' ),
|
||||
'displayfeaturedimage_backstretch' => __( 'Banner (default)', 'display-featured-image-genesis' ),
|
||||
'large' => __( 'Large', 'display-featured-image-genesis' ),
|
||||
)
|
||||
),
|
||||
@@ -51,7 +51,7 @@ return array(
|
||||
'title' => __( 'Do Not Move Titles', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_checkbox',
|
||||
'section' => 'main',
|
||||
'label' => __( 'Do not move the titles to overlay the backstretch Featured Image.', 'display-featured-image-genesis' ),
|
||||
'label' => __( 'Do not move the titles to overlay the banner featured image.', 'display-featured-image-genesis' ),
|
||||
'type' => 'checkbox',
|
||||
),
|
||||
array(
|
||||
|
||||
@@ -13,11 +13,11 @@ return array(
|
||||
'id' => 'less_header',
|
||||
'title' => __( 'Height', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_number',
|
||||
'section' => 'style',
|
||||
'section' => 'backstretch',
|
||||
'label' => __( 'pixels to remove', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 400,
|
||||
'description' => __( 'Changing this number will reduce the backstretch image height by this number of pixels. Default is zero.', 'display-featured-image-genesis' ),
|
||||
'description' => __( 'Changing this number will reduce the backstretch banner image height by this number of pixels. Default is zero.', 'display-featured-image-genesis' ),
|
||||
'type' => 'number',
|
||||
),
|
||||
array(
|
||||
@@ -35,7 +35,7 @@ return array(
|
||||
'id' => 'centeredX',
|
||||
'title' => __( 'Center Horizontally', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_radio_buttons',
|
||||
'section' => 'style',
|
||||
'section' => 'backstretch',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the backstretch image on the horizontal axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
@@ -44,7 +44,7 @@ return array(
|
||||
'id' => 'centeredY',
|
||||
'title' => __( 'Center Vertically', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_radio_buttons',
|
||||
'section' => 'style',
|
||||
'section' => 'backstretch',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the backstretch image on the vertical axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
@@ -53,7 +53,7 @@ return array(
|
||||
'id' => 'fade',
|
||||
'title' => __( 'Fade', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_number',
|
||||
'section' => 'style',
|
||||
'section' => 'backstretch',
|
||||
'label' => __( 'milliseconds', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 20000,
|
||||
|
||||
@@ -21,6 +21,11 @@ return array(
|
||||
'title' => __( 'Display Settings', 'display-featured-image-genesis' ),
|
||||
'tab' => 'style',
|
||||
),
|
||||
'backstretch' => array(
|
||||
'id' => 'backstretch',
|
||||
'title' => __( 'Backstretch Settings', 'display-featured-image-genesis' ),
|
||||
'tab' => 'style',
|
||||
),
|
||||
'cpt_sitewide' => array(
|
||||
'id' => 'cpt_sitewide',
|
||||
'title' => __( 'Sitewide Settings', 'display-featured-image-genesis' ),
|
||||
|
||||
Reference in New Issue
Block a user