Skip to content

Commit

Permalink
Text and language update
Browse files Browse the repository at this point in the history
  • Loading branch information
olatechpro committed Jul 20, 2023
1 parent b516ca2 commit e723139
Show file tree
Hide file tree
Showing 13 changed files with 253 additions and 289 deletions.
2 changes: 1 addition & 1 deletion addons/grouping/legacy-includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function series_grouping_delete_output() {
?>
<tr valign="top">
<th scope="row"><label for="kill_grouping_on_delete">
<?php _e('Series Categories Feature', 'organize-series'); ?>
<?php _e('Series Categories', 'organize-series'); ?>
</label>
</th>
<td>
Expand Down
2 changes: 1 addition & 1 deletion addons/publisher/series-pending-post-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function column_default($item, $column_name)
*/
public function no_items()
{
_e('There are no pending posts in this series.', 'organize-series');
_e('There are no unpublished posts in this series.', 'organize-series');
}

/**
Expand Down
4 changes: 2 additions & 2 deletions addons/publisher/series_im_admin_main.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="wrap">
<h2><?php _e('Manage Series to Publish', 'organize-series'); ?></h2>
<h2><?php _e('Manage Series', 'organize-series'); ?></h2>

<table class="widefat im_category_list wp-list-table fixed">
<thead>
Expand Down Expand Up @@ -31,7 +31,7 @@
</table>

<?php if(count($series) === 0) { ?>
<div class="ppseries-warning"><?php esc_html_e('You have no series available to publish.', 'organize-series'); ?> <a href="<?php echo esc_url(admin_url('/edit-tags.php?taxonomy='. ppseries_get_series_slug() .'')); ?>"><?php esc_html_e('Add new Series.', 'organize-series'); ?></a></div>
<div class="ppseries-warning"><?php esc_html_e('You have no series available.', 'organize-series'); ?> <a href="<?php echo esc_url(admin_url('/edit-tags.php?taxonomy='. ppseries_get_series_slug() .'')); ?>"><?php esc_html_e('Add new Series.', 'organize-series'); ?></a></div>
<?php }
?>
</div>
8 changes: 6 additions & 2 deletions addons/publisher/series_issue_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ public function admin_menu()

public function series_issue_manager_scripts()
{

wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-sortable');

wp_enqueue_script("series_im_sort_articles", plugin_dir_url(__FILE__) . "/js/series_im_sort_articles.js", array('jquery-ui-sortable'), ORG_SERIES_VERSION, true);
wp_enqueue_style('series_im_sort_articles', plugin_dir_url(__FILE__) . '/css/series_im_sort_articles.css', array(), ORG_SERIES_VERSION, 'all');
}
Expand Down Expand Up @@ -863,7 +867,7 @@ public function ppseries_publisher_pending_output($series_ID)
<h1><?php esc_html_e('Unpublished posts in series:', 'organize-series'); ?>
<?php echo esc_html($series->name); ?>
</h1>
<p class="description"><?php _e('These posts are in this Series but have not been published. They do not have a part number yet.', 'organize-series'); ?>
<p class="description"><?php _e('When these posts are published, they will be added after the last current post in the series.', 'organize-series'); ?>
</p>
<div id="poststuff">
<div id="post-body" class="metabox-holder columns-2">
Expand Down Expand Up @@ -918,7 +922,7 @@ public function ppseries_publisher_pending_output($series_ID)

<div id="submitdiv" class="postbox">
<div class="postbox-header">
<h2 class="hndle ui-sortable-handle"><?php esc_html_e('Pending Series Order', 'organize-series'); ?>
<h2 class="hndle ui-sortable-handle"><?php esc_html_e('Unpublished Series Order', 'organize-series'); ?>
</h2>
</div>
<form id="im_publish_form" method="get" action="">
Expand Down
Binary file modified languages/organize-series-es_ES.mo
Binary file not shown.
Loading

0 comments on commit e723139

Please sign in to comment.