comic blog post widget, new translation, gallery for comics,

This commit is contained in:
Frumph
2012-06-21 22:35:13 -07:00
parent 35a96897a0
commit e4332d5dc2
10 changed files with 1043 additions and 505 deletions
+34 -34
View File
@@ -68,17 +68,17 @@ function ceo_initialize_post_types() {
));
$labels = array(
'name' => _x( 'Chapters', 'taxonomy general name' ),
'singular_name' => _x( 'Chapter', 'taxonomy singular name' ),
'search_items' => __( 'Search Chapters' ),
'popular_items' => __( 'Popular Chapters' ),
'all_items' => __( 'All Chapters' ),
'parent_item' => __( 'Parent Chapter' ),
'parent_item_colon' => __( 'Parent Chapter:' ),
'edit_item' => __( 'Edit Chapters' ),
'update_item' => __( 'Update Chapters' ),
'add_new_item' => __( 'Add New Chapter' ),
'new_item_name' => __( 'New Chapter Name' ),
'name' => __( 'Chapters', 'comiceasel' ),
'singular_name' => __( 'Chapter', 'comiceasel' ),
'search_items' => __( 'Search Chapters', 'comiceasel' ),
'popular_items' => __( 'Popular Chapters', 'comiceasel' ),
'all_items' => __( 'All Chapters', 'comiceasel' ),
'parent_item' => __( 'Parent Chapter', 'comiceasel' ),
'parent_item_colon' => __( 'Parent Chapter:', 'comiceasel' ),
'edit_item' => __( 'Edit Chapters', 'comiceasel' ),
'update_item' => __( 'Update Chapters', 'comiceasel' ),
'add_new_item' => __( 'Add New Chapter', 'comiceasel' ),
'new_item_name' => __( 'New Chapter Name', 'comiceasel' ),
);
register_taxonomy('chapters', 'comic', array(
@@ -92,17 +92,17 @@ function ceo_initialize_post_types() {
));
$labels = array(
'name' => _x('Characters', 'taxonomy general name' ),
'singular_name' => _x( 'Character', 'taxonomy singular name' ),
'search_items' => __( 'Search Characters' ),
'popular_items' => __( 'Popular Characters' ),
'all_items' => __( 'All Characters' ),
'parent_item' => __( 'Parent Character' ),
'parent_item_colon' => __( 'Parent Character:' ),
'edit_item' => __( 'Edit Character' ),
'update_item' => __( 'Update Character' ),
'add_new_item' => __( 'Add New Character' ),
'new_item_name' => __( 'New Character Name' ),
'name' => __('Characters', 'comiceasel' ),
'singular_name' => __( 'Character', 'comiceasel' ),
'search_items' => __( 'Search Characters', 'comiceasel' ),
'popular_items' => __( 'Popular Characters', 'comiceasel' ),
'all_items' => __( 'All Characters', 'comiceasel' ),
'parent_item' => __( 'Parent Character', 'comiceasel' ),
'parent_item_colon' => __( 'Parent Character:', 'comiceasel' ),
'edit_item' => __( 'Edit Character', 'comiceasel' ),
'update_item' => __( 'Update Character', 'comiceasel' ),
'add_new_item' => __( 'Add New Character', 'comiceasel' ),
'new_item_name' => __( 'New Character Name', 'comiceasel' ),
);
register_taxonomy('characters', 'comic', array(
@@ -116,17 +116,17 @@ function ceo_initialize_post_types() {
));
$labels = array(
'name' => _x( 'Locations', 'taxonomy general name' ),
'singular_name' => _x( 'Location', 'taxonomy singular name' ),
'search_items' => __( 'Search Locations' ),
'popular_items' => __( 'Popular Locations' ),
'all_items' => __( 'All Locations' ),
'parent_item' => __( 'Parent Locations' ),
'parent_item_colon' => __( 'Parent Location:' ),
'edit_item' => __( 'Edit Location' ),
'update_item' => __( 'Update Location' ),
'add_new_item' => __( 'Add New Location' ),
'new_item_name' => __( 'New Location Name' ),
'name' => __( 'Locations', 'comiceasel'),
'singular_name' => __( 'Location', 'comiceasel' ),
'search_items' => __( 'Search Locations', 'comiceasel' ),
'popular_items' => __( 'Popular Locations', 'comiceasel' ),
'all_items' => __( 'All Locations', 'comiceasel' ),
'parent_item' => __( 'Parent Locations', 'comiceasel' ),
'parent_item_colon' => __( 'Parent Location:', 'comiceasel' ),
'edit_item' => __( 'Edit Location', 'comiceasel' ),
'update_item' => __( 'Update Location', 'comiceasel' ),
'add_new_item' => __( 'Add New Location', 'comiceasel' ),
'new_item_name' => __( 'New Location Name', 'comiceasel' ),
);
register_taxonomy('locations', 'comic', array(
@@ -297,7 +297,7 @@ function ceo_load_options($reset = false) {
'click_comic_next' => true,
'navigate_only_chapters' => true,
'enable_chapter_nav' => false,
'enable_comments_nav' => true,
'enable_comment_nav' => true,
'enable_random_nav' => true,
'enable_embed_nav' => false,
'disable_default_nav' => false,
+12 -1
View File
@@ -2,6 +2,7 @@
function ceo_display_comic($size = 'full') {
global $post;
$output = '';
$post_image_id = get_post_thumbnail_id($post->ID);
if ($post_image_id) {
$output = '';
@@ -16,9 +17,19 @@ function ceo_display_comic($size = 'full') {
if (ceo_pluginfo('click_comic_next') && !empty($next_comic)) {
$output .= '</a>';
}
}
$args = array(
'order' => 'ASC',
'orderby' => 'menu_order',
'id' => $post->ID,
'columns' => 5,
'exclude' => $post_image_id
);
$output .= gallery_shortcode($args);
if ($output) {
return apply_filters('ceo_comics_display_comic', $output);
} else
return "No Comic (featured image) Found. Set One.";
return __('No Gallery or featured image Found.', 'comiceasel');
}
function ceo_the_hovertext($override_post = null) {
+316 -171
View File
@@ -2,17 +2,15 @@
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: Comic Easel\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/comic-easel\n"
"POT-Creation-Date: 2012-05-29 05:36:40+00:00\n"
"POT-Creation-Date: 2012-06-21 13:34:48+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2012-05-28 22:42-0800\n"
"Last-Translator: Philip M. Hofer (Frumph) <philip@frumph.net>\n"
"Language-Team: LANGUAGE <philip@frumph.net>\n"
"X-Poedit-Language: English\n"
"X-Poedit-Country: UNITED STATES\n"
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: ceo-admin.php:14
msgid "Comic Easel"
@@ -34,61 +32,41 @@ msgstr ""
msgid "Comic Easel Settings RESET!"
msgstr ""
#: ceo-config.php:71
#: ceo-config.php:74
msgid "Comic Easel Settings SAVED!"
msgstr ""
#: ceo-config.php:81
#: ceo-config.php:84
msgid "General"
msgstr ""
#: ceo-config.php:82
#: ceo-config.php:85
msgid "Navigation"
msgstr ""
#: ceo-config.php:123
#: ceo-config.php:126
msgid "Created, Developed and maintained by"
msgstr ""
#: ceo-config.php:124
msgid "If you like the Comic Easel plugin, please donate. It will help in developing new features and versions."
#: ceo-config.php:127
msgid ""
"If you like the Comic Easel plugin, please donate. It will help in "
"developing new features and versions."
msgstr ""
#: ceo-debug.php:8
msgid "Directory Exists,"
#: ceo-config.php:153
msgid "French Translation by LiAn"
msgstr ""
#: ceo-debug.php:10
msgid "and is writable."
msgstr ""
#: ceo-debug.php:12
msgid "and is not writable."
msgstr ""
#: ceo-debug.php:15
msgid "Directory does not exist,"
msgstr ""
#: ceo-debug.php:22
msgid "Comic Easel - Debug"
msgstr ""
#: ceo-debug.php:26
msgid "Variables"
msgstr ""
#: comiceasel.php:32
#: comiceasel.php:32 functions/admin-meta.php:37
msgid "Comics"
msgstr ""
#: comiceasel.php:33
#: functions/admin-meta.php:84
#: comiceasel.php:33 functions/admin-meta.php:143
msgid "Comic"
msgstr ""
#: comiceasel.php:34
#: comiceasel.php:35
#: comiceasel.php:34 comiceasel.php:35
msgid "Add Comic"
msgstr ""
@@ -104,8 +82,7 @@ msgstr ""
msgid "New Comic"
msgstr ""
#: comiceasel.php:39
#: comiceasel.php:43
#: comiceasel.php:39 comiceasel.php:43
msgid "View Comic"
msgstr ""
@@ -122,12 +99,10 @@ msgid "No comics found in Trash"
msgstr ""
#: comiceasel.php:71
msgctxt "taxonomy general name"
msgid "Chapters"
msgstr ""
#: comiceasel.php:72
msgctxt "taxonomy singular name"
#: comiceasel.php:72 functions/admin-meta.php:68
msgid "Chapter"
msgstr ""
@@ -167,13 +142,11 @@ msgstr ""
msgid "New Chapter Name"
msgstr ""
#: comiceasel.php:95
msgctxt "taxonomy general name"
#: comiceasel.php:95 functions/admin-meta.php:69
msgid "Characters"
msgstr ""
#: comiceasel.php:96
msgctxt "taxonomy singular name"
msgid "Character"
msgstr ""
@@ -214,12 +187,10 @@ msgid "New Character Name"
msgstr ""
#: comiceasel.php:119
msgctxt "taxonomy general name"
msgid "Locations"
msgstr ""
#: comiceasel.php:120
msgctxt "taxonomy singular name"
#: comiceasel.php:120 functions/admin-meta.php:70
msgid "Location"
msgstr ""
@@ -259,61 +230,79 @@ msgstr ""
msgid "New Location Name"
msgstr ""
#: comiceasel.php:151
#: comiceasel.php:165
msgid "Over Comic"
msgstr ""
#: comiceasel.php:152
#: comiceasel.php:166
msgid "Left of Comic"
msgstr ""
#: comiceasel.php:153
#: comiceasel.php:167
msgid "Right of Comic"
msgstr ""
#: comiceasel.php:154
#: comiceasel.php:168
msgid "Under Comic"
msgstr ""
#: comiceasel.php:159
#: comiceasel.php:173
msgid "Comic Easel Sidebar Location"
msgstr ""
#: comiceasel.php:307
#: comiceasel.php:363
msgid "Comic Easel - Test Information"
msgstr ""
#: functions/admin-meta.php:8
#: widgets/navigation.php:186
#: functions/admin-meta.php:22 functions/admin-meta.php:38
msgid "Order"
msgstr ""
#: functions/admin-meta.php:34
msgid "Name"
msgstr ""
#: functions/admin-meta.php:35
msgid "Slug"
msgstr ""
#: functions/admin-meta.php:36
msgid "Description"
msgstr ""
#: functions/admin-meta.php:54 functions/admin-meta.php:59
msgid "Chapter Order"
msgstr ""
#: functions/admin-meta.php:54 functions/admin-meta.php:59
msgid "This defines what order the chapter is in. 0 = do not order."
msgstr ""
#: functions/admin-meta.php:66 widgets/navigation.php:300
msgid "Comic Title"
msgstr ""
#: functions/admin-meta.php:10
msgid "Chapter"
msgstr ""
#: functions/admin-meta.php:11
msgid "Characters"
msgstr ""
#: functions/admin-meta.php:12
msgid "Location"
msgstr ""
#: functions/admin-meta.php:13
#: functions/admin-meta.php:71
msgid "Tags"
msgstr ""
#: functions/admin-meta.php:14
#: functions/admin-meta.php:72
msgctxt "column name"
msgid "Date"
msgstr ""
#: functions/admin-meta.php:15
#: functions/admin-meta.php:73 options/general.php:72 options/general.php:87
#: options/general.php:102
msgid "Thumbnail"
msgstr ""
#: functions/admin-meta.php:85
#: functions/admin-meta.php:127
msgid ""
"To add a comic image, use the featured image link to add a featured image. "
"After it uploads, click the \"use as featured image\"."
msgstr ""
#: functions/admin-meta.php:144
msgid "Alt (Hover) Text"
msgstr ""
@@ -321,37 +310,35 @@ msgstr ""
msgid "<br />Edit Comic."
msgstr ""
#: functions/injections.php:35
#: functions/injections.php:44
msgid "&lsaquo;&lsaquo; First"
msgstr ""
#: functions/injections.php:37
#: functions/injections.php:45
msgid "Last &rsaquo;&rsaquo;"
msgstr ""
#: functions/injections.php:39
#: functions/injections.php:46
msgid "Next &rsaquo;"
msgstr ""
#: functions/injections.php:41
#: functions/injections.php:47
msgid "&lsaquo; Prev"
msgstr ""
#: functions/injections.php:48
#: widgets/navigation.php:194
#: functions/injections.php:55 widgets/navigation.php:308
msgid "Comments"
msgstr ""
#: functions/injections.php:51
#: widgets/navigation.php:198
#: functions/injections.php:58 widgets/navigation.php:312
msgid "Random"
msgstr ""
#: functions/injections.php:151
#: functions/injections.php:155
msgid "&rsaquo;"
msgstr ""
#: functions/injections.php:153
#: functions/injections.php:157
msgid "&lsaquo;"
msgstr ""
@@ -367,9 +354,8 @@ msgstr ""
msgid "You do not have any characters yet."
msgstr ""
#: functions/shortcodes.php:99
#: functions/shortcodes.php:136
#: functions/shortcodes.php:187
#: functions/shortcodes.php:101 functions/shortcodes.php:143
#: functions/shortcodes.php:194
msgid "Permanent Link:"
msgstr ""
@@ -390,7 +376,9 @@ msgid "Disable Comic on the Home Page?"
msgstr ""
#: options/general.php:29
msgid "Checking this will stop the display of the comic and comic area on the home page"
msgid ""
"Checking this will stop the display of the comic and comic area on the home "
"page"
msgstr ""
#: options/general.php:33
@@ -398,7 +386,87 @@ msgid "Disable the Comic Post on the Home Page?"
msgstr ""
#: options/general.php:38
msgid "Checking this will stop the display of the comic's blog on the home page."
msgid ""
"Checking this will stop the display of the comic's blog on the home page."
msgstr ""
#: options/general.php:42
msgid "Enable comments to appear on the home page for comic posts?"
msgstr ""
#: options/general.php:47
msgid ""
"If the blog loop is disabled and the comic post is enabled on the home page, "
"enabling this will allow the comments for the comic post to appear."
msgstr ""
#: options/general.php:51
msgid "Enable comic sidebar locations?"
msgstr ""
#: options/general.php:56
msgid ""
"Checking this option makes 4 new sidebars appear in the appearance - widgets "
"section, above comic, below comic, left of comic and right of comic."
msgstr ""
#: options/general.php:64
msgid "Thumbnail sizes for locations where used."
msgstr ""
#: options/general.php:69
msgid "Thumbnail size for main RSS Feed"
msgstr ""
#: options/general.php:71 options/general.php:86 options/general.php:101
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr ""
#: options/general.php:73 options/general.php:88 options/general.php:103
msgid "Medium"
msgstr ""
#: options/general.php:74 options/general.php:89 options/general.php:104
msgid "Large"
msgstr ""
#: options/general.php:75 options/general.php:90 options/general.php:105
msgid "Full"
msgstr ""
#: options/general.php:79
msgid "The thumbnail for the main RSS /feed/"
msgstr ""
#: options/general.php:84
msgid "Thumbnail size for the direct comic & chapter RSS Feeds"
msgstr ""
#: options/general.php:94
msgid ""
"The thumbnail for the direct comic and chapter RSS /comic/feed/ and /chapter/"
"chapter-slug/feed/ "
msgstr ""
#: options/general.php:99
msgid "Thumbnail size for archive and search"
msgstr ""
#: options/general.php:109
msgid ""
"The thumbnail shown inside posts when viewed in the archive and search "
"functions of WordPress"
msgstr ""
#: options/general.php:114
msgid ""
"NOTE: Edit a post, click update on it for the feeds to refresh with new "
"copies; to see changes."
msgstr ""
#: options/general.php:123 options/navigation.php:142
msgid "Save Settings"
msgstr ""
#: options/navigation.php:11
@@ -406,63 +474,105 @@ msgid "Navigation Options"
msgstr ""
#: options/navigation.php:15
msgid "Navigate through only the chapters and not all comics?"
msgstr ""
#: options/navigation.php:20
msgid "Enabling this make the navigation only navigate through individual chapters."
msgstr ""
#: options/navigation.php:24
msgid "Clicking the comic goes to next comic?"
msgstr ""
#: options/navigation.php:20
msgid ""
"When this is enabled, when the comic is mouse over and clicked it will go to "
"the next comic in the chapter."
msgstr ""
#: options/navigation.php:24
msgid "Disable the Menubar Mini-navigation? (if implemented)"
msgstr ""
#: options/navigation.php:29
msgid "When this is enabled, when the comic is mouse over and clicked it will go to the next comic in the chapter."
msgid ""
"Checking this will disable the mini navigation in the menubar if the theme "
"you are using supports it."
msgstr ""
#: options/navigation.php:37
msgid "Default Navigation"
msgstr ""
#: options/navigation.php:41
msgid "Disable default navigation?"
msgstr ""
#: options/navigation.php:46
msgid "Checking this will disable the default navigation, you could use and skin the navigation widget."
msgstr ""
#: options/navigation.php:50
msgid "Enable the chapter navigation drop down in the comic navigation?"
msgid "Navigation Widget"
msgstr ""
#: options/navigation.php:55
msgid "When this is enabled, a drop down archive box will appear in the navigation that lets you go to the start of each chapter"
msgid "Graphic Navigation Set"
msgstr ""
#: options/navigation.php:59
msgid "Enable the random comic link in the comic navigation?"
#: options/navigation.php:70
msgid ""
"Choose a directory to get the graphic navigation styling from. To create "
"your own custom graphic navigation menu buttons just create a directory "
"under <i>images/nav/</i> in your child theme and place your image files and "
"navstyle.css file inside of it to determine the style of your navigation "
"display."
msgstr ""
#: options/navigation.php:64
msgid "When this is enabled, a link will appear in the navigation that lets you go to a random comic in all chapters."
msgstr ""
#: options/navigation.php:68
msgid "Enable the comment link in the comic navigation?"
msgstr ""
#: options/navigation.php:73
msgid "When this is enabled, a link will appear in the navigation that lets you go to the comments section of the current post, it also shows how many comments there currently are."
msgstr ""
#: options/navigation.php:77
msgid "Enable the \"embed this comic\" textarea in the comic navigation?"
#: options/navigation.php:78
msgid "Default Navigation"
msgstr ""
#: options/navigation.php:82
msgid "When this is enabled, a textarea will appear under the navigation with the href and image link to have users embed this comic on their site."
msgid "Disable default navigation?"
msgstr ""
#: options/navigation.php:87
msgid ""
"Checking this will disable the default navigation, you could use and skin "
"the navigation widget."
msgstr ""
#: options/navigation.php:91
msgid "Navigate through only the chapters and not all comics?"
msgstr ""
#: options/navigation.php:96
msgid ""
"Enabling this make the navigation only navigate through individual chapters "
"with the default navigation."
msgstr ""
#: options/navigation.php:100
msgid "Enable the chapter navigation drop down in the comic navigation?"
msgstr ""
#: options/navigation.php:105
msgid ""
"When this is enabled, a drop down archive box will appear in the navigation "
"that lets you go to the start of each chapter"
msgstr ""
#: options/navigation.php:109
msgid "Enable the random comic link in the comic navigation?"
msgstr ""
#: options/navigation.php:114
msgid ""
"When this is enabled, a link will appear in the navigation that lets you go "
"to a random comic in all chapters."
msgstr ""
#: options/navigation.php:118
msgid "Enable the comment link in the comic navigation?"
msgstr ""
#: options/navigation.php:123
msgid ""
"When this is enabled, a link will appear in the navigation that lets you go "
"to the comments section of the current post, it also shows how many comments "
"there currently are."
msgstr ""
#: options/navigation.php:127
msgid "Enable the \"embed this comic\" textarea in the comic navigation?"
msgstr ""
#: options/navigation.php:132
msgid ""
"When this is enabled, a textarea will appear under the navigation with the "
"href and image link to have users embed this comic on their site."
msgstr ""
#: widgets/archive-dropdown.php:22
@@ -481,121 +591,147 @@ msgstr ""
msgid "Comic Chapters"
msgstr ""
#: widgets/archive-dropdown.php:98
#: widgets/recentcomics.php:47
#: widgets/scheduledcomics.php:50
#: widgets/thumbnail.php:67
#: widgets/archive-dropdown.php:98 widgets/recentcomics.php:47
#: widgets/scheduledcomics.php:50 widgets/thumbnail.php:76
msgid "Title:"
msgstr ""
#. translators: Calendar caption: 1: month name, 2: 4-digit year
#: widgets/calendar.php:98
#: widgets/comic-calendar.php:100
msgctxt "calendar caption"
msgid "%1$s %2$s"
msgstr ""
#: widgets/calendar.php:99
#: widgets/comic-calendar.php:101
msgid "Calendar"
msgstr ""
#: widgets/calendar.php:124
#: widgets/calendar.php:132
#: widgets/comic-calendar.php:126 widgets/comic-calendar.php:134
msgid "View posts for %1$s %2$s"
msgstr ""
#: widgets/calendar.php:248
msgid "Display a calendar showing this months posts. (this calendar does not drop lines if there is no title given.)"
#: widgets/comic-calendar.php:250
msgid ""
"Display a calendar showing this months posts. (this calendar does not drop "
"lines if there is no title given.)"
msgstr ""
#: widgets/calendar.php:249
#: widgets/comic-calendar.php:251
msgid "Comic Easel - Calendar"
msgstr ""
#: widgets/calendar.php:271
#: widgets/comic-calendar.php:273
msgid "DOWNLOAD"
msgstr ""
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "Download Small"
msgstr ""
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "S"
msgstr ""
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "Download Medium"
msgstr ""
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "M"
msgstr ""
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "Download Large"
msgstr ""
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "L"
msgstr ""
#: widgets/calendar.php:315
#: widgets/comic-calendar.php:317
msgid "Thumbnail URL (178px by 130px):"
msgstr ""
#: widgets/calendar.php:316
#: widgets/comic-calendar.php:318
msgid "Add link on thumbnails:"
msgstr ""
#: widgets/calendar.php:317
#: widgets/comic-calendar.php:319
msgid "Wallpaper URL (Small):"
msgstr ""
#: widgets/calendar.php:318
#: widgets/comic-calendar.php:320
msgid "Wallpaper URL (Medium):"
msgstr ""
#: widgets/calendar.php:319
#: widgets/comic-calendar.php:321
msgid "Wallpaper URL (Large):"
msgstr ""
#: widgets/navigation.php:14
msgid "Displays navigation links for navigating your comics. This widget works best in the above-comic and under-comic sidebars if you set them in the theme you use."
msgid ""
"Displays navigation links for navigating your comics. This widget works "
"best in the above-comic and under-comic sidebars if you set them in the "
"theme you use."
msgstr ""
#: widgets/navigation.php:15
msgid "Comic Easel - Navigation"
msgstr ""
#: widgets/navigation.php:102
#: widgets/navigation.php:152
msgid "Image URL (for hotlinking/embedding): "
msgstr ""
#: widgets/navigation.php:170
#: widgets/navigation.php:260
msgid "First"
msgstr ""
#: widgets/navigation.php:174
#: widgets/navigation.php:264
msgid "Last"
msgstr ""
#: widgets/navigation.php:178
#: widgets/navigation.php:268
msgid "Previous"
msgstr ""
#: widgets/navigation.php:182
#: widgets/navigation.php:272
msgid "Next"
msgstr ""
#: widgets/navigation.php:189
#: widgets/navigation.php:276
msgid "First in Chapter"
msgstr ""
#: widgets/navigation.php:280
msgid "Last in Chapter"
msgstr ""
#: widgets/navigation.php:284
msgid "Previous in Chapter"
msgstr ""
#: widgets/navigation.php:288
msgid "Next in Chapter"
msgstr ""
#: widgets/navigation.php:292
msgid "Previous Chapter"
msgstr ""
#: widgets/navigation.php:296
msgid "Next Chapter"
msgstr ""
#: widgets/navigation.php:303
msgid "Archives"
msgstr ""
#: widgets/navigation.php:202
#: widgets/navigation.php:316
msgid "Subscribe"
msgstr ""
#: widgets/navigation.php:206
#: widgets/navigation.php:320
msgid "ImageURL"
msgstr ""
@@ -623,31 +759,40 @@ msgstr ""
msgid "Scheduled Comics"
msgstr ""
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr ""
#: widgets/thumbnail.php:13
msgid "Display a thumbnail of a comic, by chapter, newest, first or random, clickable to go to the comic."
msgid ""
"Display a thumbnail of a comic, by chapter, newest, first or random, "
"clickable to go to the comic."
msgstr ""
#: widgets/thumbnail.php:14
msgid "Comic Easel - Thumbnail"
msgstr ""
#: widgets/thumbnail.php:68
#: widgets/thumbnail.php:77
msgid "Which Chapter?"
msgstr ""
#: widgets/thumbnail.php:87
#: widgets/thumbnail.php:96
msgid "Get first in chapter instead?"
msgstr ""
#: widgets/thumbnail.php:88
#: widgets/thumbnail.php:97
msgid "Display a random Thumbnail?"
msgstr ""
#: widgets/thumbnail.php:89
#: widgets/thumbnail.php:98
msgid "*note: Random thumbnail overrides the get first in chapter option."
msgstr ""
#: widgets/thumbnail.php:99
msgid "Display how many thumbnails?"
msgstr ""
#: widgets/thumbnail.php:100
msgid "Include comic title?"
msgstr ""
#: widgets/thumbnail.php:101
msgid "Add centering html?"
msgstr ""
Binary file not shown.
+277 -115
View File
@@ -4,13 +4,13 @@ msgid ""
msgstr ""
"Project-Id-Version: Comic Easel\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/comic-easel\n"
"POT-Creation-Date: 2012-05-29 05:36:40+00:00\n"
"POT-Creation-Date: 2012-06-20 14:07:41+00:00\n"
"PO-Revision-Date: 2012-06-21 15:11+0100\n"
"Last-Translator: Li-An <lian00@gmail.com>\n"
"Language-Team: Li-An <lian00@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2012-06-14 15:43+0100\n"
"Last-Translator: Li-An <lian00@gmail.com>\n"
"Language-Team: Li-An <lian00@gmail.com>\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
@@ -34,56 +34,37 @@ msgstr "Comic Easel - Config"
msgid "Comic Easel Settings RESET!"
msgstr "Réglages Comic Easel RÉINITIALISÉS!"
#: ceo-config.php:71
#: ceo-config.php:74
msgid "Comic Easel Settings SAVED!"
msgstr "Réglages de Comic Easel SAUVEGARDÉS!"
#: ceo-config.php:81
#: ceo-config.php:84
msgid "General"
msgstr "Général"
#: ceo-config.php:82
#: ceo-config.php:85
msgid "Navigation"
msgstr "Navigation"
#: ceo-config.php:123
#: ceo-config.php:126
msgid "Created, Developed and maintained by"
msgstr "Créé, développé et maintenu par"
#: ceo-config.php:124
#: ceo-config.php:127
msgid "If you like the Comic Easel plugin, please donate. It will help in developing new features and versions."
msgstr "Si vous aimez le plugin Comic Easel, veuillez faire un don. Cela permettra de développer de nouvelles fonctions et versions."
#: ceo-debug.php:8
msgid "Directory Exists,"
msgstr "Le répertoire existe,"
#: ceo-debug.php:10
msgid "and is writable."
msgstr "et est autorisé à l'écriture."
#: ceo-debug.php:12
msgid "and is not writable."
msgstr "et n'est pas autorisé à l'écriture."
#: ceo-debug.php:15
msgid "Directory does not exist,"
msgstr "Le répertoire n'existe pas,"
#: ceo-debug.php:22
msgid "Comic Easel - Debug"
msgstr "Comic Easel - Debuggage"
#: ceo-debug.php:26
msgid "Variables"
msgstr "Variables"
#: ceo-config.php:153
msgid "French Translation by LiAn"
msgstr "Traduction française par Li-An"
#: comiceasel.php:32
#: functions/admin-meta.php:37
msgid "Comics"
msgstr "Comics"
#: comiceasel.php:33
#: functions/admin-meta.php:84
#: functions/admin-meta.php:143
msgid "Comic"
msgstr "Comic"
@@ -259,61 +240,95 @@ msgstr "Ajouter un nouveau lieu"
msgid "New Location Name"
msgstr "Nom du nouveau lieu"
#: comiceasel.php:151
#: comiceasel.php:165
msgid "Over Comic"
msgstr "Au dessus du comic"
#: comiceasel.php:152
#: comiceasel.php:166
msgid "Left of Comic"
msgstr "À gauche du comic"
#: comiceasel.php:153
#: comiceasel.php:167
msgid "Right of Comic"
msgstr "À droite du comic"
#: comiceasel.php:154
#: comiceasel.php:168
msgid "Under Comic"
msgstr "Sous le comic"
#: comiceasel.php:159
#: comiceasel.php:173
msgid "Comic Easel Sidebar Location"
msgstr "Emplacement de la sidebar Comic Easel"
#: comiceasel.php:307
#: comiceasel.php:363
msgid "Comic Easel - Test Information"
msgstr "Comic Easel - Test d'information"
#: functions/admin-meta.php:8
#: widgets/navigation.php:186
#: functions/admin-meta.php:22
#: functions/admin-meta.php:38
msgid "Order"
msgstr "Ordre"
#: functions/admin-meta.php:34
msgid "Name"
msgstr "Nom"
#: functions/admin-meta.php:35
msgid "Slug"
msgstr "Identifiant"
#: functions/admin-meta.php:36
msgid "Description"
msgstr "Description"
#: functions/admin-meta.php:54
#: functions/admin-meta.php:59
msgid "Chapter Order"
msgstr "Odre des chapitres"
#: functions/admin-meta.php:54
#: functions/admin-meta.php:59
msgid "This defines what order the chapter is in. 0 = do not order."
msgstr "Ceci définit l'ordre des chapitres. 0=ne pas ordonner."
#: functions/admin-meta.php:66
#: widgets/navigation.php:300
msgid "Comic Title"
msgstr "Titre du comic"
#: functions/admin-meta.php:10
#: functions/admin-meta.php:68
msgid "Chapter"
msgstr "Chapitre"
#: functions/admin-meta.php:11
#: functions/admin-meta.php:69
msgid "Characters"
msgstr "Personnages"
#: functions/admin-meta.php:12
#: functions/admin-meta.php:70
msgid "Location"
msgstr "Lieu"
#: functions/admin-meta.php:13
#: functions/admin-meta.php:71
msgid "Tags"
msgstr "Mots-clef"
#: functions/admin-meta.php:14
#: functions/admin-meta.php:72
msgctxt "column name"
msgid "Date"
msgstr "Date"
#: functions/admin-meta.php:15
#: functions/admin-meta.php:73
#: options/general.php:72
#: options/general.php:87
#: options/general.php:102
msgid "Thumbnail"
msgstr "Miniature"
#: functions/admin-meta.php:85
#: functions/admin-meta.php:127
msgid "To add a comic image, use the featured image link to add a featured image. After it uploads, click the \"use as featured image\"."
msgstr "Pour ajouter une image de comic, utiliser le lien ajouter une image à la une. Après son upload, cliquer sur \"utiliser comme image à la une\""
#: functions/admin-meta.php:144
msgid "Alt (Hover) Text"
msgstr "Texte Alt (au passage de la souris)"
@@ -321,37 +336,37 @@ msgstr "Texte Alt (au passage de la souris)"
msgid "<br />Edit Comic."
msgstr "<br />Editer le comic."
#: functions/injections.php:35
#: functions/injections.php:44
msgid "&lsaquo;&lsaquo; First"
msgstr "&lsaquo;&lsaquo; Début"
#: functions/injections.php:37
#: functions/injections.php:45
msgid "Last &rsaquo;&rsaquo;"
msgstr "Fin &rsaquo;&rsaquo;"
#: functions/injections.php:39
#: functions/injections.php:46
msgid "Next &rsaquo;"
msgstr "Suivant &rsaquo;"
#: functions/injections.php:41
#: functions/injections.php:47
msgid "&lsaquo; Prev"
msgstr "&lsaquo; Précédent"
#: functions/injections.php:48
#: widgets/navigation.php:194
#: functions/injections.php:55
#: widgets/navigation.php:308
msgid "Comments"
msgstr "Commentaires"
#: functions/injections.php:51
#: widgets/navigation.php:198
#: functions/injections.php:58
#: widgets/navigation.php:312
msgid "Random"
msgstr "Au hasard"
#: functions/injections.php:151
#: functions/injections.php:155
msgid "&rsaquo;"
msgstr "&rsaquo;"
#: functions/injections.php:153
#: functions/injections.php:157
msgid "&lsaquo;"
msgstr "&lsaquo;"
@@ -367,9 +382,9 @@ msgstr "Première apparition:"
msgid "You do not have any characters yet."
msgstr "Vous n'avez pas encore créé de personnage."
#: functions/shortcodes.php:99
#: functions/shortcodes.php:136
#: functions/shortcodes.php:187
#: functions/shortcodes.php:101
#: functions/shortcodes.php:143
#: functions/shortcodes.php:194
msgid "Permanent Link:"
msgstr "Lien permanent:"
@@ -401,67 +416,165 @@ msgstr "Désactiver les billets Comic sur la page d'accueil (home) ?"
msgid "Checking this will stop the display of the comic's blog on the home page."
msgstr "Cocher ceci stoppera l'affichage des comics sur le blog dans la page d'accueil (home)."
#: options/general.php:42
msgid "Enable comments to appear on the home page for comic posts?"
msgstr "Autoriser les commentaires à apparaître sur la page d'accueil (home) pour les billets comics ?"
#: options/general.php:47
msgid "If the blog loop is disabled and the comic post is enabled on the home page, enabling this will allow the comments for the comic post to appear."
msgstr "Si la boucle (loop) de blog est désactivée et que le billet comic est activé sur la page d'accueil (home), activer ceci va permettre l'affichage des commentaire de ce billet comic."
#: options/general.php:51
msgid "Enable comic sidebar locations?"
msgstr "Autoriser les emplacements de sidebars pour les comics ?"
#: options/general.php:56
msgid "Checking this option makes 4 new sidebars appear in the appearance - widgets section, above comic, below comic, left of comic and right of comic."
msgstr "Cocher cette option fait apparaître quatre nouvelles sidebars dans la section apparence-widgets, au dessus du comic, sous le comic, à gauche et à droite du comic."
#: options/general.php:64
msgid "Thumbnail sizes for locations where used."
msgstr "Tailles des miniatures à l'endroit où elles apparaissent."
#: options/general.php:69
msgid "Thumbnail size for main RSS Feed"
msgstr "Taille des miniatures pour le flux RSS principal"
#: options/general.php:71
#: options/general.php:86
#: options/general.php:101
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr "Aucun"
#: options/general.php:73
#: options/general.php:88
#: options/general.php:103
msgid "Medium"
msgstr "Medium"
#: options/general.php:74
#: options/general.php:89
#: options/general.php:104
msgid "Large"
msgstr "Grande taille"
#: options/general.php:75
#: options/general.php:90
#: options/general.php:105
msgid "Full"
msgstr "Originale"
#: options/general.php:79
msgid "The thumbnail for the main RSS /feed/"
msgstr "La miniature pour le flux RSS principal "
#: options/general.php:84
msgid "Thumbnail size for the direct comic & chapter RSS Feeds"
msgstr "La taille de miniature pour les flux RSS directs de comic et de chapitres."
#: options/general.php:94
msgid "The thumbnail for the direct comic and chapter RSS /comic/feed/ and /chapter/chapter-slug/feed/ "
msgstr "La miniature pour le flux RSS direct comic et le chapitre et le flux RSS chapitre et identifiant chapitre"
#: options/general.php:99
msgid "Thumbnail size for archive and search"
msgstr "Taille de la miniature pour les archives et la recherche"
#: options/general.php:109
msgid "The thumbnail shown inside posts when viewed in the archive and search functions of WordPress"
msgstr "La miniature montrée dans les billets à l'affichage des archives et les résultats de la fonction de recherche de Wordpress"
#: options/general.php:114
msgid "NOTE: Edit a post, click update on it for the feeds to refresh with new copies; to see changes."
msgstr "NOTE: éditer un biller, cliquer mise à jour pour que les flux soient remis à jour avec une nouvelle version; pour voir les changements."
#: options/general.php:123
#: options/navigation.php:142
msgid "Save Settings"
msgstr "Sauvegarder les réglages"
#: options/navigation.php:11
msgid "Navigation Options"
msgstr "Options de navigation"
#: options/navigation.php:15
msgid "Navigate through only the chapters and not all comics?"
msgstr "Naviguer uniquement dans les chapitres et pas tous les comics ?"
#: options/navigation.php:20
msgid "Enabling this make the navigation only navigate through individual chapters."
msgstr "Cocher ceci va permettre la navigation uniquement à travers les chapitres individuels."
#: options/navigation.php:24
msgid "Clicking the comic goes to next comic?"
msgstr "Cliquer sur le comic amène au prochain comic ?"
#: options/navigation.php:29
#: options/navigation.php:20
msgid "When this is enabled, when the comic is mouse over and clicked it will go to the next comic in the chapter."
msgstr "Quand ceci est coché, lorsque le visiteur clique sur le comic, il est automatiquement redirigé vers le prochain comic dans le chapitre. "
#: options/navigation.php:24
msgid "Disable the Menubar Mini-navigation? (if implemented)"
msgstr "Désactiver la mini-navigation de la barre de menu ? (si implémentée) "
#: options/navigation.php:29
msgid "Checking this will disable the mini navigation in the menubar if the theme you are using supports it."
msgstr "Cocher ceci va désactiver la mini-navigation dans la barre de menu si le thème que vous avez choisi le permets."
#: options/navigation.php:37
msgid "Navigation Widget"
msgstr "Widget de navigation"
#: options/navigation.php:55
msgid "Graphic Navigation Set"
msgstr "Set de navigation graphique."
#: options/navigation.php:70
msgid "Choose a directory to get the graphic navigation styling from. To create your own custom graphic navigation menu buttons just create a directory under <i>images/nav/</i> in your child theme and place your image files and navstyle.css file inside of it to determine the style of your navigation display."
msgstr "Choisir un répertoire pour placer le style de navigation graphique choisi. Pour créer vos propres boutons de menu de navigation personnalisés, créez juste un répertoire dans <i>images/nav/</i> dans votre thème enfant et placez vos fichiers images et le fichier navstyle.css pour déterminer votre affichage de navigation."
#: options/navigation.php:78
msgid "Default Navigation"
msgstr "Navigation par défaut"
#: options/navigation.php:41
#: options/navigation.php:82
msgid "Disable default navigation?"
msgstr "Désactiver la navigation par défaut ?"
#: options/navigation.php:46
#: options/navigation.php:87
msgid "Checking this will disable the default navigation, you could use and skin the navigation widget."
msgstr "Cocher ceci va désactiver la navigation par défaut. Vous pouvez utiliser et personnaliser le widget de navigation."
#: options/navigation.php:50
#: options/navigation.php:91
msgid "Navigate through only the chapters and not all comics?"
msgstr "Naviguer uniquement dans les chapitres et pas tous les comics ?"
#: options/navigation.php:96
msgid "Enabling this make the navigation only navigate through individual chapters with the default navigation."
msgstr "Cocher ceci va permettre la navigation uniquement à travers les chapitres individuels à partir de la navigation par défaut."
#: options/navigation.php:100
msgid "Enable the chapter navigation drop down in the comic navigation?"
msgstr "Activer la navigation par menu déroulant dans les chapitres à l'intérieur de la navigation dans les comics ?"
#: options/navigation.php:55
#: options/navigation.php:105
msgid "When this is enabled, a drop down archive box will appear in the navigation that lets you go to the start of each chapter"
msgstr "Quand ceci est activé, un menu déroulant s'affiche dans la navigation qui vous permet d'aller au début de chaque chapitre"
#: options/navigation.php:59
#: options/navigation.php:109
msgid "Enable the random comic link in the comic navigation?"
msgstr "Activer le comic au hasard dans la navigation comic ?"
#: options/navigation.php:64
#: options/navigation.php:114
msgid "When this is enabled, a link will appear in the navigation that lets you go to a random comic in all chapters."
msgstr "Coché, un lien apparaît dans la navigation qui permet au visiteur d'atteindre un comic au hasard dans tous les chapitres."
#: options/navigation.php:68
#: options/navigation.php:118
msgid "Enable the comment link in the comic navigation?"
msgstr "Activer le lien de commentaire dans la navigation comic ?"
#: options/navigation.php:73
#: options/navigation.php:123
msgid "When this is enabled, a link will appear in the navigation that lets you go to the comments section of the current post, it also shows how many comments there currently are."
msgstr "Coché, un lien apparaît dans la navigation qui permet au visiteur d'aller dans la section commentaire du billet. Il montre aussi le nombre de commentaires correspondant."
#: options/navigation.php:77
#: options/navigation.php:127
msgid "Enable the \"embed this comic\" textarea in the comic navigation?"
msgstr "Activer le message \"intégrer ce comic\" dans la navigation comic ?"
#: options/navigation.php:82
#: options/navigation.php:132
msgid "When this is enabled, a textarea will appear under the navigation with the href and image link to have users embed this comic on their site."
msgstr "Coché, un message apparaît sous la navigation avec le href et le lien vers l'image pour permette à vos visiteurs d'intégrer ce comic dans leur site."
@@ -484,78 +597,78 @@ msgstr "Chapitres de comics"
#: widgets/archive-dropdown.php:98
#: widgets/recentcomics.php:47
#: widgets/scheduledcomics.php:50
#: widgets/thumbnail.php:67
#: widgets/thumbnail.php:76
msgid "Title:"
msgstr "Titre:"
#. translators: Calendar caption: 1: month name, 2: 4-digit year
#: widgets/calendar.php:98
#: widgets/comic-calendar.php:100
msgctxt "calendar caption"
msgid "%1$s %2$s"
msgstr "%1$s %2$s"
#: widgets/calendar.php:99
#: widgets/comic-calendar.php:101
msgid "Calendar"
msgstr "Calendrier"
#: widgets/calendar.php:124
#: widgets/calendar.php:132
#: widgets/comic-calendar.php:126
#: widgets/comic-calendar.php:134
msgid "View posts for %1$s %2$s"
msgstr "Voir les billets de %1$s %2$s"
#: widgets/calendar.php:248
#: widgets/comic-calendar.php:250
msgid "Display a calendar showing this months posts. (this calendar does not drop lines if there is no title given.)"
msgstr "Affiche un calendrier montrant les billets de ce mois (ce calendrier ne s'affiche pas si aucun titre n'est présent)."
#: widgets/calendar.php:249
#: widgets/comic-calendar.php:251
msgid "Comic Easel - Calendar"
msgstr "Comic Easel - Calendrier"
#: widgets/calendar.php:271
#: widgets/comic-calendar.php:273
msgid "DOWNLOAD"
msgstr "TÉLÉCHARGER"
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "Download Small"
msgstr "Télécharger la petite taille "
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "S"
msgstr "P"
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "Download Medium"
msgstr "Télécharger la taille Medium"
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "M"
msgstr "M"
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "Download Large"
msgstr "Télécharger la taille Large"
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "L"
msgstr "L"
#: widgets/calendar.php:315
#: widgets/comic-calendar.php:317
msgid "Thumbnail URL (178px by 130px):"
msgstr "URL de la miniature (178px par 130px):"
#: widgets/calendar.php:316
#: widgets/comic-calendar.php:318
msgid "Add link on thumbnails:"
msgstr "Ajouter un lien sur les miniatures:"
#: widgets/calendar.php:317
#: widgets/comic-calendar.php:319
msgid "Wallpaper URL (Small):"
msgstr "URL fond d'écran (Petite taille):"
#: widgets/calendar.php:318
#: widgets/comic-calendar.php:320
msgid "Wallpaper URL (Medium):"
msgstr "URL fond d'écran (Medium):"
#: widgets/calendar.php:319
#: widgets/comic-calendar.php:321
msgid "Wallpaper URL (Large):"
msgstr "URL fond d'écran (Large):"
@@ -567,35 +680,59 @@ msgstr "Afficher les liens de navigation pour vos comics. Ce widget est plus à
msgid "Comic Easel - Navigation"
msgstr "Comic Easel - Navigation"
#: widgets/navigation.php:102
#: widgets/navigation.php:152
msgid "Image URL (for hotlinking/embedding): "
msgstr "URL de l'image (pour un lien direct ou l'intégrer):"
#: widgets/navigation.php:170
#: widgets/navigation.php:260
msgid "First"
msgstr "Début"
#: widgets/navigation.php:174
#: widgets/navigation.php:264
msgid "Last"
msgstr "Fin"
#: widgets/navigation.php:178
#: widgets/navigation.php:268
msgid "Previous"
msgstr "Précédent"
#: widgets/navigation.php:182
#: widgets/navigation.php:272
msgid "Next"
msgstr "Suivant"
#: widgets/navigation.php:189
#: widgets/navigation.php:276
msgid "First in Chapter"
msgstr "Début du chapitre"
#: widgets/navigation.php:280
msgid "Last in Chapter"
msgstr "Fin du chapitre"
#: widgets/navigation.php:284
msgid "Previous in Chapter"
msgstr "Précédent dans le chapitre"
#: widgets/navigation.php:288
msgid "Next in Chapter"
msgstr "Suivant dans le chapitre"
#: widgets/navigation.php:292
msgid "Previous Chapter"
msgstr "Chapitre précédent"
#: widgets/navigation.php:296
msgid "Next Chapter"
msgstr "Chapitre suivant"
#: widgets/navigation.php:303
msgid "Archives"
msgstr "Archives"
#: widgets/navigation.php:202
#: widgets/navigation.php:316
msgid "Subscribe"
msgstr "S'inscrire"
#: widgets/navigation.php:206
#: widgets/navigation.php:320
msgid "ImageURL"
msgstr "URL de l'image"
@@ -623,10 +760,6 @@ msgstr "Comic Easel - Billets programmés"
msgid "Scheduled Comics"
msgstr "Comics programmés"
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr "Aucun"
#: widgets/thumbnail.php:13
msgid "Display a thumbnail of a comic, by chapter, newest, first or random, clickable to go to the comic."
msgstr "Affiche une miniature du comic, par chapitre, le plus récent, le premier ou au hasard. Cliquer dessus amène au comic."
@@ -635,19 +768,48 @@ msgstr "Affiche une miniature du comic, par chapitre, le plus récent, le premie
msgid "Comic Easel - Thumbnail"
msgstr "Comic Easel - Miniature"
#: widgets/thumbnail.php:68
#: widgets/thumbnail.php:77
msgid "Which Chapter?"
msgstr "Quel chapitre ?"
#: widgets/thumbnail.php:87
#: widgets/thumbnail.php:96
msgid "Get first in chapter instead?"
msgstr "Aller plutôt au premier comic dans le chapitre ?"
#: widgets/thumbnail.php:88
#: widgets/thumbnail.php:97
msgid "Display a random Thumbnail?"
msgstr "Afficher une miniature au hasard ?"
#: widgets/thumbnail.php:89
#: widgets/thumbnail.php:98
msgid "*note: Random thumbnail overrides the get first in chapter option."
msgstr "*note: une miniature au hasard prend le pas sur l'option aller au premier comic dans le chapitre."
#: widgets/thumbnail.php:99
msgid "Display how many thumbnails?"
msgstr "Combien de miniatures à afficher ?"
#: widgets/thumbnail.php:100
msgid "Include comic title?"
msgstr "Inclure le titre de comic ?"
#: widgets/thumbnail.php:101
msgid "Add centering html?"
msgstr "Ajouter le centrage html ?"
#~ msgid "Directory Exists,"
#~ msgstr "Le répertoire existe,"
#~ msgid "and is writable."
#~ msgstr "et est autorisé à l'écriture."
#~ msgid "and is not writable."
#~ msgstr "et n'est pas autorisé à l'écriture."
#~ msgid "Directory does not exist,"
#~ msgstr "Le répertoire n'existe pas,"
#~ msgid "Comic Easel - Debug"
#~ msgstr "Comic Easel - Debuggage"
#~ msgid "Variables"
#~ msgstr "Variables"
Binary file not shown.
+299 -181
View File
@@ -2,15 +2,18 @@
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: Comic Easel 1.0.8\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/comic-easel\n"
"POT-Creation-Date: 2012-05-29 05:36:40+00:00\n"
"POT-Creation-Date: 2012-06-21 13:34:48+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2012-06-21 06:36-0800\n"
"Last-Translator: Philip M. Hofer (Frumph) <philip@frumph.net>\n"
"Language-Team: Frumph Agencies <philip@frumph.net>\n"
"X-Poedit-Language: English\n"
"X-Poedit-Country: UNITED STATES\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ceo-admin.php:14
msgid "Comic Easel"
@@ -32,61 +35,42 @@ msgstr ""
msgid "Comic Easel Settings RESET!"
msgstr ""
#: ceo-config.php:71
#: ceo-config.php:74
msgid "Comic Easel Settings SAVED!"
msgstr ""
#: ceo-config.php:81
#: ceo-config.php:84
msgid "General"
msgstr ""
#: ceo-config.php:82
#: ceo-config.php:85
msgid "Navigation"
msgstr ""
#: ceo-config.php:123
#: ceo-config.php:126
msgid "Created, Developed and maintained by"
msgstr ""
#: ceo-config.php:124
msgid ""
"If you like the Comic Easel plugin, please donate. It will help in "
"developing new features and versions."
#: ceo-config.php:127
msgid "If you like the Comic Easel plugin, please donate. It will help in developing new features and versions."
msgstr ""
#: ceo-debug.php:8
msgid "Directory Exists,"
msgstr ""
#: ceo-debug.php:10
msgid "and is writable."
msgstr ""
#: ceo-debug.php:12
msgid "and is not writable."
msgstr ""
#: ceo-debug.php:15
msgid "Directory does not exist,"
msgstr ""
#: ceo-debug.php:22
msgid "Comic Easel - Debug"
msgstr ""
#: ceo-debug.php:26
msgid "Variables"
#: ceo-config.php:153
msgid "French Translation by LiAn"
msgstr ""
#: comiceasel.php:32
#: functions/admin-meta.php:37
msgid "Comics"
msgstr ""
#: comiceasel.php:33 functions/admin-meta.php:84
#: comiceasel.php:33
#: functions/admin-meta.php:143
msgid "Comic"
msgstr ""
#: comiceasel.php:34 comiceasel.php:35
#: comiceasel.php:34
#: comiceasel.php:35
msgid "Add Comic"
msgstr ""
@@ -102,7 +86,8 @@ msgstr ""
msgid "New Comic"
msgstr ""
#: comiceasel.php:39 comiceasel.php:43
#: comiceasel.php:39
#: comiceasel.php:43
msgid "View Comic"
msgstr ""
@@ -119,12 +104,11 @@ msgid "No comics found in Trash"
msgstr ""
#: comiceasel.php:71
msgctxt "taxonomy general name"
msgid "Chapters"
msgstr ""
#: comiceasel.php:72
msgctxt "taxonomy singular name"
#: functions/admin-meta.php:68
msgid "Chapter"
msgstr ""
@@ -165,12 +149,11 @@ msgid "New Chapter Name"
msgstr ""
#: comiceasel.php:95
msgctxt "taxonomy general name"
#: functions/admin-meta.php:69
msgid "Characters"
msgstr ""
#: comiceasel.php:96
msgctxt "taxonomy singular name"
msgid "Character"
msgstr ""
@@ -211,12 +194,11 @@ msgid "New Character Name"
msgstr ""
#: comiceasel.php:119
msgctxt "taxonomy general name"
msgid "Locations"
msgstr ""
#: comiceasel.php:120
msgctxt "taxonomy singular name"
#: functions/admin-meta.php:70
msgid "Location"
msgstr ""
@@ -256,60 +238,83 @@ msgstr ""
msgid "New Location Name"
msgstr ""
#: comiceasel.php:151
#: comiceasel.php:165
msgid "Over Comic"
msgstr ""
#: comiceasel.php:152
#: comiceasel.php:166
msgid "Left of Comic"
msgstr ""
#: comiceasel.php:153
#: comiceasel.php:167
msgid "Right of Comic"
msgstr ""
#: comiceasel.php:154
#: comiceasel.php:168
msgid "Under Comic"
msgstr ""
#: comiceasel.php:159
#: comiceasel.php:173
msgid "Comic Easel Sidebar Location"
msgstr ""
#: comiceasel.php:307
#: comiceasel.php:363
msgid "Comic Easel - Test Information"
msgstr ""
#: functions/admin-meta.php:8 widgets/navigation.php:186
#: functions/admin-meta.php:22
#: functions/admin-meta.php:38
msgid "Order"
msgstr ""
#: functions/admin-meta.php:34
msgid "Name"
msgstr ""
#: functions/admin-meta.php:35
msgid "Slug"
msgstr ""
#: functions/admin-meta.php:36
msgid "Description"
msgstr ""
#: functions/admin-meta.php:54
#: functions/admin-meta.php:59
msgid "Chapter Order"
msgstr ""
#: functions/admin-meta.php:54
#: functions/admin-meta.php:59
msgid "This defines what order the chapter is in. 0 = do not order."
msgstr ""
#: functions/admin-meta.php:66
#: widgets/navigation.php:300
msgid "Comic Title"
msgstr ""
#: functions/admin-meta.php:10
msgid "Chapter"
msgstr ""
#: functions/admin-meta.php:11
msgid "Characters"
msgstr ""
#: functions/admin-meta.php:12
msgid "Location"
msgstr ""
#: functions/admin-meta.php:13
#: functions/admin-meta.php:71
msgid "Tags"
msgstr ""
#: functions/admin-meta.php:14
#: functions/admin-meta.php:72
msgctxt "column name"
msgid "Date"
msgstr ""
#: functions/admin-meta.php:15
#: functions/admin-meta.php:73
#: options/general.php:72
#: options/general.php:87
#: options/general.php:102
msgid "Thumbnail"
msgstr ""
#: functions/admin-meta.php:85
#: functions/admin-meta.php:127
msgid "To add a comic image, use the featured image link to add a featured image. After it uploads, click the \"use as featured image\"."
msgstr ""
#: functions/admin-meta.php:144
msgid "Alt (Hover) Text"
msgstr ""
@@ -317,35 +322,37 @@ msgstr ""
msgid "<br />Edit Comic."
msgstr ""
#: functions/injections.php:35
#: functions/injections.php:44
msgid "&lsaquo;&lsaquo; First"
msgstr ""
#: functions/injections.php:37
#: functions/injections.php:45
msgid "Last &rsaquo;&rsaquo;"
msgstr ""
#: functions/injections.php:39
#: functions/injections.php:46
msgid "Next &rsaquo;"
msgstr ""
#: functions/injections.php:41
#: functions/injections.php:47
msgid "&lsaquo; Prev"
msgstr ""
#: functions/injections.php:48 widgets/navigation.php:194
#: functions/injections.php:55
#: widgets/navigation.php:308
msgid "Comments"
msgstr ""
#: functions/injections.php:51 widgets/navigation.php:198
#: functions/injections.php:58
#: widgets/navigation.php:312
msgid "Random"
msgstr ""
#: functions/injections.php:151
#: functions/injections.php:155
msgid "&rsaquo;"
msgstr ""
#: functions/injections.php:153
#: functions/injections.php:157
msgid "&lsaquo;"
msgstr ""
@@ -361,8 +368,9 @@ msgstr ""
msgid "You do not have any characters yet."
msgstr ""
#: functions/shortcodes.php:99 functions/shortcodes.php:136
#: functions/shortcodes.php:187
#: functions/shortcodes.php:101
#: functions/shortcodes.php:143
#: functions/shortcodes.php:194
msgid "Permanent Link:"
msgstr ""
@@ -383,9 +391,7 @@ msgid "Disable Comic on the Home Page?"
msgstr ""
#: options/general.php:29
msgid ""
"Checking this will stop the display of the comic and comic area on the home "
"page"
msgid "Checking this will stop the display of the comic and comic area on the home page"
msgstr ""
#: options/general.php:33
@@ -393,8 +399,85 @@ msgid "Disable the Comic Post on the Home Page?"
msgstr ""
#: options/general.php:38
msgid ""
"Checking this will stop the display of the comic's blog on the home page."
msgid "Checking this will stop the display of the comic's blog on the home page."
msgstr ""
#: options/general.php:42
msgid "Enable comments to appear on the home page for comic posts?"
msgstr ""
#: options/general.php:47
msgid "If the blog loop is disabled and the comic post is enabled on the home page, enabling this will allow the comments for the comic post to appear."
msgstr ""
#: options/general.php:51
msgid "Enable comic sidebar locations?"
msgstr ""
#: options/general.php:56
msgid "Checking this option makes 4 new sidebars appear in the appearance - widgets section, above comic, below comic, left of comic and right of comic."
msgstr ""
#: options/general.php:64
msgid "Thumbnail sizes for locations where used."
msgstr ""
#: options/general.php:69
msgid "Thumbnail size for main RSS Feed"
msgstr ""
#: options/general.php:71
#: options/general.php:86
#: options/general.php:101
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr ""
#: options/general.php:73
#: options/general.php:88
#: options/general.php:103
msgid "Medium"
msgstr ""
#: options/general.php:74
#: options/general.php:89
#: options/general.php:104
msgid "Large"
msgstr ""
#: options/general.php:75
#: options/general.php:90
#: options/general.php:105
msgid "Full"
msgstr ""
#: options/general.php:79
msgid "The thumbnail for the main RSS /feed/"
msgstr ""
#: options/general.php:84
msgid "Thumbnail size for the direct comic & chapter RSS Feeds"
msgstr ""
#: options/general.php:94
msgid "The thumbnail for the direct comic and chapter RSS /comic/feed/ and /chapter/chapter-slug/feed/ "
msgstr ""
#: options/general.php:99
msgid "Thumbnail size for archive and search"
msgstr ""
#: options/general.php:109
msgid "The thumbnail shown inside posts when viewed in the archive and search functions of WordPress"
msgstr ""
#: options/general.php:114
msgid "NOTE: Edit a post, click update on it for the feeds to refresh with new copies; to see changes."
msgstr ""
#: options/general.php:123
#: options/navigation.php:142
msgid "Save Settings"
msgstr ""
#: options/navigation.php:11
@@ -402,77 +485,83 @@ msgid "Navigation Options"
msgstr ""
#: options/navigation.php:15
msgid "Navigate through only the chapters and not all comics?"
msgstr ""
#: options/navigation.php:20
msgid ""
"Enabling this make the navigation only navigate through individual chapters."
msgstr ""
#: options/navigation.php:24
msgid "Clicking the comic goes to next comic?"
msgstr ""
#: options/navigation.php:20
msgid "When this is enabled, when the comic is mouse over and clicked it will go to the next comic in the chapter."
msgstr ""
#: options/navigation.php:24
msgid "Disable the Menubar Mini-navigation? (if implemented)"
msgstr ""
#: options/navigation.php:29
msgid ""
"When this is enabled, when the comic is mouse over and clicked it will go to "
"the next comic in the chapter."
msgid "Checking this will disable the mini navigation in the menubar if the theme you are using supports it."
msgstr ""
#: options/navigation.php:37
msgid "Default Navigation"
msgstr ""
#: options/navigation.php:41
msgid "Disable default navigation?"
msgstr ""
#: options/navigation.php:46
msgid ""
"Checking this will disable the default navigation, you could use and skin "
"the navigation widget."
msgstr ""
#: options/navigation.php:50
msgid "Enable the chapter navigation drop down in the comic navigation?"
msgid "Navigation Widget"
msgstr ""
#: options/navigation.php:55
msgid ""
"When this is enabled, a drop down archive box will appear in the navigation "
"that lets you go to the start of each chapter"
msgid "Graphic Navigation Set"
msgstr ""
#: options/navigation.php:59
msgid "Enable the random comic link in the comic navigation?"
#: options/navigation.php:70
msgid "Choose a directory to get the graphic navigation styling from. To create your own custom graphic navigation menu buttons just create a directory under <i>images/nav/</i> in your child theme and place your image files and navstyle.css file inside of it to determine the style of your navigation display."
msgstr ""
#: options/navigation.php:64
msgid ""
"When this is enabled, a link will appear in the navigation that lets you go "
"to a random comic in all chapters."
msgstr ""
#: options/navigation.php:68
msgid "Enable the comment link in the comic navigation?"
msgstr ""
#: options/navigation.php:73
msgid ""
"When this is enabled, a link will appear in the navigation that lets you go "
"to the comments section of the current post, it also shows how many comments "
"there currently are."
msgstr ""
#: options/navigation.php:77
msgid "Enable the \"embed this comic\" textarea in the comic navigation?"
#: options/navigation.php:78
msgid "Default Navigation"
msgstr ""
#: options/navigation.php:82
msgid ""
"When this is enabled, a textarea will appear under the navigation with the "
"href and image link to have users embed this comic on their site."
msgid "Disable default navigation?"
msgstr ""
#: options/navigation.php:87
msgid "Checking this will disable the default navigation, you could use and skin the navigation widget."
msgstr ""
#: options/navigation.php:91
msgid "Navigate through only the chapters and not all comics?"
msgstr ""
#: options/navigation.php:96
msgid "Enabling this make the navigation only navigate through individual chapters with the default navigation."
msgstr ""
#: options/navigation.php:100
msgid "Enable the chapter navigation drop down in the comic navigation?"
msgstr ""
#: options/navigation.php:105
msgid "When this is enabled, a drop down archive box will appear in the navigation that lets you go to the start of each chapter"
msgstr ""
#: options/navigation.php:109
msgid "Enable the random comic link in the comic navigation?"
msgstr ""
#: options/navigation.php:114
msgid "When this is enabled, a link will appear in the navigation that lets you go to a random comic in all chapters."
msgstr ""
#: options/navigation.php:118
msgid "Enable the comment link in the comic navigation?"
msgstr ""
#: options/navigation.php:123
msgid "When this is enabled, a link will appear in the navigation that lets you go to the comments section of the current post, it also shows how many comments there currently are."
msgstr ""
#: options/navigation.php:127
msgid "Enable the \"embed this comic\" textarea in the comic navigation?"
msgstr ""
#: options/navigation.php:132
msgid "When this is enabled, a textarea will appear under the navigation with the href and image link to have users embed this comic on their site."
msgstr ""
#: widgets/archive-dropdown.php:22
@@ -491,123 +580,145 @@ msgstr ""
msgid "Comic Chapters"
msgstr ""
#: widgets/archive-dropdown.php:98 widgets/recentcomics.php:47
#: widgets/scheduledcomics.php:50 widgets/thumbnail.php:67
#: widgets/archive-dropdown.php:98
#: widgets/recentcomics.php:47
#: widgets/scheduledcomics.php:50
#: widgets/thumbnail.php:76
msgid "Title:"
msgstr ""
#. translators: Calendar caption: 1: month name, 2: 4-digit year
#: widgets/calendar.php:98
#: widgets/comic-calendar.php:100
msgctxt "calendar caption"
msgid "%1$s %2$s"
msgstr ""
#: widgets/calendar.php:99
#: widgets/comic-calendar.php:101
msgid "Calendar"
msgstr ""
#: widgets/calendar.php:124 widgets/calendar.php:132
#: widgets/comic-calendar.php:126
#: widgets/comic-calendar.php:134
msgid "View posts for %1$s %2$s"
msgstr ""
#: widgets/calendar.php:248
msgid ""
"Display a calendar showing this months posts. (this calendar does not drop "
"lines if there is no title given.)"
#: widgets/comic-calendar.php:250
msgid "Display a calendar showing this months posts. (this calendar does not drop lines if there is no title given.)"
msgstr ""
#: widgets/calendar.php:249
#: widgets/comic-calendar.php:251
msgid "Comic Easel - Calendar"
msgstr ""
#: widgets/calendar.php:271
#: widgets/comic-calendar.php:273
msgid "DOWNLOAD"
msgstr ""
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "Download Small"
msgstr ""
#: widgets/calendar.php:274
#: widgets/comic-calendar.php:276
msgid "S"
msgstr ""
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "Download Medium"
msgstr ""
#: widgets/calendar.php:275
#: widgets/comic-calendar.php:277
msgid "M"
msgstr ""
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "Download Large"
msgstr ""
#: widgets/calendar.php:276
#: widgets/comic-calendar.php:278
msgid "L"
msgstr ""
#: widgets/calendar.php:315
#: widgets/comic-calendar.php:317
msgid "Thumbnail URL (178px by 130px):"
msgstr ""
#: widgets/calendar.php:316
#: widgets/comic-calendar.php:318
msgid "Add link on thumbnails:"
msgstr ""
#: widgets/calendar.php:317
#: widgets/comic-calendar.php:319
msgid "Wallpaper URL (Small):"
msgstr ""
#: widgets/calendar.php:318
#: widgets/comic-calendar.php:320
msgid "Wallpaper URL (Medium):"
msgstr ""
#: widgets/calendar.php:319
#: widgets/comic-calendar.php:321
msgid "Wallpaper URL (Large):"
msgstr ""
#: widgets/navigation.php:14
msgid ""
"Displays navigation links for navigating your comics. This widget works "
"best in the above-comic and under-comic sidebars if you set them in the "
"theme you use."
msgid "Displays navigation links for navigating your comics. This widget works best in the above-comic and under-comic sidebars if you set them in the theme you use."
msgstr ""
#: widgets/navigation.php:15
msgid "Comic Easel - Navigation"
msgstr ""
#: widgets/navigation.php:102
#: widgets/navigation.php:152
msgid "Image URL (for hotlinking/embedding): "
msgstr ""
#: widgets/navigation.php:170
#: widgets/navigation.php:260
msgid "First"
msgstr ""
#: widgets/navigation.php:174
#: widgets/navigation.php:264
msgid "Last"
msgstr ""
#: widgets/navigation.php:178
#: widgets/navigation.php:268
msgid "Previous"
msgstr ""
#: widgets/navigation.php:182
#: widgets/navigation.php:272
msgid "Next"
msgstr ""
#: widgets/navigation.php:189
#: widgets/navigation.php:276
msgid "First in Chapter"
msgstr ""
#: widgets/navigation.php:280
msgid "Last in Chapter"
msgstr ""
#: widgets/navigation.php:284
msgid "Previous in Chapter"
msgstr ""
#: widgets/navigation.php:288
msgid "Next in Chapter"
msgstr ""
#: widgets/navigation.php:292
msgid "Previous Chapter"
msgstr ""
#: widgets/navigation.php:296
msgid "Next Chapter"
msgstr ""
#: widgets/navigation.php:303
msgid "Archives"
msgstr ""
#: widgets/navigation.php:202
#: widgets/navigation.php:316
msgid "Subscribe"
msgstr ""
#: widgets/navigation.php:206
#: widgets/navigation.php:320
msgid "ImageURL"
msgstr ""
@@ -635,32 +746,39 @@ msgstr ""
msgid "Scheduled Comics"
msgstr ""
#: widgets/scheduledcomics.php:28
msgid "None"
msgstr ""
#: widgets/thumbnail.php:13
msgid ""
"Display a thumbnail of a comic, by chapter, newest, first or random, "
"clickable to go to the comic."
msgid "Display a thumbnail of a comic, by chapter, newest, first or random, clickable to go to the comic."
msgstr ""
#: widgets/thumbnail.php:14
msgid "Comic Easel - Thumbnail"
msgstr ""
#: widgets/thumbnail.php:68
#: widgets/thumbnail.php:77
msgid "Which Chapter?"
msgstr ""
#: widgets/thumbnail.php:87
#: widgets/thumbnail.php:96
msgid "Get first in chapter instead?"
msgstr ""
#: widgets/thumbnail.php:88
#: widgets/thumbnail.php:97
msgid "Display a random Thumbnail?"
msgstr ""
#: widgets/thumbnail.php:89
#: widgets/thumbnail.php:98
msgid "*note: Random thumbnail overrides the get first in chapter option."
msgstr ""
#: widgets/thumbnail.php:99
msgid "Display how many thumbnails?"
msgstr ""
#: widgets/thumbnail.php:100
msgid "Include comic title?"
msgstr ""
#: widgets/thumbnail.php:101
msgid "Add centering html?"
msgstr ""
+2 -2
View File
@@ -111,7 +111,7 @@
</tr>
<tr>
<td colspan="12">
<i><?php _e('NOTE: Edit a post, click update on it for the feeds to refresh with new copies; to see changes.', 'comiceasle'); ?></i>
<i><?php _e('NOTE: Edit a post, click update on it for the feeds to refresh with new copies; to see changes.','comiceasel'); ?></i>
</td>
</tr>
</table>
@@ -120,7 +120,7 @@
<div class="ceo-options-save">
<div class="ceo-major-publishing-actions">
<div class="ceo-publishing-action">
<input name="ceo_save_config" type="submit" class="button-primary" value="Save Settings" />
<input name="ceo_save_config" type="submit" class="button-primary" value="<?php _e('Save Settings','comiceasel'); ?>" />
<input type="hidden" name="action" value="ceo_save_general" />
</div>
<div class="clear"></div>
+1 -1
View File
@@ -139,7 +139,7 @@ foreach ($gnav_directories as $gnav_dirs) {
<div class="ceo-options-save">
<div class="ceo-major-publishing-actions">
<div class="ceo-publishing-action">
<input name="ceo_save_config" type="submit" class="button-primary" value="Save Settings" />
<input name="ceo_save_config" type="submit" class="button-primary" value="<?php _e('Save Settings', 'comiceasel'); ?>" />
<input type="hidden" name="action" value="ceo_save_navigation" />
</div>
<div class="clear"></div>
+102
View File
@@ -0,0 +1,102 @@
<?php
/*
Widget Name: Comic Blog Post Widget
Widget URI: http://comiceasel.com
Description: Display's the comic's blog post.
Author: Philip M. Hofer (Frumph)
Author URI: http://frumph.net/
Version: 1.00
*/
function ceo_display_comic_small_blog_post($instance) {
global $post;
if ($instance['showtitle']) { echo "<h3 class=\"comic-post-widget-title\">".get_the_title()."</h3>\r\n"; }
if ($instance['showdate']) { echo "<div class=\"comic-post-widget-date\">".get_the_time(get_option('time_format'))."</div>\r\n"; }
the_content();
if ($instance['showcommentlink'] && ($post->comment_status == 'open') && !is_singular()) { ?>
<div class="comment-link">
<?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span>'.__('Comment&nbsp;','easel'), '<span class="comment-balloon">1</span> '.__('Comment ','easel'), '<span class="comment-balloon">%</span> '.__('Comments ','easel')); ?>
</div>
<?php
}
}
class ceo_comic_blog_post_widget extends WP_Widget {
function ceo_comic_blog_post_widget($skip_widget_init = false) {
if (!$skip_widget_init) {
$widget_ops = array('classname' => __CLASS__, 'description' => __('Displays the comic blog post for the day, best used when the comic blog post is disabled and you want to put this into a sidebar.','comiceasel') );
$this->WP_Widget(__CLASS__, __('Comic Easel - Blog Post','comiceasel'), $widget_ops);
}
}
function widget($args, $instance) {
global $post, $wp_query;
if (!is_home() && $instance['onlyhome']) return;
if (is_page() || is_archive() || is_search()) return;
extract($args, EXTR_SKIP);
if (is_home()) {
ceo_Protect();
$args = array(
'showposts' => 1,
'posts_per_page' => 1,
'post_type' => 'comic'
);
$posts = get_posts($args);
foreach ($posts as $post) {
setup_postdata($post);
if (!($instance['hidecontent'] && empty($post->post_content))) {
echo $before_widget;
$temp_query = $wp_query->is_single;
$wp_query->is_single = true;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
ceo_display_comic_small_blog_post($instance);
$wp_query->is_single = $temp_query;
echo $after_widget;
}
}
ceo_UnProtect();
} elseif ($post->post_type == 'comic') {
setup_postdata($post);
if ( !( $instance['hidecontent'] && empty($post->post_content) ) && ($post->post_type == 'comic') ) {
echo $before_widget;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
if (!empty($title)) { echo "<div class=\"comic-post-widget-header\">".$title."</div>\r\n"; }
ceo_display_comic_small_blog_post($instance);
echo $after_widget;
}
}
}
function update($new_instance, $old_instance) {
$instance = $old_instance;
$instance['title'] = strip_tags($new_instance['title']);
$instance['onlyhome'] = (bool)( $new_instance['onlyhome'] == 1 ? true : false );
$instance['showtitle'] = (bool)( $new_instance['showtitle'] == 1 ? true : false );
$instance['showdate'] = (bool)( $new_instance['showdate'] == 1 ? true : false );
$instance['showcommentlink'] = (bool)( $new_instance['showcommentlink'] == 1 ? true : false );
$instance['hidecontent'] = (bool)( $new_instance['hidecontent'] == 1 ? true : false );
return $instance;
}
function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'onlyhome' => false, 'showtitle' => false, 'showdate' => false, 'showcommentlink' => false, 'hidecontent' => false ) );
$title = strip_tags($instance['title']);
$onlyhome = $instance['onlyhome'];
$showtitle = $instance['showtitle'];
$showdate = $instance['showdate'];
$showcommentlink = $instance['showcommentlink'];
$hidecontent = $instance['hidecontent'];
?>
<p><label for="<?php echo $this->get_field_id('title'); ?>">Heading:<br /><input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('onlyhome'); ?>"><input id="<?php echo $this->get_field_id('onlyhome'); ?>" name="<?php echo $this->get_field_name('onlyhome'); ?>" type="checkbox" value="1" <?php checked(true, $onlyhome); ?> /> Display only on the home page?</label></p>
<p><label for="<?php echo $this->get_field_id('showtitle'); ?>"><input id="<?php echo $this->get_field_id('showtitle'); ?>" name="<?php echo $this->get_field_name('showtitle'); ?>" type="checkbox" value="1" <?php checked(true, $showtitle); ?> /> Show the title of the post?</label></p>
<p><label for="<?php echo $this->get_field_id('showdate'); ?>"><input id="<?php echo $this->get_field_id('showdate'); ?>" name="<?php echo $this->get_field_name('showdate'); ?>" type="checkbox" value="1" <?php checked(true, $showdate); ?> /> Show the date of the post?</label></p>
<p><label for="<?php echo $this->get_field_id('showcommentlink'); ?>"><input id="<?php echo $this->get_field_id('showcommentlink'); ?>" name="<?php echo $this->get_field_name('showcommentlink'); ?>" type="checkbox" value="1" <?php checked(true, $showcommentlink); ?> /> Show the comment link to the post?</label></p>
<p><label for="<?php echo $this->get_field_id('hidecontent'); ?>"><input id="<?php echo $this->get_field_id('hidecontent'); ?>" name="<?php echo $this->get_field_name('hidecontent'); ?>" type="checkbox" value="1" <?php checked(true, $hidecontent); ?> /> Hide the display of the widget if there's no content?</label></p>
<?php
}
}
add_action( 'widgets_init', create_function('', 'return register_widget("ceo_comic_blog_post_widget");') );