Groups - Version 1.7.0

Version Description

  • Added the French translation.
  • Added the [groups_login] shortcode.
  • Added the [groups_logout] shortcode.
  • Updated the German translation.
  • Updated the Spanish translation.
  • Added the groups_deleted_capability_capability action.
  • Fixed an issue with deleted capabilities restricting access to posts.
  • Fixed cache entries for capabilities.
Download this release

Release Info

Developer itthinx
Plugin Icon 128x128 Groups
Version 1.7.0
Comparing to
See all releases

Code changes from version 1.6.0 to 1.7.0

groups.php CHANGED
@@ -21,7 +21,7 @@
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
- * Version: 1.6.0
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
@@ -30,7 +30,7 @@
30
  if ( !defined( 'ABSPATH' ) ) {
31
  exit;
32
  }
33
- define( 'GROUPS_CORE_VERSION', '1.6.0' );
34
  define( 'GROUPS_FILE', __FILE__ );
35
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
36
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
+ * Version: 1.7.0
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
30
  if ( !defined( 'ABSPATH' ) ) {
31
  exit;
32
  }
33
+ define( 'GROUPS_CORE_VERSION', '1.7.0' );
34
  define( 'GROUPS_FILE', __FILE__ );
35
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
36
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
languages/groups-de_DE.mo CHANGED
Binary file
languages/groups-de_DE.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-06-22 21:23+0200\n"
11
- "PO-Revision-Date: 2015-06-23 15:24+0100\n"
12
  "Last-Translator: \n"
13
  "Language-Team: itthinx.com\n"
14
  "Language: de_DE\n"
@@ -16,7 +16,7 @@ msgstr ""
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
- "X-Generator: Poedit 1.8.1\n"
20
 
21
  #: lib/core/class-groups-pagination.php:140
22
  #, php-format
@@ -254,7 +254,7 @@ msgstr ""
254
  msgid "Cancel"
255
  msgstr "Abbrechen"
256
 
257
- #: lib/admin/class-groups-admin.php:186
258
  #: lib/admin/groups-admin-capabilities.php:193
259
  #: lib/admin/groups-admin-groups-add.php:99
260
  #: lib/admin/groups-admin-groups-edit.php:119
@@ -477,29 +477,28 @@ msgstr "Gruppenname : %s"
477
  #: lib/admin/class-groups-admin-user-profile.php:66
478
  #: lib/admin/class-groups-admin-user-profile.php:90
479
  #: lib/admin/class-groups-admin-users.php:302
480
- #: lib/admin/class-groups-admin.php:222 lib/admin/class-groups-admin.php:223
481
- #: lib/admin/class-groups-admin.php:252 lib/admin/groups-admin-groups.php:200
482
- #: lib/core/class-groups-help.php:61 lib/core/class-groups-help.php:66
483
- #: lib/core/class-groups-help.php:67
484
  msgid "Groups"
485
  msgstr "Groups"
486
 
487
- #: lib/admin/class-groups-admin.php:133
488
  msgctxt "menu item title"
489
  msgid "Groups"
490
  msgstr "Gruppen"
491
 
492
- #: lib/admin/class-groups-admin.php:151
493
  msgctxt "menu-title"
494
  msgid "Groups"
495
  msgstr "Groups"
496
 
497
- #: lib/admin/class-groups-admin.php:150
498
  msgctxt "page-title"
499
  msgid "Groups"
500
  msgstr "Gruppen"
501
 
502
- #: lib/admin/class-groups-admin.php:185
503
  msgid "Groups Capabilities"
504
  msgstr "Gruppenkapazitäten"
505
 
@@ -507,7 +506,7 @@ msgstr "Gruppenkapazitäten"
507
  msgid "Groups network options"
508
  msgstr "Groups Netzwerkoptionen"
509
 
510
- #: lib/admin/class-groups-admin.php:198 lib/admin/groups-admin-options.php:133
511
  msgid "Groups options"
512
  msgstr "Groups Optionen"
513
 
@@ -543,12 +542,12 @@ msgstr ""
543
  msgid "Inherited capabilities:"
544
  msgstr "Geerbte Kapazitäten:"
545
 
546
- #: lib/views/class-groups-shortcodes.php:389
547
  #, php-format
548
  msgid "Join the %s group"
549
  msgstr "Der Gruppe %s beitreten"
550
 
551
- #: lib/views/class-groups-shortcodes.php:473
552
  #, php-format
553
  msgid "Leave the %s group"
554
  msgstr "Die Gruppe %s verlassen"
@@ -561,6 +560,10 @@ msgstr ""
561
  "Angenommen Sie wollen einen Beitrag nur Mitgliedern der <em>Premium</em> "
562
  "Gruppe sichtbar machen."
563
 
 
 
 
 
564
  #: lib/access/class-groups-access-meta-boxes.php:513
565
  msgid "Media"
566
  msgstr "Medien"
@@ -657,7 +660,7 @@ msgstr ""
657
  "Nur Gruppen oder Benutzer die eine der gewählten Kapazitäten haben ist es "
658
  "gestattet diese(n) %s zu lesen."
659
 
660
- #: lib/admin/class-groups-admin.php:199 lib/admin/class-groups-admin.php:246
661
  #: lib/core/class-groups-help.php:68
662
  msgid "Options"
663
  msgstr "Optionen"
@@ -924,7 +927,7 @@ msgstr ""
924
  msgid "This group has no capabilities."
925
  msgstr "Diese Gruppe hat keine Kapazitäten."
926
 
927
- #: lib/admin/class-groups-admin.php:171 lib/admin/class-groups-admin.php:172
928
  msgid "Tree"
929
  msgstr "Baum"
930
 
@@ -987,7 +990,7 @@ msgstr ""
987
  "Zugriffsbeschränkung aktiviert. Um die Kapazität verwenden zu können, wird "
988
  "ihr Benutzerkonto der Gruppe hinzugefügt."
989
 
990
- #: lib/views/class-groups-shortcodes.php:447
991
  #, php-format
992
  msgid "You are a member of the %s group."
993
  msgstr "Sie sind Mitglied der Gruppe %s."
@@ -1025,12 +1028,12 @@ msgstr ""
1025
  msgid "You cannot set any access restrictions."
1026
  msgstr "Sie können keine Zugriffsbeschränkungen setzen."
1027
 
1028
- #: lib/views/class-groups-shortcodes.php:442
1029
  #, php-format
1030
  msgid "You have joined the %s group."
1031
  msgstr "Sie sind der Gruppe %s beigetreten."
1032
 
1033
- #: lib/views/class-groups-shortcodes.php:518
1034
  #, php-format
1035
  msgid "You have left the %s group."
1036
  msgstr "Sie haben die Gruppe %s verlassen."
7
  msgstr ""
8
  "Project-Id-Version: \n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2015-06-30 20:07+0200\n"
11
+ "PO-Revision-Date: 2015-06-30 20:08+0200\n"
12
  "Last-Translator: \n"
13
  "Language-Team: itthinx.com\n"
14
  "Language: de_DE\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Generator: Poedit 1.8.2\n"
20
 
21
  #: lib/core/class-groups-pagination.php:140
22
  #, php-format
254
  msgid "Cancel"
255
  msgstr "Abbrechen"
256
 
257
+ #: lib/admin/class-groups-admin.php:194
258
  #: lib/admin/groups-admin-capabilities.php:193
259
  #: lib/admin/groups-admin-groups-add.php:99
260
  #: lib/admin/groups-admin-groups-edit.php:119
477
  #: lib/admin/class-groups-admin-user-profile.php:66
478
  #: lib/admin/class-groups-admin-user-profile.php:90
479
  #: lib/admin/class-groups-admin-users.php:302
480
+ #: lib/admin/class-groups-admin.php:230 lib/admin/class-groups-admin.php:231
481
+ #: lib/admin/class-groups-admin.php:260 lib/core/class-groups-help.php:61
482
+ #: lib/core/class-groups-help.php:66 lib/core/class-groups-help.php:67
 
483
  msgid "Groups"
484
  msgstr "Groups"
485
 
486
+ #: lib/admin/class-groups-admin.php:140
487
  msgctxt "menu item title"
488
  msgid "Groups"
489
  msgstr "Gruppen"
490
 
491
+ #: lib/admin/class-groups-admin.php:158
492
  msgctxt "menu-title"
493
  msgid "Groups"
494
  msgstr "Groups"
495
 
496
+ #: lib/admin/class-groups-admin.php:157 lib/admin/groups-admin-groups.php:200
497
  msgctxt "page-title"
498
  msgid "Groups"
499
  msgstr "Gruppen"
500
 
501
+ #: lib/admin/class-groups-admin.php:193
502
  msgid "Groups Capabilities"
503
  msgstr "Gruppenkapazitäten"
504
 
506
  msgid "Groups network options"
507
  msgstr "Groups Netzwerkoptionen"
508
 
509
+ #: lib/admin/class-groups-admin.php:206 lib/admin/groups-admin-options.php:133
510
  msgid "Groups options"
511
  msgstr "Groups Optionen"
512
 
542
  msgid "Inherited capabilities:"
543
  msgstr "Geerbte Kapazitäten:"
544
 
545
+ #: lib/views/class-groups-shortcodes.php:469
546
  #, php-format
547
  msgid "Join the %s group"
548
  msgstr "Der Gruppe %s beitreten"
549
 
550
+ #: lib/views/class-groups-shortcodes.php:553
551
  #, php-format
552
  msgid "Leave the %s group"
553
  msgstr "Die Gruppe %s verlassen"
560
  "Angenommen Sie wollen einen Beitrag nur Mitgliedern der <em>Premium</em> "
561
  "Gruppe sichtbar machen."
562
 
563
+ #: lib/views/class-groups-shortcodes.php:121
564
+ msgid "Log out"
565
+ msgstr "Abmelden"
566
+
567
  #: lib/access/class-groups-access-meta-boxes.php:513
568
  msgid "Media"
569
  msgstr "Medien"
660
  "Nur Gruppen oder Benutzer die eine der gewählten Kapazitäten haben ist es "
661
  "gestattet diese(n) %s zu lesen."
662
 
663
+ #: lib/admin/class-groups-admin.php:207 lib/admin/class-groups-admin.php:254
664
  #: lib/core/class-groups-help.php:68
665
  msgid "Options"
666
  msgstr "Optionen"
927
  msgid "This group has no capabilities."
928
  msgstr "Diese Gruppe hat keine Kapazitäten."
929
 
930
+ #: lib/admin/class-groups-admin.php:179 lib/admin/class-groups-admin.php:180
931
  msgid "Tree"
932
  msgstr "Baum"
933
 
990
  "Zugriffsbeschränkung aktiviert. Um die Kapazität verwenden zu können, wird "
991
  "ihr Benutzerkonto der Gruppe hinzugefügt."
992
 
993
+ #: lib/views/class-groups-shortcodes.php:527
994
  #, php-format
995
  msgid "You are a member of the %s group."
996
  msgstr "Sie sind Mitglied der Gruppe %s."
1028
  msgid "You cannot set any access restrictions."
1029
  msgstr "Sie können keine Zugriffsbeschränkungen setzen."
1030
 
1031
+ #: lib/views/class-groups-shortcodes.php:522
1032
  #, php-format
1033
  msgid "You have joined the %s group."
1034
  msgstr "Sie sind der Gruppe %s beigetreten."
1035
 
1036
+ #: lib/views/class-groups-shortcodes.php:598
1037
  #, php-format
1038
  msgid "You have left the %s group."
1039
  msgstr "Sie haben die Gruppe %s verlassen."
languages/groups-es_ES.mo CHANGED
Binary file
languages/groups-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Groups\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2015-06-23 15:37+0100\n"
8
- "PO-Revision-Date: 2015-06-23 15:38+0100\n"
9
  "Last-Translator: Gemma\n"
10
  "Language-Team: itthinx.com\n"
11
  "Language: es_ES\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Generator: Poedit 1.8.1\n"
18
 
19
  #: lib/core/class-groups-pagination.php:140
20
  #, php-format
@@ -250,7 +250,7 @@ msgstr ""
250
  msgid "Cancel"
251
  msgstr "Cancelar"
252
 
253
- #: lib/admin/class-groups-admin.php:186
254
  #: lib/admin/groups-admin-capabilities.php:193
255
  #: lib/admin/groups-admin-groups-add.php:99
256
  #: lib/admin/groups-admin-groups-edit.php:119
@@ -468,29 +468,28 @@ msgstr "Nombre del Grupo : %s"
468
  #: lib/admin/class-groups-admin-user-profile.php:66
469
  #: lib/admin/class-groups-admin-user-profile.php:90
470
  #: lib/admin/class-groups-admin-users.php:302
471
- #: lib/admin/class-groups-admin.php:222 lib/admin/class-groups-admin.php:223
472
- #: lib/admin/class-groups-admin.php:252 lib/admin/groups-admin-groups.php:200
473
- #: lib/core/class-groups-help.php:61 lib/core/class-groups-help.php:66
474
- #: lib/core/class-groups-help.php:67
475
  msgid "Groups"
476
  msgstr "Groups"
477
 
478
- #: lib/admin/class-groups-admin.php:133
479
  msgctxt "menu item title"
480
  msgid "Groups"
481
  msgstr "Grupos"
482
 
483
- #: lib/admin/class-groups-admin.php:151
484
  msgctxt "menu-title"
485
  msgid "Groups"
486
  msgstr "Groups"
487
 
488
- #: lib/admin/class-groups-admin.php:150
489
  msgctxt "page-title"
490
  msgid "Groups"
491
  msgstr "Grupos"
492
 
493
- #: lib/admin/class-groups-admin.php:185
494
  msgid "Groups Capabilities"
495
  msgstr "Capacidades de los Grupos"
496
 
@@ -498,7 +497,7 @@ msgstr "Capacidades de los Grupos"
498
  msgid "Groups network options"
499
  msgstr "Opciones de red para Grupos"
500
 
501
- #: lib/admin/class-groups-admin.php:198 lib/admin/groups-admin-options.php:133
502
  msgid "Groups options"
503
  msgstr "Opciones de Groups"
504
 
@@ -531,12 +530,12 @@ msgstr ""
531
  msgid "Inherited capabilities:"
532
  msgstr "Capacidades "
533
 
534
- #: lib/views/class-groups-shortcodes.php:389
535
  #, php-format
536
  msgid "Join the %s group"
537
  msgstr "Unirse al grupo %s"
538
 
539
- #: lib/views/class-groups-shortcodes.php:473
540
  #, php-format
541
  msgid "Leave the %s group"
542
  msgstr "Dejar el grupo %s"
@@ -549,6 +548,10 @@ msgstr ""
549
  "Imaginemos que quieres limitar la visibilidad de una entrada a miembros del "
550
  "grupo <em>Premium</em>."
551
 
 
 
 
 
552
  #: lib/access/class-groups-access-meta-boxes.php:513
553
  msgid "Media"
554
  msgstr "Multimedia"
@@ -642,7 +645,7 @@ msgstr ""
642
  "Sólo los grupos o usuarios que tienen alguna de las capacidades "
643
  "seleccionadas pueden leer este %s."
644
 
645
- #: lib/admin/class-groups-admin.php:199 lib/admin/class-groups-admin.php:246
646
  #: lib/core/class-groups-help.php:68
647
  msgid "Options"
648
  msgstr "Opciones"
@@ -782,7 +785,7 @@ msgid ""
782
  "\">itthinx</a>."
783
  msgstr ""
784
  "Gracias por usar <a href=\"http://www.itthinx.com/plugins/groups\" target="
785
- "\"_blank\">Groups</a> por <a href=\"http://www.itthinx.com\" target=\"_blank"
786
  "\">itthinx</a>."
787
 
788
  #: lib/admin/groups-admin-capabilities-edit.php:120
@@ -905,7 +908,7 @@ msgstr ""
905
  msgid "This group has no capabilities."
906
  msgstr "Este grupo no tiene capacidades."
907
 
908
- #: lib/admin/class-groups-admin.php:171 lib/admin/class-groups-admin.php:172
909
  msgid "Tree"
910
  msgstr "Árbol"
911
 
@@ -968,7 +971,7 @@ msgstr ""
968
  "lectura. Para poder usar la capacidad, tu cuenta de usuario se asignará al "
969
  "grupo."
970
 
971
- #: lib/views/class-groups-shortcodes.php:447
972
  #, php-format
973
  msgid "You are a member of the %s group."
974
  msgstr "Es miembro del grupo %s."
@@ -1005,12 +1008,12 @@ msgstr ""
1005
  msgid "You cannot set any access restrictions."
1006
  msgstr "No puedes establecer ninguna restricción de acceso."
1007
 
1008
- #: lib/views/class-groups-shortcodes.php:442
1009
  #, php-format
1010
  msgid "You have joined the %s group."
1011
  msgstr "Se ha unido al grupo %s."
1012
 
1013
- #: lib/views/class-groups-shortcodes.php:518
1014
  #, php-format
1015
  msgid "You have left the %s group."
1016
  msgstr "Ha dejado el grupo %s."
4
  msgstr ""
5
  "Project-Id-Version: Groups\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2015-06-30 20:10+0200\n"
8
+ "PO-Revision-Date: 2015-06-30 20:14+0200\n"
9
  "Last-Translator: Gemma\n"
10
  "Language-Team: itthinx.com\n"
11
  "Language: es_ES\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Generator: Poedit 1.8.2\n"
18
 
19
  #: lib/core/class-groups-pagination.php:140
20
  #, php-format
250
  msgid "Cancel"
251
  msgstr "Cancelar"
252
 
253
+ #: lib/admin/class-groups-admin.php:194
254
  #: lib/admin/groups-admin-capabilities.php:193
255
  #: lib/admin/groups-admin-groups-add.php:99
256
  #: lib/admin/groups-admin-groups-edit.php:119
468
  #: lib/admin/class-groups-admin-user-profile.php:66
469
  #: lib/admin/class-groups-admin-user-profile.php:90
470
  #: lib/admin/class-groups-admin-users.php:302
471
+ #: lib/admin/class-groups-admin.php:230 lib/admin/class-groups-admin.php:231
472
+ #: lib/admin/class-groups-admin.php:260 lib/core/class-groups-help.php:61
473
+ #: lib/core/class-groups-help.php:66 lib/core/class-groups-help.php:67
 
474
  msgid "Groups"
475
  msgstr "Groups"
476
 
477
+ #: lib/admin/class-groups-admin.php:140
478
  msgctxt "menu item title"
479
  msgid "Groups"
480
  msgstr "Grupos"
481
 
482
+ #: lib/admin/class-groups-admin.php:158
483
  msgctxt "menu-title"
484
  msgid "Groups"
485
  msgstr "Groups"
486
 
487
+ #: lib/admin/class-groups-admin.php:157 lib/admin/groups-admin-groups.php:200
488
  msgctxt "page-title"
489
  msgid "Groups"
490
  msgstr "Grupos"
491
 
492
+ #: lib/admin/class-groups-admin.php:193
493
  msgid "Groups Capabilities"
494
  msgstr "Capacidades de los Grupos"
495
 
497
  msgid "Groups network options"
498
  msgstr "Opciones de red para Grupos"
499
 
500
+ #: lib/admin/class-groups-admin.php:206 lib/admin/groups-admin-options.php:133
501
  msgid "Groups options"
502
  msgstr "Opciones de Groups"
503
 
530
  msgid "Inherited capabilities:"
531
  msgstr "Capacidades "
532
 
533
+ #: lib/views/class-groups-shortcodes.php:469
534
  #, php-format
535
  msgid "Join the %s group"
536
  msgstr "Unirse al grupo %s"
537
 
538
+ #: lib/views/class-groups-shortcodes.php:553
539
  #, php-format
540
  msgid "Leave the %s group"
541
  msgstr "Dejar el grupo %s"
548
  "Imaginemos que quieres limitar la visibilidad de una entrada a miembros del "
549
  "grupo <em>Premium</em>."
550
 
551
+ #: lib/views/class-groups-shortcodes.php:121
552
+ msgid "Log out"
553
+ msgstr "Desconectar"
554
+
555
  #: lib/access/class-groups-access-meta-boxes.php:513
556
  msgid "Media"
557
  msgstr "Multimedia"
645
  "Sólo los grupos o usuarios que tienen alguna de las capacidades "
646
  "seleccionadas pueden leer este %s."
647
 
648
+ #: lib/admin/class-groups-admin.php:207 lib/admin/class-groups-admin.php:254
649
  #: lib/core/class-groups-help.php:68
650
  msgid "Options"
651
  msgstr "Opciones"
785
  "\">itthinx</a>."
786
  msgstr ""
787
  "Gracias por usar <a href=\"http://www.itthinx.com/plugins/groups\" target="
788
+ "\"_blank\">Groups</a> de <a href=\"http://www.itthinx.com\" target=\"_blank"
789
  "\">itthinx</a>."
790
 
791
  #: lib/admin/groups-admin-capabilities-edit.php:120
908
  msgid "This group has no capabilities."
909
  msgstr "Este grupo no tiene capacidades."
910
 
911
+ #: lib/admin/class-groups-admin.php:179 lib/admin/class-groups-admin.php:180
912
  msgid "Tree"
913
  msgstr "Árbol"
914
 
971
  "lectura. Para poder usar la capacidad, tu cuenta de usuario se asignará al "
972
  "grupo."
973
 
974
+ #: lib/views/class-groups-shortcodes.php:527
975
  #, php-format
976
  msgid "You are a member of the %s group."
977
  msgstr "Es miembro del grupo %s."
1008
  msgid "You cannot set any access restrictions."
1009
  msgstr "No puedes establecer ninguna restricción de acceso."
1010
 
1011
+ #: lib/views/class-groups-shortcodes.php:522
1012
  #, php-format
1013
  msgid "You have joined the %s group."
1014
  msgstr "Se ha unido al grupo %s."
1015
 
1016
+ #: lib/views/class-groups-shortcodes.php:598
1017
  #, php-format
1018
  msgid "You have left the %s group."
1019
  msgstr "Ha dejado el grupo %s."
languages/groups-fr_FR.mo ADDED
Binary file
languages/groups-fr_FR.po ADDED
@@ -0,0 +1,1239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Groups\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-06-30 20:09+0200\n"
6
+ "PO-Revision-Date: 2015-06-30 20:09+0200\n"
7
+ "Last-Translator: Stéphane PASSEDOUET <s.passedouet@pheeric.com>\n"
8
+ "Language-Team: itthinx.com\n"
9
+ "Language: fr_FR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
14
+ "X-Generator: Poedit 1.8.2\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ # @ default
23
+ #: lib/core/class-groups-pagination.php:140
24
+ #, php-format
25
+ msgctxt "paging"
26
+ msgid "%1$s of %2$s"
27
+ msgstr "%1$s sur %2$s"
28
+
29
+ # @ groups
30
+ #: lib/admin/class-groups-admin-posts.php:184
31
+ msgid "&mdash; No Change &mdash;"
32
+ msgstr "&mdash; Aucun changement &mdash;"
33
+
34
+ # @ groups
35
+ #: lib/admin/class-groups-admin-posts.php:136
36
+ msgid "(only unrestricted)"
37
+ msgstr "(seulement sans restriction)"
38
+
39
+ # @ groups
40
+ #: lib/admin/class-groups-admin-users.php:329
41
+ msgid "--"
42
+ msgstr "--"
43
+
44
+ # @ default
45
+ #: lib/core/class-groups-pagination.php:96
46
+ #, php-format
47
+ msgid "1 item"
48
+ msgid_plural "%s items"
49
+ msgstr[0] "1 article"
50
+ msgstr[1] "%s articles"
51
+
52
+ # @ groups
53
+ #: lib/admin/class-groups-admin-post-columns.php:76
54
+ #, php-format
55
+ msgid "<span title=\"%s\">Access Restrictions</span>"
56
+ msgstr "<span title=\"%s\">Restrictions d'Accès</span>"
57
+
58
+ # @ groups
59
+ #: lib/admin/groups-admin-capabilities-remove.php:151
60
+ #: lib/admin/groups-admin-groups-remove.php:155
61
+ #, php-format
62
+ msgid "<strong>%s</strong>"
63
+ msgstr "<strong>%s</strong>"
64
+
65
+ # @ groups
66
+ #: lib/access/class-groups-access-meta-boxes.php:163
67
+ msgid ""
68
+ "<sup>*</sup> For each capability, the groups that have the capability "
69
+ "assigned are shown within parenthesis. You can choose a capability by typing "
70
+ "part of the group's or the capability's name."
71
+ msgstr ""
72
+ "<sup>*</sup> Pour chaque capacité, les groupes qui ont une capacité "
73
+ "attribuée sont indiqués entre parenthèses. Vous pouvez choisir une capacité "
74
+ "en tapant une partie du nom du Groupe ou de ses capacités."
75
+
76
+ # @ groups
77
+ #: lib/admin/groups-admin-capabilities.php:126
78
+ msgid "A Duck!"
79
+ msgstr "Un Canard !"
80
+
81
+ # @ groups
82
+ #: lib/admin/groups-admin-options.php:297
83
+ msgid "A minimum set of permissions will be preserved."
84
+ msgstr "Un minimum d'autorisations sera préservée."
85
+
86
+ # @ groups
87
+ #: lib/admin/groups-admin-options.php:50
88
+ msgid "Access Groups"
89
+ msgstr "Groupes d'Accès"
90
+
91
+ # @ groups
92
+ #: lib/admin/class-groups-admin-posts.php:181
93
+ msgid "Access Restrictions"
94
+ msgstr "Restrictions d'Accès"
95
+
96
+ # @ groups
97
+ #: lib/admin/groups-admin-capabilities-add.php:34
98
+ #: lib/admin/groups-admin-capabilities-add.php:92
99
+ #: lib/admin/groups-admin-capabilities-add.php:96
100
+ #: lib/admin/groups-admin-capabilities-edit.php:35
101
+ #: lib/admin/groups-admin-capabilities-edit.php:100
102
+ #: lib/admin/groups-admin-capabilities-edit.php:104
103
+ #: lib/admin/groups-admin-capabilities-remove.php:35
104
+ #: lib/admin/groups-admin-capabilities-remove.php:87
105
+ #: lib/admin/groups-admin-capabilities-remove.php:91
106
+ #: lib/admin/groups-admin-capabilities-remove.php:114
107
+ #: lib/admin/groups-admin-capabilities-remove.php:183
108
+ #: lib/admin/groups-admin-capabilities-remove.php:187
109
+ #: lib/admin/groups-admin-capabilities.php:48
110
+ #: lib/admin/groups-admin-capabilities.php:141
111
+ #: lib/admin/groups-admin-capabilities.php:172
112
+ #: lib/admin/groups-admin-capabilities.php:178
113
+ #: lib/admin/groups-admin-groups-add.php:36
114
+ #: lib/admin/groups-admin-groups-add.php:141
115
+ #: lib/admin/groups-admin-groups-add.php:145
116
+ #: lib/admin/groups-admin-groups-edit.php:37
117
+ #: lib/admin/groups-admin-groups-edit.php:178
118
+ #: lib/admin/groups-admin-groups-edit.php:182
119
+ #: lib/admin/groups-admin-groups-remove.php:35
120
+ #: lib/admin/groups-admin-groups-remove.php:87
121
+ #: lib/admin/groups-admin-groups-remove.php:91
122
+ #: lib/admin/groups-admin-groups-remove.php:114
123
+ #: lib/admin/groups-admin-groups-remove.php:185
124
+ #: lib/admin/groups-admin-groups-remove.php:189
125
+ #: lib/admin/groups-admin-groups.php:49 lib/admin/groups-admin-groups.php:148
126
+ #: lib/admin/groups-admin-groups.php:179 lib/admin/groups-admin-groups.php:185
127
+ #: lib/admin/groups-admin-options.php:39
128
+ #: lib/admin/groups-admin-options.php:329
129
+ #: lib/admin/groups-admin-tree-view.php:37 lib/test/groups-tests.php:385
130
+ #: lib/test/groups-tests.php:391
131
+ msgid "Access denied."
132
+ msgstr "Accès refusé."
133
+
134
+ # @ groups
135
+ #: lib/admin/groups-admin-options.php:218
136
+ msgid "Access restricions"
137
+ msgstr "Restrictions d'accès"
138
+
139
+ # @ groups
140
+ #: lib/access/class-groups-access-meta-boxes.php:96
141
+ #: lib/access/class-groups-access-meta-boxes.php:106
142
+ #: lib/access/class-groups-access-meta-boxes.php:120
143
+ #: lib/access/class-groups-access-meta-boxes.php:123
144
+ #: lib/access/class-groups-access-meta-boxes.php:602
145
+ msgid "Access restrictions"
146
+ msgstr "Les Restrictions d'Accès"
147
+
148
+ # @ groups
149
+ #: lib/admin/class-groups-admin-posts.php:124
150
+ #: lib/admin/class-groups-admin-posts.php:125
151
+ msgid "Access restrictions &hellip;"
152
+ msgstr "Restrictions d'accès &hellip;"
153
+
154
+ # @ groups
155
+ #: lib/admin/groups-admin-capabilities-add.php:70
156
+ #: lib/admin/groups-admin-capabilities.php:201
157
+ #: lib/admin/groups-admin-groups-add.php:119
158
+ #: lib/admin/groups-admin-groups.php:208
159
+ msgid "Add"
160
+ msgstr "Ajouter"
161
+
162
+ # @ groups
163
+ #: lib/admin/groups-admin-capabilities-add.php:51
164
+ msgid "Add a new capability"
165
+ msgstr "Ajouter une nouvelle capacité"
166
+
167
+ # @ groups
168
+ #: lib/admin/groups-admin-groups-add.php:60
169
+ msgid "Add a new group"
170
+ msgstr "Ajoutez un nouveau groupe"
171
+
172
+ # @ groups
173
+ #: lib/admin/groups-admin-groups.php:375
174
+ msgid "Add capability"
175
+ msgstr "Ajouter une capacité"
176
+
177
+ # @ groups
178
+ #: lib/admin/class-groups-admin-posts.php:185
179
+ msgid "Add restriction"
180
+ msgstr "Ajouter une restriction"
181
+
182
+ # @ groups
183
+ #: lib/admin/class-groups-admin-users.php:182
184
+ msgid "Add to group"
185
+ msgstr "Ajouter au groupe"
186
+
187
+ # @ groups
188
+ #: lib/access/class-groups-access-meta-boxes.php:149
189
+ msgid ""
190
+ "Adding the group and capability manually and enabling it for access "
191
+ "restriction"
192
+ msgstr ""
193
+ "Ajout manuellement du groupe et de la capacité et leur accorder une "
194
+ "restriction d'accès"
195
+
196
+ # @ groups
197
+ #: lib/admin/groups-admin-options.php:51
198
+ msgid "Administer Groups"
199
+ msgstr "Administrer les Groupes"
200
+
201
+ # @ groups
202
+ #: lib/admin/groups-admin-options.php:52
203
+ msgid "Administer Groups plugin options"
204
+ msgstr "Administrer les Options du plugin &quot;Groups&quot;"
205
+
206
+ # @ groups
207
+ #: lib/admin/groups-admin-options.php:210
208
+ msgid "Administrator Access Override"
209
+ msgstr "Priorité Accès Administrateur"
210
+
211
+ # @ groups
212
+ #: lib/admin/groups-admin-options.php:214
213
+ msgid ""
214
+ "Administrators override all access permissions derived from Groups "
215
+ "capabilities."
216
+ msgstr ""
217
+ "Les administrateurs ont priorité sur toutes les autorisations d'accès issues "
218
+ "des Capacités des Groupes."
219
+
220
+ # @ groups
221
+ #: lib/admin/class-groups-admin-users.php:185
222
+ #: lib/admin/groups-admin-capabilities.php:309
223
+ #: lib/admin/groups-admin-capabilities.php:335
224
+ #: lib/admin/groups-admin-capabilities.php:349
225
+ #: lib/admin/groups-admin-groups.php:316 lib/admin/groups-admin-groups.php:342
226
+ #: lib/admin/groups-admin-groups.php:378
227
+ msgid "Apply"
228
+ msgstr "Appliquer"
229
+
230
+ # @ groups
231
+ #: lib/access/class-groups-access-meta-boxes.php:159
232
+ msgid ""
233
+ "Become a member of the <em>Premium</em> group - this is required so you can "
234
+ "choose the <em>premium</em> capability to restrict access to a post."
235
+ msgstr ""
236
+ "Devenez un membre du groupe <em>Premium</ em> - cela est nécessaire afin que "
237
+ "vous puissiez choisir la capacité <em> Premium </ em> pour restreindre "
238
+ "l'accès à une publication."
239
+
240
+ # @ groups
241
+ #: lib/admin/groups-admin-capabilities.php:346
242
+ #: lib/admin/groups-admin-groups.php:373
243
+ msgid "Bulk Actions"
244
+ msgstr "Actions Groupées"
245
+
246
+ # @ groups
247
+ #: lib/admin/groups-admin-options.php:363
248
+ msgid ""
249
+ "CAUTION: If this option is active while the plugin is deactivated, ALL "
250
+ "plugin settings and data will be DELETED for <strong>all sites</strong>. If "
251
+ "you are going to use this option, now would be a good time to make a backup. "
252
+ "By enabling this option you agree to be solely responsible for any loss of "
253
+ "data or any other consequences thereof."
254
+ msgstr ""
255
+ "ATTENTION : Si cette option est activée lorsque l'extension est désactivée, "
256
+ "tous les paramètres de l'extension et les données seront supprimés pour tous "
257
+ "les sites. Si vous êtes sur le point d'utiliser cette option, c'est le "
258
+ "moment de faire une sauvegarde ! En activant cette option, vous acceptez "
259
+ "d'être seul responsable de toute perte de données et/ou des conséquences "
260
+ "liées à celle-ci."
261
+
262
+ # @ groups
263
+ #: lib/admin/groups-admin-options.php:311
264
+ msgid ""
265
+ "CAUTION: If this option is active while the plugin is deactivated, ALL "
266
+ "plugin settings and data will be DELETED. If you are going to use this "
267
+ "option, now would be a good time to make a backup. By enabling this option "
268
+ "you agree to be solely responsible for any loss of data or any other "
269
+ "consequences thereof."
270
+ msgstr ""
271
+ "ATTENTION: Si cette option est active lorsque le plugin est désactivé, TOUS "
272
+ "les paramètres et données de l'extension seront effacés. Si vous pensez "
273
+ "utiliser cette option, il serait bon de faire une sauvegarde dès maintenant. "
274
+ "En activant cette option, vous acceptez d'être seul responsable de toute "
275
+ "perte de données et des autres liées à cette activation."
276
+
277
+ # @ groups
278
+ #: lib/admin/groups-admin-capabilities-add.php:72
279
+ #: lib/admin/groups-admin-capabilities-edit.php:81
280
+ #: lib/admin/groups-admin-capabilities-remove.php:66
281
+ #: lib/admin/groups-admin-capabilities-remove.php:156
282
+ #: lib/admin/groups-admin-groups-add.php:121
283
+ #: lib/admin/groups-admin-groups-edit.php:160
284
+ #: lib/admin/groups-admin-groups-remove.php:66
285
+ #: lib/admin/groups-admin-groups-remove.php:160
286
+ msgid "Cancel"
287
+ msgstr "Annuler"
288
+
289
+ # @ groups
290
+ #: lib/admin/class-groups-admin.php:194
291
+ #: lib/admin/groups-admin-capabilities.php:193
292
+ #: lib/admin/groups-admin-groups-add.php:99
293
+ #: lib/admin/groups-admin-groups-edit.php:119
294
+ #: lib/admin/groups-admin-groups.php:297
295
+ #: lib/admin/groups-admin-options.php:251 lib/core/class-groups-help.php:69
296
+ msgid "Capabilities"
297
+ msgstr "Capacités"
298
+
299
+ # @ groups
300
+ #: lib/admin/groups-admin-groups.php:354 lib/admin/groups-admin-groups.php:355
301
+ msgid "Capabilities &hellip;"
302
+ msgstr "Capacités &hellip;"
303
+
304
+ # @ groups
305
+ #: lib/admin/groups-admin-capabilities-add.php:59
306
+ #: lib/admin/groups-admin-capabilities-edit.php:68
307
+ #: lib/admin/groups-admin-capabilities.php:289
308
+ #: lib/admin/groups-admin-capabilities.php:304
309
+ msgid "Capability"
310
+ msgstr "Capacité"
311
+
312
+ # @ groups
313
+ #: lib/admin/groups-admin-capabilities-remove.php:61
314
+ #, php-format
315
+ msgid "Capability : %s"
316
+ msgstr "Capacités : %s"
317
+
318
+ # @ groups
319
+ #: lib/admin/groups-admin-capabilities.php:302
320
+ msgid "Capability Id"
321
+ msgstr "Id de la Capacité"
322
+
323
+ # @ groups
324
+ #: lib/admin/class-groups-admin-posts.php:195
325
+ #: lib/admin/class-groups-admin-posts.php:196
326
+ msgid "Choose access restrictions &hellip;"
327
+ msgstr "Choisissez des restrictions d'accès &hellip;"
328
+
329
+ # @ groups
330
+ #: lib/admin/groups-admin-groups-add.php:102
331
+ #: lib/admin/groups-admin-groups-edit.php:122
332
+ msgid "Choose capabilities &hellip;"
333
+ msgstr "Choisissez les capacités &hellip;"
334
+
335
+ # @ groups
336
+ #: lib/admin/class-groups-admin-user-profile.php:100
337
+ #: lib/admin/class-groups-admin-user-profile.php:101
338
+ #: lib/admin/class-groups-admin-users.php:164
339
+ #: lib/admin/class-groups-admin-users.php:165
340
+ msgid "Choose groups &hellip;"
341
+ msgstr "Choisissez des Groupes &hellip;"
342
+
343
+ # @ groups
344
+ #: lib/access/class-groups-access-meta-boxes.php:213
345
+ #: lib/access/class-groups-access-meta-boxes.php:551
346
+ msgid ""
347
+ "Choose one or more capabilities to restrict access. Groups that grant access "
348
+ "through the capabilities are shown in parenthesis. If no capabilities are "
349
+ "available yet, you can use the quick-create box to create a group and "
350
+ "capability enabled for access restriction on the fly."
351
+ msgstr ""
352
+ "Choisissez une ou plusieurs capacités pour restreindre l'accès. Les Groupes "
353
+ "qui autorisent l'accès en fonction de capacités déjà définies sont indiqués "
354
+ "entre parenthèses. Si aucune capacité n'est encore disponible, vous pouvez "
355
+ "utiliser la boîte création rapide pour créer un groupe et une capacité pour "
356
+ "lesquels une restriction d'accès sera immédiatement attribuée."
357
+
358
+ # @ groups
359
+ #: lib/admin/groups-admin-capabilities.php:310
360
+ #: lib/admin/groups-admin-groups.php:317
361
+ msgid "Clear"
362
+ msgstr "Effacer"
363
+
364
+ # @ groups
365
+ #: lib/admin/groups-admin-capabilities.php:201
366
+ msgid "Click to add a new capability"
367
+ msgstr "Cliquez pour ajouter une nouvelle capacité"
368
+
369
+ # @ groups
370
+ #: lib/admin/groups-admin-groups.php:208
371
+ msgid "Click to add a new group"
372
+ msgstr "Cliquez pour ajouter un nouveau groupe"
373
+
374
+ # @ groups
375
+ #: lib/admin/groups-admin-capabilities.php:202
376
+ msgid "Click to refresh capabilities"
377
+ msgstr "Cliquez ici pour actualiser les capacités"
378
+
379
+ # @ groups
380
+ #: lib/access/class-groups-access-meta-boxes.php:275
381
+ msgid "Click to toggle the display of groups that grant the capabilities."
382
+ msgstr ""
383
+ "Cliquer ici pour basculer l'affichage des groupes qui attribuent les "
384
+ "capacités."
385
+
386
+ # @ groups
387
+ #: lib/admin/groups-admin-options.php:303
388
+ msgid "Deactivation and data persistence"
389
+ msgstr "Désactivation et Conservation des données"
390
+
391
+ # @ groups
392
+ #: lib/admin/groups-admin-options.php:360
393
+ msgid "Delete all Groups plugin data for ALL sites on network deactivation"
394
+ msgstr ""
395
+ "Effacer toutes les données de l'extension &quot;Groups&quot; pour TOUS les "
396
+ "sites lors de la désactivation du réseau"
397
+
398
+ # @ groups
399
+ #: lib/admin/groups-admin-options.php:307
400
+ msgid "Delete all Groups plugin data on deactivation"
401
+ msgstr ""
402
+ "Supprimer Toutes les données de l'extension Groups lorsque le Plugin est "
403
+ "désactivé"
404
+
405
+ # @ groups
406
+ #: lib/admin/groups-admin-capabilities-add.php:64
407
+ #: lib/admin/groups-admin-capabilities-edit.php:73
408
+ #: lib/admin/groups-admin-capabilities.php:290
409
+ #: lib/admin/groups-admin-groups-add.php:85
410
+ #: lib/admin/groups-admin-groups-edit.php:95
411
+ #: lib/admin/groups-admin-groups.php:296
412
+ msgid "Description"
413
+ msgstr "Description"
414
+
415
+ # @ groups
416
+ #: lib/admin/groups-admin-options.php:247
417
+ msgid ""
418
+ "Disabling this setting for a post type does not remove existing access "
419
+ "restrictions on individual posts of that type."
420
+ msgstr ""
421
+ "La désactivation de ce paramètre pour un type de publication ne supprime pas "
422
+ "les restrictions d'accès existantes sur les publications individuelles de ce "
423
+ "type."
424
+
425
+ # @ groups
426
+ #: lib/admin/groups-admin-capabilities.php:291
427
+ #: lib/admin/groups-admin-capabilities.php:403
428
+ #: lib/admin/groups-admin-groups.php:298 lib/admin/groups-admin-groups.php:455
429
+ msgid "Edit"
430
+ msgstr "Editer"
431
+
432
+ # @ groups
433
+ #: lib/admin/groups-admin-capabilities-edit.php:57
434
+ msgid "Edit a capability"
435
+ msgstr "Modifier une capacité"
436
+
437
+ # @ groups
438
+ #: lib/admin/groups-admin-groups-edit.php:69
439
+ msgid "Edit a group"
440
+ msgstr "Modifier un groupe"
441
+
442
+ # @ groups
443
+ #: lib/access/class-groups-access-meta-boxes.php:160
444
+ msgid ""
445
+ "Edit the post for which you want to restrict access and choose<sup>*</sup> "
446
+ "the <em>premium</em> capability."
447
+ msgstr ""
448
+ "Modifier la publication pour laquelle vous souhaitez restreindre l'accès et "
449
+ "choisissez<sup>*</sup> la capacité <em>premium</em>."
450
+
451
+ # @ groups
452
+ #: lib/access/class-groups-access-meta-boxes.php:203
453
+ #: lib/access/class-groups-access-meta-boxes.php:515
454
+ msgid "Enforce read access"
455
+ msgstr "Autoriser l'accès en lecture"
456
+
457
+ # @ groups
458
+ #: lib/admin/groups-admin-options.php:193
459
+ msgid ""
460
+ "Enhanced functionality is available via official <a href=\"http://www."
461
+ "itthinx.com/plugins/groups/\">Extensions</a> for Groups."
462
+ msgstr ""
463
+ "Une fonctionnalité améliorée est disponible via la page officielle de "
464
+ "l'extension <a href=\"http://www.itthinx.com/plugins/groups/\">Groups</a>"
465
+
466
+ # @ groups
467
+ #: lib/access/class-groups-access-meta-boxes.php:142
468
+ msgid ""
469
+ "Enter <em>Premium</em> in the quick-create field located in the Access "
470
+ "restrictions panel and save or update the post (or hit Enter)."
471
+ msgstr ""
472
+ "Tapez <em>Premium</em> dans le champ création rapide du panneau Restriction "
473
+ "d'Accès et sauvegardez ou mettez à jour la publication (ou appuyez sur "
474
+ "Entrée)."
475
+
476
+ # @ groups
477
+ #: lib/access/class-groups-access-meta-boxes.php:134
478
+ msgid "Example:"
479
+ msgstr "Exemple :"
480
+
481
+ # @ groups
482
+ #: lib/admin/groups-admin-capabilities.php:299
483
+ #: lib/admin/groups-admin-groups.php:306
484
+ msgid "Filters"
485
+ msgstr "Filtres"
486
+
487
+ # @ groups
488
+ #: lib/access/class-groups-access-meta-boxes.php:156
489
+ msgid ""
490
+ "Go to <strong>Groups > Capabilities</strong> and add the <em>premium</em> "
491
+ "capability."
492
+ msgstr ""
493
+ "Allez à <strong>Groups > Capabilities</strong> et ajoutez la capacité "
494
+ "<em>premium</em>."
495
+
496
+ # @ groups
497
+ #: lib/access/class-groups-access-meta-boxes.php:155
498
+ msgid ""
499
+ "Go to <strong>Groups > Groups</strong> and add the <em>Premium</em> group."
500
+ msgstr ""
501
+ "Allez à <strong>Groups > Groups</strong> et ajoutez le groupe <em>Premium</"
502
+ "em>."
503
+
504
+ # @ groups
505
+ #: lib/access/class-groups-access-meta-boxes.php:157
506
+ msgid ""
507
+ "Go to <strong>Groups > Groups</strong> and assign the <em>premium</em> "
508
+ "capability to the <em>Premium</em> group."
509
+ msgstr ""
510
+ "Allez à <strong>Groups > Groups</strong> et attribuez la capacité "
511
+ "<em>premium</em> au groupe <em>premium</em>."
512
+
513
+ # @ groups
514
+ #: lib/access/class-groups-access-meta-boxes.php:158
515
+ msgid ""
516
+ "Go to <strong>Groups > Options</strong> and enable the <em>premium</em> "
517
+ "capability to restrict access."
518
+ msgstr ""
519
+ "Allez à <strong>Groups > Options</strong> et activez la capacité "
520
+ "<em>premium</em> pour restreindre l'accès."
521
+
522
+ # @ groups
523
+ #: lib/admin/groups-admin-groups.php:295
524
+ msgid "Group"
525
+ msgstr "Groupe"
526
+
527
+ # @ groups
528
+ #: lib/admin/class-groups-admin-users.php:181
529
+ msgid "Group Actions"
530
+ msgstr "Actions du Groupe"
531
+
532
+ # @ groups
533
+ #: lib/admin/groups-admin-groups.php:309
534
+ msgid "Group Id"
535
+ msgstr "Identifiant du Groupe"
536
+
537
+ # @ groups
538
+ #: lib/admin/groups-admin-groups.php:311
539
+ msgid "Group Name"
540
+ msgstr "Nom du Groupe"
541
+
542
+ # @ groups
543
+ #: lib/admin/groups-admin-groups-remove.php:61
544
+ #, php-format
545
+ msgid "Group Name : %s"
546
+ msgstr "Nom du Groupe : %s"
547
+
548
+ # @ groups
549
+ #: lib/admin/class-groups-admin-user-profile.php:66
550
+ #: lib/admin/class-groups-admin-user-profile.php:90
551
+ #: lib/admin/class-groups-admin-users.php:302
552
+ #: lib/admin/class-groups-admin.php:230 lib/admin/class-groups-admin.php:231
553
+ #: lib/admin/class-groups-admin.php:260 lib/core/class-groups-help.php:61
554
+ #: lib/core/class-groups-help.php:66 lib/core/class-groups-help.php:67
555
+ msgid "Groups"
556
+ msgstr "Groupes"
557
+
558
+ #: lib/admin/class-groups-admin.php:140
559
+ msgctxt "menu item title"
560
+ msgid "Groups"
561
+ msgstr "Groupes"
562
+
563
+ #: lib/admin/class-groups-admin.php:158
564
+ msgctxt "menu-title"
565
+ msgid "Groups"
566
+ msgstr "Groups"
567
+
568
+ #: lib/admin/class-groups-admin.php:157 lib/admin/groups-admin-groups.php:200
569
+ msgctxt "page-title"
570
+ msgid "Groups"
571
+ msgstr "Groupes"
572
+
573
+ # @ groups
574
+ #: lib/admin/class-groups-admin.php:193
575
+ msgid "Groups Capabilities"
576
+ msgstr "Capacités des Groupes"
577
+
578
+ # @ groups
579
+ #: lib/admin/groups-admin-options.php:335
580
+ msgid "Groups network options"
581
+ msgstr "Options de réseau de l'extension &quot;Groups&quot;"
582
+
583
+ # @ groups
584
+ #: lib/admin/class-groups-admin.php:206 lib/admin/groups-admin-options.php:133
585
+ msgid "Groups options"
586
+ msgstr "Options des Groupes"
587
+
588
+ # @ groups
589
+ #: lib/core/class-groups-help.php:90
590
+ msgid ""
591
+ "Here you can <strong>add</strong>, <strong>edit</strong> and <strong>remove</"
592
+ "strong> groups."
593
+ msgstr ""
594
+ "Ici vous pouvez <strong>ajouter</strong>, <strong>modifier</strong> et "
595
+ "<strong>supprimer</strong> les groupes."
596
+
597
+ # @ groups
598
+ #: lib/admin/groups-admin-capabilities.php:288
599
+ #: lib/admin/groups-admin-groups.php:294
600
+ msgid "Id"
601
+ msgstr "Id"
602
+
603
+ # @ groups
604
+ #: lib/admin/groups-admin-options.php:299
605
+ msgid "If you lock yourself out, please ask an administrator to help."
606
+ msgstr ""
607
+ "Si vous êtes verrouillés, veuillez demander à un administrateur afin "
608
+ "d'obtenir de l'aide."
609
+
610
+ # @ groups
611
+ #: lib/admin/groups-admin-options.php:254
612
+ msgid ""
613
+ "Include these capabilities to enforce read access on posts. The selected "
614
+ "capabilities will be offered to restrict access to posts."
615
+ msgstr ""
616
+ "Inclure ces capacités afin d'autoriser l'accès en lecture des publications. "
617
+ "Les capacités sélectionnées seront proposées pour restreindre l'accès aux "
618
+ "publications."
619
+
620
+ #: lib/admin/groups-admin-groups-edit.php:143
621
+ msgid "Inherited capabilities:"
622
+ msgstr "Capacités héritée:"
623
+
624
+ # @ groups
625
+ #: lib/views/class-groups-shortcodes.php:469
626
+ #, php-format
627
+ msgid "Join the %s group"
628
+ msgstr "Rejoignez le groupe %s"
629
+
630
+ # @ groups
631
+ #: lib/views/class-groups-shortcodes.php:553
632
+ #, php-format
633
+ msgid "Leave the %s group"
634
+ msgstr "Quitter le groupe %s"
635
+
636
+ # @ groups
637
+ #: lib/access/class-groups-access-meta-boxes.php:136
638
+ msgid ""
639
+ "Let's assume that you want to limit the visibility of a post to members of "
640
+ "the <em>Premium</em> group."
641
+ msgstr ""
642
+ "Supposons que vous voulez limiter la visibilité d'une publication aux "
643
+ "membres du groupe <em>Premium</ em>."
644
+
645
+ #: lib/views/class-groups-shortcodes.php:121
646
+ msgid "Log out"
647
+ msgstr "Se déconnecter"
648
+
649
+ # @ groups
650
+ #: lib/access/class-groups-access-meta-boxes.php:513
651
+ msgid "Media"
652
+ msgstr "Médias"
653
+
654
+ # @ groups
655
+ #: lib/access/class-groups-access-meta-boxes.php:230
656
+ #: lib/access/class-groups-access-meta-boxes.php:568
657
+ #, php-format
658
+ msgid "Members of the %1$s group can access this %2$s through this capability."
659
+ msgid_plural ""
660
+ "Members of the %1$s groups can access this %2$s through this capability."
661
+ msgstr[0] ""
662
+ "Les Membres du groupe %1$s peuvent accéder à %2$s grâce à cette capacité."
663
+ msgstr[1] ""
664
+ "Les Membres des groupee %1$s peuvent accéder à %2$s grâce à cette capacité."
665
+
666
+ # @ groups
667
+ #: lib/admin/groups-admin-groups-add.php:71
668
+ #: lib/admin/groups-admin-groups-edit.php:81
669
+ msgid "Name"
670
+ msgstr "Nom"
671
+
672
+ # @ groups
673
+ #: lib/admin/groups-admin-options.php:357
674
+ msgid "Network deactivation and data persistence"
675
+ msgstr "Désactivation du réseau et de la persistance des données"
676
+
677
+ # @ groups
678
+ #: lib/admin/groups-admin-capabilities.php:201
679
+ msgid "New Capability"
680
+ msgstr "Nouvelle Capacité"
681
+
682
+ # @ groups
683
+ #: lib/admin/groups-admin-groups.php:208
684
+ msgid "New Group"
685
+ msgstr "Nouveau Groupe"
686
+
687
+ # @ groups
688
+ #: lib/access/class-groups-access-meta-boxes.php:239
689
+ #: lib/access/class-groups-access-meta-boxes.php:577
690
+ msgid ""
691
+ "No groups grant access through this capability. To grant access to group "
692
+ "members using this capability, you should assign it to a group and enable "
693
+ "the capability for access restriction."
694
+ msgstr ""
695
+ "Cette Capacité n'accorde pas d'accès aux groupes. Pour accorder l'accès aux "
696
+ "membres du groupe à l'aide de cette capacité, vous devez l'attribuer à un "
697
+ "groupe et activer la fonction de restriction d'accès."
698
+
699
+ # @ groups
700
+ #: lib/admin/groups-admin-capabilities.php:123
701
+ msgid "No new capabilities have been found."
702
+ msgstr "Pas de nouvelles capacités trouvées."
703
+
704
+ # @ groups
705
+ #: lib/admin/groups-admin-capabilities-remove.php:120
706
+ msgid "No such capabilities."
707
+ msgstr "Aucunes Capacités."
708
+
709
+ # @ groups
710
+ #: lib/admin/groups-admin-capabilities-edit.php:41
711
+ #: lib/admin/groups-admin-capabilities-remove.php:41
712
+ msgid "No such capability."
713
+ msgstr "Aucune capacité."
714
+
715
+ # @ groups
716
+ #: lib/admin/groups-admin-groups-edit.php:43
717
+ #: lib/admin/groups-admin-groups-remove.php:41
718
+ msgid "No such group."
719
+ msgstr "Aucun groupe."
720
+
721
+ # @ groups
722
+ #: lib/admin/groups-admin-groups-remove.php:120
723
+ msgid "No such groups."
724
+ msgstr "Aucuns Groupes."
725
+
726
+ # @ groups
727
+ #: lib/access/class-groups-access-meta-boxes.php:131
728
+ msgid ""
729
+ "Note that you must be a member of a group that has such a capability "
730
+ "assigned."
731
+ msgstr ""
732
+ "Notez que vous devez être membre d'un groupe qui a une telle capacité "
733
+ "attribuée."
734
+
735
+ # @ groups
736
+ #: lib/admin/groups-admin-capabilities.php:121
737
+ #, php-format
738
+ msgid "One capability has been added."
739
+ msgid_plural "%d capabilities have been added."
740
+ msgstr[0] "Une capacité a été ajouté."
741
+ msgstr[1] "%d capacités ont été ajoutées."
742
+
743
+ # @ groups
744
+ #: lib/admin/class-groups-admin-post-columns.php:77
745
+ msgid "One or more capabilities required to read the entry."
746
+ msgstr "Un ou plusieurs capacités sont requises pour lire l'entrée."
747
+
748
+ # @ groups
749
+ #: lib/access/class-groups-access-meta-boxes.php:271
750
+ #: lib/access/class-groups-access-meta-boxes.php:598
751
+ #, php-format
752
+ msgid ""
753
+ "Only groups or users that have one of the selected capabilities are allowed "
754
+ "to read this %s."
755
+ msgstr ""
756
+ "Seuls les groupes ou les utilisateurs qui ont l'une des capacités "
757
+ "sélectionnées sont autorisés à lire ce %s."
758
+
759
+ # @ groups
760
+ #: lib/admin/class-groups-admin.php:207 lib/admin/class-groups-admin.php:254
761
+ #: lib/core/class-groups-help.php:68
762
+ msgid "Options"
763
+ msgstr "Options"
764
+
765
+ # @ groups
766
+ #: lib/admin/groups-admin-options.php:125
767
+ msgid "Options saved."
768
+ msgstr "Options enregistrées."
769
+
770
+ # @ groups
771
+ #: lib/admin/groups-admin-groups-add.php:78
772
+ #: lib/admin/groups-admin-groups-edit.php:88
773
+ msgid "Parent"
774
+ msgstr "Parent"
775
+
776
+ # @ groups
777
+ #: lib/admin/groups-admin-options.php:293
778
+ msgid "Permissions"
779
+ msgstr "Autorisations"
780
+
781
+ # @ groups
782
+ #: lib/admin/groups-admin-groups-remove.php:148
783
+ msgid ""
784
+ "Please confirm removal of the following groups. This action cannot be undone."
785
+ msgstr ""
786
+ "Confirmez svp la suppression des groupes suivants. Cette action ne peut être "
787
+ "annulée."
788
+
789
+ # @ groups
790
+ #: lib/admin/groups-admin-capabilities-remove.php:145
791
+ msgid ""
792
+ "Please confirm to remove the following capabilities. This action cannot be "
793
+ "undone."
794
+ msgstr ""
795
+ "SVP, Confirmez la suppression des capacités suivantes. Cette action ne peut "
796
+ "être annulée."
797
+
798
+ # @ groups
799
+ #: lib/access/class-groups-access-meta-boxes.php:188
800
+ msgid "Post"
801
+ msgstr "Publication"
802
+
803
+ # @ groups
804
+ #: lib/admin/groups-admin-options.php:220
805
+ msgid "Post types"
806
+ msgstr "Types de publication"
807
+
808
+ # @ groups
809
+ #: lib/access/class-groups-access-meta-boxes.php:309
810
+ msgid "Quick-create group &amp; capability"
811
+ msgstr "Créez rapidement un groupe &amp; une capacité"
812
+
813
+ # @ groups
814
+ #: lib/access/class-groups-post-access.php:58
815
+ msgid "Read Post"
816
+ msgstr "Lire la Publication"
817
+
818
+ # @ groups
819
+ #: lib/admin/groups-admin-capabilities.php:202
820
+ msgid "Refresh"
821
+ msgstr "Actualiser"
822
+
823
+ # @ groups
824
+ #: lib/auto/class-groups-registered.php:73
825
+ msgid "Registered"
826
+ msgstr "Enregistré"
827
+
828
+ # @ groups
829
+ #: lib/admin/groups-admin-capabilities-remove.php:64
830
+ #: lib/admin/groups-admin-capabilities-remove.php:155
831
+ #: lib/admin/groups-admin-capabilities.php:292
832
+ #: lib/admin/groups-admin-capabilities.php:347
833
+ #: lib/admin/groups-admin-capabilities.php:408
834
+ #: lib/admin/groups-admin-groups-remove.php:64
835
+ #: lib/admin/groups-admin-groups-remove.php:159
836
+ #: lib/admin/groups-admin-groups.php:299 lib/admin/groups-admin-groups.php:460
837
+ msgid "Remove"
838
+ msgstr "Supprimer"
839
+
840
+ # @ groups
841
+ #: lib/admin/groups-admin-capabilities-remove.php:54
842
+ msgid "Remove a capability"
843
+ msgstr "Supprimer une capacité"
844
+
845
+ # @ groups
846
+ #: lib/admin/groups-admin-groups-remove.php:54
847
+ msgid "Remove a group"
848
+ msgstr "Supprimer un Groupe"
849
+
850
+ # @ groups
851
+ #: lib/admin/groups-admin-capabilities-remove.php:138
852
+ msgid "Remove capabilities"
853
+ msgstr "Retirer les capacités"
854
+
855
+ # @ groups
856
+ #: lib/admin/groups-admin-groups.php:376
857
+ msgid "Remove capability"
858
+ msgstr "Supprimer une Capacité"
859
+
860
+ # @ groups
861
+ #: lib/admin/class-groups-admin-users.php:183
862
+ msgid "Remove from group"
863
+ msgstr "Retirer du groupe"
864
+
865
+ # @ groups
866
+ #: lib/admin/groups-admin-groups.php:374
867
+ msgid "Remove group"
868
+ msgstr "Supprimer le groupe"
869
+
870
+ # @ groups
871
+ #: lib/admin/groups-admin-groups-remove.php:140
872
+ msgid "Remove groups"
873
+ msgstr "Supprimer les Groupes"
874
+
875
+ # @ groups
876
+ #: lib/admin/class-groups-admin-posts.php:186
877
+ msgid "Remove restriction"
878
+ msgstr "Supprimer la restriction"
879
+
880
+ # @ groups
881
+ #: lib/admin/groups-admin-capabilities.php:332
882
+ #: lib/admin/groups-admin-groups.php:339
883
+ msgid "Results per page"
884
+ msgstr "Résultats par page"
885
+
886
+ # @ groups
887
+ #: lib/admin/groups-admin-options.php:148
888
+ msgid "Role"
889
+ msgstr "Rôle"
890
+
891
+ # @ groups
892
+ #: lib/admin/groups-admin-capabilities-edit.php:79
893
+ #: lib/admin/groups-admin-groups-edit.php:158
894
+ #: lib/admin/groups-admin-options.php:205
895
+ #: lib/admin/groups-admin-options.php:317
896
+ #: lib/admin/groups-admin-options.php:367
897
+ msgid "Save"
898
+ msgstr "Sauvegarder"
899
+
900
+ # @ groups
901
+ #: lib/admin/groups-admin-options.php:223
902
+ msgid "Show access restrictions for these post types."
903
+ msgstr "Afficher les Restrictions d'Accès pour ces types de publications."
904
+
905
+ # @ groups
906
+ #: lib/access/class-groups-access-meta-boxes.php:278
907
+ msgid "Show groups"
908
+ msgstr "Afficher les Groupes"
909
+
910
+ # @ groups
911
+ #: lib/admin/groups-admin-options.php:279
912
+ msgid "Show groups in user profiles."
913
+ msgstr "Afficher le Groupe dans le profile de l'Utilisateur."
914
+
915
+ # @ groups
916
+ #: lib/admin/groups-admin-options.php:288
917
+ msgid "Show the Groups tree view."
918
+ msgstr "Afficher l'arborescence des Groupes."
919
+
920
+ # @ groups
921
+ #: lib/core/class-groups-help.php:115
922
+ msgid ""
923
+ "Thank you for using <a href=\"http://www.itthinx.com/plugins/groups\" target="
924
+ "\"_blank\">Groups</a> by <a href=\"http://www.itthinx.com\" target=\"_blank"
925
+ "\">itthinx</a>."
926
+ msgstr ""
927
+ "Merci d'utiliser <a href=\"http://www.itthinx.com/plugins/groups\" target="
928
+ "\"_blank\">Groups</a> par <a href=\"http://www.itthinx.com\" target=\"_blank"
929
+ "\">itthinx</a>."
930
+
931
+ # @ groups
932
+ #: lib/admin/groups-admin-capabilities-edit.php:120
933
+ #, php-format
934
+ msgid ""
935
+ "The <em>%s</em> capability already exists and cannot be assigned to this one."
936
+ msgstr ""
937
+ "La capacité <em>%s</em> existe déjà et ne peut pas être attribuée à ce "
938
+ "groupe."
939
+
940
+ # @ groups
941
+ #: lib/admin/groups-admin-capabilities-add.php:107
942
+ #, php-format
943
+ msgid "The <em>%s</em> capability already exists."
944
+ msgstr "La Capacité <em>%s</em> existe déjà."
945
+
946
+ # @ groups
947
+ #: lib/admin/groups-admin-capabilities-edit.php:130
948
+ #, php-format
949
+ msgid "The <em>%s</em> capability could not be updated."
950
+ msgstr "La capacité <em>%s</em> n'a pas pu être mise à jour."
951
+
952
+ # @ groups
953
+ #: lib/admin/groups-admin-capabilities.php:62
954
+ #, php-format
955
+ msgid "The <em>%s</em> capability has been created."
956
+ msgstr "La Capacité <em>%s</em> a bien été créée."
957
+
958
+ # @ groups
959
+ #: lib/admin/groups-admin-capabilities.php:70
960
+ #, php-format
961
+ msgid "The <em>%s</em> capability has been updated."
962
+ msgstr "La capacité <em>%s</em> a été mise à jour."
963
+
964
+ # @ groups
965
+ #: lib/admin/groups-admin-groups-edit.php:206
966
+ #, php-format
967
+ msgid ""
968
+ "The <em>%s</em> group already exists and cannot be used to name this one."
969
+ msgstr ""
970
+ "Le groupe <em>%s</em> existe déjà et ne peux pas être utilisé pour nommer "
971
+ "celui-ci."
972
+
973
+ # @ groups
974
+ #: lib/admin/groups-admin-groups-add.php:167
975
+ #, php-format
976
+ msgid "The <em>%s</em> group already exists."
977
+ msgstr "Le groupe <em>%s</em> existe déjà."
978
+
979
+ # @ groups
980
+ #: lib/admin/groups-admin-groups.php:63
981
+ #, php-format
982
+ msgid "The <em>%s</em> group has been created."
983
+ msgstr "Le groupe <em>%s</em> a bien été créé."
984
+
985
+ # @ groups
986
+ #: lib/admin/groups-admin-groups.php:71
987
+ #, php-format
988
+ msgid "The <em>%s</em> group has been updated."
989
+ msgstr "Le groupe <em>%s</em> a bien été mis à jour."
990
+
991
+ # @ groups
992
+ #: lib/admin/groups-admin-capabilities-add.php:105
993
+ #: lib/admin/groups-admin-capabilities-edit.php:134
994
+ msgid "The <em>Capability</em> must not be empty."
995
+ msgstr "La <em>Capacité</em> ne doit pas être vide."
996
+
997
+ # @ groups
998
+ #: lib/admin/groups-admin-groups-edit.php:198
999
+ msgid "The <em>Name</em> must not be empty."
1000
+ msgstr "Le <em>Nom</ em> ne doit pas être vide."
1001
+
1002
+ # @ groups
1003
+ #: lib/admin/groups-admin-capabilities.php:75
1004
+ msgid "The capability has been deleted."
1005
+ msgstr "La capacité a été suppriméé."
1006
+
1007
+ # @ groups
1008
+ #: lib/admin/groups-admin-groups-edit.php:132
1009
+ msgid "The chosen capabilities are assigned to the group."
1010
+ msgstr "Les capacités choisies sont attribuées au groupe."
1011
+
1012
+ #: lib/core/class-groups-help.php:85
1013
+ msgid ""
1014
+ "The complete documentation is available on the <a href=\"http://docs.itthinx."
1015
+ "com/document/groups\">Documentation</a> pages for Groups."
1016
+ msgstr ""
1017
+ "La documentation complète est disponible sur les pages du <a href=\"http://"
1018
+ "docs.itthinx.com/document/groups\">Documentation</a> pour Groups."
1019
+
1020
+ # @ groups
1021
+ #: lib/admin/groups-admin-groups.php:76
1022
+ msgid "The group has been deleted."
1023
+ msgstr "Le groupe a été supprimé."
1024
+
1025
+ # @ groups
1026
+ #: lib/access/class-groups-access-meta-boxes.php:147
1027
+ msgid "The manual way:"
1028
+ msgstr "La méthode manuelle :"
1029
+
1030
+ # @ groups
1031
+ #: lib/admin/groups-admin-groups-add.php:165
1032
+ msgid "The name must not be empty."
1033
+ msgstr "Le nom ne doit pas être vide."
1034
+
1035
+ # @ groups
1036
+ #: lib/access/class-groups-access-meta-boxes.php:138
1037
+ msgid "The quick way:"
1038
+ msgstr "De la façon la plus simple :"
1039
+
1040
+ # @ groups
1041
+ #: lib/admin/class-groups-admin-user-profile.php:109
1042
+ msgid "The user is a member of the chosen groups."
1043
+ msgstr "L'utilisateur est un membre des Groupes choisis."
1044
+
1045
+ # @ groups
1046
+ #: lib/admin/groups-admin-capabilities.php:415
1047
+ #: lib/admin/groups-admin-groups.php:467
1048
+ msgid "There are no results."
1049
+ msgstr "Il n'y a aucun résultat."
1050
+
1051
+ # @ groups
1052
+ #: lib/admin/groups-admin-groups-add.php:111
1053
+ msgid "These capabilities will be assigned to the group."
1054
+ msgstr "Ces capacités seront attribués au groupe."
1055
+
1056
+ # @ groups
1057
+ #: lib/admin/groups-admin-options.php:294
1058
+ msgid ""
1059
+ "These permissions apply to Groups management. They do not apply to access "
1060
+ "permissions derived from Groups capabilities."
1061
+ msgstr ""
1062
+ "Ces autorisations concernent la gestion des Groupes. Elles ne se appliquent "
1063
+ "pas aux autorisations d'accès liées aux capacités des Groupes. "
1064
+
1065
+ # @ groups
1066
+ #: lib/admin/groups-admin-options.php:246
1067
+ msgid ""
1068
+ "This determines for which post types access restriction settings are offered."
1069
+ msgstr ""
1070
+ "Cela détermine pour quels types de publication les paramètres de restriction "
1071
+ "d'accès sont proposés."
1072
+
1073
+ # @ groups
1074
+ #: lib/admin/groups-admin-groups.php:450
1075
+ msgid "This group has no capabilities."
1076
+ msgstr "Ce groupe n'a pas de capacités"
1077
+
1078
+ # @ groups
1079
+ #: lib/admin/class-groups-admin.php:179 lib/admin/class-groups-admin.php:180
1080
+ msgid "Tree"
1081
+ msgstr "Arborescence"
1082
+
1083
+ # @ groups
1084
+ #: lib/admin/groups-admin-tree-view.php:43
1085
+ msgid "Tree of Groups"
1086
+ msgstr "Arborescence des Groupes"
1087
+
1088
+ # @ groups
1089
+ #: lib/admin/groups-admin-options.php:284
1090
+ msgid "Tree view"
1091
+ msgstr " Aperçu de l'Arborescence"
1092
+
1093
+ # @ groups
1094
+ #: lib/access/class-groups-access-meta-boxes.php:152
1095
+ msgid ""
1096
+ "Try the quick-create field first. Unless you need a more complex setup, "
1097
+ "there is no reason to go this way instead."
1098
+ msgstr ""
1099
+ "Essayez d'abord le champ de création rapide, à moins que vous ayez besoin "
1100
+ "d'une configuration plus complexe. Autrement, favorisez toujours cet outil."
1101
+
1102
+ # @ groups
1103
+ #: lib/access/class-groups-access-meta-boxes.php:211
1104
+ #: lib/access/class-groups-access-meta-boxes.php:212
1105
+ #: lib/access/class-groups-access-meta-boxes.php:550
1106
+ msgid "Type and choose &hellip;"
1107
+ msgstr "Saisissez et sélectionnez &hellip;"
1108
+
1109
+ # @ groups
1110
+ #: lib/access/class-groups-access-meta-boxes.php:126
1111
+ msgid ""
1112
+ "Use the <em>Access restrictions</em> box to limit the visibility of posts, "
1113
+ "pages and other post types."
1114
+ msgstr ""
1115
+ "Utilisez la boîte des <em>restrictions d'accès</em> pour limiter la "
1116
+ "visibilité des messages, des pages et des autres types de publications."
1117
+
1118
+ # @ groups
1119
+ #: lib/admin/groups-admin-options.php:275
1120
+ msgid "User profiles"
1121
+ msgstr "Profils d'Utilisateurs"
1122
+
1123
+ # @ groups
1124
+ #: lib/access/class-groups-access-meta-boxes.php:140
1125
+ msgid "Using the quick-create field"
1126
+ msgstr "En utilisant le champ de création rapide"
1127
+
1128
+ # @ groups
1129
+ #: lib/access/class-groups-access-meta-boxes.php:145
1130
+ msgid ""
1131
+ "Using the quick-create field, you can create a new group and capability. The "
1132
+ "capability will be assigned to the group and enabled to enforce read access. "
1133
+ "Group names are case-sensitive, the name of the capability is the lower-case "
1134
+ "version of the name of the group. If the group already exists, a new "
1135
+ "capability is created and assigned to the existing group. If the capability "
1136
+ "already exists, it will be assigned to the group. If both already exist, the "
1137
+ "capability is enabled to enforce read access. In order to be able to use the "
1138
+ "capability, your user account will be assigned to the group."
1139
+ msgstr ""
1140
+ "En utilisant le champ de création rapide, vous pouvez créer un nouveau "
1141
+ "groupe et une capacité. La capacité sera attribuée au groupe et permettra "
1142
+ "d'autoriser l'accès en lecture. Les noms de groupe sont sensibles à la "
1143
+ "casse, le nom d'une capacité est la version en minuscule du nom du groupe. "
1144
+ "Si le groupe existe déjà, une nouvelle capacité est créée et attribuée au "
1145
+ "groupe existant. Si la capacité existe déjà, il sera attribuée au groupe. Si "
1146
+ "les deux existent déjà, la capacité est habilitée à autoriser l'accès en "
1147
+ "lecture. Afin d'être en mesure d'utiliser la capacité, votre compte "
1148
+ "utilisateur sera affecté au groupe."
1149
+
1150
+ # @ groups
1151
+ #: lib/views/class-groups-shortcodes.php:527
1152
+ #, php-format
1153
+ msgid "You are a member of the %s group."
1154
+ msgstr "Vous êtes un membre du groupe %s."
1155
+
1156
+ # @ groups
1157
+ #: lib/access/class-groups-access-meta-boxes.php:313
1158
+ msgid ""
1159
+ "You can create a new group and capability here. The capability will be "
1160
+ "assigned to the group and enabled to enforce read access. Group names are "
1161
+ "case-sensitive, the name of the capability is the lower-case version of the "
1162
+ "name of the group. If the group already exists, a new capability is created "
1163
+ "and assigned to the existing group. If the capability already exists, it "
1164
+ "will be assigned to the group. If both already exist, the capability is "
1165
+ "enabled to enforce read access. In order to be able to use the capability, "
1166
+ "your user account will be assigned to the group."
1167
+ msgstr ""
1168
+ "Ici, vous pouvez créer un nouveau groupe et une nouvelle capacité. La "
1169
+ "capacité sera attribuée au groupe et permettra d'autoriser l'accès en "
1170
+ "lecture. Les noms attribués aux groupes sont sensibles à la casse, le nom de "
1171
+ "la capacité est la version minuscule du nom du groupe. Si le groupe existe "
1172
+ "déjà, une nouvelle capacité est créée et affectée au groupe existant. Si la "
1173
+ "capacité existe déjà, elle est affectée par défaut au groupe. Si les deux "
1174
+ "existent déjà, la capacité est activée pour faire respecter l'accès en "
1175
+ "lecture. Afin d'être en mesure d'utiliser la capacité, votre compte "
1176
+ "utilisateur sera attribué au groupe."
1177
+
1178
+ # @ groups
1179
+ #: lib/access/class-groups-access-meta-boxes.php:129
1180
+ msgid ""
1181
+ "You can select one or more capabilities that are enabled for access "
1182
+ "restriction."
1183
+ msgstr ""
1184
+ "Vous pouvez sélectionner une ou plusieurs capacités utilisables pour la "
1185
+ "Restriction des Accès."
1186
+
1187
+ # @ groups
1188
+ #: lib/access/class-groups-access-meta-boxes.php:291
1189
+ msgid "You cannot set any access restrictions."
1190
+ msgstr "Vous ne pouvez pas définir les restrictions d'accès."
1191
+
1192
+ # @ groups
1193
+ #: lib/views/class-groups-shortcodes.php:522
1194
+ #, php-format
1195
+ msgid "You have joined the %s group."
1196
+ msgstr "Vous avez rejoint le groupe %s."
1197
+
1198
+ # @ groups
1199
+ #: lib/views/class-groups-shortcodes.php:598
1200
+ #, php-format
1201
+ msgid "You have left the %s group."
1202
+ msgstr "Vous ne faites plus parti du groupe %s."
1203
+
1204
+ # @ groups
1205
+ #: lib/access/class-groups-access-meta-boxes.php:297
1206
+ msgid ""
1207
+ "You must be in a group that has at least one capability enabled to enforce "
1208
+ "read access."
1209
+ msgstr ""
1210
+ "Vous devez être dans un groupe qui a au moins une capacité définie pour "
1211
+ "autoriser l'accès en lecture."
1212
+
1213
+ # @ groups
1214
+ #~ msgid ""
1215
+ #~ "The complete documentation is available on the <a href=\"http://www."
1216
+ #~ "itthinx.com/plugins/groups\" target=\"_blank\">Groups plugin page</a>"
1217
+ #~ msgstr ""
1218
+ #~ "La documentation complète est disponible sur la page l'extension <a href="
1219
+ #~ "\"http://www.itthinx.com/plugins/groups\" target=\"_blank\">Groups</a>"
1220
+
1221
+ # @ default
1222
+ #~ msgid "Go to the first page"
1223
+ #~ msgstr "Accéder à la première page"
1224
+
1225
+ # @ default
1226
+ #~ msgid "Go to the previous page"
1227
+ #~ msgstr "Accéder à la page précédente"
1228
+
1229
+ # @ default
1230
+ #~ msgid "Current page"
1231
+ #~ msgstr "Page actuelle"
1232
+
1233
+ # @ default
1234
+ #~ msgid "Go to the next page"
1235
+ #~ msgstr "Accédez à la page suivante"
1236
+
1237
+ # @ default
1238
+ #~ msgid "Go to the last page"
1239
+ #~ msgstr "Accédez à la dernière page"
languages/groups.pot CHANGED
@@ -7,7 +7,7 @@
7
  msgid ""
8
  msgstr "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-06-22 21:23+0200\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -226,7 +226,7 @@ msgstr ""
226
  msgid "Cancel"
227
  msgstr ""
228
 
229
- #: lib/admin/class-groups-admin.php:186
230
  #: lib/admin/groups-admin-capabilities.php:193
231
  #: lib/admin/groups-admin-groups-add.php:99
232
  #: lib/admin/groups-admin-groups-edit.php:119
@@ -415,29 +415,28 @@ msgstr ""
415
  #: lib/admin/class-groups-admin-user-profile.php:66
416
  #: lib/admin/class-groups-admin-user-profile.php:90
417
  #: lib/admin/class-groups-admin-users.php:302
418
- #: lib/admin/class-groups-admin.php:222 lib/admin/class-groups-admin.php:223
419
- #: lib/admin/class-groups-admin.php:252 lib/admin/groups-admin-groups.php:200
420
- #: lib/core/class-groups-help.php:61 lib/core/class-groups-help.php:66
421
- #: lib/core/class-groups-help.php:67
422
  msgid "Groups"
423
  msgstr ""
424
 
425
- #: lib/admin/class-groups-admin.php:133
426
  msgctxt "menu item title"
427
  msgid "Groups"
428
  msgstr ""
429
 
430
- #: lib/admin/class-groups-admin.php:151
431
  msgctxt "menu-title"
432
  msgid "Groups"
433
  msgstr ""
434
 
435
- #: lib/admin/class-groups-admin.php:150
436
  msgctxt "page-title"
437
  msgid "Groups"
438
  msgstr ""
439
 
440
- #: lib/admin/class-groups-admin.php:185
441
  msgid "Groups Capabilities"
442
  msgstr ""
443
 
@@ -445,7 +444,7 @@ msgstr ""
445
  msgid "Groups network options"
446
  msgstr ""
447
 
448
- #: lib/admin/class-groups-admin.php:198 lib/admin/groups-admin-options.php:133
449
  msgid "Groups options"
450
  msgstr ""
451
 
@@ -472,12 +471,12 @@ msgstr ""
472
  msgid "Inherited capabilities:"
473
  msgstr ""
474
 
475
- #: lib/views/class-groups-shortcodes.php:389
476
  #, php-format
477
  msgid "Join the %s group"
478
  msgstr ""
479
 
480
- #: lib/views/class-groups-shortcodes.php:473
481
  #, php-format
482
  msgid "Leave the %s group"
483
  msgstr ""
@@ -487,6 +486,10 @@ msgid "Let's assume that you want to limit the visibility of a post to "
487
  "members of the <em>Premium</em> group."
488
  msgstr ""
489
 
 
 
 
 
490
  #: lib/access/class-groups-access-meta-boxes.php:513
491
  msgid "Media"
492
  msgstr ""
@@ -570,7 +573,7 @@ msgid "Only groups or users that have one of the selected capabilities are "
570
  "allowed to read this %s."
571
  msgstr ""
572
 
573
- #: lib/admin/class-groups-admin.php:199 lib/admin/class-groups-admin.php:246
574
  #: lib/core/class-groups-help.php:68
575
  msgid "Options"
576
  msgstr ""
@@ -816,7 +819,7 @@ msgstr ""
816
  msgid "This group has no capabilities."
817
  msgstr ""
818
 
819
- #: lib/admin/class-groups-admin.php:171 lib/admin/class-groups-admin.php:172
820
  msgid "Tree"
821
  msgstr ""
822
 
@@ -864,7 +867,7 @@ msgid "Using the quick-create field, you can create a new group and "
864
  "capability, your user account will be assigned to the group."
865
  msgstr ""
866
 
867
- #: lib/views/class-groups-shortcodes.php:447
868
  #, php-format
869
  msgid "You are a member of the %s group."
870
  msgstr ""
@@ -890,12 +893,12 @@ msgstr ""
890
  msgid "You cannot set any access restrictions."
891
  msgstr ""
892
 
893
- #: lib/views/class-groups-shortcodes.php:442
894
  #, php-format
895
  msgid "You have joined the %s group."
896
  msgstr ""
897
 
898
- #: lib/views/class-groups-shortcodes.php:518
899
  #, php-format
900
  msgid "You have left the %s group."
901
  msgstr ""
7
  msgid ""
8
  msgstr "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2015-06-30 20:07+0200\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
226
  msgid "Cancel"
227
  msgstr ""
228
 
229
+ #: lib/admin/class-groups-admin.php:194
230
  #: lib/admin/groups-admin-capabilities.php:193
231
  #: lib/admin/groups-admin-groups-add.php:99
232
  #: lib/admin/groups-admin-groups-edit.php:119
415
  #: lib/admin/class-groups-admin-user-profile.php:66
416
  #: lib/admin/class-groups-admin-user-profile.php:90
417
  #: lib/admin/class-groups-admin-users.php:302
418
+ #: lib/admin/class-groups-admin.php:230 lib/admin/class-groups-admin.php:231
419
+ #: lib/admin/class-groups-admin.php:260 lib/core/class-groups-help.php:61
420
+ #: lib/core/class-groups-help.php:66 lib/core/class-groups-help.php:67
 
421
  msgid "Groups"
422
  msgstr ""
423
 
424
+ #: lib/admin/class-groups-admin.php:140
425
  msgctxt "menu item title"
426
  msgid "Groups"
427
  msgstr ""
428
 
429
+ #: lib/admin/class-groups-admin.php:158
430
  msgctxt "menu-title"
431
  msgid "Groups"
432
  msgstr ""
433
 
434
+ #: lib/admin/class-groups-admin.php:157 lib/admin/groups-admin-groups.php:200
435
  msgctxt "page-title"
436
  msgid "Groups"
437
  msgstr ""
438
 
439
+ #: lib/admin/class-groups-admin.php:193
440
  msgid "Groups Capabilities"
441
  msgstr ""
442
 
444
  msgid "Groups network options"
445
  msgstr ""
446
 
447
+ #: lib/admin/class-groups-admin.php:206 lib/admin/groups-admin-options.php:133
448
  msgid "Groups options"
449
  msgstr ""
450
 
471
  msgid "Inherited capabilities:"
472
  msgstr ""
473
 
474
+ #: lib/views/class-groups-shortcodes.php:469
475
  #, php-format
476
  msgid "Join the %s group"
477
  msgstr ""
478
 
479
+ #: lib/views/class-groups-shortcodes.php:553
480
  #, php-format
481
  msgid "Leave the %s group"
482
  msgstr ""
486
  "members of the <em>Premium</em> group."
487
  msgstr ""
488
 
489
+ #: lib/views/class-groups-shortcodes.php:121
490
+ msgid "Log out"
491
+ msgstr ""
492
+
493
  #: lib/access/class-groups-access-meta-boxes.php:513
494
  msgid "Media"
495
  msgstr ""
573
  "allowed to read this %s."
574
  msgstr ""
575
 
576
+ #: lib/admin/class-groups-admin.php:207 lib/admin/class-groups-admin.php:254
577
  #: lib/core/class-groups-help.php:68
578
  msgid "Options"
579
  msgstr ""
819
  msgid "This group has no capabilities."
820
  msgstr ""
821
 
822
+ #: lib/admin/class-groups-admin.php:179 lib/admin/class-groups-admin.php:180
823
  msgid "Tree"
824
  msgstr ""
825
 
867
  "capability, your user account will be assigned to the group."
868
  msgstr ""
869
 
870
+ #: lib/views/class-groups-shortcodes.php:527
871
  #, php-format
872
  msgid "You are a member of the %s group."
873
  msgstr ""
893
  msgid "You cannot set any access restrictions."
894
  msgstr ""
895
 
896
+ #: lib/views/class-groups-shortcodes.php:522
897
  #, php-format
898
  msgid "You have joined the %s group."
899
  msgstr ""
900
 
901
+ #: lib/views/class-groups-shortcodes.php:598
902
  #, php-format
903
  msgid "You have left the %s group."
904
  msgstr ""
lib/access/class-groups-post-access.php CHANGED
@@ -79,6 +79,7 @@ class Groups_Post_Access {
79
  // add_filter( "plugin_row_meta", array( __CLASS__, "plugin_row_meta" ), 1 );
80
  // add_filter( "posts_join_paged", array( __CLASS__, "posts_join_paged" ), 1 );
81
  // add_filter( "posts_where_paged", array( __CLASS__, "posts_where_paged" ), 1 );
 
82
  }
83
 
84
  /**
@@ -415,5 +416,15 @@ class Groups_Post_Access {
415
  return $result;
416
  }
417
 
 
 
 
 
 
 
 
 
 
 
418
  }
419
  Groups_Post_Access::init();
79
  // add_filter( "plugin_row_meta", array( __CLASS__, "plugin_row_meta" ), 1 );
80
  // add_filter( "posts_join_paged", array( __CLASS__, "posts_join_paged" ), 1 );
81
  // add_filter( "posts_where_paged", array( __CLASS__, "posts_where_paged" ), 1 );
82
+ add_action( 'groups_deleted_capability_capability', array( __CLASS__, 'groups_deleted_capability_capability' ) );
83
  }
84
 
85
  /**
416
  return $result;
417
  }
418
 
419
+ /**
420
+ * Hooks into groups_deleted_capability_capability to remove existing access
421
+ * restrictions based on the deleted capability.
422
+ *
423
+ * @param string $name of the deleted capability
424
+ */
425
+ public static function groups_deleted_capability_capability( $capability ) {
426
+ delete_metadata( 'post', null, self::POSTMETA_PREFIX . self::READ_POST_CAPABILITY, $capability, true );
427
+ }
428
+
429
  }
430
  Groups_Post_Access::init();
lib/admin/groups-admin-groups.php CHANGED
@@ -441,7 +441,9 @@ function groups_admin_groups() {
441
  $class = 'inherited';
442
  }
443
  $output .= sprintf( '<span class="%s">', $class );
444
- $output .= wp_filter_nohtml_kses( $group_capability->capability->capability );
 
 
445
  $output .= '</span>';
446
  $output .= '</li>';
447
  }
441
  $class = 'inherited';
442
  }
443
  $output .= sprintf( '<span class="%s">', $class );
444
+ if ( isset( $group_capability->capability ) && isset( $group_capability->capability->capability ) ) {
445
+ $output .= wp_filter_nohtml_kses( $group_capability->capability->capability );
446
+ }
447
  $output .= '</span>';
448
  $output .= '</li>';
449
  }
lib/core/class-groups-capability.php CHANGED
@@ -231,6 +231,7 @@ class Groups_Capability {
231
  $old_capability = Groups_Capability::read( $capability_id );
232
  if ( $old_capability ) {
233
  if ( isset( $capability ) ) {
 
234
  $old_capability->capability = $capability;
235
  }
236
  if ( isset( $class ) ) {
@@ -257,11 +258,11 @@ class Groups_Capability {
257
  ) );
258
  if ( ( $rows !== false ) ) {
259
  $result = $capability_id;
260
- if ( !empty( $old_capability ) && !empty( $old_capability->name ) ) {
261
- wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $old_capability->name, self::CACHE_GROUP );
262
  }
263
- if ( !empty( $old_name ) ) {
264
- wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $old_name, self::CACHE_GROUP );
265
  }
266
  do_action( "groups_updated_capability", $result );
267
  }
@@ -290,8 +291,9 @@ class Groups_Capability {
290
  Groups_Utility::id( $capability_id )
291
  ) ) ) {
292
  $result = $capability_id;
293
- if ( !empty( $capability->name ) ) {
294
- wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $capability->name, self::CACHE_GROUP );
 
295
  }
296
  do_action( "groups_deleted_capability", $result );
297
  }
231
  $old_capability = Groups_Capability::read( $capability_id );
232
  if ( $old_capability ) {
233
  if ( isset( $capability ) ) {
234
+ $old_capability_capability = $old_capability->capability;
235
  $old_capability->capability = $capability;
236
  }
237
  if ( isset( $class ) ) {
258
  ) );
259
  if ( ( $rows !== false ) ) {
260
  $result = $capability_id;
261
+ if ( !empty( $old_capability ) && !empty( $old_capability->capability ) ) {
262
+ wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $old_capability->capability, self::CACHE_GROUP );
263
  }
264
+ if ( !empty( $old_capability_capability ) ) {
265
+ wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $old_capability_capability, self::CACHE_GROUP );
266
  }
267
  do_action( "groups_updated_capability", $result );
268
  }
291
  Groups_Utility::id( $capability_id )
292
  ) ) ) {
293
  $result = $capability_id;
294
+ if ( !empty( $capability->capability ) ) {
295
+ wp_cache_delete( self::READ_BY_CAPABILITY . '_' . $capability->capability, self::CACHE_GROUP );
296
+ do_action( 'groups_deleted_capability_capability', $capability->capability );
297
  }
298
  do_action( "groups_deleted_capability", $result );
299
  }
lib/views/class-groups-shortcodes.php CHANGED
@@ -32,6 +32,10 @@ class Groups_Shortcodes {
32
  * Adds shortcodes.
33
  */
34
  public static function init() {
 
 
 
 
35
  // group info
36
  add_shortcode( 'groups_group_info', array( __CLASS__, 'groups_group_info' ) );
37
  // user groups
@@ -43,7 +47,83 @@ class Groups_Shortcodes {
43
  // leave a group
44
  add_shortcode( 'groups_leave', array( __CLASS__, 'groups_leave' ) );
45
  }
46
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  /**
48
  * Renders information about a group.
49
  * Attributes:
32
  * Adds shortcodes.
33
  */
34
  public static function init() {
35
+ // login
36
+ add_shortcode( 'groups_login', array( __CLASS__, 'groups_login' ) );
37
+ // logout
38
+ add_shortcode( 'groups_logout', array( __CLASS__, 'groups_logout' ) );
39
  // group info
40
  add_shortcode( 'groups_group_info', array( __CLASS__, 'groups_group_info' ) );
41
  // user groups
47
  // leave a group
48
  add_shortcode( 'groups_leave', array( __CLASS__, 'groups_leave' ) );
49
  }
50
+
51
+ /**
52
+ * Renders the Groups login form.
53
+ *
54
+ * The user is redirected to the current page after login by default.
55
+ * The user can be redirected to a specific URL after login by
56
+ * indicating the <code>redirect</code> attribute.
57
+ *
58
+ * @param array $atts
59
+ * @param string $content
60
+ * @return string the rendered form or empty
61
+ */
62
+ public static function groups_login( $atts, $content = null ) {
63
+ $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
64
+ extract(
65
+ shortcode_atts(
66
+ array(
67
+ 'redirect' => $current_url,
68
+ 'show_logout' => 'no'
69
+ ),
70
+ $atts
71
+ )
72
+ );
73
+ $redirect = trim( $redirect );
74
+ $show_logout = trim( strtolower( $show_logout ) );
75
+ $output = '';
76
+ if ( !is_user_logged_in() ) {
77
+ $output .= wp_login_form(
78
+ array(
79
+ 'echo' => false,
80
+ 'redirect' => $redirect
81
+ )
82
+ );
83
+ } else {
84
+ if ( $show_logout == 'yes' ) {
85
+ $output .= self::groups_logout(
86
+ array(
87
+ 'redirect' => $redirect
88
+ )
89
+ );
90
+ }
91
+ }
92
+ return $output;
93
+ }
94
+
95
+ /**
96
+ * Renders the Groups logout link.
97
+ *
98
+ * The link is rendered if the user is logged in.
99
+ * The user is redirected to the current page after logout by default.
100
+ * The user can be redirected to a specific URL after logout by
101
+ * indicating the <code>redirect</code> attribute.
102
+ *
103
+ * @param array $atts
104
+ * @param string $content not used
105
+ * @return string logout link, is empty if not logged in
106
+ */
107
+ public static function groups_logout( $atts, $content = null ) {
108
+ $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
109
+ extract(
110
+ shortcode_atts(
111
+ array(
112
+ 'redirect' => $current_url
113
+ ),
114
+ $atts
115
+ )
116
+ );
117
+ $redirect = trim( $redirect );
118
+ $output = '';
119
+ if ( is_user_logged_in() ) {
120
+ $output .= sprintf( '<a href="%s">', esc_url( wp_logout_url( $redirect ) ) );
121
+ $output .= __( 'Log out', GROUPS_PLUGIN_DOMAIN );
122
+ $output .= '</a>';
123
+ }
124
+ return $output;
125
+ }
126
+
127
  /**
128
  * Renders information about a group.
129
  * Attributes:
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.itthinx.com/plugins/groups
4
  Tags: access, access control, capability, capabilities, content, download, downloads, file, file access, files, group, groups, member, members, membership, memberships, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.6.0
8
  License: GPLv3
9
 
10
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
@@ -103,6 +103,7 @@ Please try to solve problems there before you rate this plugin or say it doesn't
103
  ### Translations ###
104
 
105
  Dutch translation by [Carsten Alsemgeest](http://presis.nl),
 
106
  German translation by [itthinx](http://www.itthinx.com),
107
  Lithuanian translation by [Vincent G](http://www.Host1Free.com),
108
  Spanish translation by [Juan Amor](http://www.lamadjinpa.es),
@@ -180,6 +181,16 @@ See also [Groups](http://www.itthinx.com/plugins/groups/)
180
 
181
  == Changelog ==
182
 
 
 
 
 
 
 
 
 
 
 
183
  = 1.6.0 =
184
  * Added the German translation.
185
  * Updated the Spanish translation.
@@ -463,5 +474,5 @@ Some installations wouldn't work correctly, showing no capabilities and making i
463
 
464
  == Upgrade Notice ==
465
 
466
- = 1.6.0 =
467
- This release adds the German translation and has an updated Spanish translation.
4
  Tags: access, access control, capability, capabilities, content, download, downloads, file, file access, files, group, groups, member, members, membership, memberships, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.7.0
8
  License: GPLv3
9
 
10
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
103
  ### Translations ###
104
 
105
  Dutch translation by [Carsten Alsemgeest](http://presis.nl),
106
+ French translation by [Stéphane Passedouet](http://www.pheeric.com),
107
  German translation by [itthinx](http://www.itthinx.com),
108
  Lithuanian translation by [Vincent G](http://www.Host1Free.com),
109
  Spanish translation by [Juan Amor](http://www.lamadjinpa.es),
181
 
182
  == Changelog ==
183
 
184
+ = 1.7.0 =
185
+ * Added the French translation.
186
+ * Added the [groups_login] shortcode.
187
+ * Added the [groups_logout] shortcode.
188
+ * Updated the German translation.
189
+ * Updated the Spanish translation.
190
+ * Added the groups_deleted_capability_capability action.
191
+ * Fixed an issue with deleted capabilities restricting access to posts.
192
+ * Fixed cache entries for capabilities.
193
+
194
  = 1.6.0 =
195
  * Added the German translation.
196
  * Updated the Spanish translation.
474
 
475
  == Upgrade Notice ==
476
 
477
+ = 1.7.0 =
478
+ This release adds the [groups_login] and [groups_logout] shortcodes, the French translation and fixes issues with capabilities. Please back up your site and database before updating.