Capability Manager Enhanced - Version 1.4.4

Version Description

  • Fixed : On translated sites, roles could not be edited
    • Fixed : Menu item change to "Role Capabilities" broke existing translations
Download this release

Release Info

Developer kevinB
Plugin Icon 128x128 Capability Manager Enhanced
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

capsman-enhanced.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Capability Manager Enhanced
4
  Plugin URI: http://presspermit.com/capability-manager
5
  Description: Manage WordPress role definitions. Organizes available capabilities by post type, status and source.
6
- Version: 1.4.3
7
  Author: Jordi Canals, Kevin Behrens
8
  Author URI: http://agapetry.net
9
  */
@@ -32,8 +32,8 @@ Author URI: http://agapetry.net
32
  */
33
 
34
  if ( ! defined( 'CAPSMAN_VERSION' ) ) {
35
- define( 'CAPSMAN_VERSION', '1.4.3' );
36
- define( 'CAPSMAN_ENH_VERSION', '1.4.3' );
37
  }
38
 
39
  if ( cme_is_plugin_active( 'capsman.php' ) ) {
@@ -84,9 +84,11 @@ if ( cme_is_plugin_active( 'capsman.php' ) ) {
84
  function cme_submenus() {
85
  if ( defined( 'PP_VERSION' ) ) // Press Permit integrates into Permissions menu
86
  add_action( 'pp_permissions_menu', '_cme_pp_menu' );
87
- else
88
- add_users_page( __('Capability Manager', 'capsman'), __('Role Capabilities', 'capsman'), 'manage_capabilities', 'capsman', 'cme_fakefunc');
89
-
 
 
90
  add_management_page(__('Capability Manager', 'capsman'), __('Capability Manager', 'capsman'), 'manage_capabilities', 'capsman' . '-tool', 'cme_fakefunc');
91
  }
92
 
3
  Plugin Name: Capability Manager Enhanced
4
  Plugin URI: http://presspermit.com/capability-manager
5
  Description: Manage WordPress role definitions. Organizes available capabilities by post type, status and source.
6
+ Version: 1.4.4
7
  Author: Jordi Canals, Kevin Behrens
8
  Author URI: http://agapetry.net
9
  */
32
  */
33
 
34
  if ( ! defined( 'CAPSMAN_VERSION' ) ) {
35
+ define( 'CAPSMAN_VERSION', '1.4.4' );
36
+ define( 'CAPSMAN_ENH_VERSION', '1.4.4' );
37
  }
38
 
39
  if ( cme_is_plugin_active( 'capsman.php' ) ) {
84
  function cme_submenus() {
85
  if ( defined( 'PP_VERSION' ) ) // Press Permit integrates into Permissions menu
86
  add_action( 'pp_permissions_menu', '_cme_pp_menu' );
87
+ else {
88
+ $menu_caption = ( defined('WPLANG') && WPLANG ) ? __('Capabilities', 'capsman') : __('Role Capabilities', 'capsman');
89
+ add_users_page( __('Capability Manager', 'capsman'), $menu_caption, 'manage_capabilities', 'capsman', 'cme_fakefunc');
90
+ }
91
+
92
  add_management_page(__('Capability Manager', 'capsman'), __('Capability Manager', 'capsman'), 'manage_capabilities', 'capsman' . '-tool', 'cme_fakefunc');
93
  }
94
 
includes/admin.php CHANGED
@@ -485,7 +485,7 @@ if( defined('PP_VERSION') ) {
485
  <p class="submit">
486
  <input type="hidden" name="action" value="update" />
487
  <input type="hidden" name="current" value="<?php echo $default; ?>" />
488
- <input type="submit" name="Save" value="<?php _e('Save Changes', $this->ID) ?>" class="button-primary" /> &nbsp;
489
 
490
  <?php if ( current_user_can('administrator') && 'administrator' != $default ) : ?>
491
  <a class="ak-delete" title="<?php echo esc_attr(__('Delete this role', $this->ID)) ?>" href="<?php echo wp_nonce_url("admin.php?page={$this->ID}&amp;action=delete&amp;role={$default}", 'delete-role_' . $default); ?>" onclick="if ( confirm('<?php echo esc_js(sprintf(__("You are about to delete the %s role.\n 'Cancel' to stop, 'OK' to delete.", $this->ID), $roles[$default])); ?>') ) { return true;}return false;"><?php _e('Delete Role', $this->ID)?></a>
@@ -508,7 +508,7 @@ if( defined('PP_VERSION') ) {
508
  echo '<option value="' . $role .'"'; selected($default, $role); echo '> ' . $name . ' &nbsp;</option>';
509
  }
510
  ?>
511
- </select><span style="margin-left:20px"><input type="submit" name="Load" value="<?php defined('WPLANG') && WPLANG ? _e('Change', $this->ID) : _e('Load', $this->ID) ?>" class="button" /></span></p>
512
  </dd>
513
  </dl>
514
 
@@ -523,7 +523,7 @@ if( defined('PP_VERSION') ) {
523
  <?php endif; ?>
524
 
525
  <br />
526
- <input type="submit" name="Create" value="<?php _e('Create', $this->ID) ?>" class="button" />
527
  </p>
528
  </dd>
529
  </dl>
@@ -539,7 +539,7 @@ if( defined('PP_VERSION') ) {
539
  <?php endif; ?>
540
 
541
  <br />
542
- <input type="submit" name="Copy" value="<?php _e('Copy', $this->ID) ?>" class="button" />
543
  </p>
544
  </dd>
545
  </dl>
485
  <p class="submit">
486
  <input type="hidden" name="action" value="update" />
487
  <input type="hidden" name="current" value="<?php echo $default; ?>" />
488
+ <input type="submit" name="SaveRole" value="<?php _e('Save Changes', $this->ID) ?>" class="button-primary" /> &nbsp;
489
 
490
  <?php if ( current_user_can('administrator') && 'administrator' != $default ) : ?>
491
  <a class="ak-delete" title="<?php echo esc_attr(__('Delete this role', $this->ID)) ?>" href="<?php echo wp_nonce_url("admin.php?page={$this->ID}&amp;action=delete&amp;role={$default}", 'delete-role_' . $default); ?>" onclick="if ( confirm('<?php echo esc_js(sprintf(__("You are about to delete the %s role.\n 'Cancel' to stop, 'OK' to delete.", $this->ID), $roles[$default])); ?>') ) { return true;}return false;"><?php _e('Delete Role', $this->ID)?></a>
508
  echo '<option value="' . $role .'"'; selected($default, $role); echo '> ' . $name . ' &nbsp;</option>';
509
  }
510
  ?>
511
+ </select><span style="margin-left:20px"><input type="submit" name="LoadRole" value="<?php defined('WPLANG') && WPLANG ? _e('Change', $this->ID) : _e('Load', $this->ID) ?>" class="button" /></span></p>
512
  </dd>
513
  </dl>
514
 
523
  <?php endif; ?>
524
 
525
  <br />
526
+ <input type="submit" name="CreateRole" value="<?php _e('Create', $this->ID) ?>" class="button" />
527
  </p>
528
  </dd>
529
  </dl>
539
  <?php endif; ?>
540
 
541
  <br />
542
+ <input type="submit" name="CopyRole" value="<?php _e('Copy', $this->ID) ?>" class="button" />
543
  </p>
544
  </dd>
545
  </dl>
includes/manager.php CHANGED
@@ -202,7 +202,8 @@ class CapabilityManager extends akPluginAbstract
202
  }
203
 
204
  public function pp_menu() {
205
- add_submenu_page( $GLOBALS['pp_admin']->get_menu('options'), __('Capability Manager', $this->ID), __('Role Capabilities', $this->ID), 'manage_capabilities', $this->ID, array($this, 'generalManager') );
 
206
  }
207
 
208
  /**
@@ -365,11 +366,11 @@ class CapabilityManager extends akPluginAbstract
365
  }
366
 
367
  // Select a new role.
368
- if ( isset($post['Load']) && __('Load', $this->ID) == $post['Load'] ) {
369
  $this->current = $post['role'];
370
 
371
  // Create a new role.
372
- } elseif ( isset($post['Create']) && __('Create', $this->ID) == $post['Create'] ) {
373
  if ( $newrole = $this->createRole($post['create-name']) ) {
374
  ak_admin_notify(__('New role created.', $this->ID));
375
  $this->current = $newrole;
@@ -381,7 +382,7 @@ class CapabilityManager extends akPluginAbstract
381
  }
382
 
383
  // Copy current role to a new one.
384
- } elseif ( isset($post['Copy']) && __('Copy', $this->ID) == $post['Copy'] ) {
385
  $current = get_role($post['current']);
386
  if ( $newrole = $this->createRole($post['copy-name'], $current->capabilities) ) {
387
  ak_admin_notify(__('New role created.', $this->ID));
@@ -394,11 +395,11 @@ class CapabilityManager extends akPluginAbstract
394
  }
395
 
396
  // Save role changes. Already saved at start with self::saveRoleCapabilities().
397
- }elseif ( isset($post['Save']) && __('Save Changes', $this->ID) == $post['Save'] ) {
398
  ak_admin_notify(__('New capabilities saved.', $this->ID));
399
 
400
  // Create New Capability and adds it to current role.
401
- } elseif ( isset($post['AddCap']) && __('Add to role', $this->ID) == $post['AddCap'] ) {
402
  $role = get_role($post['current']);
403
 
404
  if ( $newname = $this->createNewName($post['capability-name']) ) {
@@ -408,7 +409,7 @@ class CapabilityManager extends akPluginAbstract
408
  ak_admin_error(__('Incorrect capability name.', $this->ID));
409
  }
410
 
411
- } elseif ( isset($post['update_filtered_types']) && __('Update', $this->ID) == $post['update_filtered_types'] ) {
412
  if ( cme_update_pp_usage() ) {
413
  ak_admin_notify(__('Capability settings saved.', $this->ID));
414
  } else {
202
  }
203
 
204
  public function pp_menu() {
205
+ $menu_caption = ( defined('WPLANG') && WPLANG ) ? __('Capabilities', $this->ID) : __('Role Capabilities', $this->ID);
206
+ add_submenu_page( $GLOBALS['pp_admin']->get_menu('options'), __('Capability Manager', $this->ID), $menu_caption, 'manage_capabilities', $this->ID, array($this, 'generalManager') );
207
  }
208
 
209
  /**
366
  }
367
 
368
  // Select a new role.
369
+ if ( ! empty($post['LoadRole']) ) {
370
  $this->current = $post['role'];
371
 
372
  // Create a new role.
373
+ } elseif ( ! empty($post['CreateRole']) ) {
374
  if ( $newrole = $this->createRole($post['create-name']) ) {
375
  ak_admin_notify(__('New role created.', $this->ID));
376
  $this->current = $newrole;
382
  }
383
 
384
  // Copy current role to a new one.
385
+ } elseif ( ! empty($post['CopyRole']) ) {
386
  $current = get_role($post['current']);
387
  if ( $newrole = $this->createRole($post['copy-name'], $current->capabilities) ) {
388
  ak_admin_notify(__('New role created.', $this->ID));
395
  }
396
 
397
  // Save role changes. Already saved at start with self::saveRoleCapabilities().
398
+ } elseif ( ! empty($post['SaveRole']) ) {
399
  ak_admin_notify(__('New capabilities saved.', $this->ID));
400
 
401
  // Create New Capability and adds it to current role.
402
+ } elseif ( ! empty($post['AddCap']) ) {
403
  $role = get_role($post['current']);
404
 
405
  if ( $newname = $this->createNewName($post['capability-name']) ) {
409
  ak_admin_error(__('Incorrect capability name.', $this->ID));
410
  }
411
 
412
+ } elseif ( ! empty($post['update_filtered_types']) ) {
413
  if ( cme_update_pp_usage() ) {
414
  ak_admin_notify(__('Capability settings saved.', $this->ID));
415
  } else {
lang/capsman.mo CHANGED
Binary file
lang/capsman.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Capability Manager Enhanced\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-08-01 00:41-0500\n"
6
- "PO-Revision-Date: 2012-08-01 00:41-0500\n"
7
  "Last-Translator: Kevin Behrens <kevin@agapetry.net>\n"
8
  "Language-Team: Agapetry Creations LLC <kevin@agapetry.net>\n"
9
  "MIME-Version: 1.0\n"
@@ -514,164 +514,182 @@ msgstr ""
514
  msgid "can delete posts which are currently published with private visibility"
515
  msgstr ""
516
 
517
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:277
518
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:350
519
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:399
520
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:277
521
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:350
522
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:399
523
  #, php-format
524
  msgid "%s: assigned by Permit Group"
525
  msgstr ""
526
 
527
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:333
528
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:333
529
  msgid "Other WordPress Core Capabilities"
530
  msgstr ""
531
 
532
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:369
533
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:369
534
  msgid "Additional Capabilities"
535
  msgstr ""
536
 
537
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:436
538
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:436
539
  msgid "Level:"
540
  msgstr ""
541
 
542
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:457
543
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:457
544
  msgid "Note: Underscores replace spaces in stored capability name (\"edit users\" => \"edit_users\")."
545
  msgstr ""
546
 
547
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:471
548
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:471
 
 
 
 
 
 
 
 
 
549
  msgid "supplemental assignment only"
550
  msgstr ""
551
 
552
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:478
553
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:390
554
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:478
555
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:390
556
  msgid "Save Changes"
557
  msgstr ""
558
 
559
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:481
560
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:481
561
  msgid "Delete this role"
562
  msgstr ""
563
 
564
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:481
565
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:481
566
  #, php-format
567
  msgid ""
568
  "You are about to delete the %s role.\n"
569
  " 'Cancel' to stop, 'OK' to delete."
570
  msgstr ""
571
 
572
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:481
573
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:481
574
  msgid "Delete Role"
575
  msgstr ""
576
 
577
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:493
578
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:493
579
  msgid "Select New Role"
580
  msgstr ""
581
 
582
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:493
583
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:493
584
  msgid "Select Role to View / Edit"
585
  msgstr ""
586
 
587
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:501
588
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:501
589
  msgid "Change"
590
  msgstr ""
591
 
592
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:501
593
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:361
594
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:501
595
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:361
 
 
596
  msgid "Load"
597
  msgstr ""
598
 
599
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:506
600
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:506
601
  msgid "Create New Role"
602
  msgstr ""
603
 
604
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:508
605
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:508
606
  msgid "Name of new role"
607
  msgstr ""
608
 
609
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:509
610
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:365
611
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:509
612
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:365
 
 
 
 
 
 
 
613
  msgid "Create"
614
  msgstr ""
615
 
616
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:514
617
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:514
618
  msgid "Copy this role to"
619
  msgstr ""
620
 
621
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:514
622
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:514
623
  #, php-format
624
  msgid "Copy %s Role"
625
  msgstr ""
626
 
627
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:516
628
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:516
629
  msgid "Name of copied role"
630
  msgstr ""
631
 
632
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:517
633
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:377
634
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:517
635
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:377
636
  msgid "Copy"
637
  msgstr ""
638
 
639
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:522
640
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:522
641
  msgid "Add Capability"
642
  msgstr ""
643
 
644
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:524
645
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:524
646
  msgid "capability name"
647
  msgstr ""
648
 
649
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:525
650
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:394
651
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:525
652
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:394
653
  msgid "Add to role"
654
  msgstr ""
655
 
656
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:531
657
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:531
658
  msgid "Force Type-Specific Capabilities"
659
  msgstr ""
660
 
661
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:534
662
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:534
663
  msgid "Force unique capability names for:"
664
  msgstr ""
665
 
666
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:575
667
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:575
668
  msgid "(PP Filtered Post Types, Taxonomies)"
669
  msgstr ""
670
 
671
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:580
672
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:404
673
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:580
674
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:404
675
  msgid "Update"
676
  msgstr ""
677
 
@@ -764,96 +782,96 @@ msgstr ""
764
  msgid "Bad form Received"
765
  msgstr ""
766
 
767
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:367
768
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:380
769
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:367
770
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:380
 
771
  msgid "New role created."
772
  msgstr ""
773
 
774
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:371
775
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:384
776
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:371
777
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:384
 
778
  msgid "Error: No role name specified."
779
  msgstr ""
780
 
781
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:373
782
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:386
783
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:373
784
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:386
 
785
  msgid "Error: Failed creating the new role."
786
  msgstr ""
787
 
788
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:391
789
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:391
790
  msgid "New capabilities saved."
791
  msgstr ""
792
 
793
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:399
794
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:399
795
  msgid "New capability added to role."
796
  msgstr ""
797
 
798
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:401
799
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:401
800
  msgid "Incorrect capability name."
801
  msgstr ""
802
 
803
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:406
804
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:406
805
  msgid "Capability settings saved."
806
  msgstr ""
807
 
808
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:408
809
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:408
810
  msgid "Error saving capability settings."
811
  msgstr ""
812
 
813
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:412
814
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:412
815
  msgid "Bad form received."
816
  msgstr ""
817
 
818
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:432
819
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:432
820
  msgid "New backup saved."
821
  msgstr ""
822
 
823
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:438
824
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:438
825
  msgid "Roles and Capabilities restored from last backup."
826
  msgstr ""
827
 
828
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:440
829
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:440
830
  msgid "Restore failed. No backup found."
831
  msgstr ""
832
 
833
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:462
834
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:462
835
  #, php-format
836
  msgid "Cannot delete default role. You <a href=\"%s\">have to change it first</a>."
837
  msgstr ""
838
 
839
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:483
840
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:483
841
  #, php-format
842
  msgid "Role has been deleted. %1$d users moved to default role %2$s."
843
  msgstr ""
844
 
845
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:497
846
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:497
847
  msgid "Needed function to create default roles not found!"
848
  msgstr ""
849
 
850
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:509
851
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:509
852
  msgid "Roles and Capabilities reset to WordPress defaults"
853
  msgstr ""
854
 
855
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:700
856
- #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:700
857
  msgid "You cannot remove Manage Capabilities from Administrators"
858
  msgstr ""
859
 
2
  msgstr ""
3
  "Project-Id-Version: Capability Manager Enhanced\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-08-10 15:00-0500\n"
6
+ "PO-Revision-Date: 2012-08-10 15:00-0500\n"
7
  "Last-Translator: Kevin Behrens <kevin@agapetry.net>\n"
8
  "Language-Team: Agapetry Creations LLC <kevin@agapetry.net>\n"
9
  "MIME-Version: 1.0\n"
514
  msgid "can delete posts which are currently published with private visibility"
515
  msgstr ""
516
 
517
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:282
518
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:356
519
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:405
520
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:282
521
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:356
522
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:405
523
  #, php-format
524
  msgid "%s: assigned by Permit Group"
525
  msgstr ""
526
 
527
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:339
528
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:339
529
  msgid "Other WordPress Core Capabilities"
530
  msgstr ""
531
 
532
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:375
533
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:375
534
  msgid "Additional Capabilities"
535
  msgstr ""
536
 
537
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:442
538
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:442
539
  msgid "Level:"
540
  msgstr ""
541
 
542
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:463
543
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:463
544
  msgid "Note: Underscores replace spaces in stored capability name (\"edit users\" => \"edit_users\")."
545
  msgstr ""
546
 
547
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:481
548
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:522
549
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:538
550
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:481
551
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:522
552
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:538
553
+ msgid "Make role available for supplemental assignment to Permit Groups only"
554
+ msgstr ""
555
+
556
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:481
557
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:481
558
  msgid "supplemental assignment only"
559
  msgstr ""
560
 
561
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:488
562
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:403
563
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:488
564
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:403
565
  msgid "Save Changes"
566
  msgstr ""
567
 
568
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:491
569
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:491
570
  msgid "Delete this role"
571
  msgstr ""
572
 
573
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:491
574
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:491
575
  #, php-format
576
  msgid ""
577
  "You are about to delete the %s role.\n"
578
  " 'Cancel' to stop, 'OK' to delete."
579
  msgstr ""
580
 
581
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:491
582
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:491
583
  msgid "Delete Role"
584
  msgstr ""
585
 
586
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:503
587
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:503
588
  msgid "Select New Role"
589
  msgstr ""
590
 
591
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:503
592
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:503
593
  msgid "Select Role to View / Edit"
594
  msgstr ""
595
 
596
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:511
597
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:511
598
  msgid "Change"
599
  msgstr ""
600
 
601
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:511
602
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:357
603
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:374
604
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:511
605
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:357
606
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:374
607
  msgid "Load"
608
  msgstr ""
609
 
610
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:516
611
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:516
612
  msgid "Create New Role"
613
  msgstr ""
614
 
615
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:519
616
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:519
617
  msgid "Name of new role"
618
  msgstr ""
619
 
620
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:522
621
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:538
622
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:522
623
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:538
624
+ msgid "supplemental"
625
+ msgstr ""
626
+
627
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:526
628
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:378
629
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:526
630
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:378
631
  msgid "Create"
632
  msgstr ""
633
 
634
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:532
635
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:532
636
  msgid "Copy this role to"
637
  msgstr ""
638
 
639
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:532
640
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:532
641
  #, php-format
642
  msgid "Copy %s Role"
643
  msgstr ""
644
 
645
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:535
646
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:535
647
  msgid "Name of copied role"
648
  msgstr ""
649
 
650
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:542
651
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:390
652
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:542
653
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:390
654
  msgid "Copy"
655
  msgstr ""
656
 
657
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:548
658
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:548
659
  msgid "Add Capability"
660
  msgstr ""
661
 
662
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:550
663
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:550
664
  msgid "capability name"
665
  msgstr ""
666
 
667
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:551
668
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:407
669
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:551
670
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:407
671
  msgid "Add to role"
672
  msgstr ""
673
 
674
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:557
675
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:557
676
  msgid "Force Type-Specific Capabilities"
677
  msgstr ""
678
 
679
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:560
680
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:560
681
  msgid "Force unique capability names for:"
682
  msgstr ""
683
 
684
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:601
685
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:601
686
  msgid "(PP Filtered Post Types, Taxonomies)"
687
  msgstr ""
688
 
689
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/admin.php:606
690
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:417
691
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/admin.php:606
692
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:417
693
  msgid "Update"
694
  msgstr ""
695
 
782
  msgid "Bad form Received"
783
  msgstr ""
784
 
 
785
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:380
786
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:393
787
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:380
788
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:393
789
  msgid "New role created."
790
  msgstr ""
791
 
 
792
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:384
793
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:397
794
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:384
795
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:397
796
  msgid "Error: No role name specified."
797
  msgstr ""
798
 
 
799
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:386
800
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:399
801
  #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:386
802
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:399
803
  msgid "Error: Failed creating the new role."
804
  msgstr ""
805
 
806
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:404
807
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:404
808
  msgid "New capabilities saved."
809
  msgstr ""
810
 
811
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:412
812
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:412
813
  msgid "New capability added to role."
814
  msgstr ""
815
 
816
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:414
817
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:414
818
  msgid "Incorrect capability name."
819
  msgstr ""
820
 
821
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:419
822
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:419
823
  msgid "Capability settings saved."
824
  msgstr ""
825
 
826
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:421
827
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:421
828
  msgid "Error saving capability settings."
829
  msgstr ""
830
 
831
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:425
832
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:425
833
  msgid "Bad form received."
834
  msgstr ""
835
 
836
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:452
837
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:452
838
  msgid "New backup saved."
839
  msgstr ""
840
 
841
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:458
842
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:458
843
  msgid "Roles and Capabilities restored from last backup."
844
  msgstr ""
845
 
846
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:460
847
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:460
848
  msgid "Restore failed. No backup found."
849
  msgstr ""
850
 
851
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:482
852
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:482
853
  #, php-format
854
  msgid "Cannot delete default role. You <a href=\"%s\">have to change it first</a>."
855
  msgstr ""
856
 
857
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:503
858
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:503
859
  #, php-format
860
  msgid "Role has been deleted. %1$d users moved to default role %2$s."
861
  msgstr ""
862
 
863
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:517
864
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:517
865
  msgid "Needed function to create default roles not found!"
866
  msgstr ""
867
 
868
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:529
869
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:529
870
  msgid "Roles and Capabilities reset to WordPress defaults"
871
  msgstr ""
872
 
873
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced/includes/manager.php:720
874
+ #: E:\www\wp34\wp-content\plugins\capsman-enhanced\includes/manager.php:720
875
  msgid "You cannot remove Manage Capabilities from Administrators"
876
  msgstr ""
877
 
readme.txt CHANGED
@@ -96,6 +96,10 @@ You should have received a copy of the GNU General Public License along with thi
96
 
97
  == Changelog ==
98
 
 
 
 
 
99
  = 1.4.3 =
100
  * Fixed : Separate checkbox was displayed for cap->edit_published_posts even if it was defined to the be same as cap->edit_posts
101
  * Press Permit integration: automatically store a backup copy of each role's last saved capability set so they can be reinstated if necessary (currently for bbPress)
96
 
97
  == Changelog ==
98
 
99
+ = 1.4.4 =
100
+ * Fixed : On translated sites, roles could not be edited
101
+ * Fixed : Menu item change to "Role Capabilities" broke existing translations
102
+
103
  = 1.4.3 =
104
  * Fixed : Separate checkbox was displayed for cap->edit_published_posts even if it was defined to the be same as cap->edit_posts
105
  * Press Permit integration: automatically store a backup copy of each role's last saved capability set so they can be reinstated if necessary (currently for bbPress)