Skip to content

Commit

Permalink
Merge branch 'release-0.7.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
archetyped committed Feb 27, 2016
2 parents 856a178 + 64c9fb6 commit bd9590b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
26 changes: 13 additions & 13 deletions includes/class.content_utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,9 @@ function admin_page_manage($type, $action) {
?>
</ul>
<p class="search-box">
<label class="screen-reader-text" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
<label class="screen-reader-text" for="post-search-input"><?php _e('Search Posts', 'cornerstone'); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" />
<input type="submit" value="<?php esc_attr_e('Search Posts', 'cornerstone'); ?>" class="button" />
</p>
<?php
if ( have_posts() ) {
Expand All @@ -806,18 +806,18 @@ function admin_page_manage($type, $action) {
?>
<div class="alignleft actions">
<select name="action">
<option value="-1" selected="selected"><?php _e('Bulk Actions'); ?></option>
<option value="-1" selected="selected"><?php _e('Bulk Actions', 'cornerstone'); ?></option>
<?php if ( $is_trash ) { ?>
<option value="untrash"><?php _e('Restore'); ?></option>
<option value="untrash"><?php _e('Restore', 'cornerstone'); ?></option>
<?php } else { ?>
<option value="edit"><?php _e('Edit'); ?></option>
<option value="edit"><?php _e('Edit', 'cornerstone'); ?></option>
<?php } if ( $is_trash || !EMPTY_TRASH_DAYS ) { ?>
<option value="delete"><?php _e('Delete Permanently'); ?></option>
<option value="delete"><?php _e('Delete Permanently', 'cornerstone'); ?></option>
<?php } else { ?>
<option value="trash"><?php _e('Move to Trash'); ?></option>
<option value="trash"><?php _e('Move to Trash', 'cornerstone'); ?></option>
<?php } ?>
</select>
<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<input type="submit" value="<?php esc_attr_e('Apply', 'cornerstone'); ?>" name="doaction" id="doaction" class="button-secondary action" />
<?php wp_nonce_field('bulk-posts'); ?>

<?php // view filters
Expand All @@ -832,7 +832,7 @@ function admin_page_manage($type, $action) {
$m = isset($_GET['m']) ? (int)$_GET['m'] : 0;
?>
<select name='m'>
<option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
<option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates', 'cornerstone'); ?></option>
<?php
foreach ($arc_result as $arc_row) {
if ( $arc_row->yyear == 0 )
Expand All @@ -857,11 +857,11 @@ function admin_page_manage($type, $action) {
wp_dropdown_categories($dropdown_options);
do_action('restrict_manage_posts');
?>
<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" />
<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter', 'cornerstone'); ?>" class="button-secondary" />
<?php }

if ( $is_trash && current_user_can('edit_others_posts') ) { ?>
<input type="submit" name="delete_all" id="delete_all" value="<?php esc_attr_e('Empty Trash'); ?>" class="button-secondary apply" />
<input type="submit" name="delete_all" id="delete_all" value="<?php esc_attr_e('Empty Trash', 'cornerstone'); ?>" class="button-secondary apply" />
<?php } ?>
</div>

Expand All @@ -881,9 +881,9 @@ function admin_page_manage($type, $action) {
<div class="clear"></div>
<p><?php
if ( $is_trash )
_e('No posts found in the trash');
_e('No posts found in the trash', 'cornerstone');
else
_e('No posts found');
_e('No posts found', 'cornerstone');
?></p>
<?php } ?>
</form>
Expand Down
2 changes: 1 addition & 1 deletion includes/class.structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ function admin_manage_posts_custom_column($column_name, $post_id) {
echo $this->util->build_script_element($this->util->extend_client_object('posts.data', $data));
//echo '<script type="text/javascript">postData["post_' . $post_id . '"] = {"post_parent" : ' . $section->ID . '};</script>';
} else
_e('None');
_e('None', 'cornerstone');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion main.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Cornerstone
Plugin URI: http://archetyped.com/tools/cornerstone/
Description: Enhanced content management for Wordpress
Version: 0.7.4
Version: 0.7.5
Author: Archetyped
Author URI: http://archetyped.com
Text Domain: cornerstone
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cornerstone",
"version": "0.7.4",
"version": "0.7.5",
"title": "Cornerstone",
"description": "Enhanced content management for Wordpress",
"author": "Archetyped <[email protected]>",
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Post your questions/comments at [Cornerstone's official issue tracker](https://g
1. Quickly modify a post's section

== Changelog ==
= 0.7.5 =
* Update: Use plugin-specific text domain for localized strings

= 0.7.4 =
* Add: Text Domain header for translations

Expand Down

0 comments on commit bd9590b

Please sign in to comment.