Fixed some localization strings for language translation

This commit is contained in:
Frumph
2013-08-07 16:40:25 -07:00
parent 05fb502788
commit 974cc4f28e
6 changed files with 14 additions and 8 deletions

View File

@@ -139,13 +139,13 @@ if ( isset($_POST['_wpnonce']) && wp_verify_nonce($_POST['_wpnonce'], 'comicease
?>
<div class="wrap">
<h2><?php _e('Comic Easel - Import','cp2ce'); ?></h2>
<h2><?php _e('Comic Easel - Import','comiceasel'); ?></h2>
<form method="post" id="myForm-import" name="template">
<?php wp_nonce_field('comiceasel-import') ?>
<table class="widefat">
<thead>
<tr>
<th colspan="10"><?php _e('Options','cp2ce'); ?></th>
<th colspan="10"><?php _e('Options','comiceasel'); ?></th>
</tr>
<?php
/*

View File

@@ -48,7 +48,7 @@ function ceo_chapters_edit_menu_orderby() {
function ceo_chapters_quick_edit_menu_order ($column_name, $screen, $name = '') {
if ( did_action( 'quick_edit_custom_box' ) !== 1 ) return;
if (($column_name != 'menu_order') && ($name != 'chapters') && ($screen != 'edit-tags') && empty($name)) return;
$menu_order_field = '<fieldset><div class="inline-edit-col"><label><span class="title">' . __( 'Order' , 'term-menu-order') . '</span><span class="input-text-wrap"><input class="ptitle" name="ceo_chapter_order" type="text" value="" /></span></label></div></fieldset>';
$menu_order_field = '<fieldset><div class="inline-edit-col"><label><span class="title">' . __( 'Order' , 'comiceasel') . '</span><span class="input-text-wrap"><input class="ptitle" name="ceo_chapter_order" type="text" value="" /></span></label></div></fieldset>';
$menu_order_field .= '<script type="text/javascript">
</script>';
echo $menu_order_field;

View File

@@ -1,6 +1,6 @@
<?php
/* Filters */
add_filter('rest_api_allowed_post_types', 'ceo_allow_my_post_types'); // Jetpack Rest API
add_filter('request', 'ceo_rss_request'); // Add comics to the main RSS
add_filter('the_content_feed','ceo_insert_comic_into_feed'); // Insert the comic image into the rss
add_filter('the_excerpt_rss','ceo_insert_comic_into_feed');
@@ -15,6 +15,11 @@ add_filter('get_terms_args', 'ceo_chapters_find_menu_orderby');
// add_filter('get_lastpostmodified', 'ceo_lastpostmodified');
add_filter('the_content', 'ceo_insert_comic_transcript_into_posts');
function ceo_allow_my_post_types($allowed_post_types) {
$allowed_post_types[] = 'comic';
return $allowed_post_types;
}
function ceo_rss_request($qv) {
if (isset($qv['feed']) && !isset($qv['post_type']) && !isset($qv['chapters'])) {
$qv['post_type'] = array('post', 'comic');

View File

@@ -77,7 +77,7 @@ foreach ($gnav_directories as $gnav_dirs) {
</th>
<td>
<?php _e('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.','comiceasel'); ?>
<?php if ($ceo_options['disable_style_sheet']) { echo '<br /><strong>'; _e('The navstyle.css is disable via the option in the general tab of this config section, this will have no effect.','easel'); ?></strong><br /><?php } ?>
<?php if ($ceo_options['disable_style_sheet']) { echo '<br /><strong>'; _e('The navstyle.css is disable via the option in the general tab of this config section, this will have no effect.','comiceasel'); ?></strong><br /><?php } ?>
</td>
</tr>
</table>

View File

@@ -127,8 +127,9 @@ The comic navigation widget is only seen if you have the comic sidebar's enabled
== Changelog ==
= 1.4.3 =
Support for Jetpack's Publicize and shortlinks for comics.
Change menu position to 6 if Jetpack comics is activated so they don't overwrite each other.
* Support for Jetpack's Publicize and shortlinks for comics.
* Change menu position to 6 if Jetpack comics is activated so they don't overwrite each other.
* Fixed some localization strings being the wrong designation
= 1.4.2 =
* shortcodes: fixed the 'ordering' of the thumbnail=1 in the comic-archive for list=0

View File

@@ -15,7 +15,7 @@ function ceo_display_comic_small_blog_post($instance) {
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')); ?>
<?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">&nbsp;</span>'.__('Comment&nbsp;','comiceasel'), '<span class="comment-balloon">1</span> '.__('Comment ','comiceasel'), '<span class="comment-balloon">%</span> '.__('Comments ','comiceasel')); ?>
</div>
<?php
}