diff --git a/demo/demo.php b/demo/demo.php index d9438e7..d893267 100644 --- a/demo/demo.php +++ b/demo/demo.php @@ -9,7 +9,7 @@ class Tribe_Demo_APM { private $post_type = 'tribe_movie'; - private $textdomain = 'tribe-apm'; + private $textdomain = 'advanced-post-manager'; public function __construct() { add_action( 'init', array( $this, 'test_filters' ) ); @@ -27,7 +27,7 @@ public function notice() { $url = home_url( $path ) . '/demo_data.xml'; $import_url = admin_url( 'import.php' ); echo '

'; - printf( __( 'It looks like you might not have any demo data. Download our data and use the WordPress Importer.', 'tribe-apm' ), esc_url( $url ), esc_url( $import_url ) ); + printf( __( 'It looks like you might not have any demo data. Download our data and use the WordPress Importer.', 'advanced-post-manager' ), esc_url( $url ), esc_url( $import_url ) ); echo '

'; } } diff --git a/lib/tribe-columns.class.php b/lib/tribe-columns.class.php index 448edaf..88848c5 100755 --- a/lib/tribe-columns.class.php +++ b/lib/tribe-columns.class.php @@ -40,7 +40,7 @@ public function __construct( $post_type, $columns = array(), $active = array(), $this->columns_example = array( 'column_id' => array( - 'name' => __( 'Column Name', 'tribe-apm' ), + 'name' => __( 'Column Name', 'advanced-post-manager' ), 'meta' => '_some_meta', // in most cases, this piece of meta will be queried to provide column contents ), ); @@ -155,7 +155,7 @@ public function output_form() { - + @@ -655,7 +655,7 @@ public static function select_field( $name, $options = null, $active = '', $allo protected function inactive_dropdown() { $inactive = $this->inactive; echo '"; $li .= ''; $html .= $li; @@ -381,19 +381,19 @@ public function show_field_file( $field, $meta ) { if ( ! empty( $meta ) ) { $nonce = wp_create_nonce( 'tribe_ajax_delete' ); - echo '
' . esc_html__( 'Uploaded files', 'tribe-apm' ) . '
'; + echo '
' . esc_html__( 'Uploaded files', 'advanced-post-manager' ) . '
'; echo '
    '; foreach ( $meta as $att ) { - echo '
  1. ' . wp_get_attachment_link( $att, '', false, false, ' ' ) . " (" . esc_html__( 'Delete', 'tribe-apm' ) . ')
  2. '; + echo '
  3. ' . wp_get_attachment_link( $att, '', false, false, ' ' ) . " (" . esc_html__( 'Delete', 'advanced-post-manager' ) . ')
  4. '; } echo '
'; } // show form upload - echo '
' . esc_html__( 'Upload new files', 'tribe-apm' ) . "
+ echo '
' . esc_html__( 'Upload new files', 'advanced-post-manager' ) . "
'; } @@ -431,14 +431,14 @@ public function show_field_image( $field, $meta ) { echo "
  • - " . esc_html__( 'Delete', 'tribe-apm' ) . " + " . esc_html__( 'Delete', 'advanced-post-manager' ) . "
  • "; } } echo ''; - echo "" . esc_html__( 'Add more images', 'tribe-apm' ) . ''; + echo "" . esc_html__( 'Add more images', 'advanced-post-manager' ) . ''; echo ''; } @@ -449,7 +449,7 @@ public function show_field_color( $field, $meta ) { $this->show_field_begin( $field, $meta ); echo " - " . esc_html__( 'Select a color', 'tribe-apm' ) . " + " . esc_html__( 'Select a color', 'advanced-post-manager' ) . " "; $this->show_field_end( $field, $meta ); } diff --git a/package.json b/package.json index a9200f5..6bda79c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "_zipfoldername": "advanced-post-manager", "_resourcepath": "src/resources", "_domainPath": "lang", - "_textDomain": "tribe-apm", + "_textDomain": "advanced-post-manager", "_glotPressUrl": "http://translations.theeventscalendar.com", "_glotPressSlug": "tribe-apm", "_glotPressFileFormat": "%textdomain%-%wp_locale%.%format%", diff --git a/tribe-apm.php b/tribe-apm.php index d3d4972..5c01bbf 100644 --- a/tribe-apm.php +++ b/tribe-apm.php @@ -5,7 +5,7 @@ Version: 4.3rc2 Author: Modern Tribe, Inc. Author URI: http://m.tri.be/4n - Text Domain: tribe-apm + Text Domain: advanced-post-manager */ define( 'TRIBE_APM_PATH', plugin_dir_path( __FILE__ ) ); @@ -13,7 +13,7 @@ class Tribe_APM { - protected $textdomain = 'tribe-apm'; + protected $textdomain = 'advanced-post-manager'; protected $args; protected $metaboxes; protected $url; @@ -84,7 +84,7 @@ public function init() { } private function load_text_domain() { - load_plugin_textdomain( 'tribe-apm', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); + load_plugin_textdomain( 'advanced-post-manager', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); }//end load_text_domain public function resources_url( $unused_resource_url ) { diff --git a/views/edit-filters.php b/views/edit-filters.php index 517082f..5b17570 100755 --- a/views/edit-filters.php +++ b/views/edit-filters.php @@ -4,32 +4,32 @@ ?>
    -
    -

    +
    +

    filters->output_form(); ?>
    -

    -

    +

    +

    columns->output_form(); ?>
    - - + + export ) : ?> - +
    - - - + + +
    - +