User Role Editor - Version 4.5.2

Version Description

  • 23.09.2013
  • User capabilities editor updated to support capabilities beyond the user roles - capabilities added by other plugins directly to the users, or deleted from the user roles.
  • Bug fixed - custom capabilities was not shown in User capabilities editor in some cases.
  • Spanish translation was added. Thanks to Dario Ferrer.
Download this release

Release Info

Developer shinephp
Plugin Icon 128x128 User Role Editor
Version 4.5.2
Comparing to
See all releases

Code changes from version 4.5.1 to 4.5.2

includes/class-ure-lib.php CHANGED
@@ -1297,22 +1297,22 @@ class Ure_Lib extends Garvs_WP_Lib {
1297
 
1298
 
1299
  protected function add_capability_to_full_caps_list($cap_id) {
1300
- $cap = array();
1301
- $cap['inner'] = $cap_id;
1302
- $cap['human'] = __($this->convert_caps_to_readable($cap_id), 'ure');
1303
- if (isset($this->built_in_wp_caps[$cap_id])) {
1304
- $cap['wp_core'] = true;
1305
- } else {
1306
- $cap['wp_core'] = false;
1307
- }
1308
  if (!isset($this->full_capabilities[$cap_id])) {
 
 
 
 
 
 
 
 
 
1309
  $this->full_capabilities[$cap_id] = $cap;
1310
  }
1311
-
1312
  }
1313
- // end of build_capability()
1314
-
1315
-
1316
  protected function init_full_capabilities() {
1317
  $this->built_in_wp_caps = $this->get_built_in_wp_caps();
1318
  $this->full_capabilities = array();
@@ -1332,6 +1332,14 @@ class Ure_Lib extends Garvs_WP_Lib {
1332
  }
1333
  }
1334
 
 
 
 
 
 
 
 
 
1335
  $this->hidden_built_in_wp_caps_quant = 0;
1336
  foreach ($this->built_in_wp_caps as $cap=>$val) {
1337
  if (!isset($this->full_capabilities[$cap])) {
@@ -1807,7 +1815,7 @@ class Ure_Lib extends Garvs_WP_Lib {
1807
  // add individual capabilities to user
1808
  if (count($this->capabilities_to_save) > 0) {
1809
  foreach ($this->capabilities_to_save as $key => $value) {
1810
- $user->add_cap($key);
1811
  }
1812
  }
1813
  $user->update_user_level_from_caps();
1297
 
1298
 
1299
  protected function add_capability_to_full_caps_list($cap_id) {
 
 
 
 
 
 
 
 
1300
  if (!isset($this->full_capabilities[$cap_id])) {
1301
+ $cap = array();
1302
+ $cap['inner'] = $cap_id;
1303
+ $cap['human'] = __($this->convert_caps_to_readable($cap_id), 'ure');
1304
+ if (isset($this->built_in_wp_caps[$cap_id])) {
1305
+ $cap['wp_core'] = true;
1306
+ } else {
1307
+ $cap['wp_core'] = false;
1308
+ }
1309
+
1310
  $this->full_capabilities[$cap_id] = $cap;
1311
  }
 
1312
  }
1313
+ // end of add_capability_to_full_caps_list()
1314
+
1315
+
1316
  protected function init_full_capabilities() {
1317
  $this->built_in_wp_caps = $this->get_built_in_wp_caps();
1318
  $this->full_capabilities = array();
1332
  }
1333
  }
1334
 
1335
+ if ($this->ure_object=='user') {
1336
+ foreach($this->user_to_edit->caps as $key=>$value) {
1337
+ if (!isset($this->roles[$key])) { // it is the user capability, not role
1338
+ $this->add_capability_to_full_caps_list($key);
1339
+ }
1340
+ }
1341
+ }
1342
+
1343
  $this->hidden_built_in_wp_caps_quant = 0;
1344
  foreach ($this->built_in_wp_caps as $cap=>$val) {
1345
  if (!isset($this->full_capabilities[$cap])) {
1815
  // add individual capabilities to user
1816
  if (count($this->capabilities_to_save) > 0) {
1817
  foreach ($this->capabilities_to_save as $key => $value) {
1818
+ $user->add_cap($key);
1819
  }
1820
  }
1821
  $user->update_user_level_from_caps();
includes/ure-user-edit.php CHANGED
@@ -120,7 +120,7 @@ if (function_exists('bbp_filter_blog_editable_roles') ) { // bbPress plugin is
120
  </tr>
121
  </table>
122
  <?php
123
- $quant = count( $this->full_capabilities ) - count( $this->get_built_in_wp_caps() );
124
  if ($quant>0) {
125
  echo '<hr />';
126
  ?>
120
  </tr>
121
  </table>
122
  <?php
123
+ $quant = count( $this->full_capabilities ) - count( $this->get_built_in_wp_caps() ) + $this->hidden_built_in_wp_caps_quant;
124
  if ($quant>0) {
125
  echo '<hr />';
126
  ?>
lang/ure-es_ES.mo ADDED
Binary file
lang/ure-es_ES.po ADDED
@@ -0,0 +1,640 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Role Editor 2.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-09-16 19:03-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Vladimir Garagulya <vladimir@shinephp.com>\n"
8
+ "Language-Team: ShinePHP.com <vladimir@shinephp.com>\n"
9
+ "Language: es_ES\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.7\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../includes/class-ure-lib.php:153
20
+ msgid "Error: wrong request"
21
+ msgstr "Error: Petición inválida"
22
+
23
+ #: ../includes/class-ure-lib.php:185
24
+ msgid "Role name (ID): "
25
+ msgstr "Nombre del Rol (ID):"
26
+
27
+ #: ../includes/class-ure-lib.php:187
28
+ msgid "Display Role Name: "
29
+ msgstr "Mostrar nombre del Rol:"
30
+
31
+ #: ../includes/class-ure-lib.php:189
32
+ msgid "Make copy of: "
33
+ msgstr "Hacer copia de:"
34
+
35
+ #: ../includes/class-ure-lib.php:196 ../includes/ure-role-edit.php:19
36
+ msgid "Select Role:"
37
+ msgstr "Seleccionar Rol:"
38
+
39
+ #: ../includes/class-ure-lib.php:211
40
+ msgid "Delete:"
41
+ msgstr "Eliminar:"
42
+
43
+ #: ../includes/class-ure-lib.php:218
44
+ msgid "Capability name (ID): "
45
+ msgstr "Nombre de la Capacidad (ID):"
46
+
47
+ #: ../includes/class-ure-lib.php:235
48
+ #: ../includes/class-user-role-editor.php:430
49
+ #: ../includes/class-user-role-editor.php:448
50
+ #: ../includes/class-user-role-editor.php:627
51
+ msgid "User Role Editor"
52
+ msgstr "Editor de Roles"
53
+
54
+ #: ../includes/class-ure-lib.php:333
55
+ msgid "Error: "
56
+ msgstr "Error:"
57
+
58
+ #: ../includes/class-ure-lib.php:333
59
+ msgid "Role"
60
+ msgstr "Rol"
61
+
62
+ #: ../includes/class-ure-lib.php:333
63
+ msgid "does not exist"
64
+ msgstr "no existe"
65
+
66
+ #: ../includes/class-ure-lib.php:376
67
+ msgid "Role is updated successfully"
68
+ msgstr "El Rol fue exitosamente actualizado"
69
+
70
+ #: ../includes/class-ure-lib.php:378
71
+ msgid "Roles are updated for all network"
72
+ msgstr "Roles actualizados en toda la Red"
73
+
74
+ #: ../includes/class-ure-lib.php:384
75
+ msgid "Error occured during role(s) update"
76
+ msgstr "Ocurrió un error durante la actualización del Rol"
77
+
78
+ #: ../includes/class-ure-lib.php:391
79
+ msgid "User capabilities are updated successfully"
80
+ msgstr "Las Capacidades de Usuario fueron actualizadas exitosamente"
81
+
82
+ #: ../includes/class-ure-lib.php:396
83
+ msgid "Error occured during user update"
84
+ msgstr "Ocurrió un error durante la actualización del Usuario"
85
+
86
+ #: ../includes/class-ure-lib.php:451
87
+ msgid "User Roles are restored to WordPress default values. "
88
+ msgstr ""
89
+ "Los Roles de Usuario fueron restaurados a los predeterminados de WordPress"
90
+
91
+ #: ../includes/class-ure-lib.php:1241
92
+ msgid "Help"
93
+ msgstr "Ayuda"
94
+
95
+ #: ../includes/class-ure-lib.php:1551
96
+ msgid "Error is occur. Please check the log file."
97
+ msgstr "Un error ha ocurrido. Por favor revisa el archivo de registro."
98
+
99
+ #: ../includes/class-ure-lib.php:1576
100
+ msgid ""
101
+ "Error: Role ID must contain latin characters, digits, hyphens or underscore "
102
+ "only!"
103
+ msgstr ""
104
+ "Error: ¡La ID del Rol sólo debe contener caracteres alfanuméricos, guiones "
105
+ "altos o bajos!"
106
+
107
+ #: ../includes/class-ure-lib.php:1591
108
+ #, php-format
109
+ msgid "Role %s exists already"
110
+ msgstr "El Rol %s ya existe"
111
+
112
+ #: ../includes/class-ure-lib.php:1606
113
+ msgid "Error is encountered during new role create operation"
114
+ msgstr "Un error fue encontrado durante la creación del nuevo Rol"
115
+
116
+ #: ../includes/class-ure-lib.php:1608
117
+ #, php-format
118
+ msgid "Role %s is created successfully"
119
+ msgstr "El Rol %s fue creado exitosamente"
120
+
121
+ #: ../includes/class-ure-lib.php:1637
122
+ msgid "Error encountered during role delete operation"
123
+ msgstr "Un error fue encontrado durante la eliminación del Rol"
124
+
125
+ #: ../includes/class-ure-lib.php:1639
126
+ #, php-format
127
+ msgid "Role %s is deleted successfully"
128
+ msgstr "El Rol %s fue eliminado exitosamente"
129
+
130
+ #: ../includes/class-ure-lib.php:1664
131
+ msgid "Error encountered during default role change operation"
132
+ msgstr "Un error fue encontrado durante el cambio del Rol predeterminado"
133
+
134
+ #: ../includes/class-ure-lib.php:1670
135
+ #, php-format
136
+ msgid "Default role for new users is set to %s successfully"
137
+ msgstr "El Rol predeterminado para nuevos usuarios ha sido establecido a %s"
138
+
139
+ #: ../includes/class-ure-lib.php:1689
140
+ msgid "Editor"
141
+ msgstr "Editor"
142
+
143
+ #: ../includes/class-ure-lib.php:1690
144
+ msgid "Author"
145
+ msgstr "Autor"
146
+
147
+ #: ../includes/class-ure-lib.php:1691
148
+ msgid "Contributor"
149
+ msgstr "Contribuyente"
150
+
151
+ #: ../includes/class-ure-lib.php:1692
152
+ msgid "Subscriber"
153
+ msgstr "Suscriptor"
154
+
155
+ #: ../includes/class-ure-lib.php:1694
156
+ msgid "Switch themes"
157
+ msgstr "Cambiar temas (plantillas)"
158
+
159
+ #: ../includes/class-ure-lib.php:1695
160
+ msgid "Edit themes"
161
+ msgstr "Editar temas (plantillas)"
162
+
163
+ #: ../includes/class-ure-lib.php:1696
164
+ msgid "Activate plugins"
165
+ msgstr "Activar plugins"
166
+
167
+ #: ../includes/class-ure-lib.php:1697
168
+ msgid "Edit plugins"
169
+ msgstr "Editar plugins"
170
+
171
+ #: ../includes/class-ure-lib.php:1698
172
+ msgid "Edit users"
173
+ msgstr "Editar usuarios"
174
+
175
+ #: ../includes/class-ure-lib.php:1699
176
+ msgid "Edit files"
177
+ msgstr "Editar archivos"
178
+
179
+ #: ../includes/class-ure-lib.php:1700
180
+ msgid "Manage options"
181
+ msgstr "Administrar opciones"
182
+
183
+ #: ../includes/class-ure-lib.php:1701
184
+ msgid "Moderate comments"
185
+ msgstr "Moderar comentarios"
186
+
187
+ #: ../includes/class-ure-lib.php:1702
188
+ msgid "Manage categories"
189
+ msgstr "Administrar categorías"
190
+
191
+ #: ../includes/class-ure-lib.php:1703
192
+ msgid "Manage links"
193
+ msgstr "Administrar enlaces"
194
+
195
+ #: ../includes/class-ure-lib.php:1704
196
+ msgid "Upload files"
197
+ msgstr "Subir archivos"
198
+
199
+ #: ../includes/class-ure-lib.php:1705
200
+ msgid "Import"
201
+ msgstr "Importar"
202
+
203
+ #: ../includes/class-ure-lib.php:1706
204
+ msgid "Unfiltered html"
205
+ msgstr "HTML sin filtrar"
206
+
207
+ #: ../includes/class-ure-lib.php:1707
208
+ msgid "Edit posts"
209
+ msgstr "Editar entradas"
210
+
211
+ #: ../includes/class-ure-lib.php:1708
212
+ msgid "Edit others posts"
213
+ msgstr "Editar entradas ajenas"
214
+
215
+ #: ../includes/class-ure-lib.php:1709
216
+ msgid "Edit published posts"
217
+ msgstr "Editar entradas publicadas"
218
+
219
+ #: ../includes/class-ure-lib.php:1710
220
+ msgid "Publish posts"
221
+ msgstr "Publicar entradas"
222
+
223
+ #: ../includes/class-ure-lib.php:1711
224
+ msgid "Edit pages"
225
+ msgstr "Editar páginas"
226
+
227
+ #: ../includes/class-ure-lib.php:1712
228
+ msgid "Read"
229
+ msgstr "Leer"
230
+
231
+ #: ../includes/class-ure-lib.php:1713
232
+ msgid "Level 10"
233
+ msgstr "Nivel 10"
234
+
235
+ #: ../includes/class-ure-lib.php:1714
236
+ msgid "Level 9"
237
+ msgstr "Nivel 9"
238
+
239
+ #: ../includes/class-ure-lib.php:1715
240
+ msgid "Level 8"
241
+ msgstr "Nivel 8"
242
+
243
+ #: ../includes/class-ure-lib.php:1716
244
+ msgid "Level 7"
245
+ msgstr "Nivel 7"
246
+
247
+ #: ../includes/class-ure-lib.php:1717
248
+ msgid "Level 6"
249
+ msgstr "Nivel 6"
250
+
251
+ #: ../includes/class-ure-lib.php:1718
252
+ msgid "Level 5"
253
+ msgstr "Nivel 5"
254
+
255
+ #: ../includes/class-ure-lib.php:1719
256
+ msgid "Level 4"
257
+ msgstr "Nivel 4"
258
+
259
+ #: ../includes/class-ure-lib.php:1720
260
+ msgid "Level 3"
261
+ msgstr "Nivel 3"
262
+
263
+ #: ../includes/class-ure-lib.php:1721
264
+ msgid "Level 2"
265
+ msgstr "Nivel 2"
266
+
267
+ #: ../includes/class-ure-lib.php:1722
268
+ msgid "Level 1"
269
+ msgstr "Nivel 1"
270
+
271
+ #: ../includes/class-ure-lib.php:1723
272
+ msgid "Level 0"
273
+ msgstr "Nivel 0"
274
+
275
+ #: ../includes/class-ure-lib.php:1724
276
+ msgid "Edit others pages"
277
+ msgstr "Editar páginas ajenas"
278
+
279
+ #: ../includes/class-ure-lib.php:1725
280
+ msgid "Edit published pages"
281
+ msgstr "Editar páginas publicadas"
282
+
283
+ #: ../includes/class-ure-lib.php:1726
284
+ msgid "Publish pages"
285
+ msgstr "Publicar páginas"
286
+
287
+ #: ../includes/class-ure-lib.php:1727
288
+ msgid "Delete pages"
289
+ msgstr "Eliminar páginas"
290
+
291
+ #: ../includes/class-ure-lib.php:1728
292
+ msgid "Delete others pages"
293
+ msgstr "Eliminar páginas ajenas"
294
+
295
+ #: ../includes/class-ure-lib.php:1729
296
+ msgid "Delete published pages"
297
+ msgstr "Eliminar páginas publicadas"
298
+
299
+ #: ../includes/class-ure-lib.php:1730
300
+ msgid "Delete posts"
301
+ msgstr "Eliminar entradas"
302
+
303
+ #: ../includes/class-ure-lib.php:1731
304
+ msgid "Delete others posts"
305
+ msgstr "Eliminar entradas ajenas"
306
+
307
+ #: ../includes/class-ure-lib.php:1732
308
+ msgid "Delete published posts"
309
+ msgstr "Eliminar entradas publicadas"
310
+
311
+ #: ../includes/class-ure-lib.php:1733
312
+ msgid "Delete private posts"
313
+ msgstr "Eliminar entradas privadas"
314
+
315
+ #: ../includes/class-ure-lib.php:1734
316
+ msgid "Edit private posts"
317
+ msgstr "Editar entradas privadas"
318
+
319
+ #: ../includes/class-ure-lib.php:1735
320
+ msgid "Read private posts"
321
+ msgstr "Leer entradas privadas"
322
+
323
+ #: ../includes/class-ure-lib.php:1736
324
+ msgid "Delete private pages"
325
+ msgstr "Eliminar páginas privadas"
326
+
327
+ #: ../includes/class-ure-lib.php:1737
328
+ msgid "Edit private pages"
329
+ msgstr "Editar páginas privadas"
330
+
331
+ #: ../includes/class-ure-lib.php:1738
332
+ msgid "Read private pages"
333
+ msgstr "Leer páginas privadas"
334
+
335
+ #: ../includes/class-ure-lib.php:1739
336
+ msgid "Delete users"
337
+ msgstr "Eliminar usuarios"
338
+
339
+ #: ../includes/class-ure-lib.php:1740
340
+ msgid "Create users"
341
+ msgstr "Crear usuarios"
342
+
343
+ #: ../includes/class-ure-lib.php:1741
344
+ msgid "Unfiltered upload"
345
+ msgstr "Subir sin filtrado"
346
+
347
+ #: ../includes/class-ure-lib.php:1742
348
+ msgid "Edit dashboard"
349
+ msgstr "Editar escritorio"
350
+
351
+ #: ../includes/class-ure-lib.php:1743
352
+ msgid "Update plugins"
353
+ msgstr "Actualizar plugins"
354
+
355
+ #: ../includes/class-ure-lib.php:1744
356
+ msgid "Delete plugins"
357
+ msgstr "Eliminar plugins"
358
+
359
+ #: ../includes/class-ure-lib.php:1745
360
+ msgid "Install plugins"
361
+ msgstr "Instalar plugins"
362
+
363
+ #: ../includes/class-ure-lib.php:1746
364
+ msgid "Update themes"
365
+ msgstr "Actualizar temas (plantillas)"
366
+
367
+ #: ../includes/class-ure-lib.php:1747
368
+ msgid "Install themes"
369
+ msgstr "Instalar temas (plantillas)"
370
+
371
+ #: ../includes/class-ure-lib.php:1748
372
+ msgid "Update core"
373
+ msgstr "Actualizar núcleo"
374
+
375
+ #: ../includes/class-ure-lib.php:1749
376
+ msgid "List users"
377
+ msgstr "Listar usuarios"
378
+
379
+ #: ../includes/class-ure-lib.php:1750
380
+ msgid "Remove users"
381
+ msgstr "Eliminar usuarios"
382
+
383
+ #: ../includes/class-ure-lib.php:1751
384
+ msgid "Add users"
385
+ msgstr "Agregar usuarios"
386
+
387
+ #: ../includes/class-ure-lib.php:1752
388
+ msgid "Promote users"
389
+ msgstr "Promover usuarios"
390
+
391
+ #: ../includes/class-ure-lib.php:1753
392
+ msgid "Edit theme options"
393
+ msgstr "Editar opciones del tema (plantilla)"
394
+
395
+ #: ../includes/class-ure-lib.php:1754
396
+ msgid "Delete themes"
397
+ msgstr "Eliminar temas (plantillas)"
398
+
399
+ #: ../includes/class-ure-lib.php:1755
400
+ msgid "Export"
401
+ msgstr "Exportar"
402
+
403
+ #: ../includes/class-ure-lib.php:1835
404
+ msgid "Error: Capability name must contain latin characters and digits only!"
405
+ msgstr ""
406
+ "Error: El nombre de la Capacidad sólo debe contener caracteres alfanuméricos!"
407
+
408
+ #: ../includes/class-ure-lib.php:1848
409
+ #, php-format
410
+ msgid "Capability %s is added successfully"
411
+ msgstr "La Capacidad %s fue agregada exitosamente"
412
+
413
+ #: ../includes/class-ure-lib.php:1850
414
+ #, php-format
415
+ msgid "Capability %s exists already"
416
+ msgstr "La Capacidad %s ya existe"
417
+
418
+ #: ../includes/class-ure-lib.php:1875
419
+ #, php-format
420
+ msgid "Error! You do not have permission to delete this capability: %s!"
421
+ msgstr ""
422
+ "¡Error! No cuentas con suficientes permisos para eliminar esta Capacidad: %s!"
423
+
424
+ #: ../includes/class-ure-lib.php:1894
425
+ #, php-format
426
+ msgid "Capability %s is removed successfully"
427
+ msgstr "La Capacidad %s fue eliminada exitosamente"
428
+
429
+ #: ../includes/class-ure-lib.php:1991
430
+ msgid "About this Plugin:"
431
+ msgstr "Acerca de este Plugin:"
432
+
433
+ #: ../includes/class-ure-lib.php:1993
434
+ msgid "Author's website"
435
+ msgstr "Sitio web del Autor"
436
+
437
+ #: ../includes/class-ure-lib.php:1994
438
+ msgid "Plugin webpage"
439
+ msgstr "Página web del Plugin"
440
+
441
+ #: ../includes/class-ure-lib.php:1995
442
+ #: ../includes/class-user-role-editor.php:418
443
+ msgid "Changelog"
444
+ msgstr "Registro de cambios"
445
+
446
+ #: ../includes/class-ure-lib.php:1996
447
+ msgid "FAQ"
448
+ msgstr "FAQ"
449
+
450
+ #: ../includes/class-ure-lib.php:2037
451
+ msgid "None"
452
+ msgstr "Ninguno"
453
+
454
+ #: ../includes/class-user-role-editor.php:169
455
+ #: ../includes/class-user-role-editor.php:171
456
+ msgid "You do not have permission to edit this user."
457
+ msgstr "No tienes los suficientes permisos para editar este usuario"
458
+
459
+ #: ../includes/class-user-role-editor.php:312
460
+ msgid "Capabilities"
461
+ msgstr "Capacidades"
462
+
463
+ #: ../includes/class-user-role-editor.php:405
464
+ msgid "Settings"
465
+ msgstr "Configuración"
466
+
467
+ #: ../includes/class-user-role-editor.php:484
468
+ msgid "User Role Editor options are updated"
469
+ msgstr "Opciones actualizadas"
470
+
471
+ #: ../includes/class-user-role-editor.php:531
472
+ msgid "Insufficient permissions to work with User Role Editor"
473
+ msgstr "Permisos insuficientes para trabajar con el Editor de Roles"
474
+
475
+ #: ../includes/class-user-role-editor.php:584
476
+ msgid "Select All"
477
+ msgstr "Seleccionar todo"
478
+
479
+ #: ../includes/class-user-role-editor.php:585
480
+ msgid "Unselect All"
481
+ msgstr "Deseleccionar todo"
482
+
483
+ #: ../includes/class-user-role-editor.php:586
484
+ msgid "Reverse"
485
+ msgstr "Revertir"
486
+
487
+ #: ../includes/class-user-role-editor.php:587
488
+ msgid "Update"
489
+ msgstr "Actualizar"
490
+
491
+ #: ../includes/class-user-role-editor.php:588
492
+ msgid "Please confirm permissions update"
493
+ msgstr "Por favor confirma las actualizaciones de permisos"
494
+
495
+ #: ../includes/class-user-role-editor.php:589
496
+ msgid "Add New Role"
497
+ msgstr "Agregar nuevo Rol"
498
+
499
+ #: ../includes/class-user-role-editor.php:590
500
+ msgid " Role name (ID) can not be empty!"
501
+ msgstr "¡El nombre del Rol (ID) no puede estar vacío!"
502
+
503
+ #: ../includes/class-user-role-editor.php:591
504
+ msgid ""
505
+ " Role name (ID) must contain latin characters, digits, hyphens or underscore "
506
+ "only!"
507
+ msgstr ""
508
+ "¡El nombre del Rol (ID) sólo debe contener caracteres alfanuméricos, guiones "
509
+ "altos o bajos!"
510
+
511
+ #: ../includes/class-user-role-editor.php:592
512
+ msgid "Add Role"
513
+ msgstr "Agregar Rol"
514
+
515
+ #: ../includes/class-user-role-editor.php:593
516
+ msgid "Delete Role"
517
+ msgstr "Eliminar Rol"
518
+
519
+ #: ../includes/class-user-role-editor.php:594
520
+ msgid "Cancel"
521
+ msgstr "Cancelar"
522
+
523
+ #: ../includes/class-user-role-editor.php:595
524
+ msgid "Add Capability"
525
+ msgstr "Agregar Capacidad"
526
+
527
+ #: ../includes/class-user-role-editor.php:596
528
+ #: ../includes/class-user-role-editor.php:601
529
+ msgid "Delete Capability"
530
+ msgstr "Eliminar Capacidades"
531
+
532
+ #: ../includes/class-user-role-editor.php:597
533
+ msgid "Reset"
534
+ msgstr "Reiniciar"
535
+
536
+ #: ../includes/class-user-role-editor.php:598
537
+ msgid ""
538
+ "Reset Roles to WordPress defaults. Be careful, all changes made by you or "
539
+ "plugins will be lost. Some plugins, e.g. S2Member, WooCommerce reactivation "
540
+ "could be needed. Continue?"
541
+ msgstr ""
542
+ "Reiniciar Roles a los predeterminados de WordPress. Ten cuidado, todos los "
543
+ "cambios que tú hayas realizado (o ejecutados por algún plugin) se perderán. "
544
+ "Algunos plugins como S2Member, WooCommerce podrían necesitar una "
545
+ "reactivación ¿Deseas continuar?"
546
+
547
+ #: ../includes/class-user-role-editor.php:599
548
+ msgid "Default Role"
549
+ msgstr "Rol Predeterminado"
550
+
551
+ #: ../includes/class-user-role-editor.php:600
552
+ msgid "Set New Default Role"
553
+ msgstr "Establecer nuevo Rol"
554
+
555
+ #: ../includes/class-user-role-editor.php:602
556
+ msgid ""
557
+ "Warning! Be careful - removing critical capability could crash some plugin "
558
+ "or other custom code"
559
+ msgstr ""
560
+ "¡Atención! Ten cuidado - Eliminar Capacidadess esenciales podría inhabilitar "
561
+ "algún plugin o código personalizado"
562
+
563
+ #: ../includes/class-user-role-editor.php:603
564
+ msgid " Capability name (ID) can not be empty!"
565
+ msgstr "¡El nombre de la Capacidad (ID) no puede estar vacío!"
566
+
567
+ #: ../includes/class-user-role-editor.php:604
568
+ msgid ""
569
+ " Capability name (ID) must contain latin characters, digits, hyphens or "
570
+ "underscore only!"
571
+ msgstr ""
572
+ "¡El nombre de la Capacidad (ID) sólo debe contener caracteres alfanuméricos, "
573
+ "guiones altos o bajos!"
574
+
575
+ #: ../includes/class-user-role-editor.php:630
576
+ #: ../includes/class-user-role-editor.php:665
577
+ msgid "Other Roles"
578
+ msgstr "Otros Roles"
579
+
580
+ #: ../includes/class-user-role-editor.php:640
581
+ msgid "Edit"
582
+ msgstr "Editar"
583
+
584
+ #: ../includes/settings-template.php:60
585
+ msgid "Save"
586
+ msgstr "Guardar"
587
+
588
+ #: ../includes/ure-role-edit.php:17
589
+ msgid "Select Role and change its capabilities list"
590
+ msgstr "Selecciona un rol y modifica su lista de Capacidades"
591
+
592
+ #: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:51
593
+ msgid "Show capabilities in human readable form"
594
+ msgstr "Mostrar Capacidades de forma legible"
595
+
596
+ #: ../includes/ure-role-edit.php:40 ../includes/ure-user-edit.php:61
597
+ msgid "Show deprecated capabilities"
598
+ msgstr "Mostrar Capacidades obsoletas"
599
+
600
+ #: ../includes/ure-role-edit.php:45
601
+ msgid "If checked, then apply action to ALL sites of this Network"
602
+ msgstr "Si está marcado, se aplicará la acción a TODOS los sitios de la Red"
603
+
604
+ #: ../includes/ure-role-edit.php:57
605
+ msgid "Apply to All Sites"
606
+ msgstr "Aplicar a todos los Sitios"
607
+
608
+ #: ../includes/ure-role-edit.php:64 ../includes/ure-user-edit.php:106
609
+ msgid "Core capabilities:"
610
+ msgstr "Capacidades del núcleo del sistema:"
611
+
612
+ #: ../includes/ure-role-edit.php:66 ../includes/ure-user-edit.php:108
613
+ msgid "Quick filter:"
614
+ msgstr "Filtro rápido:"
615
+
616
+ #: ../includes/ure-role-edit.php:84 ../includes/ure-user-edit.php:127
617
+ msgid "Custom capabilities:"
618
+ msgstr "Capacidades personalizadas:"
619
+
620
+ #: ../includes/ure-user-edit.php:34
621
+ msgid "Change capabilities for user"
622
+ msgstr "Cambiar Capacidades para el usuario"
623
+
624
+ #: ../includes/ure-user-edit.php:66
625
+ msgid "Primary Role:"
626
+ msgstr "Rol Primario:"
627
+
628
+ #: ../includes/ure-user-edit.php:77
629
+ msgid "bbPress Role:"
630
+ msgstr "Rol de bbPress:"
631
+
632
+ #: ../includes/ure-user-edit.php:87
633
+ msgid "Other Roles:"
634
+ msgstr "Otros Roles:"
635
+
636
+ #~ msgid "Only"
637
+ #~ msgstr "Solamente"
638
+
639
+ #~ msgid "is allowed to use"
640
+ #~ msgstr "está permitido usarlo"
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shinephp
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: user, role, editor, security, access, permission, capability
5
  Requires at least: 3.5
6
- Tested up to: 3.6
7
  Stable tag: trunk
8
 
9
  User Role Editor WordPress plugin makes the role capabilities changing easy. You can change any standard WordPress user role.
@@ -63,6 +63,7 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/
63
 
64
  = Translations =
65
  * Catalan: [Efraim Bayarri](http://replicantsfactory.com/);
 
66
  * Turkish: [Muhammed YILDIRIM](http://ben.muhammed.im);
67
  * Hebrew: [atar4u](http://atar4u.com)
68
 
@@ -75,6 +76,12 @@ Share with me new ideas about plugin further development and link to your site w
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
78
  = 4.5.1 =
79
  * 29.08.2013
80
  * Bug with multi-site super-admin access to the User Role Editor is fixed. Version 4.5. showed message "Insufficient permissions to work with User Role Editor" until add "manage_network_users" capability to the "Administrator" role. It is enough now to be the "Superadmin" at multi-site network.
@@ -193,7 +200,7 @@ Read [this post](http://role-editor.com/user-role-editor-version-4-1-is-availabl
193
  * Compatibility with bbPress 2.2 new user roles model is provided. More details about the reason of such update at http://shinephp.com/bbpress-user-role-editor-conflict-fix/
194
  * "Reset" button works differently now. It restores WordPress roles data to its 1st, default state, exactly that, what WordPress has just after fresh install/latest version update. Be careful with it, make database backup copy before fulfill this operation. Some plugin could require reactivation to function properly after roles reset.
195
  * Arabic translation is added. Thanks to [Yaser](http://www.englize.com/)
196
- * Slovak translation is added. Thanks to [Branco](http://webhostinggeeks.com/blog/)
197
 
198
  = 3.8.3 =
199
  * 14.12.2012
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: user, role, editor, security, access, permission, capability
5
  Requires at least: 3.5
6
+ Tested up to: 3.6.1
7
  Stable tag: trunk
8
 
9
  User Role Editor WordPress plugin makes the role capabilities changing easy. You can change any standard WordPress user role.
63
 
64
  = Translations =
65
  * Catalan: [Efraim Bayarri](http://replicantsfactory.com/);
66
+ * Spanish: [Dario Ferrer](http://darioferrer.com/);
67
  * Turkish: [Muhammed YILDIRIM](http://ben.muhammed.im);
68
  * Hebrew: [atar4u](http://atar4u.com)
69
 
76
 
77
  == Changelog ==
78
 
79
+ = 4.5.2 =
80
+ * 23.09.2013
81
+ * User capabilities editor updated to support capabilities beyond the user roles - capabilities added by other plugins directly to the users, or deleted from the user roles.
82
+ * Bug fixed - custom capabilities was not shown in User capabilities editor in some cases.
83
+ * Spanish translation was added. Thanks to [Dario Ferrer](http://darioferrer.com/).
84
+
85
  = 4.5.1 =
86
  * 29.08.2013
87
  * Bug with multi-site super-admin access to the User Role Editor is fixed. Version 4.5. showed message "Insufficient permissions to work with User Role Editor" until add "manage_network_users" capability to the "Administrator" role. It is enough now to be the "Superadmin" at multi-site network.
200
  * Compatibility with bbPress 2.2 new user roles model is provided. More details about the reason of such update at http://shinephp.com/bbpress-user-role-editor-conflict-fix/
201
  * "Reset" button works differently now. It restores WordPress roles data to its 1st, default state, exactly that, what WordPress has just after fresh install/latest version update. Be careful with it, make database backup copy before fulfill this operation. Some plugin could require reactivation to function properly after roles reset.
202
  * Arabic translation is added. Thanks to [Yaser](http://www.englize.com/)
203
+ * Slovak translation is added. Thanks to Branco.
204
 
205
  = 3.8.3 =
206
  * 14.12.2012
user-role-editor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: User Role Editor
4
  Plugin URI: http://role-editor.com
5
  Description: Change/add/delete WordPress user roles and capabilities.
6
- Version: 4.5.1
7
  Author: Vladimir Garagulya
8
  Author URI: http://www.shinephp.com
9
  Text Domain: ure
3
  Plugin Name: User Role Editor
4
  Plugin URI: http://role-editor.com
5
  Description: Change/add/delete WordPress user roles and capabilities.
6
+ Version: 4.5.2
7
  Author: Vladimir Garagulya
8
  Author URI: http://www.shinephp.com
9
  Text Domain: ure