Changeset 1460156
- Timestamp:
- 07/25/2016 11:06:45 AM (10 years ago)
- Location:
- nelio-featured-posts/trunk
- Files:
-
- 2 added
- 5 edited
-
includes/admin/ajax.php (modified) (2 diffs)
-
includes/admin/settings-page.php (modified) (3 diffs)
-
includes/utils.php (modified) (1 diff)
-
includes/widget.php (modified) (4 diffs)
-
languages (added)
-
languages/nelio-featured-posts.pot (added)
-
main.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nelio-featured-posts/trunk/includes/admin/ajax.php
r993086 r1460156 29 29 'base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', 30 30 'attachment-thumbnail wp-post-image neliofp-no-thumbnail', 31 __( 'No featured image available', 'nelio fp' )31 __( 'No featured image available', 'nelio-featured-posts' ) 32 32 ); 33 33 … … 75 75 'base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', 76 76 'attachment-thumbnail wp-post-image neliofp-no-thumbnail', 77 __( 'No featured image available', 'nelio fp' )77 __( 'No featured image available', 'nelio-featured-posts' ) 78 78 ); 79 79 -
nelio-featured-posts/trunk/includes/admin/settings-page.php
r1307825 r1460156 117 117 118 118 <br><br> 119 <h4><?php _e( 'These are your featured posts:', 'nelio fp' ); ?></h4>119 <h4><?php _e( 'These are your featured posts:', 'nelio-featured-posts' ); ?></h4> 120 120 <div id="neliofp-list-of-feat-posts"> 121 121 </div> … … 135 135 }); 136 136 var nofp = '<span class="no-nelio-fp">' + <?php 137 echo wp_json_encode( __( 'None.<br><br><em>Add your first featured post using the selector above.</em>', 'nelio fp' ) );137 echo wp_json_encode( __( 'None.<br><br><em>Add your first featured post using the selector above.</em>', 'nelio-featured-posts' ) ); 138 138 ?> + '</span>'; 139 139 function addFeatPost( id, position ) { … … 167 167 content += '</div><div class="row-actions"><span class="delete" data-post_id="'; 168 168 content += data.id; 169 content += '"><a href="#"><?php echo str_replace( '\'', '\\\'', __( 'Delete' ) ); ?></a>';169 content += '"><a href="#"><?php echo str_replace( '\'', '\\\'', __( 'Delete', 'nelio-featured-posts' ) ); ?></a>'; 170 170 content += '</span>'; 171 171 node.html( content ); -
nelio-featured-posts/trunk/includes/utils.php
r998440 r1460156 26 26 27 27 function neliofp_the_post_searcher( $field_id, $classes = array() ) { 28 $placeholder = __( 'Select a post...', 'nelio ab' );28 $placeholder = __( 'Select a post...', 'nelio-featured-posts' ); 29 29 $searcher_type = 'post-searcher post'; 30 30 ?> -
nelio-featured-posts/trunk/includes/widget.php
r1307829 r1460156 10 10 11 11 // Widget name will appear in UI 12 __('Featured Posts by Nelio', 'nelio fp'),12 __('Featured Posts by Nelio', 'nelio-featured-posts'), 13 13 14 14 // Widget description 15 array( 'description' => __( 'Display a list of your featured posts.', 'nelio fp' ), )15 array( 'description' => __( 'Display a list of your featured posts.', 'nelio-featured-posts' ), ) 16 16 ); 17 17 … … 50 50 } 51 51 else { 52 echo '<p class="neliofp-none">' . __( 'No featured posts.' ) . '</p>';52 echo '<p class="neliofp-none">' . __( 'No featured posts.', 'nelio-featured-posts' ) . '</p>'; 53 53 } 54 54 $post = $ori_post; … … 59 59 public function form( $instance ) { 60 60 if ( isset( $instance['title'] ) ) $title = $instance['title']; 61 else $title = __( 'Featured Posts', 'nelio fp' );61 else $title = __( 'Featured Posts', 'nelio-featured-posts' ); 62 62 if ( isset( $instance['template'] ) ) $template = $instance['template']; 63 63 else $template = ''; … … 72 72 </p> 73 73 <p> 74 <label for="<?php echo $this->get_field_id( 'template' ); ?>"><?php _e( 'Template (without the «.php» extension):', 'nelio fp' ); ?></label>74 <label for="<?php echo $this->get_field_id( 'template' ); ?>"><?php _e( 'Template (without the «.php» extension):', 'nelio-featured-posts' ); ?></label> 75 75 <input 76 76 class="widefat" type="text" placeholder="Default" -
nelio-featured-posts/trunk/main.php
r1307829 r1460156 20 20 * Plugin Name: Nelio Featured Posts 21 21 * Description: Select the featured posts you want to show at any time and include them in your theme using a widget. 22 * Version: 2.2. 022 * Version: 2.2.1 23 23 * Author: Nelio Software 24 24 * Plugin URI: http://neliosoftware.com 25 * Text Domain: neliofp 25 * Text Domain: nelio-featured-posts 26 * Domain Path: /languages 26 27 */ 27 28 … … 29 30 // PLUGIN INFORMATION 30 31 // ========================================================================== 31 define( 'NELIOFP_PLUGIN_VERSION', '2.2. 0' );32 define( 'NELIOFP_PLUGIN_VERSION', '2.2.1' ); 32 33 define( 'NELIOFP_PLUGIN_NAME', 'Nelio Featured Posts' ); 33 34 define( 'NELIOFP_PLUGIN_DIR_NAME', basename( dirname( __FILE__ ) ) );
Note: See TracChangeset
for help on using the changeset viewer.