Changeset 1377689
- Timestamp:
- 03/24/2016 08:33:53 AM (9 years ago)
- Location:
- dicentis-podcast/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
dicentis-podcast/trunk/dicentis-podcast.php
r1363250 r1377689 13 13 * Author: Hans-Helge Buerger 14 14 * Author URI: http://hanshelgebuerger.de 15 * Text Domain: dicentis 15 * Text Domain: dicentis-podcast 16 16 * Domain Path: /languages/ 17 17 * GitHub Plugin URI: https://github.com/dicentis/dicentis -
dicentis-podcast/trunk/includes/controller/class-dipo-podcast-post-type.php
r1363250 r1377689 102 102 $podcast_args = array( 103 103 'labels' => array( 104 'name' => __( 'Podcasts', 'dicentis ' ),105 'singular_name' => __( 'Episode', 'dicentis ' ),106 'add_new' => __( 'Add New Episode', 'dicentis ' ),107 'add_new_item' => __( 'Add New Episode', 'dicentis ' ),108 'edit_item' => __( 'Edit Episodes', 'dicentis ' ),109 'new_item' => __( 'New Episodes', 'dicentis ' ),110 'view_item' => __( 'View Episodes', 'dicentis ' ),111 'search_items' => __( 'Search Episodes', 'dicentis ' ),112 'not_found' => __( 'No Episodes Found', 'dicentis ' ),113 'not_found_in_trash' => __( 'No Episodes Found In Trash', 'dicentis ' )104 'name' => __( 'Podcasts', 'dicentis-podcast' ), 105 'singular_name' => __( 'Episode', 'dicentis-podcast' ), 106 'add_new' => __( 'Add New Episode', 'dicentis-podcast' ), 107 'add_new_item' => __( 'Add New Episode', 'dicentis-podcast' ), 108 'edit_item' => __( 'Edit Episodes', 'dicentis-podcast' ), 109 'new_item' => __( 'New Episodes', 'dicentis-podcast' ), 110 'view_item' => __( 'View Episodes', 'dicentis-podcast' ), 111 'search_items' => __( 'Search Episodes', 'dicentis-podcast' ), 112 'not_found' => __( 'No Episodes Found', 'dicentis-podcast' ), 113 'not_found_in_trash' => __( 'No Episodes Found In Trash', 'dicentis-podcast' ) 114 114 ), 115 115 'public' => true, 116 116 'has_archive' => true, 117 'description' => __( 'A podcast plugin which allows to define multipel podcasts with individual feeds', 'dicentis ' ),117 'description' => __( 'A podcast plugin which allows to define multipel podcasts with individual feeds', 'dicentis-podcast' ), 118 118 'supports' => array( 119 119 'editor', … … 180 180 ), 181 181 'labels' => array( 182 'name' => __( 'Podcast Shows', $this->textdomain),183 'singular_name' => __( 'Podcast Show', $this->textdomain),184 'edit_item' => __( 'Edit Podcast Show', $this->textdomain),185 'update_item' => __( 'Update Podcast Show', $this->textdomain),186 'add_new_item' => __( 'Add New Podcast Show', $this->textdomain),187 'new_item_name' => __( 'New Podcast Show Name', $this->textdomain),188 'all_items' => __( 'All Podcast Shows', $this->textdomain),189 'search_items' => __( 'Search Podcast Show', $this->textdomain),190 'parent_item' => __( 'Parent Podcast Show', $this->textdomain),191 'parent_item_colon' => __( 'Parent Podcast Show:', $this->textdomain),182 'name' => __( 'Podcast Shows', 'dicentis-podcast' ), 183 'singular_name' => __( 'Podcast Show', 'dicentis-podcast' ), 184 'edit_item' => __( 'Edit Podcast Show', 'dicentis-podcast' ), 185 'update_item' => __( 'Update Podcast Show', 'dicentis-podcast' ), 186 'add_new_item' => __( 'Add New Podcast Show', 'dicentis-podcast' ), 187 'new_item_name' => __( 'New Podcast Show Name', 'dicentis-podcast' ), 188 'all_items' => __( 'All Podcast Shows', 'dicentis-podcast' ), 189 'search_items' => __( 'Search Podcast Show', 'dicentis-podcast' ), 190 'parent_item' => __( 'Parent Podcast Show', 'dicentis-podcast' ), 191 'parent_item_colon' => __( 'Parent Podcast Show:', 'dicentis-podcast' ), 192 192 ), 193 193 ); … … 201 201 ), 202 202 'labels' => array( 203 'name' => __( 'Series', $this->textdomain),204 'singular_name' => __( 'Series', $this->textdomain),205 'edit_item' => __( 'Edit Series', $this->textdomain),206 'update_item' => __( 'Update Series', $this->textdomain),207 'add_new_item' => __( 'Add New Series', $this->textdomain),208 'new_item_name' => __( 'New Series Name', $this->textdomain),209 'all_items' => __( 'All Series', $this->textdomain),210 'search_items' => __( 'Search Series', $this->textdomain),211 'parent_item' => __( 'Parent Series', $this->textdomain),212 'parent_item_colon' => __( 'Parent Series:', $this->textdomain),203 'name' => __( 'Series', 'dicentis-podcast' ), 204 'singular_name' => __( 'Series', 'dicentis-podcast' ), 205 'edit_item' => __( 'Edit Series', 'dicentis-podcast' ), 206 'update_item' => __( 'Update Series', 'dicentis-podcast' ), 207 'add_new_item' => __( 'Add New Series', 'dicentis-podcast' ), 208 'new_item_name' => __( 'New Series Name', 'dicentis-podcast' ), 209 'all_items' => __( 'All Series', 'dicentis-podcast' ), 210 'search_items' => __( 'Search Series', 'dicentis-podcast' ), 211 'parent_item' => __( 'Parent Series', 'dicentis-podcast' ), 212 'parent_item_colon' => __( 'Parent Series:', 'dicentis-podcast' ), 213 213 ), 214 214 ); … … 222 222 ), 223 223 'labels' => array( 224 'name' => __( 'Speakers', $this->textdomain),225 'singular_name' => __( 'Speaker', $this->textdomain),226 'edit_item' => __( 'Edit Speaker', $this->textdomain),227 'update_item' => __( 'Update Speaker', $this->textdomain),228 'add_new_item' => __( 'Add New Speaker', $this->textdomain),229 'new_item_name' => __( 'New Speaker Name', $this->textdomain),230 'all_items' => __( 'All Speaker', $this->textdomain),231 'search_items' => __( 'Search Speaker', $this->textdomain),232 'parent_item' => __( 'Parent Speaker', $this->textdomain),233 'parent_item_colon' => __( 'Parent Speaker:', $this->textdomain),224 'name' => __( 'Speakers', 'dicentis-podcast' ), 225 'singular_name' => __( 'Speaker', 'dicentis-podcast' ), 226 'edit_item' => __( 'Edit Speaker', 'dicentis-podcast' ), 227 'update_item' => __( 'Update Speaker', 'dicentis-podcast' ), 228 'add_new_item' => __( 'Add New Speaker', 'dicentis-podcast' ), 229 'new_item_name' => __( 'New Speaker Name', 'dicentis-podcast' ), 230 'all_items' => __( 'All Speaker', 'dicentis-podcast' ), 231 'search_items' => __( 'Search Speaker', 'dicentis-podcast' ), 232 'parent_item' => __( 'Parent Speaker', 'dicentis-podcast' ), 233 'parent_item_colon' => __( 'Parent Speaker:', 'dicentis-podcast' ), 234 234 ), 235 235 ); … … 440 440 */ 441 441 public function human_readable_filesize($size) { 442 442 443 443 // Adapted from: http://www.php.net/manual/en/function.filesize.php 444 444 445 445 $mod = 1024; 446 446 447 447 $units = explode(' ','B KB MB GB TB PB'); 448 448 for ($i = 0; $size > $mod; $i++) { 449 449 $size /= $mod; 450 450 } 451 451 452 452 return round($size, 2) . ' ' . $units[$i]; 453 453 } … … 520 520 $mediafiles = array(); 521 521 522 for ( $i=1; $i <= $media_count; $i++ ) { 522 for ( $i=1; $i <= $media_count; $i++ ) { 523 523 $temp_mediafile = get_post_meta( $post_id, '_dipo_mediafile' . $i, true ); 524 524 array_push( $mediafiles, $temp_mediafile ); -
dicentis-podcast/trunk/includes/core/class-dipo-localization.php
r958237 r1377689 16 16 public function load_localisation() { 17 17 18 load_plugin_textdomain( 'dicentis ', false,18 load_plugin_textdomain( 'dicentis-podcast', false, 19 19 'dicentis-podcast/languages/' ); 20 20
Note: See TracChangeset
for help on using the changeset viewer.