diff --git a/ceo-config.php b/ceo-config.php index adaeef9..7859316 100644 --- a/ceo-config.php +++ b/ceo-config.php @@ -173,7 +173,7 @@ if ( isset($_POST['_wpnonce']) && wp_verify_nonce($_POST['_wpnonce'], 'update-op if (function_exists('comicpress_themeinfo')) $tab_info['landing'] = __('Landing Pages', 'comiceasel'); if (!defined('CEO_FEATURE_BUY_COMIC')) $tab_info['buycomic'] = __('Buy Comic','comiceasel'); - if (empty($tab)) { $tab = array_shift(array_keys($tab_info)); } + if (empty($tab)) { $tab = 'main'; } foreach($tab_info as $tab_id => $label) { ?>
diff --git a/ceo-import.php b/ceo-import.php index d4dff11..a2873e2 100644 --- a/ceo-import.php +++ b/ceo-import.php @@ -178,7 +178,7 @@ if ( isset($_POST['_wpnonce']) && wp_verify_nonce($_POST['_wpnonce'], 'comicease
-
+
@@ -251,7 +251,7 @@ wp_dropdown_categories( $args );

- +

@@ -271,7 +271,7 @@ echo ''


'.ABSPATH.$import_directory.''."
\r\n"; +echo __('Directory to scan:','comiceasel').' '.ABSPATH.$import_directory.''."
\r\n"; if (count($results = glob(ABSPATH.$import_directory.'/*.*')) > 0) { echo count($results).' '.__('Files found.','comiceasel')."
\r\n"; echo "
\r\n"; @@ -280,5 +280,5 @@ if (count($results = glob(ABSPATH.$import_directory.'/*.*')) > 0) { echo ''.basename($filename).''; } } else { - echo "No files found in ".ABSPATH.$import_directory; + echo __('No files found in','comiceasel').' '.ABSPATH.$import_directory; } \ No newline at end of file diff --git a/functions/admin-meta.php b/functions/admin-meta.php index 8446911..1741a3b 100644 --- a/functions/admin-meta.php +++ b/functions/admin-meta.php @@ -115,7 +115,7 @@ function ceo_add_new_comic_columns($comic_columns) { $new_columns['categories'] = __('Category', 'comiceasel'); $new_columns['locations'] = __('Location', 'comiceasel'); $new_columns['tags'] = __('Tags', 'comiceasel'); - $new_columns['date'] = _x('Date', 'column name'); + $new_columns['date'] = __('Date', 'comiceasel'); $new_columns['comicimages'] = __('Thumbnail', 'comiceasel'); return $new_columns; @@ -377,7 +377,7 @@ function ceo_edit_buycomic_in_post($post) {
/>
/>
- />
+ />
/>
add_help_tab( array( 'id' => 'my-help-id', - 'title' => __( 'Instructions' ), + 'title' => __( 'Instructions','comiceasel' ), 'content' => $context_output, ) ); add_action('admin_footer', 'ceo_change_chapter_to_radio'); @@ -485,7 +485,7 @@ function ceo_test_for_errors() { global $post; if (is_numeric($post->post_name)) { ?>
-

+

post_name.__('" is numerical. It needs to have a letter or character added to it to not be recognized as a date. P.S. Cannot use these characters: !&#@','comiceasel'); ?>
ID, 'refer-only-msg', 'true') ? get_post_meta( $post->ID, 'refer-only-msg', 'true') : __('Read post message below to find out how to view this.', 'comic-easel'); + $refer_only_msg = get_post_meta( $post->ID, 'refer-only-msg', 'true') ? get_post_meta( $post->ID, 'refer-only-msg', 'true') : __('Read post message below to find out how to view this.', 'comiceasel'); if (ceo_get_referer() !== $refer_only) { return apply_filters('ceo_refer_only_msg', $refer_only_msg); } diff --git a/functions/shortcodes.php b/functions/shortcodes.php index 6644fa0..dc03608 100644 --- a/functions/shortcodes.php +++ b/functions/shortcodes.php @@ -124,7 +124,7 @@ function ceo_cast_page( $atts, $content = '' ) { $cast_output .= ceo_cast_display($single_character, $stats, $image)."\r\n"; $cast_output .= ''."\r\n"; } else - $cast_output .= __('Unknown Character: ', 'comiceasel').$character."
\r\n"; + $cast_output .= __('Unknown Character:', 'comiceasel').' '.$character."
\r\n"; } return $cast_output; } @@ -481,7 +481,7 @@ function ceo_display_buycomic( $atts, $content = '' ) { extract(shortcode_atts( array( 'character' => '', 'thanks' => __('Thank you for the purchase!','comiceasel'), - 'cancelled' => __('You have cancelled the transaction.') + 'cancelled' => __('You have cancelled the transaction.','comiceasel') ), $atts ) ); $buy_output = ''; if (isset($_REQUEST['id'])) $comicnum = intval($_REQUEST['id']); @@ -518,12 +518,12 @@ function ceo_display_buycomic( $atts, $content = '' ) { $post = get_post($comicnum); // Get the post if (!is_wp_error($post) && !empty($post)) { // error check make sure it got a post $buy_output .= __('Comic ID','comiceasel').' #'.$comicnum."
\r\n"; - $buy_output .= __('Title: ','comiceasel').get_the_title($post)."
\r\n"; + $buy_output .= __('Title:','comiceasel').' '.get_the_title($post)."
\r\n"; if (ceo_pluginfo('buy_comic_sell_print')) { - $buy_output .= __('Print Status: ','comiceasel').$buyprint_status."
\r\n"; + $buy_output .= __('Print Status:','comiceasel').' '.$buyprint_status."
\r\n"; } if (ceo_pluginfo('buy_comic_sell_original')) { - $buy_output .= __('Original Status: ','comiceasel').$buyorig_status."
\r\n"; + $buy_output .= __('Original Status:','comiceasel').' '.$buyorig_status."
\r\n"; } $buy_output .= "
\r\n"; $buy_output .= ''; diff --git a/lang/comiceasel-en_US.mo b/lang/comiceasel-en_US.mo index d0ccc03..9f2dd04 100644 Binary files a/lang/comiceasel-en_US.mo and b/lang/comiceasel-en_US.mo differ diff --git a/lang/comiceasel-en_US.po b/lang/comiceasel-en_US.po index b3b651a..02e6f12 100644 --- a/lang/comiceasel-en_US.po +++ b/lang/comiceasel-en_US.po @@ -1,9 +1,9 @@ msgid "" msgstr "" -"Project-Id-Version: Comic Easel v1.9.11\n" +"Project-Id-Version: Comic Easel v1.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2016-07-17 19:13:45+0000\n" +"PO-Revision-Date: 2016-09-30 20:41:51+0000\n" "Last-Translator: frumph \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -39,7 +39,6 @@ msgstr "" #: ceo-admin.php:46 #: ceo-import.php:254 #@ comiceasel -#@ default msgid "Import" msgstr "" @@ -146,6 +145,7 @@ msgid "files have valid naming and can be imported." msgstr "" #: ceo-import.php:106 +#: ceo-import.php:283 #@ comiceasel msgid "No files found in" msgstr "" @@ -231,7 +231,7 @@ msgid "Set Time of Comic Posts" msgstr "" #: ceo-import.php:181 -#@ default +#@ comiceasel msgid "24 hour clock" msgstr "" @@ -295,11 +295,6 @@ msgstr "" msgid "ComicPress file convention requires that each comic is its own date., do not have comics uploaded on the same date. While Comic Easel does not require each comic to have its own date, the Import does. There will be other methods of importing made in the future that this will not be an issue." msgstr "" -#: ceo-import.php:274 -#@ comiceasel -msgid "Directory to scan: " -msgstr "" - #: comiceasel.php:37 #: comiceasel.php:51 #: functions/admin-meta.php:76 @@ -557,12 +552,6 @@ msgstr "" msgid "Tags" msgstr "" -#: functions/admin-meta.php:118 -#@ default -msgctxt "column name" -msgid "Date" -msgstr "" - #: functions/admin-meta.php:119 #@ comiceasel msgid "Thumbnail" @@ -723,7 +712,6 @@ msgstr "" #: functions/admin-meta.php:380 #@ comiceasel -#@ default msgid "Out of Stock" msgstr "" @@ -819,13 +807,8 @@ msgid "Media Url as Comic" msgstr "" #: functions/admin-meta.php:476 -#@ default -msgid "Instructions" -msgstr "" - -#: functions/admin-meta.php:488 #@ comiceasel -msgid "Problem: " +msgid "Instructions" msgstr "" #: functions/admin-meta.php:489 @@ -851,6 +834,7 @@ msgid "Comic Easel - Cast Hover" msgstr "" #: functions/casthover.php:118 +#: functions/shortcodes.php:521 #: widgets/archive-dropdown.php:197 #: widgets/casthover.php:128 #: widgets/comiclist-dropdown.php:94 @@ -898,6 +882,7 @@ msgstr "" msgid "Buy!" msgstr "" +#: widgets/comicblogpost.php:18 #: widgets/navigation.php:291 #: widgets/navigation.php:346 #@ comiceasel @@ -1051,11 +1036,6 @@ msgstr "" msgid "You do not have any characters yet." msgstr "" -#: functions/shortcodes.php:127 -#@ comiceasel -msgid "Unknown Character: " -msgstr "" - #: functions/shortcodes.php:194 #: functions/shortcodes.php:242 #: functions/shortcodes.php:293 @@ -1069,7 +1049,7 @@ msgid "Thank you for the purchase!" msgstr "" #: functions/shortcodes.php:484 -#@ default +#@ comiceasel msgid "You have cancelled the transaction." msgstr "" @@ -1078,21 +1058,6 @@ msgstr "" msgid "Comic ID" msgstr "" -#: functions/shortcodes.php:521 -#@ comiceasel -msgid "Title: " -msgstr "" - -#: functions/shortcodes.php:523 -#@ comiceasel -msgid "Print Status: " -msgstr "" - -#: functions/shortcodes.php:526 -#@ comiceasel -msgid "Original Status: " -msgstr "" - #: functions/shortcodes.php:542 #@ comiceasel msgid "Print" @@ -1356,11 +1321,6 @@ msgstr "" msgid "Thumbnail size for the direct comic & chapter RSS Feeds" msgstr "" -#: options/general.php:178 -#@ comiceasel -msgid "The thumbnail for the direct comic and chapter RSS /comic/feed/ and /chapter/chapter-slug/feed/ " -msgstr "" - #: options/general.php:183 #@ comiceasel msgid "Thumbnail size for archive and search" @@ -1547,23 +1507,15 @@ msgstr "" msgid "Exclude Chapters (comma seperated):" msgstr "" -#. translators: Calendar caption: 1: month name, 2: 4-digit year -#: widgets/comic-calendar.php:100 -#, php-format -#@ default -msgctxt "calendar caption" -msgid "%1$s %2$s" -msgstr "" - #: widgets/comic-calendar.php:101 -#@ default +#@ comiceasel msgid "Calendar" msgstr "" #: widgets/comic-calendar.php:126 #: widgets/comic-calendar.php:134 #, php-format -#@ default +#@ comiceasel msgid "View posts for %1$s %2$s" msgstr "" @@ -1632,21 +1584,6 @@ msgstr "" msgid "Wallpaper URL (Large):" msgstr "" -#: widgets/comicblogpost.php:18 -#@ comiceasel -msgid "Comment " -msgstr "" - -#: widgets/comicblogpost.php:18 -#@ comiceasel -msgid "Comment " -msgstr "" - -#: widgets/comicblogpost.php:18 -#@ comiceasel -msgid "Comments " -msgstr "" - #: widgets/comicblogpost.php:33 #@ comiceasel msgid "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." @@ -1692,11 +1629,6 @@ msgstr "" msgid "Comic Easel - Navigation" msgstr "" -#: widgets/navigation.php:181 -#@ comiceasel -msgid "Image URL (for hotlinking/embedding): " -msgstr "" - #: widgets/navigation.php:279 #@ comiceasel msgid "<[ Prev Chapter" @@ -2046,11 +1978,6 @@ msgstr "" msgid "Disable the the rewrite rules so numerical slugs do not get turned into dates?" msgstr "" -#: options/archive.php:31 -#@ comiceasel -msgid "This option disables the url line from interpreting numerical numbers as dates. ex. /comic/2014/ " -msgstr "" - #: options/archive.php:36 #@ comiceasel msgid "Allow the URL to also denote the chapter?" @@ -2156,21 +2083,11 @@ msgstr "" msgid "Technical Support" msgstr "" -#: options/main.php:11 -#@ comiceasel -msgid "The Comic Easel website: " -msgstr "" - #: options/main.php:11 #@ comiceasel msgid "probably has the answer you're looking for in the form of a post or in the faqs section." msgstr "" -#: options/main.php:13 -#@ comiceasel -msgid "You can contact me for technical support at any of the following locations: " -msgstr "" - #: options/main.php:14 #@ comiceasel msgid "(best chances to reach me at the top going down to the least chance)" @@ -2355,7 +2272,7 @@ msgid "Only show this comic if it comes from referring URL?" msgstr "" #: functions/displaycomic.php:162 -#@ comic-easel +#@ comiceasel msgid "Read post message below to find out how to view this." msgstr "" @@ -2369,3 +2286,71 @@ msgstr "" msgid "Show as a list instead of a dropdown?" msgstr "" +#: functions/admin-meta.php:118 +#@ comiceasel +msgid "Date" +msgstr "" + +#. translators: Calendar caption: 1: month name, 2: 4-digit year +#: widgets/comic-calendar.php:100 +#, php-format +#@ comiceasel +msgctxt "calendar caption" +msgid "%1$s %2$s" +msgstr "" + +#: ceo-import.php:274 +#@ comiceasel +msgid "Directory to scan:" +msgstr "" + +#: functions/admin-meta.php:488 +#@ comiceasel +msgid "Problem." +msgstr "" + +#: functions/shortcodes.php:127 +#@ comiceasel +msgid "Unknown Character:" +msgstr "" + +#: functions/shortcodes.php:523 +#@ comiceasel +msgid "Print Status:" +msgstr "" + +#: functions/shortcodes.php:526 +#@ comiceasel +msgid "Original Status:" +msgstr "" + +#: options/archive.php:31 +#@ comiceasel +msgid "This option disables the url line from interpreting numerical numbers as dates. ex. /comic/2014/" +msgstr "" + +#: options/general.php:178 +#@ comiceasel +msgid "The thumbnail for the direct comic and chapter RSS /comic/feed/ and /chapter/chapter-slug/feed/" +msgstr "" + +#: options/main.php:11 +#@ comiceasel +msgid "The Comic Easel website:" +msgstr "" + +#: options/main.php:13 +#@ comiceasel +msgid "You can contact me for technical support at any of the following locations:" +msgstr "" + +#: widgets/comicblogpost.php:18 +#@ comiceasel +msgid "Comment" +msgstr "" + +#: widgets/navigation.php:181 +#@ comiceasel +msgid "Image URL (for hotlinking/embedding):" +msgstr "" + diff --git a/options/archive.php b/options/archive.php index b4bd8c1..c9ba16d 100644 --- a/options/archive.php +++ b/options/archive.php @@ -28,7 +28,7 @@ /> diff --git a/options/general.php b/options/general.php index 83e1cb9..1303b07 100644 --- a/options/general.php +++ b/options/general.php @@ -175,7 +175,7 @@ foreach ($thumbnail_sizes as $size) { ?> diff --git a/options/main.php b/options/main.php index 5b6565c..1ff8c18 100644 --- a/options/main.php +++ b/options/main.php @@ -8,9 +8,9 @@
- +
- +
- http://comiceasel.com
+  http://comiceasel.com 

-
+


http://comiceasel.com/contact/
diff --git a/widgets/comic-calendar.php b/widgets/comic-calendar.php index 901f316..4aaab75 100644 --- a/widgets/comic-calendar.php +++ b/widgets/comic-calendar.php @@ -97,8 +97,8 @@ function ceo_get_calendar($initial = true, $echo = true, $taxonomy = 'post') { LIMIT 1"); /* translators: Calendar caption: 1: month name, 2: 4-digit year */ - $calendar_caption = _x('%1$s %2$s', 'calendar caption'); - $calendar_output = ' + $calendar_caption = _x('%1$s %2$s', 'calendar caption', 'comiceasel'); + $calendar_output = '
'; @@ -123,7 +123,7 @@ function ceo_get_calendar($initial = true, $echo = true, $taxonomy = 'post') { '; if ( $previous ) { - $calendar_output .= "\n\t\t".''; + $calendar_output .= "\n\t\t".''; } else { $calendar_output .= "\n\t\t".''; } @@ -131,7 +131,7 @@ function ceo_get_calendar($initial = true, $echo = true, $taxonomy = 'post') { $calendar_output .= "\n\t\t".''; if ( $next ) { - $calendar_output .= "\n\t\t".''; + $calendar_output .= "\n\t\t".''; } else { $calendar_output .= "\n\t\t".''; } diff --git a/widgets/comicblogpost.php b/widgets/comicblogpost.php index fc15377..235060a 100644 --- a/widgets/comicblogpost.php +++ b/widgets/comicblogpost.php @@ -15,7 +15,7 @@ function ceo_display_comic_small_blog_post($instance) { the_content(); if ($instance['showcommentlink'] && ($post->comment_status == 'open') && !is_singular()) { ?> '.__('Image URL (for hotlinking/embedding): ','comiceasel').$thumbnail.''; + echo ''.__('Image URL (for hotlinking/embedding):','comiceasel').' '.$thumbnail.''; } ?>
' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . '
« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '  ' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »