mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-11 18:46:03 +09:00
language files
removed max-height from CSS
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
|
||||
class Display_Featured_Image_Genesis_Settings {
|
||||
|
||||
/**
|
||||
* variable set for featured image option
|
||||
* @var option
|
||||
*/
|
||||
protected $displaysetting;
|
||||
|
||||
/**
|
||||
@@ -358,6 +362,9 @@ class Display_Featured_Image_Genesis_Settings {
|
||||
if ( 'appearance_page_displayfeaturedimagegenesis' === get_current_screen()->id ) {
|
||||
wp_enqueue_media();
|
||||
wp_enqueue_script( 'displayfeaturedimage-upload' );
|
||||
wp_localize_script( 'displayfeaturedimage-upload', 'objectL10n', array(
|
||||
'text' => __( 'Choose Image', 'display-featured-image-genesis' ),
|
||||
) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.big-leader {
|
||||
max-height: 700px;
|
||||
/*max-height: 700px;*/
|
||||
}
|
||||
|
||||
.big-leader .wrap {
|
||||
|
||||
@@ -14,9 +14,9 @@ jQuery(document).ready(function($){
|
||||
|
||||
//Extend the wp.media object
|
||||
custom_uploader = wp.media.frames.file_frame = wp.media({
|
||||
title: 'Choose Image',
|
||||
title: ([objectL10n.text]),
|
||||
button: {
|
||||
text: 'Choose Image'
|
||||
text: ([objectL10n.text])
|
||||
},
|
||||
multiple: false
|
||||
});
|
||||
|
||||
@@ -6,14 +6,14 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Display Featured Image for Genesis 1.3.0\n"
|
||||
"POT-Creation-Date: 2014-09-17 21:11-0500\n"
|
||||
"PO-Revision-Date: 2014-11-02 18:21-0500\n"
|
||||
"PO-Revision-Date: 2014-11-05 14:16-0500\n"
|
||||
"Last-Translator: Robin Cornett <hello@robincornett.com>\n"
|
||||
"Language-Team: Robin Cornett <hello@robincornett.com>\n"
|
||||
"Language: en_US\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.6.9\n"
|
||||
"X-Generator: Poedit 1.6.10\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-Language: English\n"
|
||||
"X-Poedit-Country: UNITED STATES\n"
|
||||
@@ -25,84 +25,88 @@ msgstr ""
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Textdomain-Support: yes\n"
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:16
|
||||
msgid "Display Featured Image for Genesis: Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:17
|
||||
msgid "Display Featured Image Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:54
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:26
|
||||
msgid "Display Featured Image for Genesis"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:61
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:239
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:257
|
||||
msgid "Height"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:69
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:263
|
||||
msgid "Default Featured Image"
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:27
|
||||
msgid "Display Featured Image Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:77
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:251
|
||||
msgid "Move Excerpts/Archive Descriptions"
|
||||
msgid "Optional Sitewide Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:94
|
||||
msgid ""
|
||||
"The Display Featured Image for Genesis plugin has three optional settings. "
|
||||
"Check the Help tab for more information. "
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:84
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:303
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:329
|
||||
msgid "Height"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:106
|
||||
msgid "Pixels to remove "
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:92
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:335
|
||||
msgid "Default Featured Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:100
|
||||
msgid "Skip Front Page"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:108
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:323
|
||||
msgid "Move Excerpts/Archive Descriptions"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:125
|
||||
msgid ""
|
||||
"The Display Featured Image for Genesis plugin has just a few optional "
|
||||
"settings. Check the Help tab for more information. "
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:136
|
||||
msgid "Pixels to remove "
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:138
|
||||
msgid ""
|
||||
"Changing this number will reduce the backstretch image height by this number "
|
||||
"of pixels. Default is zero."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:129
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:160
|
||||
msgid "Select Default Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:131
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:162
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you would like to use a default image for the featured image, upload it "
|
||||
"here. Must be at least %1$s pixels wide."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:145
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:174
|
||||
msgid "Do not show the Featured Image on the Front Page of the site."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:184
|
||||
msgid ""
|
||||
"Move excerpts (if used) on single pages and move archive/taxonomy "
|
||||
"descriptions to overlay the Featured Image."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:161
|
||||
msgid "Settings saved."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:169
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:226
|
||||
msgid ""
|
||||
"Sorry, that is an invalid file type. The Default Featured Image has been "
|
||||
"reset to the last valid setting."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:175
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:238
|
||||
msgid ""
|
||||
"Sorry, your image is too small. The Default Featured Image has been reset to "
|
||||
"the last valid setting."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:240
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:304
|
||||
msgid ""
|
||||
"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 "
|
||||
@@ -110,24 +114,47 @@ msgid ""
|
||||
"image, making it shorter."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:243
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:307
|
||||
msgid "Set a Default Featured Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:244
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:308
|
||||
msgid ""
|
||||
"You may set a large image to be used sitewide if a featured image is not "
|
||||
"available. This image will show on posts, pages, and archives."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:246
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:310
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Supported file types are: jpg, jpeg, png, and gif. The image must be at "
|
||||
"least %1$s pixels wide."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:252
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:315
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:341
|
||||
msgid "Show on Front Page"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:316
|
||||
msgid ""
|
||||
"If you set a Default Featured Image, it will show on every post/page of your "
|
||||
"site. This may not be desirable on child themes with a front page "
|
||||
"constructed with widgets, so you can select this option to prevent the "
|
||||
"Featured Image from showing on the front page. Checking this will prevent "
|
||||
"the Featured Image from showing on the Front Page, even if you have set an "
|
||||
"image for that page individually."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:318
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you want to prevent entire groups of posts from not using the Featured "
|
||||
"Image, you will want to <a href=\"%s\" target=\"_blank\">add a filter</a> to "
|
||||
"your theme functions.php file."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:324
|
||||
msgid ""
|
||||
"By default, archive descriptions (set on the Genesis Archive Settings pages) "
|
||||
"show below the Default Featured Image, while the archive title displays on "
|
||||
@@ -135,10 +162,14 @@ msgid ""
|
||||
"optional excerpts will display in a box overlaying the Featured Image."
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:269
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:347
|
||||
msgid "Move Excerpts"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis-settings.php:366
|
||||
msgid "Choose Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../includes/class-displayfeaturedimagegenesis.php:62
|
||||
msgid ""
|
||||
"Sorry, Display Featured Image for Genesis works only with the Genesis "
|
||||
|
||||
Reference in New Issue
Block a user