WPFront User Role Editor - Version 2.9

Version Description

  • Login redirect added. Documentation.
  • Assign roles compatibility fix.
  • Swedish translation added. Thanks to Elger.
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront User Role Editor
Version 2.9
Comparing to
See all releases

Code changes from version 2.7 to 2.9

classes/base/class-wpfront-entity-base.php CHANGED
@@ -82,6 +82,9 @@ if (!class_exists('WPFront_Entity_Base')) {
82
  'type' => 'get',
83
  'data' => $obj
84
  );
 
 
 
85
 
86
  foreach ($this->_db_data() as $value) {
87
  $key = $value->name;
@@ -183,6 +186,8 @@ if (!class_exists('WPFront_Entity_Base')) {
183
  'bigint' => '%d',
184
  'varchar' => '%s',
185
  'longtext' => '%s',
 
 
186
  'bit' => '%d'
187
  );
188
 
@@ -266,6 +271,62 @@ if (!class_exists('WPFront_Entity_Base')) {
266
  return $data;
267
  }
268
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  public function add() {
270
  $values = array();
271
  $format = array();
82
  'type' => 'get',
83
  'data' => $obj
84
  );
85
+ $this->func_data["get_by_id"] = (OBJECT) array(
86
+ 'data' => $obj
87
+ );
88
 
89
  foreach ($this->_db_data() as $value) {
90
  $key = $value->name;
186
  'bigint' => '%d',
187
  'varchar' => '%s',
188
  'longtext' => '%s',
189
+ 'tinytext' => '%s',
190
+ 'datetime' => '%s',
191
  'bit' => '%d'
192
  );
193
 
271
  return $data;
272
  }
273
 
274
+ protected function get_all($orderby = array(), $page_index = -1, $per_page = -1, $search = '') {
275
+ global $wpdb;
276
+
277
+ $table_name = $this->table_name();
278
+
279
+ $sql = "SELECT * FROM $table_name";
280
+
281
+ if(!empty($search)) {
282
+ $sql .= " WHERE $search";
283
+ }
284
+
285
+ if (!empty($orderby)) {
286
+ $sql .= ' ORDER BY ';
287
+ foreach ($orderby as $key => $value) {
288
+ $sql .= $key;
289
+ if ($value)
290
+ $sql .= ' DESC';
291
+ $sql .= ', ';
292
+ }
293
+ }
294
+ $sql = trim($sql, ", ");
295
+
296
+ if($page_index > -1) {
297
+ $start = $page_index * $per_page;
298
+
299
+ $sql .= " LIMIT $start, $per_page";
300
+ }
301
+
302
+ $result = $wpdb->get_results($sql, ARRAY_A);
303
+
304
+ $data = array();
305
+ $class = get_class($this);
306
+
307
+ foreach ($result as $row) {
308
+ $data[] = $this->get_object($row);
309
+ }
310
+
311
+ return $data;
312
+ }
313
+
314
+ protected function count($where = '') {
315
+ global $wpdb;
316
+
317
+ $table_name = $this->table_name();
318
+
319
+ $sql = "SELECT COUNT(*) FROM $table_name";
320
+
321
+ if(!empty($where)) {
322
+ $sql .= " WHERE $where";
323
+ }
324
+
325
+ $result = $wpdb->get_var($sql);
326
+
327
+ return intval($result);
328
+ }
329
+
330
  public function add() {
331
  $values = array();
332
  $format = array();
classes/class-wpfront-user-role-editor-assign-roles.php CHANGED
@@ -123,7 +123,8 @@ if (!class_exists('WPFront_User_Role_Editor_Assign_Roles')) {
123
  if ($user_id === wp_get_current_user()->ID)
124
  return;
125
 
126
- $user = get_user_to_edit($user_id);
 
127
  if (empty($user))
128
  return;
129
 
123
  if ($user_id === wp_get_current_user()->ID)
124
  return;
125
 
126
+ //$user = get_user_to_edit($user_id); //fatal error - function not defined.
127
+ $user = get_userdata($user_id);
128
  if (empty($user))
129
  return;
130
 
classes/class-wpfront-user-role-editor-controller-base.php CHANGED
@@ -164,6 +164,10 @@ if (!class_exists('WPFront_User_Role_Editor_Controller_Base')) {
164
  public function settings_url() {
165
  return admin_url('admin.php') . '?page=' . WPFront_User_Role_Editor_Options::MENU_SLUG;
166
  }
 
 
 
 
167
 
168
  public function cache_add($key, $data) {
169
  wp_cache_set($key, $data, WPFront_User_Role_Editor::PLUGIN_SLUG);
164
  public function settings_url() {
165
  return admin_url('admin.php') . '?page=' . WPFront_User_Role_Editor_Options::MENU_SLUG;
166
  }
167
+
168
+ public function login_redirect_url() {
169
+ return admin_url('admin.php') . '?page=' . WPFront_User_Role_Editor_Login_Redirect::MENU_SLUG;
170
+ }
171
 
172
  public function cache_add($key, $data) {
173
  wp_cache_set($key, $data, WPFront_User_Role_Editor::PLUGIN_SLUG);
classes/class-wpfront-user-role-editor-login-redirect-list-table.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+
6
+ if (!class_exists('WP_List_Table')) {
7
+ require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
8
+ }
9
+
10
+ if (!class_exists('WPFront_User_Role_Editor_Login_Redirect_List_Table')) {
11
+
12
+ /**
13
+ * Login Redirect List Table
14
+ *
15
+ * @author Syam Mohan <syam@wpfront.com>
16
+ * @copyright 2015 WPFront.com
17
+ */
18
+ class WPFront_User_Role_Editor_Login_Redirect_List_Table extends WP_List_Table {
19
+
20
+ private $main;
21
+
22
+ public function __construct($main) {
23
+ parent::__construct(array('screen' => 'login-redirect'));
24
+ $this->main = $main;
25
+ }
26
+
27
+ function ajax_user_can() {
28
+ return $this->main->can_edit_login_redirect();
29
+ }
30
+
31
+ function prepare_items() {
32
+ $search = NULL;
33
+ if (function_exists('wp_unslash'))
34
+ $search = isset($_REQUEST['s']) ? wp_unslash(trim($_REQUEST['s'])) : '';
35
+ else
36
+ $search = isset($_REQUEST['s']) ? trim($_REQUEST['s']) : '';
37
+
38
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
39
+
40
+ $per_page = PHP_INT_MAX;
41
+ $count = $entity->count($search);
42
+
43
+ $page = isset($_GET['paged']) ? $_GET['paged'] : '1';
44
+ $page = (int) $page;
45
+ if ($page <= 0)
46
+ $page = 1;
47
+
48
+ if ($page > ceil($count / $per_page))
49
+ $page = ceil($count / $per_page);
50
+
51
+ $this->items = $entity->get_all_login_redirect($search);
52
+
53
+ $this->set_pagination_args(array(
54
+ 'total_items' => $count,
55
+ 'per_page' => $per_page,
56
+ ));
57
+ }
58
+
59
+ function get_bulk_actions() {
60
+ $actions = array();
61
+ if ($this->main->can_delete_login_redirect())
62
+ $actions['delete'] = $this->main->__('Delete');
63
+
64
+ return $actions;
65
+ }
66
+
67
+ function no_items() {
68
+ echo $this->main->__('No login redirects found.');
69
+ }
70
+
71
+ function get_views() {
72
+ $role_links = array();
73
+
74
+ return $role_links;
75
+ }
76
+
77
+ function pagination($which) {
78
+ parent::pagination($which);
79
+ }
80
+
81
+ function get_columns() {
82
+ $columns = array(
83
+ 'cb' => '<input type="checkbox" />',
84
+ 'role' => $this->main->__('Role'),
85
+ 'priority' => $this->main->__('Priority'),
86
+ 'url' => $this->main->__('URL'),
87
+ 'deny_wpadmin' => $this->main->__('WP-ADMIN'),
88
+ 'disable_toolbar' => $this->main->__('Toolbar')
89
+ );
90
+
91
+ return $columns;
92
+ }
93
+
94
+ function get_sortable_columns() {
95
+ return array(
96
+ );
97
+ }
98
+
99
+ function display_rows() {
100
+ $alt = '';
101
+
102
+ foreach ($this->items as $entity) {
103
+ $alt = ( 'alternate' == $alt ) ? '' : 'alternate';
104
+ ?>
105
+ <tr class="<?php echo $alt; ?>">
106
+ <?php
107
+ list( $columns, $hidden ) = $this->get_column_info();
108
+
109
+ foreach ($columns as $column_name => $column_display_name) :
110
+ $class = "class='$column_name column-$column_name'";
111
+
112
+ $style = '';
113
+ if (in_array($column_name, $hidden))
114
+ $style = ' style="display:none;"';
115
+
116
+ $attributes = "$class$style";
117
+
118
+ switch ($column_name) {
119
+ case 'cb':
120
+ ?>
121
+ <th scope="row" class="check-column">
122
+ <label class="screen-reader-text" for="role_<?php echo $entity->get_role(); ?>"><?php echo sprintf($this->main->__('Select %s'), $entity->get_role()); ?></label>
123
+ <input type="checkbox" id="code_<?php echo $entity->get_role(); ?>" name="role[]" value="<?php echo esc_attr($entity->get_role()); ?>" />
124
+ </th>
125
+ <?php
126
+ break;
127
+
128
+ case 'role':
129
+ $role = $this->main->get_role_display_name($entity->get_role());
130
+ echo "<td $attributes>";
131
+ $edit_link = $this->main->login_redirect_edit_url($entity->get_role());
132
+ if ($this->main->can_edit_login_redirect()) {
133
+ ?>
134
+ <strong>
135
+ <a href="<?php echo $edit_link; ?>" class="edit">
136
+ <?php echo $role; ?>
137
+ </a>
138
+ </strong>
139
+ <?php
140
+ } else {
141
+ echo $role;
142
+ }
143
+ ?>
144
+ <br/>
145
+ <?php
146
+ $actions = array();
147
+ if ($this->main->can_edit_login_redirect()) {
148
+ $actions['edit'] = '<a href="' . $edit_link . '">' . $this->main->__('Edit') . '</a>';
149
+ }
150
+ if ($this->main->can_delete_login_redirect()) {
151
+ $actions['delete'] = '<a href="' . $this->main->login_redirect_delete_url($entity->get_role()) . '">' . $this->main->__('Delete') . '</a>';
152
+ }
153
+ echo $this->row_actions($actions);
154
+ ?>
155
+ </td>
156
+ <?php
157
+ break;
158
+
159
+ case 'priority':
160
+ echo "<td $attributes>" . $entity->get_priority() . "</td>";
161
+ break;
162
+
163
+ case 'url':
164
+ echo "<td $attributes>" . $this->main->format_url($entity->get_url()) . "</td>";
165
+ break;
166
+
167
+ case 'deny_wpadmin':
168
+ echo "<td $attributes>" . ($entity->get_deny_wpadmin() ? '<i class="fa fa-times"></i>' : '<i class="fa fa-check"></i>') . "</td>";
169
+ break;
170
+
171
+ case 'disable_toolbar':
172
+ echo "<td $attributes>" . ($entity->get_disable_toolbar() ? '<i class="fa fa-times"></i>' : '<i class="fa fa-check"></i>') . "</td>";
173
+ break;
174
+ }
175
+ endforeach
176
+ ?>
177
+ </tr>
178
+ <?php
179
+ }
180
+ }
181
+
182
+ }
183
+
184
+ }
classes/class-wpfront-user-role-editor-login-redirect.php ADDED
@@ -0,0 +1,492 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ WPFront User Role Editor Plugin
5
+ Copyright (C) 2014, WPFront.com
6
+ Website: wpfront.com
7
+ Contact: syam@wpfront.com
8
+
9
+ WPFront User Role Editor Plugin is distributed under the GNU General Public License, Version 3,
10
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
11
+ St, Fifth Floor, Boston, MA 02110, USA
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
+ */
24
+
25
+ if (!defined('ABSPATH')) {
26
+ exit();
27
+ }
28
+
29
+ require_once(plugin_dir_path(__FILE__) . "entities/class-wpfront-user-role-editor-entity-login-redirect.php");
30
+
31
+ if (!class_exists('WPFront_User_Role_Editor_Login_Redirect')) {
32
+
33
+ /**
34
+ * Login Redirect Controller
35
+ *
36
+ * @author Syam Mohan <syam@wpfront.com>
37
+ * @copyright 2015 WPFront.com
38
+ */
39
+ class WPFront_User_Role_Editor_Login_Redirect extends WPFront_User_Role_Editor_Controller_Base {
40
+
41
+ const MENU_SLUG = 'wpfront-user-role-editor-login-redirect';
42
+
43
+ private $MODE = NULL;
44
+ private $role = '';
45
+ private $priority = '';
46
+ private $url = '';
47
+ private $deny_wpadmin = FALSE;
48
+ private $disable_toolbar = FALSE;
49
+ private $valid_role = TRUE;
50
+ private $valid_priority = TRUE;
51
+ private $valid_url = TRUE;
52
+ private $success_message = NULL;
53
+ private $error_message = NULL;
54
+
55
+ public function __construct($main) {
56
+ parent::__construct($main);
57
+
58
+ add_filter('login_redirect', array($this, 'login_redirect_callback'), 10, 3);
59
+ add_action('admin_init', array($this, 'admin_init'));
60
+ add_filter('show_admin_bar', array($this, 'show_toolbar'), 10, 1);
61
+ }
62
+
63
+ public function login_redirect_callback($redirect_to, $request_from = '', $obj_user = NULL) {
64
+ if (empty($obj_user) || is_wp_error($obj_user)) {
65
+ $obj_user = wp_get_current_user();
66
+ }
67
+
68
+ if (empty($obj_user) || is_wp_error($obj_user)) {
69
+ return $redirect_to;
70
+ }
71
+
72
+ if (empty($obj_user->roles) || !is_array($obj_user->roles))
73
+ return $redirect_to;
74
+
75
+ $roles = $obj_user->roles;
76
+ if (in_array(self::ADMINISTRATOR_ROLE_KEY, $roles))
77
+ return $redirect_to;
78
+
79
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
80
+ $data = $entity->get_all_login_redirect();
81
+
82
+ foreach ($data as $value) {
83
+ $role = $value->get_role();
84
+ if (!$this->role_supported($role))
85
+ continue;
86
+
87
+ if (in_array($role, $roles))
88
+ return $this->format_url($value->get_url());
89
+ }
90
+
91
+ return $redirect_to;
92
+ }
93
+
94
+ public function admin_init() {
95
+ if (defined('DOING_AJAX') && DOING_AJAX) {
96
+ return;
97
+ }
98
+
99
+ if (!empty($_SERVER['PHP_SELF']) && $_SERVER['PHP_SELF'] === '/wp-admin/admin-ajax.php') {
100
+ return;
101
+ }
102
+
103
+ if (!empty($_SERVER['DOING_AJAX']) && $_SERVER['DOING_AJAX'] === '/wp-admin/admin-ajax.php') {
104
+ return;
105
+ }
106
+
107
+ $obj_user = wp_get_current_user();
108
+ if (empty($obj_user) || is_wp_error($obj_user)) {
109
+ return;
110
+ }
111
+
112
+ if (empty($obj_user->roles) || !is_array($obj_user->roles))
113
+ return;
114
+
115
+ $roles = $obj_user->roles;
116
+ if (in_array(self::ADMINISTRATOR_ROLE_KEY, $roles))
117
+ return;
118
+
119
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
120
+ $data = $entity->get_all_login_redirect();
121
+
122
+ foreach ($data as $value) {
123
+ $role = $value->get_role();
124
+ if (!$this->role_supported($role))
125
+ continue;
126
+
127
+ if (in_array($role, $roles)) {
128
+ if ($value->get_deny_wpadmin()) {
129
+ wp_redirect($this->format_url($value->get_url()));
130
+ }
131
+
132
+ return;
133
+ }
134
+ }
135
+ }
136
+
137
+ public function show_toolbar($show) {
138
+ $obj_user = wp_get_current_user();
139
+ if (empty($obj_user) || is_wp_error($obj_user)) {
140
+ return $show;
141
+ }
142
+
143
+ if (empty($obj_user->roles) || !is_array($obj_user->roles))
144
+ return $show;
145
+
146
+ $roles = $obj_user->roles;
147
+ if (in_array(self::ADMINISTRATOR_ROLE_KEY, $roles))
148
+ return TRUE;
149
+
150
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
151
+ $data = $entity->get_all_login_redirect();
152
+
153
+ foreach ($data as $value) {
154
+ $role = $value->get_role();
155
+ if (!$this->role_supported($role))
156
+ continue;
157
+
158
+ if (in_array($role, $roles)) {
159
+ if ($value->get_disable_toolbar()) {
160
+ return FALSE;
161
+ }
162
+
163
+ return TRUE;
164
+ }
165
+ }
166
+
167
+ return $show;
168
+ }
169
+
170
+ public function login_redirect() {
171
+ $this->main->verify_nonce('_login_redirect');
172
+
173
+ if (!$this->can_edit_login_redirect()) {
174
+ $this->main->permission_denied();
175
+ return;
176
+ }
177
+
178
+ if ($this->get_mode() === 'DELETE' || $this->get_mode() === 'CONFIRM-DELETE') {
179
+ if (!$this->can_delete_login_redirect()) {
180
+ $this->main->permission_denied();
181
+ return;
182
+ }
183
+ }
184
+
185
+ if ($this->get_mode() === 'CONFIRM-DELETE') {
186
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
187
+ foreach ($this->role as $value) {
188
+ $entity = $entity->get_by_role($value);
189
+ $entity->delete();
190
+ }
191
+
192
+ $this->MODE = 'LIST';
193
+ }
194
+
195
+ if ($this->get_mode() === 'ADD') {
196
+ $this->priority = $this->get_next_priority();
197
+ }
198
+
199
+ if ($_SERVER['REQUEST_METHOD'] === 'POST' && $this->validate()) {
200
+ switch ($this->get_mode()) {
201
+ case 'ADD':
202
+ case 'EDIT':
203
+ if ($this->role_supported($this->role)) {
204
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
205
+ $entity->set_role($this->role);
206
+ if ($this->get_mode() === 'EDIT') {
207
+ $entity = $entity->get_by_role($this->role);
208
+ }
209
+ $entity->set_priority($this->priority);
210
+ $entity->set_url($this->url);
211
+ $entity->set_deny_wpadmin($this->deny_wpadmin);
212
+ $entity->set_disable_toolbar($this->disable_toolbar);
213
+ $entity->save();
214
+
215
+ if ($this->get_mode() === 'ADD') {
216
+ $this->success_message = $this->__('Login redirect added.');
217
+ $this->MODE = 'EDIT';
218
+ } else {
219
+ $this->success_message = $this->__('Login redirect updated.');
220
+ }
221
+ } else {
222
+ $this->error_message = $this->__('This role is not supported.');
223
+ }
224
+ break;
225
+
226
+ default:
227
+ break;
228
+ }
229
+ }
230
+
231
+ if ($this->get_mode() === 'EDIT') {
232
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
233
+ $entity = $entity->get_by_role($this->role);
234
+
235
+ $this->priority = $entity->get_priority();
236
+ $this->url = $entity->get_url();
237
+ $this->deny_wpadmin = $entity->get_deny_wpadmin();
238
+ $this->disable_toolbar = $entity->get_disable_toolbar();
239
+ }
240
+
241
+ include($this->main->pluginDIR() . 'templates/login-redirect.php');
242
+ }
243
+
244
+ private function validate() {
245
+ $valid = TRUE;
246
+
247
+ switch ($this->get_mode()) {
248
+ case 'ADD':
249
+ case 'EDIT':
250
+ if (empty($_POST['role'])) {
251
+ $this->valid_role = FALSE;
252
+ $valid = FALSE;
253
+ } else {
254
+ $this->role = $_POST['role'];
255
+ }
256
+
257
+ if (empty($_POST['priority'])) {
258
+ $this->valid_priority = FALSE;
259
+ $valid = FALSE;
260
+ } else {
261
+ $this->priority = intval($_POST['priority']);
262
+ if ($this->priority <= 0) {
263
+ $this->priority = '';
264
+ $this->valid_priority = FALSE;
265
+ $valid = FALSE;
266
+ }
267
+ }
268
+
269
+ if (empty($_POST['url'])) {
270
+ $this->valid_url = FALSE;
271
+ $valid = FALSE;
272
+ } else {
273
+ $this->url = $_POST['url'];
274
+ }
275
+
276
+ if (!empty($_POST['deny_wpadmin']))
277
+ $this->deny_wpadmin = TRUE;
278
+
279
+ if (!empty($_POST['disable_toolbar']))
280
+ $this->disable_toolbar = TRUE;
281
+ break;
282
+ }
283
+
284
+ return $valid;
285
+ }
286
+
287
+ private function get_mode() {
288
+ if (empty($this->MODE)) {
289
+ if (!empty($_POST['mode'])) {
290
+ $this->MODE = $_POST['mode'];
291
+ if ($this->MODE === 'BULK-DELETE') {
292
+ $this->MODE = NULL;
293
+ if ($_POST['action'] === 'delete' || $_POST['action2'] === 'delete') {
294
+ if (!empty($_POST['role'])) {
295
+ $this->MODE = 'DELETE';
296
+ $this->role = $_POST['role'];
297
+ }
298
+ }
299
+ } else {
300
+ $this->role = $_POST['role'];
301
+ }
302
+ } elseif (!empty($_GET['mode'])) {
303
+ switch ($_GET['mode']) {
304
+ case 'add-new':
305
+ $this->MODE = 'ADD';
306
+ break;
307
+
308
+ case 'edit':
309
+ $this->MODE = 'EDIT';
310
+ $this->role = $_GET['role'];
311
+ break;
312
+
313
+ case 'delete':
314
+ $this->MODE = 'DELETE';
315
+ $this->role = array($_GET['role']);
316
+ break;
317
+ }
318
+ }
319
+
320
+ if (empty($this->MODE))
321
+ $this->MODE = 'LIST';
322
+ }
323
+
324
+ return $this->MODE;
325
+ }
326
+
327
+ private function get_roles() {
328
+ global $wp_roles;
329
+ $roles = $wp_roles->get_names();
330
+ unset($roles[self::ADMINISTRATOR_ROLE_KEY]);
331
+
332
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
333
+ $data = $entity->get_all_login_redirect();
334
+ foreach ($data as $value) {
335
+ if (isset($roles[$value->get_role()])) {
336
+ unset($roles[$value->get_role()]);
337
+ }
338
+ }
339
+
340
+ return $roles;
341
+ }
342
+
343
+ protected function role_supported($role, $extend = FALSE) {
344
+ if ($role === self::ADMINISTRATOR_ROLE_KEY)
345
+ return FALSE;
346
+
347
+ global $wp_roles;
348
+ $roles = $wp_roles->get_names();
349
+ if (!isset($roles[$role]))
350
+ return FALSE;
351
+
352
+ if ($extend || in_array($role, WPFront_User_Role_Editor::$DEFAULT_ROLES))
353
+ return TRUE;
354
+
355
+ return FALSE;
356
+ }
357
+
358
+ public function login_redirect_add_new_url() {
359
+ return parent::login_redirect_url() . '&mode=add-new';
360
+ }
361
+
362
+ public function login_redirect_edit_url($role) {
363
+ return parent::login_redirect_url() . '&mode=edit&role=' . $role;
364
+ }
365
+
366
+ public function login_redirect_delete_url($role) {
367
+ return parent::login_redirect_url() . '&mode=delete&role=' . $role;
368
+ }
369
+
370
+ public function can_edit_login_redirect() {
371
+ return current_user_can('edit_login_redirects');
372
+ }
373
+
374
+ public function can_delete_login_redirect() {
375
+ return current_user_can('delete_login_redirects');
376
+ }
377
+
378
+ public function get_role_display_name($role) {
379
+ global $wp_roles;
380
+ $roles = $wp_roles->get_names();
381
+
382
+ if (isset($roles[$role]))
383
+ return $roles[$role];
384
+
385
+ return $role;
386
+ }
387
+
388
+ public function format_url($url) {
389
+ $url = strtolower($url);
390
+
391
+ if (strpos($url, '://') > -1)
392
+ return $url;
393
+
394
+ return home_url($url);
395
+ }
396
+
397
+ private function get_next_priority() {
398
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
399
+ return $entity->get_next_priority();
400
+ }
401
+
402
+ protected function add_help_tab() {
403
+ if ($this->get_mode() === 'LIST' || $this->get_mode() === 'CONFIRM-DELETE') {
404
+ return array(
405
+ array(
406
+ 'id' => 'overview',
407
+ 'title' => $this->__('Overview'),
408
+ 'content' => '<p>'
409
+ . $this->__('Use this functionality to redirect a user to a specific page after they login based on their role.')
410
+ . '</p>'
411
+ . '<p>'
412
+ . $this->__('In addition, you can also deny the user access to WP-ADMIN and remove the toolbar (admin bar) from the front end.')
413
+ . '</p>'
414
+ ),
415
+ array(
416
+ 'id' => 'columns',
417
+ 'title' => $this->__('Columns'),
418
+ 'content' => '<p>'
419
+ . $this->__('<b>Role</b>: The role of the user to qualify for this redirect.')
420
+ . '</p>'
421
+ . '<p>'
422
+ . $this->__('<b>Priority</b>: When a user has multiple roles, the role configuration with the highest priority will be selected.')
423
+ . '</p>'
424
+ . '<p>'
425
+ . $this->__('<b>URL</b>: The URL where the user will be redirected after login or on WP-ADMIN access if denied.')
426
+ . '</p>'
427
+ . '<p>'
428
+ . $this->__('<b>WP-ADMIN</b>: Displays whether user has access to WP-ADMIN.')
429
+ . '</p>'
430
+ . '<p>'
431
+ . $this->__('<b>Toolbar</b>: Displays whether user will see toolbar on front end.')
432
+ . '</p>'
433
+ )
434
+ );
435
+ }
436
+
437
+ if ($this->get_mode() === 'ADD' || $this->get_mode() === 'EDIT') {
438
+ return array(
439
+ array(
440
+ 'id' => 'overview',
441
+ 'title' => $this->__('Overview'),
442
+ 'content' => '<p>'
443
+ . $this->__('Add/Edit a new login redirect.')
444
+ . '</p>'
445
+ ),
446
+ array(
447
+ 'id' => 'fields',
448
+ 'title' => $this->__('Fields'),
449
+ 'content' => '<p>'
450
+ . $this->__('<b>Role</b>: The role of the user to qualify for this redirect.')
451
+ . '</p>'
452
+ . '<p>'
453
+ . $this->__('<b>Priority</b>: When a user has multiple roles, the role configuration with the highest priority will be selected.')
454
+ . '</p>'
455
+ . '<p>'
456
+ . $this->__('<b>URL</b>: The URL where the user will be redirected after login or on WP-ADMIN access if denied.')
457
+ . '</p>'
458
+ . '<p>'
459
+ . $this->__('<b>Deny WP-ADMIN</b>: If enabled user will be redirected to URL on WP-ADMIN access.')
460
+ . '</p>'
461
+ . '<p>'
462
+ . $this->__('<b>Disable Toolbar</b>: If enabled user will not see toolbar on front end.')
463
+ . '</p>'
464
+ )
465
+ );
466
+ }
467
+
468
+ if ($this->get_mode() === 'DELETE') {
469
+ return array(
470
+ array(
471
+ 'id' => 'overview',
472
+ 'title' => $this->__('Overview'),
473
+ 'content' => '<p>'
474
+ . $this->__('Click "Confirm Delete" to delete displayed configurations.')
475
+ . '</p>'
476
+ )
477
+ );
478
+ }
479
+ }
480
+
481
+ protected function set_help_sidebar() {
482
+ return array(
483
+ array(
484
+ $this->__('Documentation on Login Redirect'),
485
+ 'login-redirect/'
486
+ )
487
+ );
488
+ }
489
+
490
+ }
491
+
492
+ }
classes/class-wpfront-user-role-editor.php CHANGED
@@ -38,13 +38,13 @@ if (!class_exists('WPFront_User_Role_Editor')) {
38
  class WPFront_User_Role_Editor extends WPFront_Base_URE {
39
 
40
  //Constants
41
- const VERSION = '2.7';
42
  const OPTIONS_GROUP_NAME = 'wpfront-user-role-editor-options-group';
43
  const OPTION_NAME = 'wpfront-user-role-editor-options';
44
  const PLUGIN_SLUG = 'wpfront-user-role-editor';
45
 
46
  public static $DYNAMIC_CAPS = array();
47
- public static $ROLE_CAPS = array('list_roles', 'create_roles', 'edit_roles', 'delete_roles', 'edit_role_menus', 'edit_posts_role_permissions', 'edit_pages_role_permissions', 'edit_nav_menu_permissions');
48
  public static $DEFAULT_ROLES = array(self::ADMINISTRATOR_ROLE_KEY, self::EDITOR_ROLE_KEY, self::AUTHOR_ROLE_KEY, self::CONTRIBUTOR_ROLE_KEY, self::SUBSCRIBER_ROLE_KEY);
49
  public static $STANDARD_CAPABILITIES = array(
50
  'Dashboard' => array(
@@ -153,6 +153,7 @@ if (!class_exists('WPFront_User_Role_Editor')) {
153
  protected $objAssignUsers;
154
  protected $objGoPro;
155
  protected $objNavMenu = NULL;
 
156
 
157
  function __construct() {
158
  parent::__construct(__FILE__, self::PLUGIN_SLUG);
@@ -170,6 +171,8 @@ if (!class_exists('WPFront_User_Role_Editor')) {
170
  $this->objAssignUsers = new WPFront_User_Role_Editor_Assign_Roles($this);
171
  if ($this->objNavMenu === NULL)
172
  $this->objNavMenu = new WPFront_User_Role_Editor_Nav_Menu($this);
 
 
173
  }
174
  }
175
 
@@ -222,6 +225,7 @@ if (!class_exists('WPFront_User_Role_Editor')) {
222
  $this->add_submenu_page(20, $this->__('Add New Role'), $this->__('Add New'), $this->get_capability_string('create'), WPFront_User_Role_Editor_Add_Edit::MENU_SLUG, array($this->objAddEdit, 'add_edit_role'), NULL, NULL, $this->objAddEdit);
223
  $this->add_submenu_page(30, $this->__('Restore Role'), $this->__('Restore'), $this->get_capability_string('edit'), WPFront_User_Role_Editor_Restore::MENU_SLUG, array($this->objRestore, 'restore_role'), NULL, NULL, $this->objRestore);
224
  $this->add_submenu_page(35, $this->__('Add/Remove Capability'), $this->__('Add/Remove Cap'), $this->get_capability_string('edit'), WPFront_User_Role_Editor_Add_Remove_Capability::MENU_SLUG, array($this->objAddRemoveCap, 'add_remove_capability'), NULL, NULL, $this->objAddRemoveCap);
 
225
  $this->add_submenu_page(100, $this->__('Settings'), $this->__('Settings'), 'manage_options', WPFront_User_Role_Editor_Options::MENU_SLUG, array($this->options, 'settings'), NULL, NULL, $this->options);
226
  }
227
 
@@ -601,6 +605,7 @@ require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-add-rem
601
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-assign-roles.php");
602
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-go-pro.php");
603
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-nav-menu.php");
 
604
  require_once(plugin_dir_path(__FILE__) . "integration/plugins/class-wpfront-user-role-editor-plugin-integration.php");
605
 
606
 
38
  class WPFront_User_Role_Editor extends WPFront_Base_URE {
39
 
40
  //Constants
41
+ const VERSION = '2.9';
42
  const OPTIONS_GROUP_NAME = 'wpfront-user-role-editor-options-group';
43
  const OPTION_NAME = 'wpfront-user-role-editor-options';
44
  const PLUGIN_SLUG = 'wpfront-user-role-editor';
45
 
46
  public static $DYNAMIC_CAPS = array();
47
+ public static $ROLE_CAPS = array('list_roles', 'create_roles', 'edit_roles', 'delete_roles', 'edit_role_menus', 'edit_posts_role_permissions', 'edit_pages_role_permissions', 'edit_nav_menu_permissions', 'edit_content_shortcodes', 'delete_content_shortcodes', 'edit_login_redirects', 'delete_login_redirects');
48
  public static $DEFAULT_ROLES = array(self::ADMINISTRATOR_ROLE_KEY, self::EDITOR_ROLE_KEY, self::AUTHOR_ROLE_KEY, self::CONTRIBUTOR_ROLE_KEY, self::SUBSCRIBER_ROLE_KEY);
49
  public static $STANDARD_CAPABILITIES = array(
50
  'Dashboard' => array(
153
  protected $objAssignUsers;
154
  protected $objGoPro;
155
  protected $objNavMenu = NULL;
156
+ protected $objLoginRedirect = NULL;
157
 
158
  function __construct() {
159
  parent::__construct(__FILE__, self::PLUGIN_SLUG);
171
  $this->objAssignUsers = new WPFront_User_Role_Editor_Assign_Roles($this);
172
  if ($this->objNavMenu === NULL)
173
  $this->objNavMenu = new WPFront_User_Role_Editor_Nav_Menu($this);
174
+ if ($this->objLoginRedirect === NULL)
175
+ $this->objLoginRedirect = new WPFront_User_Role_Editor_Login_Redirect($this);
176
  }
177
  }
178
 
225
  $this->add_submenu_page(20, $this->__('Add New Role'), $this->__('Add New'), $this->get_capability_string('create'), WPFront_User_Role_Editor_Add_Edit::MENU_SLUG, array($this->objAddEdit, 'add_edit_role'), NULL, NULL, $this->objAddEdit);
226
  $this->add_submenu_page(30, $this->__('Restore Role'), $this->__('Restore'), $this->get_capability_string('edit'), WPFront_User_Role_Editor_Restore::MENU_SLUG, array($this->objRestore, 'restore_role'), NULL, NULL, $this->objRestore);
227
  $this->add_submenu_page(35, $this->__('Add/Remove Capability'), $this->__('Add/Remove Cap'), $this->get_capability_string('edit'), WPFront_User_Role_Editor_Add_Remove_Capability::MENU_SLUG, array($this->objAddRemoveCap, 'add_remove_capability'), NULL, NULL, $this->objAddRemoveCap);
228
+ $this->add_submenu_page(37, $this->__('Login Redirect'), $this->__('Login Redirect'), 'edit_login_redirects', WPFront_User_Role_Editor_Login_Redirect::MENU_SLUG, array($this->objLoginRedirect, 'login_redirect'), NULL, NULL, $this->objLoginRedirect);
229
  $this->add_submenu_page(100, $this->__('Settings'), $this->__('Settings'), 'manage_options', WPFront_User_Role_Editor_Options::MENU_SLUG, array($this->options, 'settings'), NULL, NULL, $this->options);
230
  }
231
 
605
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-assign-roles.php");
606
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-go-pro.php");
607
  require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-nav-menu.php");
608
+ require_once(plugin_dir_path(__FILE__) . "class-wpfront-user-role-editor-login-redirect.php");
609
  require_once(plugin_dir_path(__FILE__) . "integration/plugins/class-wpfront-user-role-editor-plugin-integration.php");
610
 
611
 
classes/entities/class-wpfront-user-role-editor-entity-login-redirect.php ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ require_once(plugin_dir_path(__FILE__) . "../class-wpfront-user-role-editor-entity-base.php");
8
+
9
+ if (!class_exists('WPFront_User_Role_Editor_Entity_Login_Redirect')) {
10
+
11
+ /**
12
+ * Login Redirect Entity
13
+ *
14
+ * @author Syam Mohan <syam@wpfront.com>
15
+ * @copyright 2015 WPFront.com
16
+ */
17
+ class WPFront_User_Role_Editor_Entity_Login_Redirect extends WPFront_User_Role_Editor_Entity_Base {
18
+
19
+ public function __construct() {
20
+ parent::__construct('login_redirect');
21
+ }
22
+
23
+ protected function _db_data() {
24
+ return array(
25
+ $this->db_data_field('role', 'varchar(250)'),
26
+ $this->db_data_field('priority', 'int'),
27
+ $this->db_data_field('url', 'varchar(2000)'),
28
+ $this->db_data_field('deny_wpadmin', 'bit'),
29
+ $this->db_data_field('disable_toolbar', 'bit')
30
+ );
31
+ }
32
+
33
+ public function count($search = '') {
34
+ if (empty($search))
35
+ return parent::count();
36
+
37
+ global $wpdb;
38
+
39
+ $sql = $wpdb->prepare("role LIKE %s OR url LIKE %s", "%$search%", "%$search%");
40
+ return parent::count($sql);
41
+ }
42
+
43
+ public function get_all_login_redirect($search = '') {
44
+ if (!empty($search)) {
45
+ global $wpdb;
46
+ $search = $wpdb->prepare("role LIKE %s OR url LIKE %s", "%$search%", "%$search%");
47
+ }
48
+
49
+ $data = parent::get_all(array('priority' => FALSE), -1, -1, $search);
50
+
51
+ global $wp_roles;
52
+ $roles = $wp_roles->get_names();
53
+ $entities = array();
54
+
55
+ foreach ($data as $value) {
56
+ if (isset($roles[$value->get_role()])) {
57
+ $entities[] = $value;
58
+ }
59
+ }
60
+
61
+ return $entities;
62
+ }
63
+
64
+ public function get_next_priority() {
65
+ $sql = "SELECT MAX(priority) FROM " . $this->table_name();
66
+
67
+ global $wpdb;
68
+ $result = $wpdb->get_var($sql);
69
+
70
+ return intval($result) + 1;
71
+ }
72
+
73
+ public function add() {
74
+ $priority = $this->get_next_priority();
75
+ if ($this->get_priority() > $priority)
76
+ $this->set_priority($priority);
77
+
78
+ if ($this->get_priority() < 1)
79
+ $this->set_priority(1);
80
+
81
+ $sql = "UPDATE " . $this->table_name() . " "
82
+ . "SET priority = priority + 1 "
83
+ . "WHERE priority >= " . $this->get_priority();
84
+ global $wpdb;
85
+ $wpdb->query($sql);
86
+
87
+ parent::add();
88
+ }
89
+
90
+ public function update() {
91
+ $priority = $this->get_next_priority() - 1;
92
+ if ($this->get_priority() > $priority)
93
+ $this->set_priority($priority);
94
+
95
+ if ($this->get_priority() < 1)
96
+ $this->set_priority(1);
97
+
98
+ $sql = "SELECT priority "
99
+ . "FROM " . $this->table_name() . " "
100
+ . "WHERE id = " . $this->get_id();
101
+ global $wpdb;
102
+ $current_priority = $wpdb->get_var($sql);
103
+ $new_priority = $this->get_priority();
104
+
105
+ if ($current_priority < $new_priority) {
106
+ $sql = "UPDATE " . $this->table_name() . " "
107
+ . "SET priority = priority - 1 "
108
+ . "WHERE priority > $current_priority AND priority <= $new_priority";
109
+ $wpdb->query($sql);
110
+ }
111
+
112
+ if ($current_priority > $new_priority) {
113
+ $sql = "UPDATE " . $this->table_name() . " "
114
+ . "SET priority = priority + 1 "
115
+ . "WHERE priority >= $new_priority AND priority < $current_priority";
116
+ $wpdb->query($sql);
117
+ }
118
+
119
+ parent::update();
120
+ }
121
+
122
+ public function delete() {
123
+ $sql = "SELECT priority "
124
+ . "FROM " . $this->table_name() . " "
125
+ . "WHERE id = " . $this->get_id();
126
+ global $wpdb;
127
+ $current_priority = $wpdb->get_var($sql);
128
+
129
+ $sql = "UPDATE " . $this->table_name() . " "
130
+ . "SET priority = priority - 1 "
131
+ . "WHERE priority > $current_priority";
132
+ $wpdb->query($sql);
133
+
134
+ parent::delete();
135
+ }
136
+
137
+ public static function uninstall() {
138
+ self::$UNINSTALL = TRUE;
139
+
140
+ $entity = new WPFront_User_Role_Editor_Entity_Login_Redirect();
141
+ $entity->uninstall_action();
142
+ }
143
+
144
+ }
145
+
146
+ }
classes/entities/class-wpfront-user-role-editor-entity-options.php CHANGED
@@ -23,7 +23,7 @@ if (!class_exists('WPFront_User_Role_Editor_Entity_Options')) {
23
  protected function _db_data() {
24
  return array(
25
  $this->db_data_field('option_name', 'varchar(250)'),
26
- $this->db_data_field('option_value', 'longtext'),
27
  );
28
  }
29
 
23
  protected function _db_data() {
24
  return array(
25
  $this->db_data_field('option_name', 'varchar(250)'),
26
+ $this->db_data_field('option_value', 'longtext')
27
  );
28
  }
29
 
css/style.css CHANGED
@@ -101,7 +101,7 @@ div.role-add-new div.metabox-holder .deprecated {
101
  }
102
 
103
  div.role-add-new div.metabox-holder div.postbox h3.hndle {
104
-
105
  }
106
 
107
  div.role-add-new div.metabox-holder div.postbox div.inside div.main div {
@@ -159,3 +159,15 @@ div.wrap.go-pro #license_key {
159
  div.wrap.go-pro div.license-container table.form-table td.expired {
160
  color: red;
161
  }
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
102
 
103
  div.role-add-new div.metabox-holder div.postbox h3.hndle {
104
+
105
  }
106
 
107
  div.role-add-new div.metabox-holder div.postbox div.inside div.main div {
159
  div.wrap.go-pro div.license-container table.form-table td.expired {
160
  color: red;
161
  }
162
+
163
+
164
+ div.wrap.login-redirect table.wp-list-table .column-priority,
165
+ div.wrap.login-redirect table.wp-list-table .column-deny_wpadmin,
166
+ div.wrap.login-redirect table.wp-list-table .column-disable_toolbar {
167
+ width: 10%;
168
+ text-align: center;
169
+ }
170
+
171
+ div.wrap.login-redirect table.wp-list-table .column-url {
172
+ width: 50%;
173
+ }
images/copy16x16.png ADDED
Binary file
languages/wpfront-user-role-editor-sv_SE.mo ADDED
Binary file
languages/wpfront-user-role-editor-sv_SE/readme.txt ADDED
@@ -0,0 +1 @@
 
1
+ Contributor: Elger Lindgren <bilddigital.se>
languages/wpfront-user-role-editor-sv_SE/wpfront-user-role-editor-sv_SE.mo ADDED
Binary file
languages/wpfront-user-role-editor-sv_SE/wpfront-user-role-editor-sv_SE.po ADDED
@@ -0,0 +1,1692 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WPFront User Role Editor Personal Pro\n"
4
+ "POT-Creation-Date: 2015-03-19 11:44+0100\n"
5
+ "PO-Revision-Date: 2015-03-20 12:15+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: sv_SE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
21
+
22
+ #: classes/base/class-wpfront-base-menu.php:56
23
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:84
24
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:369
25
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:416
26
+ #: templates/personal-pro/content-shortcodes-add-edit.php:15
27
+ #: templates/personal-pro/menu-editor.php:138
28
+ msgid "Name"
29
+ msgstr "Namn"
30
+
31
+ #: classes/base/class-wpfront-base-menu.php:57
32
+ msgid "Version"
33
+ msgstr "Version"
34
+
35
+ #: classes/base/class-wpfront-base-menu.php:58
36
+ msgid "Rating"
37
+ msgstr "Ranking"
38
+
39
+ #: classes/base/class-wpfront-base-menu.php:59
40
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:183
41
+ msgid "Description"
42
+ msgstr "Beskrivning"
43
+
44
+ #: classes/base/class-wpfront-base-menu.php:73
45
+ #, php-format
46
+ msgid "based on %s rating(s)"
47
+ msgstr "baserad på %s behörighet(er)"
48
+
49
+ #: classes/base/class-wpfront-base-menu.php:109
50
+ msgid "Unable to communicate with WordPress.org"
51
+ msgstr "Det går inte att kommunicera med WordPress.org"
52
+
53
+ #: classes/base/class-wpfront-base-menu.php:127
54
+ #: classes/base/class-wpfront-base-menu.php:221
55
+ msgid "WPFront Plugins"
56
+ msgstr "WPFront Insticksprogram"
57
+
58
+ #: classes/base/class-wpfront-base-menu.php:151
59
+ #, php-format
60
+ msgid "By %s"
61
+ msgstr "Av %s"
62
+
63
+ #: classes/base/class-wpfront-base-menu.php:158
64
+ #, php-format
65
+ msgid "More information about %s"
66
+ msgstr "Mer information om %s"
67
+
68
+ #: classes/base/class-wpfront-base-menu.php:158
69
+ #: classes/class-wpfront-user-role-editor-go-pro.php:225
70
+ msgid "Details"
71
+ msgstr "Detaljer"
72
+
73
+ #: classes/base/class-wpfront-base-menu.php:167
74
+ #, php-format
75
+ msgid "Install %s"
76
+ msgstr "Installera %s"
77
+
78
+ #: classes/base/class-wpfront-base-menu.php:167
79
+ msgid "Install Now"
80
+ msgstr "Installera nu"
81
+
82
+ #: classes/base/class-wpfront-base-menu.php:172
83
+ #, php-format
84
+ msgid "Update to version %s"
85
+ msgstr "Uppdatera till version %s"
86
+
87
+ #: classes/base/class-wpfront-base-menu.php:172
88
+ msgid "Update Now"
89
+ msgstr "Uppdatera nu"
90
+
91
+ #: classes/base/class-wpfront-base-menu.php:177
92
+ msgid "This plugin is already installed and is up to date"
93
+ msgstr "Denna plugin är redan installerad och är uppdaterad"
94
+
95
+ #: classes/base/class-wpfront-base-menu.php:177
96
+ msgid "Installed"
97
+ msgstr "Installerad"
98
+
99
+ #: classes/base/class-wpfront-base-menu.php:179
100
+ #: classes/base/class-wpfront-base.php:119
101
+ #: classes/class-wpfront-user-role-editor-options.php:262
102
+ #: classes/class-wpfront-user-role-editor.php:225
103
+ msgid "Settings"
104
+ msgstr "Inställningar"
105
+
106
+ #: classes/base/class-wpfront-base-menu.php:181
107
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:107
108
+ #: templates/go-pro.php:71 templates/go-pro.php:72
109
+ msgid "Activate"
110
+ msgstr "Aktivera"
111
+
112
+ #: classes/base/class-wpfront-base-menu.php:203
113
+ #: classes/class-wpfront-user-role-editor.php:340
114
+ msgid "Feedback"
115
+ msgstr "Feedback"
116
+
117
+ #: classes/base/class-wpfront-base-menu.php:220
118
+ msgid "WPFront"
119
+ msgstr "WPFront"
120
+
121
+ #: classes/base/class-wpfront-base-menu.php:221
122
+ msgid "All Plugins"
123
+ msgstr "Alla insticksprogram"
124
+
125
+ #: classes/base/class-wpfront-base.php:148
126
+ #: classes/class-wpfront-user-role-editor.php:289
127
+ msgid "You do not have sufficient permissions to access this page."
128
+ msgstr "Du har inte rättigheter för att få åtkomst till denna sida."
129
+
130
+ #: classes/base/class-wpfront-base.php:168
131
+ msgid ""
132
+ "If you have a caching plugin, clear the cache for the new settings to take "
133
+ "effect."
134
+ msgstr ""
135
+ "Om du har en caching plugin, rensa cachen för att de nya inställningarna ska "
136
+ "börja gälla."
137
+
138
+ #: classes/base/class-wpfront-base.php:215
139
+ #: templates/personal-pro/menu-editor.php:232
140
+ msgid "Save Changes"
141
+ msgstr "Spara ändringar"
142
+
143
+ #: classes/class-wpfront-user-role-editor-add-edit.php:324
144
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:128
145
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:365
146
+ #: classes/class-wpfront-user-role-editor-list.php:361
147
+ #: classes/class-wpfront-user-role-editor-list.php:395
148
+ #: classes/class-wpfront-user-role-editor-list.php:412
149
+ #: classes/class-wpfront-user-role-editor-options.php:255
150
+ #: classes/class-wpfront-user-role-editor-options.php:302
151
+ #: classes/class-wpfront-user-role-editor-restore.php:168
152
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:362
153
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:393
154
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:404
155
+ #: classes/personal-pro/class-wpfront-user-role-editor-export.php:130
156
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:229
157
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:592
158
+ msgid "Overview"
159
+ msgstr "Översikt"
160
+
161
+ #: classes/class-wpfront-user-role-editor-add-edit.php:326
162
+ msgid "This screen allows you to add a new role within your site."
163
+ msgstr "Här kan du lägga till en ny roll inom din webbplats."
164
+
165
+ #: classes/class-wpfront-user-role-editor-add-edit.php:329
166
+ #: classes/class-wpfront-user-role-editor-list.php:366
167
+ msgid ""
168
+ "You can copy capabilities from existing roles using the Copy from drop down "
169
+ "list. Select the role you want to copy from, then click Apply to copy the "
170
+ "capabilities. You can select or deselect capabilities even after you copy."
171
+ msgstr ""
172
+ "Du kan kopiera befogenheter från befintliga roller med hjälp av Kopiera från "
173
+ "rullistan. Markera den roll du vill kopiera från, och klicka sedan på "
174
+ "Verkställ för att kopiera befogenheterna. Du kan välja eller välja bort "
175
+ "befogenheter även efter att du kopierat."
176
+
177
+ #: classes/class-wpfront-user-role-editor-add-edit.php:334
178
+ #: classes/class-wpfront-user-role-editor-list.php:225
179
+ #: classes/class-wpfront-user-role-editor-list.php:371
180
+ #: classes/class-wpfront-user-role-editor-list.php:424
181
+ #: templates/add-edit-role.php:77
182
+ msgid "Display Name"
183
+ msgstr "Visningsnamn"
184
+
185
+ #: classes/class-wpfront-user-role-editor-add-edit.php:336
186
+ msgid ""
187
+ "Use the Display Name field to set the display name for the new role. "
188
+ "WordPress uses display name to display this role within your site. This "
189
+ "field is required."
190
+ msgstr ""
191
+ "Använd fältet Visningsnamn för att ställa in visningsnamnet för den nya "
192
+ "rollen. Wordpress använder visningsnamn för att visa denna roll inom din "
193
+ "webbplats. Detta fält är obligatoriskt."
194
+
195
+ #: classes/class-wpfront-user-role-editor-add-edit.php:341
196
+ #: classes/class-wpfront-user-role-editor-list.php:228
197
+ #: classes/class-wpfront-user-role-editor-list.php:378
198
+ #: classes/class-wpfront-user-role-editor-list.php:429
199
+ #: templates/add-edit-role.php:87
200
+ msgid "Role Name"
201
+ msgstr "Rollnamn"
202
+
203
+ #: classes/class-wpfront-user-role-editor-add-edit.php:343
204
+ msgid ""
205
+ "Use the Role Name field to set the role name for the new role. WordPress "
206
+ "uses role name to identify this role within your site. Once set role name "
207
+ "cannot be changed. This field is required. This plugin will auto populate "
208
+ "role name from the display name you have given, but you can change it."
209
+ msgstr ""
210
+ "Använd Rollnamn-fältet för att ställa in rollnamn för den nya rollen. "
211
+ "Wordpress använder rollnamn för att identifiera denna roll inom din "
212
+ "webbplats. När inställningen rollnamn är gjord kan det inte ändras. Detta "
213
+ "fält är obligatoriskt. Detta plugin kommer automatiskt fylla rollen namn "
214
+ "från det visningsnamn du angivit, men du kan ändra det."
215
+
216
+ #: classes/class-wpfront-user-role-editor-add-edit.php:348
217
+ #: classes/class-wpfront-user-role-editor-list.php:240
218
+ #: classes/class-wpfront-user-role-editor-list.php:385
219
+ #: classes/class-wpfront-user-role-editor-list.php:449
220
+ #: templates/add-edit-role.php:101
221
+ msgid "Capabilities"
222
+ msgstr "Befogenheter"
223
+
224
+ #: classes/class-wpfront-user-role-editor-add-edit.php:350
225
+ msgid ""
226
+ "Capabilities are displayed as different groups for easy access. The Roles "
227
+ "section displays capabilities created by this plugin. The Other Capabilities "
228
+ "section displays non-standard capabilities within your site. These are "
229
+ "usually created by plugins and themes. Use the check boxes to select the "
230
+ "capabilities required for this new role."
231
+ msgstr ""
232
+ "Befogenheter visas som olika grupper för enkel åtkomst. Avsnittet Roller "
233
+ "visar befogenheter som skapats av denna plugin. Den andra "
234
+ "befogenhetsavsnittet visar icke-standardiserade befogenheter inom din "
235
+ "webbplats. Dessa är vanligtvis skapade av plugins och teman. Använd "
236
+ "kryssrutorna för att välja de befogenheter som krävs för denna nya roll."
237
+
238
+ #: classes/class-wpfront-user-role-editor-add-edit.php:359
239
+ msgid "Documentation on Add New Role"
240
+ msgstr "Dokumentation till Lägg till ny roll"
241
+
242
+ #: classes/class-wpfront-user-role-editor-add-edit.php:378
243
+ msgid "Uses 'Posts' capabilities."
244
+ msgstr "Använder 'Inläggs' befogenheter."
245
+
246
+ #: classes/class-wpfront-user-role-editor-add-edit.php:379
247
+ #, php-format
248
+ msgid "%s to customize capabilites."
249
+ msgstr "%s för att anpassa befogenheter."
250
+
251
+ #: classes/class-wpfront-user-role-editor-add-edit.php:379
252
+ msgid "Upgrade to Pro"
253
+ msgstr "Uppgradera till PRO"
254
+
255
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:108
256
+ msgid "Roles updated."
257
+ msgstr "Roller uppdaterade."
258
+
259
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:130
260
+ msgid ""
261
+ "This screen allows you to add a capability to roles or remove a capability "
262
+ "from roles within your site."
263
+ msgstr ""
264
+ "Här kan du lägga till en befogenhet till roller eller ta bort en befogenhet "
265
+ "från roller inom din webbplats."
266
+
267
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:135
268
+ #: templates/add-remove-capability.php:61
269
+ msgid "Action"
270
+ msgstr "Åtgärd"
271
+
272
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:137
273
+ msgid "Select \"Add Capability\" to add a capability to roles."
274
+ msgstr ""
275
+ "Välj \"Lägg till befogenhet\" för att lägga till en befogenhet till roller."
276
+
277
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:140
278
+ msgid "Select \"Remove Capability\" to remove a capability from roles."
279
+ msgstr "Välj \"Ta bort befogenhet\" för att ta bort en befogenhet från roller."
280
+
281
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:145
282
+ #: templates/add-remove-capability.php:75
283
+ #: templates/personal-pro/menu-editor.php:141
284
+ msgid "Capability"
285
+ msgstr "Befogenhet"
286
+
287
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:147
288
+ msgid "Use the Capability field to name the capability to be added or removed."
289
+ msgstr ""
290
+ "Använd befogenhetsfältet för att namnge befogenheten som ska läggas till "
291
+ "eller tas bort."
292
+
293
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:152
294
+ #: classes/class-wpfront-user-role-editor.php:221
295
+ #: classes/class-wpfront-user-role-editor.php:233
296
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:87
297
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:431
298
+ #: templates/add-remove-capability.php:85 templates/list-roles.php:43
299
+ msgid "Roles"
300
+ msgstr "Roller"
301
+
302
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:154
303
+ #: classes/class-wpfront-user-role-editor.php:221
304
+ #: templates/add-remove-capability.php:90
305
+ msgid "All Roles"
306
+ msgstr "Alla roller"
307
+
308
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:155
309
+ msgid ""
310
+ "Select \"All Roles\", if you want the current action to be applied to all "
311
+ "roles within your site."
312
+ msgstr ""
313
+ "Välj \"Alla Roller\";, om du vill att nuvarande åtgärder skall tillämpas på "
314
+ "alla roller inom din webbplats."
315
+
316
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:158
317
+ #: templates/add-remove-capability.php:92
318
+ msgid "Selected Roles"
319
+ msgstr "Valda Roller"
320
+
321
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:159
322
+ msgid ""
323
+ "Select \"Selected Roles\", if you want to individually select the roles. "
324
+ "When this option is selected, \"Administrator\" role is included by default "
325
+ "on \"Add Capability\" action and excluded by default on \"Remove Capability"
326
+ "\" action."
327
+ msgstr ""
328
+ "Välj \"Valda roller\", om du vill individuellt välja rollerna. När det här "
329
+ "alternativet är valt, ingår \"Administrator\" rollen som standard på \"Lägg "
330
+ "till befogenhet\"s händelsen och utesluts som standard på \"Ta bort "
331
+ "befogenhet\"-händelsen."
332
+
333
+ #: classes/class-wpfront-user-role-editor-add-remove-capability.php:168
334
+ msgid "Documentation on Add/Remove Capability"
335
+ msgstr "Dokumentation om Lägg till/ta bort Befogenhet"
336
+
337
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:66
338
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:339
339
+ msgid "Secondary Roles"
340
+ msgstr "Sekundära Roller"
341
+
342
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:81
343
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:372
344
+ #: templates/assign-roles.php:42 templates/assign-roles.php:94
345
+ msgid "Assign Roles"
346
+ msgstr "Tilldela roller"
347
+
348
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:170
349
+ msgid "No role for this site"
350
+ msgstr "Ingen roll för den här webbplatsen"
351
+
352
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:196
353
+ msgid "Invalid user."
354
+ msgstr "Ogiltig användare."
355
+
356
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:224
357
+ msgid "Roles updated successfully."
358
+ msgstr "Roller uppdaterades."
359
+
360
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:226
361
+ msgid "Invalid primary role specified."
362
+ msgstr "Ogiltig primär roll angiven."
363
+
364
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:244
365
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:254
366
+ msgid "Invalid primary role."
367
+ msgstr "Ogiltig primär roll."
368
+
369
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:276
370
+ #, php-format
371
+ msgid "%d user(s) migrated."
372
+ msgstr "%d användare migrerad(e)."
373
+
374
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:321
375
+ msgid "Primary Role"
376
+ msgstr "Primär roll"
377
+
378
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:367
379
+ msgid ""
380
+ "This screen allows you to assign multiple roles to a user and also allows "
381
+ "you to migrate users from a role to another role."
382
+ msgstr ""
383
+ "Här kan du tilldela flera roller till en användare och ger dig även "
384
+ "möjlighet att migrera användare från en roll till en annan."
385
+
386
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:374
387
+ msgid ""
388
+ "To assign multiple roles to a user, select that user within the User drop "
389
+ "down list and select the primary role you want for that user using the "
390
+ "Primary Role drop down list. Select the secondary roles using the check "
391
+ "boxes below, then click Assign Roles."
392
+ msgstr ""
393
+ "För att tilldela flera roller till en användare väljer den användare i "
394
+ "användarrullgardinslistan och välj den primära roll som du vill ha för den "
395
+ "användaren med hjälp av primär roll-rullistan. Välj de sekundära rollerna "
396
+ "med hjälp av kryssrutorna nedan, klicka sedan på Tilldela roller."
397
+
398
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:379
399
+ #: templates/assign-roles.php:99 templates/assign-roles.php:132
400
+ msgid "Migrate Users"
401
+ msgstr "Migrera Användare"
402
+
403
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:381
404
+ msgid ""
405
+ "To migrate users from one role to another role or to add secondary roles to "
406
+ "users belonging to a particular primary role, use the migrate users "
407
+ "functionality."
408
+ msgstr ""
409
+ "För att migrera användare från en roll till en annan roll eller att lägga "
410
+ "sekundära roller till användare som tillhör en viss primär roll, använd "
411
+ "migrera användare- funktionen."
412
+
413
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:384
414
+ msgid ""
415
+ "Select the users using the From Primary Role drop down, to primary role "
416
+ "using the Primary Role drop down and secondary roles using the check boxes "
417
+ "then click Migrate Users."
418
+ msgstr ""
419
+ "Markera användare genom att välja från rullgardinslistan Från Primär Roll, "
420
+ "till primära roll med den Primär Roll-rullgardinslistan och sekundära roller "
421
+ "med hjälp av kryssrutorna och klicka sedan på Migrera Användare."
422
+
423
+ #: classes/class-wpfront-user-role-editor-assign-roles.php:393
424
+ msgid "Documentation on Assign / Migrate Users"
425
+ msgstr "Dokumentation om Tilldela/Migrera användare"
426
+
427
+ #: classes/class-wpfront-user-role-editor-controller-base.php:87
428
+ msgid "Links:"
429
+ msgstr "Länkar:"
430
+
431
+ #: classes/class-wpfront-user-role-editor-controller-base.php:93
432
+ msgid "FAQ"
433
+ msgstr "FAQ"
434
+
435
+ #: classes/class-wpfront-user-role-editor-controller-base.php:94
436
+ msgid "Support"
437
+ msgstr "Support"
438
+
439
+ #: classes/class-wpfront-user-role-editor-controller-base.php:95
440
+ msgid "Review"
441
+ msgstr "Recensera"
442
+
443
+ #: classes/class-wpfront-user-role-editor-controller-base.php:96
444
+ msgid "Contact"
445
+ msgstr "Kontakt"
446
+
447
+ #: classes/class-wpfront-user-role-editor-go-pro.php:182
448
+ #: classes/class-wpfront-user-role-editor-go-pro.php:184
449
+ #: classes/class-wpfront-user-role-editor-go-pro.php:204
450
+ #: classes/class-wpfront-user-role-editor-go-pro.php:223
451
+ #: classes/class-wpfront-user-role-editor-go-pro.php:232
452
+ #: classes/class-wpfront-user-role-editor-restore.php:87
453
+ #: templates/add-edit-role.php:51 templates/add-edit-role.php:59
454
+ #: templates/personal-pro/content-shortcodes.php:23
455
+ msgid "ERROR"
456
+ msgstr "FEL"
457
+
458
+ #: classes/class-wpfront-user-role-editor-go-pro.php:182
459
+ msgid "License key activation limit reached"
460
+ msgstr "Licensnyckelns aktiveringsgräns uppnådd"
461
+
462
+ #: classes/class-wpfront-user-role-editor-go-pro.php:184
463
+ msgid "Invalid license key"
464
+ msgstr "Ogiltig licensnyckel"
465
+
466
+ #: classes/class-wpfront-user-role-editor-go-pro.php:204
467
+ msgid "Unable to deactivate, expired license?"
468
+ msgstr "Kan inte avaktivare, utgången licens?"
469
+
470
+ #: classes/class-wpfront-user-role-editor-go-pro.php:223
471
+ msgid "Unable to contact wpfront.com"
472
+ msgstr "Det går inte att kontakta wpfront.com"
473
+
474
+ #: classes/class-wpfront-user-role-editor-go-pro.php:232
475
+ msgid "Unable to parse response"
476
+ msgstr "Det går inte att tolka svar"
477
+
478
+ #: classes/class-wpfront-user-role-editor-list.php:221
479
+ #: templates/add-edit-role.php:117 templates/personal-pro/menu-editor.php:132
480
+ msgid "Select All"
481
+ msgstr "Välj alla"
482
+
483
+ #: classes/class-wpfront-user-role-editor-list.php:231
484
+ #: classes/class-wpfront-user-role-editor-list.php:434
485
+ msgid "Type"
486
+ msgstr "Typ"
487
+
488
+ #: classes/class-wpfront-user-role-editor-list.php:234
489
+ #: classes/class-wpfront-user-role-editor-list.php:439
490
+ msgid "User Default"
491
+ msgstr "Användarförval"
492
+
493
+ #: classes/class-wpfront-user-role-editor-list.php:237
494
+ #: classes/class-wpfront-user-role-editor-list.php:444
495
+ msgid "Users"
496
+ msgstr "Användare"
497
+
498
+ #: classes/class-wpfront-user-role-editor-list.php:258
499
+ msgid "Bulk Actions"
500
+ msgstr "Massåtgärder"
501
+
502
+ #: classes/class-wpfront-user-role-editor-list.php:260
503
+ #: classes/class-wpfront-user-role-editor-list.php:476
504
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:62
505
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:149
506
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:448
507
+ #: templates/list-roles.php:112
508
+ #: templates/personal-pro/post-type-permissions.php:35
509
+ msgid "Delete"
510
+ msgstr "Radera"
511
+
512
+ #: classes/class-wpfront-user-role-editor-list.php:263
513
+ #: templates/add-edit-role.php:113 templates/personal-pro/menu-editor.php:100
514
+ msgid "Apply"
515
+ msgstr "Utför"
516
+
517
+ #: classes/class-wpfront-user-role-editor-list.php:265
518
+ #, php-format
519
+ msgid "%s item(s)"
520
+ msgstr "%s produkt(er)"
521
+
522
+ #: classes/class-wpfront-user-role-editor-list.php:288
523
+ msgid "All"
524
+ msgstr "Alla"
525
+
526
+ #: classes/class-wpfront-user-role-editor-list.php:302
527
+ msgid "Having Users"
528
+ msgstr "Har Användare"
529
+
530
+ #: classes/class-wpfront-user-role-editor-list.php:308
531
+ msgid "No Users"
532
+ msgstr "Inga användare"
533
+
534
+ #: classes/class-wpfront-user-role-editor-list.php:319
535
+ #: templates/list-roles.php:129
536
+ msgid "Built-In"
537
+ msgstr "Inbyggd"
538
+
539
+ #: classes/class-wpfront-user-role-editor-list.php:325
540
+ #: templates/list-roles.php:129
541
+ msgid "Custom"
542
+ msgstr "Anpassad"
543
+
544
+ #: classes/class-wpfront-user-role-editor-list.php:363
545
+ msgid "This screen allows you to edit a role within your site."
546
+ msgstr "Här kan du redigera en roll inom din webbplats."
547
+
548
+ #: classes/class-wpfront-user-role-editor-list.php:373
549
+ msgid ""
550
+ "Use the Display Name field to edit display name of the role. WordPress uses "
551
+ "display name to display this role within your site. This field is required."
552
+ msgstr ""
553
+ "Använd fältet Visningsnamn för att redigera visningsnamnet för rollen. "
554
+ "Wordpress använder visningsnamn för att visa denna roll inom din webbplats. "
555
+ "Detta fält är obligatoriskt."
556
+
557
+ #: classes/class-wpfront-user-role-editor-list.php:380
558
+ msgid ""
559
+ "Role Name is read only. WordPress uses role name to identify this role "
560
+ "within your site."
561
+ msgstr ""
562
+ "Rollnamnet är skrivskyddad. WordPress använder rollnamn för att identifiera "
563
+ "denna roll inom webbplatsen."
564
+
565
+ #: classes/class-wpfront-user-role-editor-list.php:387
566
+ msgid ""
567
+ "Capabilities are displayed as different groups for easy access. The Roles "
568
+ "section displays capabilities created by this plugin. The Other Capabilities "
569
+ "section displays non-standard capabilities within your site. These are "
570
+ "usually created by plugins and themes. Use the check boxes to select the "
571
+ "capabilities required."
572
+ msgstr ""
573
+ "Befogenheter visas som olika grupper för enkel åtkomst. Avsnittet Roller "
574
+ "visar befogenheter som skapats av denna plugin. Det andra "
575
+ "befogenhetsavsnittet visar icke-standardiserade befogenheter inom din "
576
+ "webbplats. Dessa är vanligtvis skapade av plugins och teman. Använd "
577
+ "kryssrutorna för att välja de befogenheter som krävs för denna nya roll."
578
+
579
+ #: classes/class-wpfront-user-role-editor-list.php:397
580
+ msgid "This screen allows you to delete roles from your WordPress site."
581
+ msgstr "Här kan du ta bort roller från din WordPresswebbplats."
582
+
583
+ #: classes/class-wpfront-user-role-editor-list.php:400
584
+ msgid ""
585
+ "Use the Roles List screen to select the roles you want to delete. You can "
586
+ "delete individual roles using the Delete row action link or delete multiple "
587
+ "roles at the same time using the bulk action."
588
+ msgstr ""
589
+ "Använd Rollistan för att välja de roller som du vill ta bort. Du kan ta bort "
590
+ "enskilda roller med hjälp av länken ta bort rad eller ta bort flera roller "
591
+ "samtidigt med massåtgärden."
592
+
593
+ #: classes/class-wpfront-user-role-editor-list.php:403
594
+ msgid ""
595
+ "You cannot delete administrator role, current user’s role and roles you do "
596
+ "not have permission to."
597
+ msgstr ""
598
+ "Du kan inte ta bort administratörsrollen, nuvarande användares roll och "
599
+ "roller som du inte har behörighet till."
600
+
601
+ #: classes/class-wpfront-user-role-editor-list.php:414
602
+ msgid "This screen lists all the existing roles within your site."
603
+ msgstr "Här listas över alla befintliga roller inom webbplatsen."
604
+
605
+ #: classes/class-wpfront-user-role-editor-list.php:417
606
+ msgid ""
607
+ "To add a new role, click the Add New button at the top of the screen or Add "
608
+ "New in the Roles menu section."
609
+ msgstr ""
610
+ "Klicka på knappen Lägg till ny överst på skärmen eller Lägg till ny från "
611
+ "Roller-menyn för att lägga till en ny roll."
612
+
613
+ #: classes/class-wpfront-user-role-editor-list.php:422
614
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:414
615
+ msgid "Columns"
616
+ msgstr "Kolumner"
617
+
618
+ #: classes/class-wpfront-user-role-editor-list.php:426
619
+ msgid "Used to display this role within this site."
620
+ msgstr "Används för att visa denna roll inom denna webbplats."
621
+
622
+ #: classes/class-wpfront-user-role-editor-list.php:431
623
+ msgid "Is used by WordPress to identify this role."
624
+ msgstr "Används av WordPress för att identifiera denna roll."
625
+
626
+ #: classes/class-wpfront-user-role-editor-list.php:436
627
+ msgid ""
628
+ "Says whether the role is a WordPress built-in role or not. There are five "
629
+ "built-in roles."
630
+ msgstr ""
631
+ "Säger om rollen är en WordPress-inbyggd roll eller inte. Det finns fem "
632
+ "inbyggda roller."
633
+
634
+ #: classes/class-wpfront-user-role-editor-list.php:441
635
+ msgid "Displays whether a role is the default role of a new user."
636
+ msgstr "Visar om en roll är standardrollen för en ny användare."
637
+
638
+ #: classes/class-wpfront-user-role-editor-list.php:446
639
+ msgid "Number of users in that role."
640
+ msgstr "Antalet användare i den rollen."
641
+
642
+ #: classes/class-wpfront-user-role-editor-list.php:451
643
+ msgid "Number of capabilities that role have."
644
+ msgstr "Antal behörigheter som har den rollen."
645
+
646
+ #: classes/class-wpfront-user-role-editor-list.php:454
647
+ msgid "Menu Edited"
648
+ msgstr "Meny Redigerad"
649
+
650
+ #: classes/class-wpfront-user-role-editor-list.php:456
651
+ msgid ""
652
+ "Displays whether the menu has been edited for this role. This is a pro "
653
+ "feature."
654
+ msgstr ""
655
+ "Visar om menyn har redigerats för denna roll. Detta är en pro funktion."
656
+
657
+ #: classes/class-wpfront-user-role-editor-list.php:461
658
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:438
659
+ msgid "Actions"
660
+ msgstr "Åtgärder"
661
+
662
+ #: classes/class-wpfront-user-role-editor-list.php:463
663
+ msgid ""
664
+ "Hovering over a row in the roles list will display action links that allow "
665
+ "you to manage roles. You can perform the following actions:"
666
+ msgstr ""
667
+ "Hovring över en rad i rollistan visar åtgärdslänkar som tillåter dig att "
668
+ "hantera roller. Du kan utföra följande åtgärder:"
669
+
670
+ #: classes/class-wpfront-user-role-editor-list.php:466
671
+ #: templates/list-roles.php:109
672
+ msgid "View"
673
+ msgstr "Visa"
674
+
675
+ #: classes/class-wpfront-user-role-editor-list.php:468
676
+ msgid ""
677
+ "Display details about the role. You can see the capabilities assigned for "
678
+ "that role. View link will only appear when you do not have permission to "
679
+ "edit that role."
680
+ msgstr ""
681
+ "Visa detaljer om rollen. Du kan se de behörigheter som tilldelats för den "
682
+ "rollen. Visa länk visas bara när du inte har behörighet att redigera den "
683
+ "rollen."
684
+
685
+ #: classes/class-wpfront-user-role-editor-list.php:471
686
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:146
687
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:443
688
+ #: templates/list-roles.php:109
689
+ #: templates/personal-pro/post-type-permissions.php:34
690
+ msgid "Edit"
691
+ msgstr "Ändra"
692
+
693
+ #: classes/class-wpfront-user-role-editor-list.php:473
694
+ msgid ""
695
+ "Allows you to edit that role. You can see the capabilities assigned for that "
696
+ "role and also edit them. Edit link will only appear when you have permission "
697
+ "to edit that role."
698
+ msgstr ""
699
+ "Tillåter dig redigera den rollen. Du kan se de behörigheter som tilldelats "
700
+ "för den rollen och även redigera dem. Redigera länk visas bara när du har "
701
+ "behörighet att redigera den rollen."
702
+
703
+ #: classes/class-wpfront-user-role-editor-list.php:478
704
+ msgid ""
705
+ "Allows you to delete that role. Delete action will not appear if you do not "
706
+ "have permission to delete that role."
707
+ msgstr ""
708
+ "Tillåter dig att stryka den rollen. Raderingsåtgärder visas inte om du inte "
709
+ "har behörighet att ta bort den rollen."
710
+
711
+ #: classes/class-wpfront-user-role-editor-list.php:481
712
+ #: templates/list-roles.php:115
713
+ msgid "Default"
714
+ msgstr "Standard"
715
+
716
+ #: classes/class-wpfront-user-role-editor-list.php:483
717
+ msgid ""
718
+ "Allows you to set that role as the default role for new user registration."
719
+ msgstr ""
720
+ "Tillåter dig att sätta den rollen som standard vid registrering av nya "
721
+ "användare."
722
+
723
+ #: classes/class-wpfront-user-role-editor-list.php:486
724
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:584
725
+ msgid "Edit Menu"
726
+ msgstr "Redigera Meny"
727
+
728
+ #: classes/class-wpfront-user-role-editor-list.php:488
729
+ msgid ""
730
+ "Takes you to the menu editor screen for that role. You need \"edit_role_menus"
731
+ "\" capability for this link to appear. This is a pro feature."
732
+ msgstr ""
733
+ "Tar dig till menyredigeraren för den rollen. Du behöver \"edit_role_menus\" "
734
+ "behörighet för att länken ska visas. Detta är en pro funktion."
735
+
736
+ #: classes/class-wpfront-user-role-editor-list.php:500
737
+ msgid "Documentation on Edit Role"
738
+ msgstr "Dokumentation till Redigera roll"
739
+
740
+ #: classes/class-wpfront-user-role-editor-list.php:507
741
+ msgid "Documentation on Delete Roles"
742
+ msgstr "Dokumentation till ta bort roller"
743
+
744
+ #: classes/class-wpfront-user-role-editor-list.php:515
745
+ msgid "Documentation on Roles"
746
+ msgstr "Dokumentation om roller"
747
+
748
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:88
749
+ #, php-format
750
+ msgid "%s (Invalid)"
751
+ msgstr "%s (ogiltig)"
752
+
753
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:92
754
+ #, php-format
755
+ msgid "%s (Pending)"
756
+ msgstr "%s (väntande)"
757
+
758
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:105
759
+ msgid "sub item"
760
+ msgstr "sub objekt"
761
+
762
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:120
763
+ msgid "Move up"
764
+ msgstr "Flytta upp"
765
+
766
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:133
767
+ msgid "Move down"
768
+ msgstr "Flytta ned"
769
+
770
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:135
771
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:137
772
+ msgid "Edit Menu Item"
773
+ msgstr "Redigera menyobjekt"
774
+
775
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:146
776
+ msgid "URL"
777
+ msgstr "URL"
778
+
779
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:153
780
+ msgid "Navigation Label"
781
+ msgstr "Navigeringsetikett"
782
+
783
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:159
784
+ msgid "Title Attribute"
785
+ msgstr "Titelattribut"
786
+
787
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:166
788
+ msgid "Open link in a new window/tab"
789
+ msgstr "Öppna länk i ett nytt fönster/flik"
790
+
791
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:171
792
+ msgid "CSS Classes (optional)"
793
+ msgstr "CSS-klasser (valfritt)"
794
+
795
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:177
796
+ msgid "Link Relationship (XFN)"
797
+ msgstr "Länkförhållande (XFN)"
798
+
799
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:185
800
+ msgid ""
801
+ "The description will be displayed in the menu if the current theme supports "
802
+ "it."
803
+ msgstr ""
804
+ "Beskrivningen kommer att visas i menyn om det aktuella temat stöder det."
805
+
806
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:195
807
+ msgid "Move"
808
+ msgstr "Flytta"
809
+
810
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:196
811
+ msgid "Up one"
812
+ msgstr "Upp en"
813
+
814
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:197
815
+ msgid "Down one"
816
+ msgstr "Ned en"
817
+
818
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:200
819
+ msgid "To the top"
820
+ msgstr "Till toppen"
821
+
822
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:207
823
+ #, php-format
824
+ msgid "Original: %s"
825
+ msgstr "Original: %s"
826
+
827
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:220
828
+ msgid "Remove"
829
+ msgstr "Ta bort"
830
+
831
+ #: classes/class-wpfront-user-role-editor-nav-menu-walker.php:221
832
+ #: templates/restore-role.php:54
833
+ msgid "Cancel"
834
+ msgstr "Avbryt"
835
+
836
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:84
837
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:119
838
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:247
839
+ #: templates/personal-pro/content-shortcodes-add-edit.php:42
840
+ msgid "All Users"
841
+ msgstr "Alla Användare"
842
+
843
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:88
844
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:120
845
+ msgid "Logged in Users"
846
+ msgstr "Inloggade användare"
847
+
848
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:91
849
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:121
850
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:255
851
+ #: templates/personal-pro/content-shortcodes-add-edit.php:46
852
+ msgid "Guest Users"
853
+ msgstr "Gästanvändare"
854
+
855
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:94
856
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:122
857
+ msgid "Users by Role"
858
+ msgstr "Användare enligt roll"
859
+
860
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:105
861
+ #, php-format
862
+ msgid "%s to limit based on roles."
863
+ msgstr "%s att begränsa baserat på roller."
864
+
865
+ #: classes/class-wpfront-user-role-editor-nav-menu.php:117
866
+ msgid "User Restrictions"
867
+ msgstr "Användarbegränsningar"
868
+
869
+ #: classes/class-wpfront-user-role-editor-options.php:257
870
+ msgid ""
871
+ "These settings are applicable for the network admin dashboard. Also these "
872
+ "settings will propagate to the individual sites unless its overridden within "
873
+ "that site’s settings."
874
+ msgstr ""
875
+ "Dessa inställningar gäller för nätverksadmins dashboard. Dessa inställningar "
876
+ "kommer också att spridas till de enskilda webbplatserna såvida de inte är "
877
+ "åsidosatta inom webbplatsens inställningar."
878
+
879
+ #: classes/class-wpfront-user-role-editor-options.php:264
880
+ #: templates/options-template.php:61
881
+ msgid "Enable Large Network Functionalities"
882
+ msgstr "Aktivera StorNätverks-funktionalitet"
883
+
884
+ #: classes/class-wpfront-user-role-editor-options.php:266
885
+ msgid "This setting is only visible when you have a large network."
886
+ msgstr "Den här inställningen visas endast när du har ett stort nätverk."
887
+
888
+ #: classes/class-wpfront-user-role-editor-options.php:268
889
+ msgid "More details"
890
+ msgstr "Mer detaljer"
891
+
892
+ #: classes/class-wpfront-user-role-editor-options.php:272
893
+ #: classes/class-wpfront-user-role-editor-options.php:304
894
+ #: templates/options-template.php:70
895
+ msgid "Display Deprecated Capabilities"
896
+ msgstr "Visa borttagna behörigheter"
897
+
898
+ #: classes/class-wpfront-user-role-editor-options.php:274
899
+ #: classes/class-wpfront-user-role-editor-options.php:306
900
+ msgid ""
901
+ "If enabled, deprecated capabilities will be displayed within the add/edit "
902
+ "screens."
903
+ msgstr ""
904
+ "Om aktiverad visas föråldrade behörigheter i Lägg till/redigera fönstren."
905
+
906
+ #: classes/class-wpfront-user-role-editor-options.php:277
907
+ #: classes/class-wpfront-user-role-editor-options.php:309
908
+ #: templates/options-template.php:78
909
+ msgid "Remove Non-Standard Capabilities on Restore"
910
+ msgstr "Ta bort icke-standardiserade behörigheter vid Återställ"
911
+
912
+ #: classes/class-wpfront-user-role-editor-options.php:279
913
+ #: classes/class-wpfront-user-role-editor-options.php:311
914
+ msgid ""
915
+ "If enabled, while restoring WordPress built-in capabilities non-standard "
916
+ "capabilities will be removed."
917
+ msgstr ""
918
+ "Om aktiverad, vid återställning av WordPress inbyggda behörigheter kommer "
919
+ "icke-standardiserade behörigheter att tas bort."
920
+
921
+ #: classes/class-wpfront-user-role-editor-options.php:282
922
+ #: classes/class-wpfront-user-role-editor-options.php:314
923
+ #: templates/options-template.php:86
924
+ msgid "Override Edit Permissions"
925
+ msgstr "Åsidosätt redigeringsbehörigheter"
926
+
927
+ #: classes/class-wpfront-user-role-editor-options.php:284
928
+ #: classes/class-wpfront-user-role-editor-options.php:316
929
+ msgid "If enabled, ignores the check to the function get_editable_roles."
930
+ msgstr "Om aktiverad, ignoreras kontrollen av funktionen get_editable_roles."
931
+
932
+ #: classes/class-wpfront-user-role-editor-options.php:287
933
+ #: classes/class-wpfront-user-role-editor-options.php:319
934
+ #: templates/options-template.php:94
935
+ msgid "Disable Navigation Menu Permissions"
936
+ msgstr "Inaktivera navigering-menyns behörigheter"
937
+
938
+ #: classes/class-wpfront-user-role-editor-options.php:289
939
+ #: classes/class-wpfront-user-role-editor-options.php:321
940
+ msgid "If enabled, disables navigation menu permissions functionality."
941
+ msgstr "Om aktiverat, inaktiveras menyn behörigheterfunktionalitet."
942
+
943
+ #: classes/class-wpfront-user-role-editor-options.php:292
944
+ #: classes/class-wpfront-user-role-editor-options.php:324
945
+ #: templates/options-template.php:131
946
+ msgid "Remove Data on Uninstall"
947
+ msgstr "Ta bort Data vid avinstallation"
948
+
949
+ #: classes/class-wpfront-user-role-editor-options.php:294
950
+ #: classes/class-wpfront-user-role-editor-options.php:326
951
+ msgid ""
952
+ "If enabled, removes all data related to this plugin from database (except "
953
+ "roles data) including license information if any. This will not deactivate "
954
+ "the license automatically."
955
+ msgstr ""
956
+ "Om aktiverat, tas alla data för denna plugin bort från databasen (förutom "
957
+ "roller-data) inklusive licensinformationen om det finns. Detta kommer inte "
958
+ "avaktivera licensen automatiskt."
959
+
960
+ #: classes/class-wpfront-user-role-editor-options.php:337
961
+ msgid "Documentation on Multisite Settings"
962
+ msgstr "Dokumentation om multisitefunktions inställningar"
963
+
964
+ #: classes/class-wpfront-user-role-editor-options.php:344
965
+ msgid "Documentation on Settings"
966
+ msgstr "Dokumentation om inställningar"
967
+
968
+ #: classes/class-wpfront-user-role-editor-restore.php:170
969
+ msgid ""
970
+ "This screen allow you to restore WordPress built-in roles to its standard "
971
+ "capability settings."
972
+ msgstr ""
973
+ "Här kan du återställa WordPress inbyggda roller till dess "
974
+ "standardbehörighetsinställningar."
975
+
976
+ #: classes/class-wpfront-user-role-editor-restore.php:173
977
+ msgid "To restore a role, click the Restore button then Confirm."
978
+ msgstr "För att återställa en roll, klicka på knappen Återställ och bekräfta."
979
+
980
+ #: classes/class-wpfront-user-role-editor-restore.php:182
981
+ msgid "Documentation on Restore"
982
+ msgstr "Dokumentation om Återställ"
983
+
984
+ #: classes/class-wpfront-user-role-editor.php:207
985
+ msgid "Go Pro"
986
+ msgstr "Uppgradera till PRO"
987
+
988
+ #: classes/class-wpfront-user-role-editor.php:222
989
+ #: templates/add-edit-role.php:41 templates/add-edit-role.php:140
990
+ msgid "Add New Role"
991
+ msgstr "Lägg till ny roll"
992
+
993
+ #: classes/class-wpfront-user-role-editor.php:222
994
+ #: templates/add-edit-role.php:43 templates/list-roles.php:46
995
+ #: templates/personal-pro/content-shortcodes.php:10
996
+ msgid "Add New"
997
+ msgstr "Lägg till ny"
998
+
999
+ #: classes/class-wpfront-user-role-editor.php:223
1000
+ #: templates/restore-role.php:40
1001
+ msgid "Restore Role"
1002
+ msgstr "Återställ roll"
1003
+
1004
+ #: classes/class-wpfront-user-role-editor.php:223
1005
+ #: templates/restore-role.php:52
1006
+ msgid "Restore"
1007
+ msgstr "Återställ"
1008
+
1009
+ #: classes/class-wpfront-user-role-editor.php:224
1010
+ #: templates/add-remove-capability.php:40
1011
+ msgid "Add/Remove Capability"
1012
+ msgstr "Lägg till/ta bort behörighet"
1013
+
1014
+ #: classes/class-wpfront-user-role-editor.php:224
1015
+ msgid "Add/Remove Cap"
1016
+ msgstr "Lägg till/ta bort Beh"
1017
+
1018
+ #: classes/class-wpfront-user-role-editor.php:245
1019
+ msgid "Assign Roles | Migrate Users"
1020
+ msgstr "Tilldela roller | Migrera användare"
1021
+
1022
+ #: classes/class-wpfront-user-role-editor.php:245
1023
+ msgid "Assign / Migrate"
1024
+ msgstr "Tilldela / migrera"
1025
+
1026
+ #: classes/class-wpfront-user-role-editor.php:342
1027
+ msgid "Buy me a Beer"
1028
+ msgstr "Köpa mig en öl"
1029
+
1030
+ #: classes/personal-pro/EDD_SL_Plugin_Updater.php:158
1031
+ #, php-format
1032
+ msgid ""
1033
+ "There is a new version of %1$s available. <a target=\"_blank\" class="
1034
+ "\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
1035
+ msgstr ""
1036
+ "En ny version av %1$s finns tillgänglig. <a target=\"_blank\" class="
1037
+ "\"thickbox\" href=\"%2$s\">Visa version %3$s detaljer</a>."
1038
+
1039
+ #: classes/personal-pro/EDD_SL_Plugin_Updater.php:165
1040
+ #, php-format
1041
+ msgid ""
1042
+ "There is a new version of %1$s available. <a target=\"_blank\" class="
1043
+ "\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s"
1044
+ "\">update now</a>."
1045
+ msgstr ""
1046
+ "Det finns en ny version av %1$s tillgänglig. <a target=\"_blank\" class="
1047
+ "\"thickbox\" href=\"%2$s\">Visa information om version %3$s </a> eller <a "
1048
+ "href=\"%4$s\">uppdatera nu</a>."
1049
+
1050
+ #: classes/personal-pro/EDD_SL_Plugin_Updater.php:305
1051
+ msgid "You do not have permission to install plugin updates"
1052
+ msgstr "Du har inte behörighet att installera plugin uppdateringar"
1053
+
1054
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:68
1055
+ msgid "No shortcodes found."
1056
+ msgstr "Inga kortkoder hittade."
1057
+
1058
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:85
1059
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:376
1060
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:421
1061
+ #: templates/personal-pro/content-shortcodes-add-edit.php:25
1062
+ #: templates/personal-pro/content-shortcodes-delete.php:34
1063
+ msgid "Shortcode"
1064
+ msgstr "Kortkod"
1065
+
1066
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:86
1067
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:383
1068
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:426
1069
+ #: templates/personal-pro/content-shortcodes-add-edit.php:37
1070
+ msgid "User Type"
1071
+ msgstr "Användartyp"
1072
+
1073
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:121
1074
+ #: templates/personal-pro/menu-editor.php:161
1075
+ #: templates/personal-pro/menu-editor.php:197
1076
+ #, php-format
1077
+ msgid "Select %s"
1078
+ msgstr "Välj %s"
1079
+
1080
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:100
1081
+ msgid "Shortcode not found."
1082
+ msgstr "Kortkod hittades inte."
1083
+
1084
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:102
1085
+ msgid "Shortcode updated successfully."
1086
+ msgstr "Kortkod uppdaterats."
1087
+
1088
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:109
1089
+ msgid "Shortcode already exists."
1090
+ msgstr "Kortkod finns redan."
1091
+
1092
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:116
1093
+ msgid "Shortcode added successfully."
1094
+ msgstr "Kortkod lades till."
1095
+
1096
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:145
1097
+ msgid "Shortcode(s) deleted."
1098
+ msgstr "Kortkod(er) raderad(e)."
1099
+
1100
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:235
1101
+ #: classes/personal-pro/class-wpfront-user-role-editor-nav-menu-pro.php:23
1102
+ #: classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:105
1103
+ msgid "[Guest]"
1104
+ msgstr "[Guest]"
1105
+
1106
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:251
1107
+ #: templates/personal-pro/content-shortcodes-add-edit.php:44
1108
+ msgid "Logged-in Users"
1109
+ msgstr "Inloggade användare"
1110
+
1111
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:259
1112
+ #: templates/personal-pro/content-shortcodes-add-edit.php:48
1113
+ msgid "Users in Roles"
1114
+ msgstr "Användare i roller"
1115
+
1116
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:265
1117
+ msgid "Administrator"
1118
+ msgstr "Administratör"
1119
+
1120
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:364
1121
+ msgid "This screen allows you to add or edit a shortcode within your site."
1122
+ msgstr "Här kan du lägga till eller redigera en kortkod på din webbplats."
1123
+
1124
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:371
1125
+ msgid ""
1126
+ "Use the Name field to enter an identifiable name for this shortcode. This "
1127
+ "field is required."
1128
+ msgstr ""
1129
+ "Använd Namnfältet för att ange ett identifierbart namn för denna kortkod. "
1130
+ "Detta fält är obligatoriska."
1131
+
1132
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:378
1133
+ msgid ""
1134
+ "Use this field to enter the shortcode string, that will be used by "
1135
+ "WordPress. This field is required and has to be unique. Only lowercase "
1136
+ "letters, numbers and underscore is allowd in this field."
1137
+ msgstr ""
1138
+ "Använd det här fältet för att ange kortkodssträngen som kommer att användas "
1139
+ "av Wordpress. Detta fält är tvingande och måste vara unikt. Endast små "
1140
+ "bokstäver, siffror och understreck är tillåtna i detta fält."
1141
+
1142
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:385
1143
+ msgid ""
1144
+ "Select the type of users, the content within the shortcode will be "
1145
+ "displayed. You can select All Users, Logged in Users, Guest Users or Users "
1146
+ "within specific roles."
1147
+ msgstr ""
1148
+ "Välj typ av användare, innehållet i kortkoden kommer att visas. Du kan välja "
1149
+ "alla användare, inloggade användare, Gästanvändare eller Användare i "
1150
+ "specifika roller."
1151
+
1152
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:395
1153
+ msgid "This screen allows you to delete the shortcodes you selected to delete."
1154
+ msgstr "Här kan du ta bort de kortkoder du valt att radera."
1155
+
1156
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:406
1157
+ msgid ""
1158
+ "This screen displays all the content shortcodes existing within your site."
1159
+ msgstr "Här visas alla innehållskortkoder som finns inom din webbplats."
1160
+
1161
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:409
1162
+ msgid ""
1163
+ "To add a new shortcode, click the Add New button at the top of the screen."
1164
+ msgstr ""
1165
+ "För att lägga till en ny kortkod, klicka på knappen Lägg till Ny längst upp "
1166
+ "på skärmen."
1167
+
1168
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:418
1169
+ msgid "User identifiable name of the shortcode."
1170
+ msgstr "Användar-identifierbart namn för kortkoden."
1171
+
1172
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:423
1173
+ msgid "Used by WordPress to identify the shortcode."
1174
+ msgstr "Används av Wordpress för att identifiera kortkoden."
1175
+
1176
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:428
1177
+ msgid "Determines who all will see the content wrapped within the shortcode."
1178
+ msgstr ""
1179
+ "Bestämmer hur alla kommer att se innehållet som är insvept i kortkoden."
1180
+
1181
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:433
1182
+ msgid "Roles used when User Type is \"Users in Roles\"."
1183
+ msgstr "Roller används när Användartyp är \"Användare i Roller\"."
1184
+
1185
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:440
1186
+ msgid ""
1187
+ "Hovering over a row in the list will display action links that allow you to "
1188
+ "manage the shortcodes. You can perform the following actions:"
1189
+ msgstr ""
1190
+ "Hovring över en rad i rollistan visar åtgärdslänkar som tillåter dig att "
1191
+ "hantera kortkoderna. Du kan utföra följande åtgärder:"
1192
+
1193
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:445
1194
+ msgid "Allows you to edit that shortcode."
1195
+ msgstr "Låter dig redigera kortkoden."
1196
+
1197
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:450
1198
+ msgid "Allows you to delete that shortcode."
1199
+ msgstr "Låter dig ta bort kortkoden."
1200
+
1201
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:455
1202
+ msgid "Usage"
1203
+ msgstr "Användning"
1204
+
1205
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:457
1206
+ msgid ""
1207
+ "To use the shortcode within a post/page, copy the shortcode from the "
1208
+ "Shortcode column and put your content within the shortcode."
1209
+ msgstr ""
1210
+ "För att använda kortkoden inom ett inlägg/sida, kopiera kortkoden från "
1211
+ "kortkodskolumnen och sätt ditt innehåll inom kortkoden."
1212
+
1213
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:460
1214
+ msgid "Ex: [shortcode]Your content here.[/shortcode]"
1215
+ msgstr "Ex:. [kortkod]Ditt innehåll här.[/kortkod]"
1216
+
1217
+ #: classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:469
1218
+ msgid "Documentation on Content Shortcodes"
1219
+ msgstr "Dokumentation om innehållskortkoder"
1220
+
1221
+ #: classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:32
1222
+ #, php-format
1223
+ msgid "%s in settings."
1224
+ msgstr "%s i inställningar."
1225
+
1226
+ #: classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:32
1227
+ msgid "Enable customization"
1228
+ msgstr "Aktivera anpassning"
1229
+
1230
+ #: classes/personal-pro/class-wpfront-user-role-editor-export.php:132
1231
+ msgid ""
1232
+ "This screen allows you to export the roles existing within your site and "
1233
+ "import into the same site or a different site."
1234
+ msgstr ""
1235
+ "Här kan du exportera rollerna som finns inom din webbplats och import till "
1236
+ "samma site eller en annan site."
1237
+
1238
+ #: classes/personal-pro/class-wpfront-user-role-editor-export.php:135
1239
+ msgid "Select the roles to export, then click Download Export File."
1240
+ msgstr ""
1241
+ "Välj de roller som ska exporteras och klicka sedan på Ladda ner Exportfil."
1242
+
1243
+ #: classes/personal-pro/class-wpfront-user-role-editor-export.php:144
1244
+ msgid "Documentation on Export"
1245
+ msgstr "Dokumentation om Export"
1246
+
1247
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:37
1248
+ msgid "This functionality requires SimpleXML extension, which is not loaded."
1249
+ msgstr "Denna funktion kräver SimpleXML förlängning, som inte är laddad."
1250
+
1251
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:85
1252
+ #, php-format
1253
+ msgid "%d role(s) imported."
1254
+ msgstr "%d roll(er) importeras."
1255
+
1256
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:106
1257
+ #, php-format
1258
+ msgid ""
1259
+ "The export file could not be found at <code>%s</code>. It is likely that "
1260
+ "this was caused by a permissions problem."
1261
+ msgstr ""
1262
+ "Exportfilen kunde inte hittas på <code>%s</code> . Det är troligt att detta "
1263
+ "orsakades av ett behörighetsproblem."
1264
+
1265
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:137
1266
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:145
1267
+ msgid "There was an error when reading this export file"
1268
+ msgstr "Det uppstod ett fel vid läsning denna exportfil"
1269
+
1270
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:162
1271
+ #, php-format
1272
+ msgid ""
1273
+ "Please update the plugin to latest version. This export file requires plugin "
1274
+ "version %s or higher."
1275
+ msgstr ""
1276
+ "Uppdatera tilläggsfilen till senaste versionen. Denna exportfil kräver "
1277
+ "plugin version %s eller högre."
1278
+
1279
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:218
1280
+ msgid "This file does not appears to be a valid export file."
1281
+ msgstr "Denna fil verkar inte vara en giltig exportfil."
1282
+
1283
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:231
1284
+ msgid ""
1285
+ "Step 1: Select export file using the Browse button. Then click Upload file "
1286
+ "and Import."
1287
+ msgstr ""
1288
+ "Steg 1: Välj exportfil med hjälp av knappen Bläddra. Klicka sedan Ladda upp "
1289
+ "fil och importera."
1290
+
1291
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:234
1292
+ msgid ""
1293
+ "Step 2: Select the roles you want to import using the check boxes and click "
1294
+ "Import Roles."
1295
+ msgstr ""
1296
+ "Steg 2: Välj de roller du vill importera med hjälp av kryssrutorna och "
1297
+ "klicka på Importera Roller."
1298
+
1299
+ #: classes/personal-pro/class-wpfront-user-role-editor-import.php:243
1300
+ msgid "Documentation on Import"
1301
+ msgstr "Dokumentation om Importera"
1302
+
1303
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:164
1304
+ msgid "Menu changes saved."
1305
+ msgstr "Menyändringar sparas."
1306
+
1307
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:177
1308
+ msgid "Menu defaults restored."
1309
+ msgstr "Menyförval återställd."
1310
+
1311
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:192
1312
+ msgid "No editable roles found on this site."
1313
+ msgstr "Inga redigerbara roller finns på denna webbplats."
1314
+
1315
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:594
1316
+ msgid ""
1317
+ "This screen allows you to enable and disable admin menus for a particular "
1318
+ "role."
1319
+ msgstr "Här kan du aktivera och avaktivera adminmenyer för en särskild roll."
1320
+
1321
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:597
1322
+ msgid "Deselect a menu from the grid to remove that menu."
1323
+ msgstr "Avmarkera en meny från rutnätet för att ta bort den menyn."
1324
+
1325
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:600
1326
+ msgid ""
1327
+ "Disabled menu items are already hidden, because the selected role doesn't "
1328
+ "have the capability to display that menu. Grid displays menus which the "
1329
+ "current user has access to."
1330
+ msgstr ""
1331
+ "Inaktiverade menyalternativ är redan dolda, eftersom den valda rollen inte "
1332
+ "har rättighet att visa den menyn. Rutnätet visar menyer som den aktuella "
1333
+ "användaren har tillgång till."
1334
+
1335
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:605
1336
+ msgid "Fields"
1337
+ msgstr "Fält"
1338
+
1339
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:607
1340
+ #: templates/personal-pro/menu-editor.php:39
1341
+ msgid "Override Role"
1342
+ msgstr "Åsidosätt Roll"
1343
+
1344
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:609
1345
+ msgid "The role you want to override."
1346
+ msgstr "Rollen som du vill åsidosätta."
1347
+
1348
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:612
1349
+ #: templates/personal-pro/menu-editor.php:56
1350
+ msgid "Override Type"
1351
+ msgstr "Åsidosätt Typ"
1352
+
1353
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:614
1354
+ msgid ""
1355
+ "Soft - Pages may be available through directly typing the URL. Hard - Even "
1356
+ "URLs will be blocked."
1357
+ msgstr ""
1358
+ "Mjuk - Sidor kan vara tillgängliga genom att man skriver in URLen direkt. "
1359
+ "Hård - Även URL-adresser kommer att blockeras."
1360
+
1361
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:617
1362
+ #: templates/personal-pro/menu-editor.php:67
1363
+ msgid "Hide New Menus"
1364
+ msgstr "Göm Nya Menyer"
1365
+
1366
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:619
1367
+ msgid "Allow you to hide future menus."
1368
+ msgstr "Tillåter dig att dölja framtida menyer."
1369
+
1370
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:622
1371
+ #: templates/personal-pro/menu-editor.php:75
1372
+ msgid "Disable For Secondary Role"
1373
+ msgstr "Inaktivera För sekundär roll"
1374
+
1375
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:624
1376
+ msgid "Disables menu settings while the selected role is a secondary role."
1377
+ msgstr ""
1378
+ "Inaktiverar menyinställningar medan den valda rollen är en sekundär roll."
1379
+
1380
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:629
1381
+ msgid "Restore Default"
1382
+ msgstr "Återställ grundinställning"
1383
+
1384
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:631
1385
+ msgid ""
1386
+ "Select \"Restore default\" from the \"Copy from\" drop down and click apply."
1387
+ msgstr ""
1388
+ "Välj \"Återställ grundinställning\" från rullgardinsmenyn \"Kopiera från\" "
1389
+ "och klicka använd."
1390
+
1391
+ #: classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:640
1392
+ msgid "Documentation on Menu Editor"
1393
+ msgstr "Dokumentation om Menyredigeraren"
1394
+
1395
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:83
1396
+ #: templates/personal-pro/menu-editor.php:9
1397
+ msgid "Menu Editor"
1398
+ msgstr "Menyredigeraren"
1399
+
1400
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:84
1401
+ #: templates/personal-pro/content-shortcodes.php:9
1402
+ msgid "Content Shortcodes"
1403
+ msgstr "Innehållskortkoder"
1404
+
1405
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:84
1406
+ msgid "Shortcodes"
1407
+ msgstr "Kortkoder"
1408
+
1409
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:85
1410
+ #: templates/personal-pro/export-roles.php:9
1411
+ msgid "Export Roles"
1412
+ msgstr "Export Roller"
1413
+
1414
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:85
1415
+ msgid "Export"
1416
+ msgstr "Exportera"
1417
+
1418
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:86
1419
+ #: templates/personal-pro/import-roles.php:9
1420
+ #: templates/personal-pro/import-roles.php:88
1421
+ msgid "Import Roles"
1422
+ msgstr "Importera Roller"
1423
+
1424
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:86
1425
+ msgid "Import"
1426
+ msgstr "Importera"
1427
+
1428
+ #: classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:106
1429
+ #, php-format
1430
+ msgid "%s license not activated."
1431
+ msgstr "%s licens inte aktiverad."
1432
+
1433
+ #: classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:70
1434
+ #: classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:316
1435
+ msgid "Role Permissions"
1436
+ msgstr "Roll Behörigheter"
1437
+
1438
+ #: templates/add-edit-role.php:41
1439
+ msgid "Edit Role"
1440
+ msgstr "Redigera roll"
1441
+
1442
+ #: templates/add-edit-role.php:51
1443
+ msgid "This role already exists in this site."
1444
+ msgstr "Denna roll finns redan i denna webbplats."
1445
+
1446
+ #: templates/add-edit-role.php:59
1447
+ msgid "There was an unexpected error while performing this action."
1448
+ msgstr "Det uppstod ett oväntat fel medan denna åtgärd utfördes."
1449
+
1450
+ #: templates/add-edit-role.php:66
1451
+ msgid "Create a brand new role and add it to this site."
1452
+ msgstr "Skapa en helt ny roll och lägg till den till den här webbplatsen."
1453
+
1454
+ #: templates/add-edit-role.php:77 templates/add-edit-role.php:87
1455
+ #: templates/add-remove-capability.php:75
1456
+ #: templates/personal-pro/content-shortcodes-add-edit.php:15
1457
+ #: templates/personal-pro/content-shortcodes-add-edit.php:25
1458
+ msgid "required"
1459
+ msgstr "obligatorisk"
1460
+
1461
+ #: templates/add-edit-role.php:106 templates/personal-pro/menu-editor.php:89
1462
+ msgid "Copy from"
1463
+ msgstr "Kopiera från"
1464
+
1465
+ #: templates/add-edit-role.php:118
1466
+ msgid "Select None"
1467
+ msgstr "Välj ingen"
1468
+
1469
+ #: templates/add-edit-role.php:140
1470
+ msgid "Update Role"
1471
+ msgstr "Uppdatera Roll"
1472
+
1473
+ #: templates/add-remove-capability.php:52
1474
+ msgid "Add/Remove a capability to/from roles within this site."
1475
+ msgstr "Lägg till/ta bort en behörighet till/från roller inom denna webbplats."
1476
+
1477
+ #: templates/add-remove-capability.php:66
1478
+ #: templates/add-remove-capability.php:111
1479
+ #: templates/add-remove-capability.php:125
1480
+ msgid "Add Capability"
1481
+ msgstr "Addera Behörighet"
1482
+
1483
+ #: templates/add-remove-capability.php:68
1484
+ #: templates/add-remove-capability.php:111
1485
+ #: templates/add-remove-capability.php:127
1486
+ msgid "Remove Capability"
1487
+ msgstr "Radera Behörighet"
1488
+
1489
+ #: templates/assign-roles.php:68
1490
+ msgid "User"
1491
+ msgstr "Användare"
1492
+
1493
+ #: templates/assign-roles.php:109
1494
+ msgid "From Primary Role"
1495
+ msgstr "Från Primär Roll"
1496
+
1497
+ #: templates/delete-role.php:41
1498
+ msgid "Delete Roles"
1499
+ msgstr "Radera Roller"
1500
+
1501
+ #: templates/delete-role.php:42
1502
+ msgid "You have specified these roles for deletion"
1503
+ msgstr "Du har angivit dessa roller för radering"
1504
+
1505
+ #: templates/delete-role.php:49
1506
+ msgid "Role"
1507
+ msgstr "Roll"
1508
+
1509
+ #: templates/delete-role.php:61
1510
+ #: templates/personal-pro/content-shortcodes-delete.php:43
1511
+ msgid "Confirm Deletion"
1512
+ msgstr "Bekräfta borttagning"
1513
+
1514
+ #: templates/go-pro.php:42
1515
+ msgid "WPFront User Role Editor Pro"
1516
+ msgstr "WPFront Användarrollsredigerare Pro"
1517
+
1518
+ #: templates/go-pro.php:65
1519
+ msgid "License Key"
1520
+ msgstr "Licensnyckel"
1521
+
1522
+ #: templates/go-pro.php:74 templates/go-pro.php:75
1523
+ msgid "Deactivate"
1524
+ msgstr "Inaktivera"
1525
+
1526
+ #: templates/go-pro.php:82
1527
+ msgid "License Expires"
1528
+ msgstr "Licens Utgår"
1529
+
1530
+ #: templates/list-roles.php:51
1531
+ #: templates/personal-pro/content-shortcodes.php:13
1532
+ #, php-format
1533
+ msgid "Search results for \"%s\""
1534
+ msgstr "Sökresultat för \"%s\""
1535
+
1536
+ #: templates/list-roles.php:73 templates/list-roles.php:75
1537
+ msgid "Search Roles"
1538
+ msgstr "Sök roller"
1539
+
1540
+ #: templates/options-template.php:37
1541
+ msgid "WPFront User Role Editor Settings"
1542
+ msgstr "Inställningar för WPFront användarrollsredigerare"
1543
+
1544
+ #: templates/options-template.php:47
1545
+ #, php-format
1546
+ msgid ""
1547
+ "Menu walker class is overriden by a theme/plugin. Current value = %s. "
1548
+ "Navigation menu permissions may still work. %s"
1549
+ msgstr ""
1550
+ "Menu walker klass överstyrs av ett tema/plugin. Aktuellt värde = %s. "
1551
+ "Navigeringsmenyns behörigheter kan fortfarande fungera. %s"
1552
+
1553
+ #: templates/options-template.php:47
1554
+ msgid "More information"
1555
+ msgstr "Mer information"
1556
+
1557
+ #: templates/options-template.php:103
1558
+ msgid "Customize Permissions (custom post types)"
1559
+ msgstr "Anpassa Behörigheter (anpassade inläggstyper)"
1560
+
1561
+ #: templates/options-template.php:109
1562
+ msgid "No customizable post types found."
1563
+ msgstr "Inga anpassningsposttyper hittades."
1564
+
1565
+ #: templates/personal-pro/content-shortcodes-add-edit.php:25
1566
+ msgid "unique"
1567
+ msgstr "unik"
1568
+
1569
+ #: templates/personal-pro/content-shortcodes-add-edit.php:31
1570
+ msgid "Allowed characters: lowercase letters, numbers and underscore."
1571
+ msgstr "Tillåtna tecken: små bokstäver, siffror och understreck."
1572
+
1573
+ #: templates/personal-pro/content-shortcodes-add-edit.php:67
1574
+ msgid "Submit"
1575
+ msgstr "Skicka"
1576
+
1577
+ #: templates/personal-pro/content-shortcodes-delete.php:9
1578
+ msgid "You have specified these shortcodes for deletion"
1579
+ msgstr "Du har angivit dessa kortkoder för radering"
1580
+
1581
+ #: templates/personal-pro/content-shortcodes-list.php:15
1582
+ msgid "Search"
1583
+ msgstr "Sök"
1584
+
1585
+ #: templates/personal-pro/export-roles.php:13
1586
+ msgid "Select the roles to be uploaded"
1587
+ msgstr "Välj rollerna som ska exporteras"
1588
+
1589
+ #: templates/personal-pro/export-roles.php:40
1590
+ msgid "Download Export File"
1591
+ msgstr "Ladda ner exportfil"
1592
+
1593
+ #: templates/personal-pro/import-roles.php:21
1594
+ msgid "ERROR:"
1595
+ msgstr "FEL:"
1596
+
1597
+ #: templates/personal-pro/import-roles.php:30
1598
+ msgid ""
1599
+ "Choose a WPFront User Role Editor export file (.xml) to upload, then click "
1600
+ "Upload file and import."
1601
+ msgstr ""
1602
+ "Välj en WPFront Användarollsredigerar exportfil (.xml) för att ladda upp, "
1603
+ "klicka sedan på Ladda upp fil och importera."
1604
+
1605
+ #: templates/personal-pro/import-roles.php:39
1606
+ #, php-format
1607
+ msgid "Roles exported from %s on %s by user %s."
1608
+ msgstr "Roller som exporterats från %s på %s av användaren %s."
1609
+
1610
+ #: templates/personal-pro/import-roles.php:39
1611
+ msgid "UTC"
1612
+ msgstr "UTC"
1613
+
1614
+ #: templates/personal-pro/import-roles.php:46
1615
+ msgid "Zero roles found in this export file to import."
1616
+ msgstr "Noll roller hittades i denna exportfil som ska importeras."
1617
+
1618
+ #: templates/personal-pro/import-roles.php:52
1619
+ msgid "Select roles to import"
1620
+ msgstr "Välj roller att importera"
1621
+
1622
+ #: templates/personal-pro/import-roles.php:81
1623
+ msgid ""
1624
+ "* These roles already exist in this site. Importing them will overwrite "
1625
+ "existing roles."
1626
+ msgstr ""
1627
+ "* Dessa roller finns redan på denna webbplats. Import av dem kommer att "
1628
+ "skriva över befintliga roller."
1629
+
1630
+ #: templates/personal-pro/menu-editor.php:26
1631
+ msgid ""
1632
+ "Select a role below to edit menu for that role. Deselect a menu from the "
1633
+ "grid to remove that menu. Disabled menu items are already hidden, because "
1634
+ "the selected role doesn't have the capability to display that menu. Grid "
1635
+ "displays menus which the current user has access to. "
1636
+ msgstr ""
1637
+ "Välj en roll nedan för att redigera menyn för den rollen. Avmarkera en meny "
1638
+ "från rutnätet för att ta bort den. Inaktiverade menyalternativ är redan "
1639
+ "dolda, eftersom den valda rollen inte har möjlighet att visa den menyn. "
1640
+ "Rutnätet visar menyer som den aktuella användaren har tillgång till. "
1641
+
1642
+ #: templates/personal-pro/menu-editor.php:60
1643
+ msgid "Soft"
1644
+ msgstr "Mjuk"
1645
+
1646
+ #: templates/personal-pro/menu-editor.php:61
1647
+ msgid "Hard"
1648
+ msgstr "Hård"
1649
+
1650
+ #: templates/personal-pro/menu-editor.php:92
1651
+ msgid "Restore default"
1652
+ msgstr "Återställ grundinställning"
1653
+
1654
+ #: templates/personal-pro/menu-editor.php:105
1655
+ msgid "Hide deselected item(s)"
1656
+ msgstr "Göm bortvald post(er)"
1657
+
1658
+ #: templates/personal-pro/menu-editor.php:110
1659
+ msgid "Hide disabled item(s)"
1660
+ msgstr "Göm inaktiverad post(er)"
1661
+
1662
+ #: templates/personal-pro/menu-editor.php:116
1663
+ msgid "Has Capability"
1664
+ msgstr "Har Befogenhet"
1665
+
1666
+ #: templates/personal-pro/menu-editor.php:121
1667
+ msgid "No Capability"
1668
+ msgstr "Ingen Befogenhet"
1669
+
1670
+ #: templates/personal-pro/menu-editor.php:144
1671
+ msgid "Menu Slug"
1672
+ msgstr "Menyslug"
1673
+
1674
+ #: templates/personal-pro/post-type-permissions.php:25
1675
+ msgid "Enable Role Permissions"
1676
+ msgstr "Aktivera Rollbehörigheter"
1677
+
1678
+ #: templates/personal-pro/post-type-permissions.php:33
1679
+ msgid "Read"
1680
+ msgstr "Läs"
1681
+
1682
+ #: templates/restore-role.php:55
1683
+ msgid "Confirm"
1684
+ msgstr "Bekräfta"
1685
+
1686
+ #: templates/restore-role.php:63
1687
+ msgid "Restored"
1688
+ msgstr "Återställd"
1689
+
1690
+ #: templates/restore-role.php:107
1691
+ msgid "Unexpected error / Timed out"
1692
+ msgstr "Oväntat fel / Timeout"
languages/wpfront-user-role-editor.mo CHANGED
Binary file
languages/wpfront-user-role-editor.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WPFront Notification Bar\n"
4
- "POT-Creation-Date: 2015-03-02 12:27-0700\n"
5
- "PO-Revision-Date: 2015-03-02 12:27-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WPFront <contact@wpfront.com>\n"
8
  "Language: en\n"
@@ -17,6 +17,10 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
  #: ../classes/base/class-wpfront-base-menu.php:56
 
 
 
 
20
  #: ../templates/personal-pro/menu-editor.php:138
21
  msgid "Name"
22
  msgstr "Name"
@@ -93,18 +97,18 @@ msgstr "Installed"
93
  #: ../classes/base/class-wpfront-base.php:119
94
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:108
95
  #: ../classes/class-wpfront-user-role-editor-options.php:262
96
- #: ../classes/class-wpfront-user-role-editor.php:225
97
  msgid "Settings"
98
  msgstr "Settings"
99
 
100
  #: ../classes/base/class-wpfront-base-menu.php:181
101
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:103
102
  #: ../templates/go-pro.php:71 ../templates/go-pro.php:72
103
  msgid "Activate"
104
  msgstr "Activate"
105
 
106
  #: ../classes/base/class-wpfront-base-menu.php:203
107
- #: ../classes/class-wpfront-user-role-editor.php:340
108
  msgid "Feedback"
109
  msgstr "Feedback"
110
 
@@ -117,7 +121,7 @@ msgid "All Plugins"
117
  msgstr "All Plugins"
118
 
119
  #: ../classes/base/class-wpfront-base.php:148
120
- #: ../classes/class-wpfront-user-role-editor.php:289
121
  msgid "You do not have sufficient permissions to access this page."
122
  msgstr "You do not have sufficient permissions to access this page."
123
 
@@ -138,40 +142,44 @@ msgstr "Save Changes"
138
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
139
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:80
140
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:152
141
- #: ../classes/class-wpfront-user-role-editor.php:221
142
- #: ../classes/class-wpfront-user-role-editor.php:233
 
 
143
  #: ../templates/add-remove-capability.php:85 ../templates/list-roles.php:43
144
  msgid "Roles"
145
  msgstr "Roles"
146
 
147
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
148
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:154
149
- #: ../classes/class-wpfront-user-role-editor.php:221
150
  #: ../templates/add-remove-capability.php:90
151
  msgid "All Roles"
152
  msgstr "All Roles"
153
 
154
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
155
- #: ../classes/class-wpfront-user-role-editor.php:222
156
  #: ../templates/add-edit-role.php:41 ../templates/add-edit-role.php:140
157
  msgid "Add New Role"
158
  msgstr "Add New Role"
159
 
160
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
161
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:83
162
- #: ../classes/class-wpfront-user-role-editor.php:222
163
  #: ../templates/add-edit-role.php:43 ../templates/list-roles.php:46
 
 
164
  msgid "Add New"
165
  msgstr "Add New"
166
 
167
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
168
- #: ../classes/class-wpfront-user-role-editor.php:223
169
  #: ../templates/restore-role.php:40
170
  msgid "Restore Role"
171
  msgstr "Restore Role"
172
 
173
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
174
- #: ../classes/class-wpfront-user-role-editor.php:223
175
  #: ../templates/restore-role.php:52
176
  msgid "Restore"
177
  msgstr "Restore"
@@ -187,7 +195,7 @@ msgid "Sync"
187
  msgstr "Sync"
188
 
189
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:114
190
- #: ../classes/class-wpfront-user-role-editor.php:207
191
  msgid "Go Pro"
192
  msgstr "Go Pro"
193
 
@@ -209,13 +217,19 @@ msgstr ""
209
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-sync.php:227
210
  #: ../classes/class-wpfront-user-role-editor-add-edit.php:324
211
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:128
212
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:365
213
  #: ../classes/class-wpfront-user-role-editor-list.php:361
214
  #: ../classes/class-wpfront-user-role-editor-list.php:395
215
  #: ../classes/class-wpfront-user-role-editor-list.php:412
 
 
 
216
  #: ../classes/class-wpfront-user-role-editor-options.php:255
217
  #: ../classes/class-wpfront-user-role-editor-options.php:302
218
  #: ../classes/class-wpfront-user-role-editor-restore.php:168
 
 
 
219
  #: ../classes/personal-pro/class-wpfront-user-role-editor-export.php:130
220
  #: ../classes/personal-pro/class-wpfront-user-role-editor-import.php:229
221
  #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:592
@@ -317,7 +331,7 @@ msgid "Documentation on Multisite Add New Role"
317
  msgstr "Documentation on Multisite Add New Role"
318
 
319
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:92
320
- #: ../templates/list-roles.php:68 ../templates/list-roles.php:70
321
  msgid "Search Roles"
322
  msgstr "Search Roles"
323
 
@@ -390,6 +404,8 @@ msgstr ""
390
 
391
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:178
392
  #: ../classes/class-wpfront-user-role-editor-list.php:422
 
 
393
  msgid "Columns"
394
  msgstr "Columns"
395
 
@@ -432,6 +448,7 @@ msgstr ""
432
 
433
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:202
434
  #: ../classes/class-wpfront-user-role-editor-list.php:461
 
435
  msgid "Actions"
436
  msgstr "Actions"
437
 
@@ -448,7 +465,7 @@ msgstr ""
448
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:231
449
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:281
450
  #: ../classes/class-wpfront-user-role-editor-list.php:466
451
- #: ../templates/list-roles.php:104
452
  msgid "View"
453
  msgstr "View"
454
 
@@ -467,7 +484,10 @@ msgstr ""
467
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:228
468
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:269
469
  #: ../classes/class-wpfront-user-role-editor-list.php:471
470
- #: ../templates/list-roles.php:104
 
 
 
471
  #: ../templates/personal-pro/post-type-permissions.php:34
472
  msgid "Edit"
473
  msgstr "Edit"
@@ -488,7 +508,12 @@ msgstr ""
488
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:229
489
  #: ../classes/class-wpfront-user-role-editor-list.php:260
490
  #: ../classes/class-wpfront-user-role-editor-list.php:476
491
- #: ../templates/list-roles.php:107
 
 
 
 
 
492
  #: ../templates/personal-pro/post-type-permissions.php:35
493
  msgid "Delete"
494
  msgstr "Delete"
@@ -519,6 +544,7 @@ msgstr "Documentation on Multisite Roles"
519
  #: ../classes/class-wpfront-user-role-editor-restore.php:87
520
  #: ../templates/add-edit-role.php:51 ../templates/add-edit-role.php:59
521
  #: ../templates/business-pro/sync-roles.php:21
 
522
  msgid "ERROR"
523
  msgstr "ERROR"
524
 
@@ -568,6 +594,8 @@ msgid "Custom <span class=\"count\">(%s)</span>"
568
  msgstr "Custom <span class=\"count\">(%s)</span>"
569
 
570
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:207
 
 
571
  #: ../templates/personal-pro/menu-editor.php:161
572
  #: ../templates/personal-pro/menu-editor.php:197
573
  #, php-format
@@ -806,47 +834,47 @@ msgid "Documentation on Add/Remove Capability"
806
  msgstr "Documentation on Add/Remove Capability"
807
 
808
  #: ../classes/class-wpfront-user-role-editor-assign-roles.php:66
809
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:339
810
  msgid "Secondary Roles"
811
  msgstr "Secondary Roles"
812
 
813
  #: ../classes/class-wpfront-user-role-editor-assign-roles.php:81
814
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:372
815
  #: ../templates/assign-roles.php:42 ../templates/assign-roles.php:94
816
  msgid "Assign Roles"
817
  msgstr "Assign Roles"
818
 
819
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:170
820
  msgid "No role for this site"
821
  msgstr "No role for this site"
822
 
823
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:196
824
  msgid "Invalid user."
825
  msgstr "Invalid user."
826
 
827
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:224
828
  msgid "Roles updated successfully."
829
  msgstr "Roles updated successfully."
830
 
831
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:226
832
  msgid "Invalid primary role specified."
833
  msgstr "Invalid primary role specified."
834
 
835
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:244
836
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:254
837
  msgid "Invalid primary role."
838
  msgstr "Invalid primary role."
839
 
840
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:276
841
  #, php-format
842
  msgid "%d user(s) migrated."
843
  msgstr "%d user(s) migrated."
844
 
845
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:321
846
  msgid "Primary Role"
847
  msgstr "Primary Role"
848
 
849
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:367
850
  msgid ""
851
  "This screen allows you to assign multiple roles to a user and also allows "
852
  "you to migrate users from a role to another role."
@@ -854,7 +882,7 @@ msgstr ""
854
  "This screen allows you to assign multiple roles to a user and also allows "
855
  "you to migrate users from a role to another role."
856
 
857
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:374
858
  msgid ""
859
  "To assign multiple roles to a user, select that user within the User drop "
860
  "down list and select the primary role you want for that user using the "
@@ -866,12 +894,12 @@ msgstr ""
866
  "Primary Role drop down list. Select the secondary roles using the check "
867
  "boxes below, then click Assign Roles."
868
 
869
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:379
870
  #: ../templates/assign-roles.php:99 ../templates/assign-roles.php:132
871
  msgid "Migrate Users"
872
  msgstr "Migrate Users"
873
 
874
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:381
875
  msgid ""
876
  "To migrate users from one role to another role or to add secondary roles to "
877
  "users belonging to a particular primary role, use the migrate users "
@@ -881,7 +909,7 @@ msgstr ""
881
  "users belonging to a particular primary role, use the migrate users "
882
  "functionality."
883
 
884
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:384
885
  msgid ""
886
  "Select the users using the From Primary Role drop down, to primary role "
887
  "using the Primary Role drop down and secondary roles using the check boxes "
@@ -891,7 +919,7 @@ msgstr ""
891
  "using the Primary Role drop down and secondary roles using the check boxes "
892
  "then click Migrate Users."
893
 
894
- #: ../classes/class-wpfront-user-role-editor-assign-roles.php:393
895
  msgid "Documentation on Assign / Migrate Users"
896
  msgstr "Documentation on Assign / Migrate Users"
897
 
@@ -984,12 +1012,12 @@ msgid "No Users"
984
  msgstr "No Users"
985
 
986
  #: ../classes/class-wpfront-user-role-editor-list.php:319
987
- #: ../templates/list-roles.php:124
988
  msgid "Built-In"
989
  msgstr "Built-In"
990
 
991
  #: ../classes/class-wpfront-user-role-editor-list.php:325
992
- #: ../templates/list-roles.php:124
993
  msgid "Custom"
994
  msgstr "Custom"
995
 
@@ -1058,7 +1086,7 @@ msgstr ""
1058
  "have permission to delete that role."
1059
 
1060
  #: ../classes/class-wpfront-user-role-editor-list.php:481
1061
- #: ../templates/list-roles.php:110
1062
  msgid "Default"
1063
  msgstr "Default"
1064
 
@@ -1093,6 +1121,124 @@ msgstr "Documentation on Delete Roles"
1093
  msgid "Documentation on Roles"
1094
  msgstr "Documentation on Roles"
1095
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1096
  #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:88
1097
  #, php-format
1098
  msgid "%s (Invalid)"
@@ -1111,10 +1257,6 @@ msgstr "sub item"
1111
  msgid "Edit Menu Item"
1112
  msgstr "Edit Menu Item"
1113
 
1114
- #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:146
1115
- msgid "URL"
1116
- msgstr "URL"
1117
-
1118
  #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:153
1119
  msgid "Navigation Label"
1120
  msgstr "Navigation Label"
@@ -1175,6 +1317,8 @@ msgstr "Cancel"
1175
 
1176
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:84
1177
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:119
 
 
1178
  msgid "All Users"
1179
  msgstr "All Users"
1180
 
@@ -1185,6 +1329,8 @@ msgstr "Logged in Users"
1185
 
1186
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:91
1187
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:121
 
 
1188
  msgid "Guest Users"
1189
  msgstr "Guest Users"
1190
 
@@ -1306,24 +1452,29 @@ msgstr "Documentation on Settings"
1306
  msgid "Documentation on Restore"
1307
  msgstr "Documentation on Restore"
1308
 
1309
- #: ../classes/class-wpfront-user-role-editor.php:224
1310
  #: ../templates/add-remove-capability.php:40
1311
  msgid "Add/Remove Capability"
1312
  msgstr "Add/Remove Capability"
1313
 
1314
- #: ../classes/class-wpfront-user-role-editor.php:224
1315
  msgid "Add/Remove Cap"
1316
  msgstr "Add/Remove Cap"
1317
 
1318
- #: ../classes/class-wpfront-user-role-editor.php:245
 
 
 
 
 
1319
  msgid "Assign Roles | Migrate Users"
1320
  msgstr "Assign Roles | Migrate Users"
1321
 
1322
- #: ../classes/class-wpfront-user-role-editor.php:245
1323
  msgid "Assign / Migrate"
1324
  msgstr "Assign / Migrate"
1325
 
1326
- #: ../classes/class-wpfront-user-role-editor.php:342
1327
  msgid "Buy me a Beer"
1328
  msgstr "Buy me a Beer"
1329
 
@@ -1351,6 +1502,166 @@ msgstr ""
1351
  msgid "You do not have permission to install plugin updates"
1352
  msgstr "You do not have permission to install plugin updates"
1353
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1354
  #: ../classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:32
1355
  #, php-format
1356
  msgid "%s in settings."
@@ -1466,10 +1777,6 @@ msgstr ""
1466
  "have the capability to display that menu. Grid displays menus which the "
1467
  "current user has access to."
1468
 
1469
- #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:605
1470
- msgid "Fields"
1471
- msgstr "Fields"
1472
-
1473
  #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:607
1474
  #: ../templates/personal-pro/menu-editor.php:39
1475
  msgid "Override Role"
@@ -1524,36 +1831,40 @@ msgstr ""
1524
  msgid "Documentation on Menu Editor"
1525
  msgstr "Documentation on Menu Editor"
1526
 
1527
- #: ../classes/personal-pro/class-wpfront-user-role-editor-nav-menu-pro.php:23
1528
- #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:105
1529
- msgid "[Guest]"
1530
- msgstr "[Guest]"
1531
-
1532
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:80
1533
  #: ../templates/personal-pro/menu-editor.php:9
1534
  msgid "Menu Editor"
1535
  msgstr "Menu Editor"
1536
 
1537
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:81
 
 
 
 
 
 
 
 
 
1538
  #: ../templates/personal-pro/export-roles.php:9
1539
  msgid "Export Roles"
1540
  msgstr "Export Roles"
1541
 
1542
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:81
1543
  msgid "Export"
1544
  msgstr "Export"
1545
 
1546
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:82
1547
  #: ../templates/personal-pro/import-roles.php:9
1548
  #: ../templates/personal-pro/import-roles.php:88
1549
  msgid "Import Roles"
1550
  msgstr "Import Roles"
1551
 
1552
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:82
1553
  msgid "Import"
1554
  msgstr "Import"
1555
 
1556
- #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:102
1557
  #, php-format
1558
  msgid "%s license not activated."
1559
  msgstr "%s license not activated."
@@ -1581,6 +1892,10 @@ msgstr "Create a brand new role and add it to this site."
1581
 
1582
  #: ../templates/add-edit-role.php:77 ../templates/add-edit-role.php:87
1583
  #: ../templates/add-remove-capability.php:75
 
 
 
 
1584
  msgid "required"
1585
  msgstr "required"
1586
 
@@ -1724,11 +2039,8 @@ msgstr "Delete Roles"
1724
  msgid "You have specified these roles for deletion"
1725
  msgstr "You have specified these roles for deletion"
1726
 
1727
- #: ../templates/delete-role.php:49
1728
- msgid "Role"
1729
- msgstr "Role"
1730
-
1731
  #: ../templates/delete-role.php:61
 
1732
  msgid "Confirm Deletion"
1733
  msgstr "Confirm Deletion"
1734
 
@@ -1748,6 +2060,58 @@ msgstr "Deactivate"
1748
  msgid "License Expires"
1749
  msgstr "License Expires"
1750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1751
  #: ../templates/options-template.php:37
1752
  msgid "WPFront User Role Editor Settings"
1753
  msgstr "WPFront User Role Editor Settings"
@@ -1773,6 +2137,18 @@ msgstr "Customize Permissions (custom post types)"
1773
  msgid "No customizable post types found."
1774
  msgstr "No customizable post types found."
1775
 
 
 
 
 
 
 
 
 
 
 
 
 
1776
  #: ../templates/personal-pro/export-roles.php:13
1777
  msgid "Select the roles to be uploaded"
1778
  msgstr "Select the roles to be uploaded"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WPFront Notification Bar\n"
4
+ "POT-Creation-Date: 2015-04-10 10:33-0700\n"
5
+ "PO-Revision-Date: 2015-04-10 10:33-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: WPFront <contact@wpfront.com>\n"
8
  "Language: en\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
  #: ../classes/base/class-wpfront-base-menu.php:56
20
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:84
21
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:369
22
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:416
23
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:15
24
  #: ../templates/personal-pro/menu-editor.php:138
25
  msgid "Name"
26
  msgstr "Name"
97
  #: ../classes/base/class-wpfront-base.php:119
98
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:108
99
  #: ../classes/class-wpfront-user-role-editor-options.php:262
100
+ #: ../classes/class-wpfront-user-role-editor.php:229
101
  msgid "Settings"
102
  msgstr "Settings"
103
 
104
  #: ../classes/base/class-wpfront-base-menu.php:181
105
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:110
106
  #: ../templates/go-pro.php:71 ../templates/go-pro.php:72
107
  msgid "Activate"
108
  msgstr "Activate"
109
 
110
  #: ../classes/base/class-wpfront-base-menu.php:203
111
+ #: ../classes/class-wpfront-user-role-editor.php:344
112
  msgid "Feedback"
113
  msgstr "Feedback"
114
 
121
  msgstr "All Plugins"
122
 
123
  #: ../classes/base/class-wpfront-base.php:148
124
+ #: ../classes/class-wpfront-user-role-editor.php:293
125
  msgid "You do not have sufficient permissions to access this page."
126
  msgstr "You do not have sufficient permissions to access this page."
127
 
142
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
143
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:80
144
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:152
145
+ #: ../classes/class-wpfront-user-role-editor.php:224
146
+ #: ../classes/class-wpfront-user-role-editor.php:237
147
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:87
148
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:431
149
  #: ../templates/add-remove-capability.php:85 ../templates/list-roles.php:43
150
  msgid "Roles"
151
  msgstr "Roles"
152
 
153
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:88
154
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:154
155
+ #: ../classes/class-wpfront-user-role-editor.php:224
156
  #: ../templates/add-remove-capability.php:90
157
  msgid "All Roles"
158
  msgstr "All Roles"
159
 
160
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
161
+ #: ../classes/class-wpfront-user-role-editor.php:225
162
  #: ../templates/add-edit-role.php:41 ../templates/add-edit-role.php:140
163
  msgid "Add New Role"
164
  msgstr "Add New Role"
165
 
166
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:93
167
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:83
168
+ #: ../classes/class-wpfront-user-role-editor.php:225
169
  #: ../templates/add-edit-role.php:43 ../templates/list-roles.php:46
170
+ #: ../templates/login-redirect.php:41
171
+ #: ../templates/personal-pro/content-shortcodes.php:10
172
  msgid "Add New"
173
  msgstr "Add New"
174
 
175
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
176
+ #: ../classes/class-wpfront-user-role-editor.php:226
177
  #: ../templates/restore-role.php:40
178
  msgid "Restore Role"
179
  msgstr "Restore Role"
180
 
181
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:98
182
+ #: ../classes/class-wpfront-user-role-editor.php:226
183
  #: ../templates/restore-role.php:52
184
  msgid "Restore"
185
  msgstr "Restore"
195
  msgstr "Sync"
196
 
197
  #: ../classes/business-pro/class-wpfront-user-role-editor-business-pro.php:114
198
+ #: ../classes/class-wpfront-user-role-editor.php:210
199
  msgid "Go Pro"
200
  msgstr "Go Pro"
201
 
217
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-sync.php:227
218
  #: ../classes/class-wpfront-user-role-editor-add-edit.php:324
219
  #: ../classes/class-wpfront-user-role-editor-add-remove-capability.php:128
220
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:366
221
  #: ../classes/class-wpfront-user-role-editor-list.php:361
222
  #: ../classes/class-wpfront-user-role-editor-list.php:395
223
  #: ../classes/class-wpfront-user-role-editor-list.php:412
224
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:407
225
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:441
226
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:472
227
  #: ../classes/class-wpfront-user-role-editor-options.php:255
228
  #: ../classes/class-wpfront-user-role-editor-options.php:302
229
  #: ../classes/class-wpfront-user-role-editor-restore.php:168
230
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:362
231
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:393
232
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:404
233
  #: ../classes/personal-pro/class-wpfront-user-role-editor-export.php:130
234
  #: ../classes/personal-pro/class-wpfront-user-role-editor-import.php:229
235
  #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:592
331
  msgstr "Documentation on Multisite Add New Role"
332
 
333
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:92
334
+ #: ../templates/list-roles.php:73 ../templates/list-roles.php:75
335
  msgid "Search Roles"
336
  msgstr "Search Roles"
337
 
404
 
405
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:178
406
  #: ../classes/class-wpfront-user-role-editor-list.php:422
407
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:417
408
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:414
409
  msgid "Columns"
410
  msgstr "Columns"
411
 
448
 
449
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-list.php:202
450
  #: ../classes/class-wpfront-user-role-editor-list.php:461
451
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:438
452
  msgid "Actions"
453
  msgstr "Actions"
454
 
465
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:231
466
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:281
467
  #: ../classes/class-wpfront-user-role-editor-list.php:466
468
+ #: ../templates/list-roles.php:109
469
  msgid "View"
470
  msgstr "View"
471
 
484
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:228
485
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:269
486
  #: ../classes/class-wpfront-user-role-editor-list.php:471
487
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:148
488
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:146
489
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:443
490
+ #: ../templates/list-roles.php:109
491
  #: ../templates/personal-pro/post-type-permissions.php:34
492
  msgid "Edit"
493
  msgstr "Edit"
508
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:229
509
  #: ../classes/class-wpfront-user-role-editor-list.php:260
510
  #: ../classes/class-wpfront-user-role-editor-list.php:476
511
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:62
512
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:151
513
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:62
514
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:149
515
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:448
516
+ #: ../templates/list-roles.php:112
517
  #: ../templates/personal-pro/post-type-permissions.php:35
518
  msgid "Delete"
519
  msgstr "Delete"
544
  #: ../classes/class-wpfront-user-role-editor-restore.php:87
545
  #: ../templates/add-edit-role.php:51 ../templates/add-edit-role.php:59
546
  #: ../templates/business-pro/sync-roles.php:21
547
+ #: ../templates/personal-pro/content-shortcodes.php:23
548
  msgid "ERROR"
549
  msgstr "ERROR"
550
 
594
  msgstr "Custom <span class=\"count\">(%s)</span>"
595
 
596
  #: ../classes/business-pro/class-wpfront-user-role-editor-ms-roles-list-table.php:207
597
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:122
598
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:121
599
  #: ../templates/personal-pro/menu-editor.php:161
600
  #: ../templates/personal-pro/menu-editor.php:197
601
  #, php-format
834
  msgstr "Documentation on Add/Remove Capability"
835
 
836
  #: ../classes/class-wpfront-user-role-editor-assign-roles.php:66
837
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:340
838
  msgid "Secondary Roles"
839
  msgstr "Secondary Roles"
840
 
841
  #: ../classes/class-wpfront-user-role-editor-assign-roles.php:81
842
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:373
843
  #: ../templates/assign-roles.php:42 ../templates/assign-roles.php:94
844
  msgid "Assign Roles"
845
  msgstr "Assign Roles"
846
 
847
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:171
848
  msgid "No role for this site"
849
  msgstr "No role for this site"
850
 
851
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:197
852
  msgid "Invalid user."
853
  msgstr "Invalid user."
854
 
855
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:225
856
  msgid "Roles updated successfully."
857
  msgstr "Roles updated successfully."
858
 
859
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:227
860
  msgid "Invalid primary role specified."
861
  msgstr "Invalid primary role specified."
862
 
863
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:245
864
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:255
865
  msgid "Invalid primary role."
866
  msgstr "Invalid primary role."
867
 
868
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:277
869
  #, php-format
870
  msgid "%d user(s) migrated."
871
  msgstr "%d user(s) migrated."
872
 
873
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:322
874
  msgid "Primary Role"
875
  msgstr "Primary Role"
876
 
877
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:368
878
  msgid ""
879
  "This screen allows you to assign multiple roles to a user and also allows "
880
  "you to migrate users from a role to another role."
882
  "This screen allows you to assign multiple roles to a user and also allows "
883
  "you to migrate users from a role to another role."
884
 
885
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:375
886
  msgid ""
887
  "To assign multiple roles to a user, select that user within the User drop "
888
  "down list and select the primary role you want for that user using the "
894
  "Primary Role drop down list. Select the secondary roles using the check "
895
  "boxes below, then click Assign Roles."
896
 
897
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:380
898
  #: ../templates/assign-roles.php:99 ../templates/assign-roles.php:132
899
  msgid "Migrate Users"
900
  msgstr "Migrate Users"
901
 
902
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:382
903
  msgid ""
904
  "To migrate users from one role to another role or to add secondary roles to "
905
  "users belonging to a particular primary role, use the migrate users "
909
  "users belonging to a particular primary role, use the migrate users "
910
  "functionality."
911
 
912
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:385
913
  msgid ""
914
  "Select the users using the From Primary Role drop down, to primary role "
915
  "using the Primary Role drop down and secondary roles using the check boxes "
919
  "using the Primary Role drop down and secondary roles using the check boxes "
920
  "then click Migrate Users."
921
 
922
+ #: ../classes/class-wpfront-user-role-editor-assign-roles.php:394
923
  msgid "Documentation on Assign / Migrate Users"
924
  msgstr "Documentation on Assign / Migrate Users"
925
 
1012
  msgstr "No Users"
1013
 
1014
  #: ../classes/class-wpfront-user-role-editor-list.php:319
1015
+ #: ../templates/list-roles.php:129
1016
  msgid "Built-In"
1017
  msgstr "Built-In"
1018
 
1019
  #: ../classes/class-wpfront-user-role-editor-list.php:325
1020
+ #: ../templates/list-roles.php:129
1021
  msgid "Custom"
1022
  msgstr "Custom"
1023
 
1086
  "have permission to delete that role."
1087
 
1088
  #: ../classes/class-wpfront-user-role-editor-list.php:481
1089
+ #: ../templates/list-roles.php:115
1090
  msgid "Default"
1091
  msgstr "Default"
1092
 
1121
  msgid "Documentation on Roles"
1122
  msgstr "Documentation on Roles"
1123
 
1124
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:68
1125
+ msgid "No login redirects found."
1126
+ msgstr "No login redirects found."
1127
+
1128
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:84
1129
+ #: ../templates/delete-role.php:49 ../templates/login-redirect.php:99
1130
+ msgid "Role"
1131
+ msgstr "Role"
1132
+
1133
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:85
1134
+ #: ../templates/login-redirect.php:125
1135
+ msgid "Priority"
1136
+ msgstr "Priority"
1137
+
1138
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:86
1139
+ #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:146
1140
+ #: ../templates/login-redirect.php:133
1141
+ msgid "URL"
1142
+ msgstr "URL"
1143
+
1144
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:87
1145
+ msgid "WP-ADMIN"
1146
+ msgstr "WP-ADMIN"
1147
+
1148
+ #: ../classes/class-wpfront-user-role-editor-login-redirect-list-table.php:88
1149
+ msgid "Toolbar"
1150
+ msgstr "Toolbar"
1151
+
1152
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:216
1153
+ msgid "Login redirect added."
1154
+ msgstr "Login redirect added."
1155
+
1156
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:219
1157
+ msgid "Login redirect updated."
1158
+ msgstr "Login redirect updated."
1159
+
1160
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:222
1161
+ msgid "This role is not supported."
1162
+ msgstr "This role is not supported."
1163
+
1164
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:409
1165
+ msgid ""
1166
+ "Use this functionality to redirect a user to a specific page after they "
1167
+ "login based on their role."
1168
+ msgstr ""
1169
+ "Use this functionality to redirect a user to a specific page after they "
1170
+ "login based on their role."
1171
+
1172
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:412
1173
+ msgid ""
1174
+ "In addition, you can also deny the user access to WP-ADMIN and remove the "
1175
+ "toolbar (admin bar) from the front end."
1176
+ msgstr ""
1177
+ "In addition, you can also deny the user access to WP-ADMIN and remove the "
1178
+ "toolbar (admin bar) from the front end."
1179
+
1180
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:419
1181
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:450
1182
+ msgid "<b>Role</b>: The role of the user to qualify for this redirect."
1183
+ msgstr "<b>Role</b>: The role of the user to qualify for this redirect."
1184
+
1185
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:422
1186
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:453
1187
+ msgid ""
1188
+ "<b>Priority</b>: When a user has multiple roles, the role configuration with "
1189
+ "the highest priority will be selected."
1190
+ msgstr ""
1191
+ "<b>Priority</b>: When a user has multiple roles, the role configuration with "
1192
+ "the highest priority will be selected."
1193
+
1194
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:425
1195
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:456
1196
+ msgid ""
1197
+ "<b>URL</b>: The URL where the user will be redirected after login or on WP-"
1198
+ "ADMIN access if denied."
1199
+ msgstr ""
1200
+ "<b>URL</b>: The URL where the user will be redirected after login or on WP-"
1201
+ "ADMIN access if denied."
1202
+
1203
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:428
1204
+ msgid "<b>WP-ADMIN</b>: Displays whether user has access to WP-ADMIN."
1205
+ msgstr "<b>WP-ADMIN</b>: Displays whether user has access to WP-ADMIN."
1206
+
1207
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:431
1208
+ msgid "<b>Toolbar</b>: Displays whether user will see toolbar on front end."
1209
+ msgstr "<b>Toolbar</b>: Displays whether user will see toolbar on front end."
1210
+
1211
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:443
1212
+ msgid "Add/Edit a new login redirect."
1213
+ msgstr "Add/Edit a new login redirect."
1214
+
1215
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:448
1216
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:605
1217
+ msgid "Fields"
1218
+ msgstr "Fields"
1219
+
1220
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:459
1221
+ msgid ""
1222
+ "<b>Deny WP-ADMIN</b>: If enabled user will be redirected to URL on WP-ADMIN "
1223
+ "access."
1224
+ msgstr ""
1225
+ "<b>Deny WP-ADMIN</b>: If enabled user will be redirected to URL on WP-ADMIN "
1226
+ "access."
1227
+
1228
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:462
1229
+ msgid ""
1230
+ "<b>Disable Toolbar</b>: If enabled user will not see toolbar on front end."
1231
+ msgstr ""
1232
+ "<b>Disable Toolbar</b>: If enabled user will not see toolbar on front end."
1233
+
1234
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:474
1235
+ msgid "Click \"Confirm Delete\" to delete displayed configurations."
1236
+ msgstr "Click \"Confirm Delete\" to delete displayed configurations."
1237
+
1238
+ #: ../classes/class-wpfront-user-role-editor-login-redirect.php:484
1239
+ msgid "Documentation on Login Redirect"
1240
+ msgstr "Documentation on Login Redirect"
1241
+
1242
  #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:88
1243
  #, php-format
1244
  msgid "%s (Invalid)"
1257
  msgid "Edit Menu Item"
1258
  msgstr "Edit Menu Item"
1259
 
 
 
 
 
1260
  #: ../classes/class-wpfront-user-role-editor-nav-menu-walker.php:153
1261
  msgid "Navigation Label"
1262
  msgstr "Navigation Label"
1317
 
1318
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:84
1319
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:119
1320
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:247
1321
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:42
1322
  msgid "All Users"
1323
  msgstr "All Users"
1324
 
1329
 
1330
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:91
1331
  #: ../classes/class-wpfront-user-role-editor-nav-menu.php:121
1332
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:255
1333
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:46
1334
  msgid "Guest Users"
1335
  msgstr "Guest Users"
1336
 
1452
  msgid "Documentation on Restore"
1453
  msgstr "Documentation on Restore"
1454
 
1455
+ #: ../classes/class-wpfront-user-role-editor.php:227
1456
  #: ../templates/add-remove-capability.php:40
1457
  msgid "Add/Remove Capability"
1458
  msgstr "Add/Remove Capability"
1459
 
1460
+ #: ../classes/class-wpfront-user-role-editor.php:227
1461
  msgid "Add/Remove Cap"
1462
  msgstr "Add/Remove Cap"
1463
 
1464
+ #: ../classes/class-wpfront-user-role-editor.php:228
1465
+ #: ../templates/login-redirect.php:40
1466
+ msgid "Login Redirect"
1467
+ msgstr "Login Redirect"
1468
+
1469
+ #: ../classes/class-wpfront-user-role-editor.php:249
1470
  msgid "Assign Roles | Migrate Users"
1471
  msgstr "Assign Roles | Migrate Users"
1472
 
1473
+ #: ../classes/class-wpfront-user-role-editor.php:249
1474
  msgid "Assign / Migrate"
1475
  msgstr "Assign / Migrate"
1476
 
1477
+ #: ../classes/class-wpfront-user-role-editor.php:346
1478
  msgid "Buy me a Beer"
1479
  msgstr "Buy me a Beer"
1480
 
1502
  msgid "You do not have permission to install plugin updates"
1503
  msgstr "You do not have permission to install plugin updates"
1504
 
1505
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:68
1506
+ msgid "No shortcodes found."
1507
+ msgstr "No shortcodes found."
1508
+
1509
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:85
1510
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:376
1511
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:421
1512
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:25
1513
+ #: ../templates/personal-pro/content-shortcodes-delete.php:34
1514
+ msgid "Shortcode"
1515
+ msgstr "Shortcode"
1516
+
1517
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes-list-table.php:86
1518
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:383
1519
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:426
1520
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:37
1521
+ msgid "User Type"
1522
+ msgstr "User Type"
1523
+
1524
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:100
1525
+ msgid "Shortcode not found."
1526
+ msgstr "Shortcode not found."
1527
+
1528
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:102
1529
+ msgid "Shortcode updated successfully."
1530
+ msgstr "Shortcode updated successfully."
1531
+
1532
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:109
1533
+ msgid "Shortcode already exists."
1534
+ msgstr "Shortcode already exists."
1535
+
1536
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:116
1537
+ msgid "Shortcode added successfully."
1538
+ msgstr "Shortcode added successfully."
1539
+
1540
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:145
1541
+ msgid "Shortcode(s) deleted."
1542
+ msgstr "Shortcode(s) deleted."
1543
+
1544
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:235
1545
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-nav-menu-pro.php:23
1546
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-post-type-permissions.php:105
1547
+ msgid "[Guest]"
1548
+ msgstr "[Guest]"
1549
+
1550
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:251
1551
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:44
1552
+ msgid "Logged-in Users"
1553
+ msgstr "Logged-in Users"
1554
+
1555
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:259
1556
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:48
1557
+ msgid "Users in Roles"
1558
+ msgstr "Users in Roles"
1559
+
1560
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:265
1561
+ msgid "Administrator"
1562
+ msgstr "Administrator"
1563
+
1564
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:364
1565
+ msgid "This screen allows you to add or edit a shortcode within your site."
1566
+ msgstr "This screen allows you to add or edit a shortcode within your site."
1567
+
1568
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:371
1569
+ msgid ""
1570
+ "Use the Name field to enter an identifiable name for this shortcode. This "
1571
+ "field is required."
1572
+ msgstr ""
1573
+ "Use the Name field to enter an identifiable name for this shortcode. This "
1574
+ "field is required."
1575
+
1576
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:378
1577
+ msgid ""
1578
+ "Use this field to enter the shortcode string, that will be used by "
1579
+ "WordPress. This field is required and has to be unique. Only lowercase "
1580
+ "letters, numbers and underscore is allowd in this field."
1581
+ msgstr ""
1582
+ "Use this field to enter the shortcode string, that will be used by "
1583
+ "WordPress. This field is required and has to be unique. Only lowercase "
1584
+ "letters, numbers and underscore is allowd in this field."
1585
+
1586
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:385
1587
+ msgid ""
1588
+ "Select the type of users, the content within the shortcode will be "
1589
+ "displayed. You can select All Users, Logged in Users, Guest Users or Users "
1590
+ "within specific roles."
1591
+ msgstr ""
1592
+ "Select the type of users, the content within the shortcode will be "
1593
+ "displayed. You can select All Users, Logged in Users, Guest Users or Users "
1594
+ "within specific roles."
1595
+
1596
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:395
1597
+ msgid "This screen allows you to delete the shortcodes you selected to delete."
1598
+ msgstr ""
1599
+ "This screen allows you to delete the shortcodes you selected to delete."
1600
+
1601
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:406
1602
+ msgid ""
1603
+ "This screen displays all the content shortcodes existing within your site."
1604
+ msgstr ""
1605
+ "This screen displays all the content shortcodes existing within your site."
1606
+
1607
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:409
1608
+ msgid ""
1609
+ "To add a new shortcode, click the Add New button at the top of the screen."
1610
+ msgstr ""
1611
+ "To add a new shortcode, click the Add New button at the top of the screen."
1612
+
1613
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:418
1614
+ msgid "User identifiable name of the shortcode."
1615
+ msgstr "User identifiable name of the shortcode."
1616
+
1617
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:423
1618
+ msgid "Used by WordPress to identify the shortcode."
1619
+ msgstr "Used by WordPress to identify the shortcode."
1620
+
1621
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:428
1622
+ msgid "Determines who all will see the content wrapped within the shortcode."
1623
+ msgstr "Determines who all will see the content wrapped within the shortcode."
1624
+
1625
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:433
1626
+ msgid "Roles used when User Type is \"Users in Roles\"."
1627
+ msgstr "Roles used when User Type is \"Users in Roles\"."
1628
+
1629
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:440
1630
+ msgid ""
1631
+ "Hovering over a row in the list will display action links that allow you to "
1632
+ "manage the shortcodes. You can perform the following actions:"
1633
+ msgstr ""
1634
+ "Hovering over a row in the list will display action links that allow you to "
1635
+ "manage the shortcodes. You can perform the following actions:"
1636
+
1637
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:445
1638
+ msgid "Allows you to edit that shortcode."
1639
+ msgstr "Allows you to edit that shortcode."
1640
+
1641
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:450
1642
+ msgid "Allows you to delete that shortcode."
1643
+ msgstr "Allows you to delete that shortcode."
1644
+
1645
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:455
1646
+ msgid "Usage"
1647
+ msgstr "Usage"
1648
+
1649
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:457
1650
+ msgid ""
1651
+ "To use the shortcode within a post/page, copy the shortcode from the "
1652
+ "Shortcode column and put your content within the shortcode."
1653
+ msgstr ""
1654
+ "To use the shortcode within a post/page, copy the shortcode from the "
1655
+ "Shortcode column and put your content within the shortcode."
1656
+
1657
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:460
1658
+ msgid "Ex: [shortcode]Your content here.[/shortcode]"
1659
+ msgstr "Ex: [shortcode]Your content here.[/shortcode]"
1660
+
1661
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-content-shortcodes.php:469
1662
+ msgid "Documentation on Content Shortcodes"
1663
+ msgstr "Documentation on Content Shortcodes"
1664
+
1665
  #: ../classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:32
1666
  #, php-format
1667
  msgid "%s in settings."
1777
  "have the capability to display that menu. Grid displays menus which the "
1778
  "current user has access to."
1779
 
 
 
 
 
1780
  #: ../classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php:607
1781
  #: ../templates/personal-pro/menu-editor.php:39
1782
  msgid "Override Role"
1831
  msgid "Documentation on Menu Editor"
1832
  msgstr "Documentation on Menu Editor"
1833
 
1834
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:86
 
 
 
 
 
1835
  #: ../templates/personal-pro/menu-editor.php:9
1836
  msgid "Menu Editor"
1837
  msgstr "Menu Editor"
1838
 
1839
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:87
1840
+ #: ../templates/personal-pro/content-shortcodes.php:9
1841
+ msgid "Content Shortcodes"
1842
+ msgstr "Content Shortcodes"
1843
+
1844
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:87
1845
+ msgid "Shortcodes"
1846
+ msgstr "Shortcodes"
1847
+
1848
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:88
1849
  #: ../templates/personal-pro/export-roles.php:9
1850
  msgid "Export Roles"
1851
  msgstr "Export Roles"
1852
 
1853
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:88
1854
  msgid "Export"
1855
  msgstr "Export"
1856
 
1857
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:89
1858
  #: ../templates/personal-pro/import-roles.php:9
1859
  #: ../templates/personal-pro/import-roles.php:88
1860
  msgid "Import Roles"
1861
  msgstr "Import Roles"
1862
 
1863
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:89
1864
  msgid "Import"
1865
  msgstr "Import"
1866
 
1867
+ #: ../classes/personal-pro/class-wpfront-user-role-editor-personal-pro.php:109
1868
  #, php-format
1869
  msgid "%s license not activated."
1870
  msgstr "%s license not activated."
1892
 
1893
  #: ../templates/add-edit-role.php:77 ../templates/add-edit-role.php:87
1894
  #: ../templates/add-remove-capability.php:75
1895
+ #: ../templates/login-redirect.php:99 ../templates/login-redirect.php:125
1896
+ #: ../templates/login-redirect.php:133
1897
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:15
1898
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:25
1899
  msgid "required"
1900
  msgstr "required"
1901
 
2039
  msgid "You have specified these roles for deletion"
2040
  msgstr "You have specified these roles for deletion"
2041
 
 
 
 
 
2042
  #: ../templates/delete-role.php:61
2043
+ #: ../templates/personal-pro/content-shortcodes-delete.php:43
2044
  msgid "Confirm Deletion"
2045
  msgstr "Confirm Deletion"
2046
 
2060
  msgid "License Expires"
2061
  msgstr "License Expires"
2062
 
2063
+ #: ../templates/list-roles.php:51
2064
+ #: ../templates/personal-pro/content-shortcodes.php:13
2065
+ #, php-format
2066
+ msgid "Search results for \"%s\""
2067
+ msgstr "Search results for \"%s\""
2068
+
2069
+ #: ../templates/login-redirect.php:63
2070
+ msgid "Custom roles not supported in free version."
2071
+ msgstr "Custom roles not supported in free version."
2072
+
2073
+ #: ../templates/login-redirect.php:63
2074
+ msgid "Upgrade to Pro."
2075
+ msgstr "Upgrade to Pro."
2076
+
2077
+ #: ../templates/login-redirect.php:77
2078
+ #: ../templates/personal-pro/content-shortcodes-list.php:15
2079
+ msgid "Search"
2080
+ msgstr "Search"
2081
+
2082
+ #: ../templates/login-redirect.php:91
2083
+ msgid ""
2084
+ "Enter the URL where the user will be redirected after login or on wp-admin "
2085
+ "access."
2086
+ msgstr ""
2087
+ "Enter the URL where the user will be redirected after login or on wp-admin "
2088
+ "access."
2089
+
2090
+ #: ../templates/login-redirect.php:138
2091
+ msgid "[Relative to home URL (recommended) or absolute URL.]"
2092
+ msgstr "[Relative to home URL (recommended) or absolute URL.]"
2093
+
2094
+ #: ../templates/login-redirect.php:143
2095
+ msgid "Deny WP-ADMIN"
2096
+ msgstr "Deny WP-ADMIN"
2097
+
2098
+ #: ../templates/login-redirect.php:151
2099
+ msgid "Disable Toolbar"
2100
+ msgstr "Disable Toolbar"
2101
+
2102
+ #: ../templates/login-redirect.php:160
2103
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:67
2104
+ msgid "Submit"
2105
+ msgstr "Submit"
2106
+
2107
+ #: ../templates/login-redirect.php:168
2108
+ msgid "The following role configurations will be deleted."
2109
+ msgstr "The following role configurations will be deleted."
2110
+
2111
+ #: ../templates/login-redirect.php:186
2112
+ msgid "Confirm Delete"
2113
+ msgstr "Confirm Delete"
2114
+
2115
  #: ../templates/options-template.php:37
2116
  msgid "WPFront User Role Editor Settings"
2117
  msgstr "WPFront User Role Editor Settings"
2137
  msgid "No customizable post types found."
2138
  msgstr "No customizable post types found."
2139
 
2140
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:25
2141
+ msgid "unique"
2142
+ msgstr "unique"
2143
+
2144
+ #: ../templates/personal-pro/content-shortcodes-add-edit.php:31
2145
+ msgid "Allowed characters: lowercase letters, numbers and underscore."
2146
+ msgstr "Allowed characters: lowercase letters, numbers and underscore."
2147
+
2148
+ #: ../templates/personal-pro/content-shortcodes-delete.php:9
2149
+ msgid "You have specified these shortcodes for deletion"
2150
+ msgstr "You have specified these shortcodes for deletion"
2151
+
2152
  #: ../templates/personal-pro/export-roles.php:13
2153
  msgid "Select the roles to be uploaded"
2154
  msgstr "Select the roles to be uploaded"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpfront.com/donate/
4
  Tags: WordPress user role editor, user role editor, role editor, user role, role, WordPress user roles, user roles, roles, user roles editor, roles editor, role manager, roles manager, manage roles, manage role, access, capability, editor, permission, role, security, user, capability editor, capability manager, custom post types, custom post type permissions, custom post type capabilities, post type permissions, post type capabilities, menu editor, role menu, role menu editor, multisite roles, multisite role editor, multisite user roles, import roles, export roles
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
- Stable tag: 2.7
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,9 +26,11 @@ You can create, edit or delete user roles and manage role capabilities.
26
  * Assign multiple roles.
27
  * Migrate users.
28
  * Navigation menu permissions basic.
 
29
  * [Admin menu editor.](https://wpfront.com/user-role-editor-pro/menu-editor/) [PRO]
30
  * [Media library permissions.](https://wpfront.com/user-role-editor-pro/media-attachment-file-permissions/) [PRO]
31
  * [Navigation menu permissions advanced.](https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/) [PRO]
 
32
  * [Post/Page extended permissions.](https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/) [PRO]
33
  * [Custom post type permissions.](https://wpfront.com/user-role-editor-pro/custom-post-type-permissions/) [PRO]
34
  * [Content restriction shortcodes.](https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/) [PRO]
@@ -39,6 +41,7 @@ Compare [User Role Editor Pro](https://wpfront.com/ppro)
39
 
40
  Localization Contributors:
41
  <li>[Mauro Mascarenhas](http://nintersoft.ml) (Portuguese) </li>
 
42
 
43
  Spanish tutorial
44
  https://www.youtube.com/watch?v=YRZdWH-uukI
@@ -77,9 +80,15 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
77
  14. Add or Remove capability
78
  15. Media library permissions
79
  16. Content restriction shortcodes
 
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
83
  = 2.8 =
84
  * Content restriction shortcodes added. [Documentation](https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/).
85
 
@@ -155,6 +164,9 @@ Please visit [WPFront User Role Editor FAQ](https://wpfront.com/user-role-editor
155
 
156
  == Upgrade Notice ==
157
 
 
 
 
158
  = 2.8 =
159
  * Content restriction shortcodes.
160
 
4
  Tags: WordPress user role editor, user role editor, role editor, user role, role, WordPress user roles, user roles, roles, user roles editor, roles editor, role manager, roles manager, manage roles, manage role, access, capability, editor, permission, role, security, user, capability editor, capability manager, custom post types, custom post type permissions, custom post type capabilities, post type permissions, post type capabilities, menu editor, role menu, role menu editor, multisite roles, multisite role editor, multisite user roles, import roles, export roles
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
+ Stable tag: 2.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
  * Assign multiple roles.
27
  * Migrate users.
28
  * Navigation menu permissions basic.
29
+ * Login redirect basic.
30
  * [Admin menu editor.](https://wpfront.com/user-role-editor-pro/menu-editor/) [PRO]
31
  * [Media library permissions.](https://wpfront.com/user-role-editor-pro/media-attachment-file-permissions/) [PRO]
32
  * [Navigation menu permissions advanced.](https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/) [PRO]
33
+ * [Login redirect advanced.](https://wpfront.com/user-role-editor-pro/login-redirect/) [PRO]
34
  * [Post/Page extended permissions.](https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/) [PRO]
35
  * [Custom post type permissions.](https://wpfront.com/user-role-editor-pro/custom-post-type-permissions/) [PRO]
36
  * [Content restriction shortcodes.](https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/) [PRO]
41
 
42
  Localization Contributors:
43
  <li>[Mauro Mascarenhas](http://nintersoft.ml) (Portuguese) </li>
44
+ <li>[Elger Lindgren](http://bilddigital.se) (Swedish) </li>
45
 
46
  Spanish tutorial
47
  https://www.youtube.com/watch?v=YRZdWH-uukI
80
  14. Add or Remove capability
81
  15. Media library permissions
82
  16. Content restriction shortcodes
83
+ 17. Login redirect
84
 
85
  == Changelog ==
86
 
87
+ = 2.9 =
88
+ * Login redirect added. [Documentation](https://wpfront.com/user-role-editor-pro/login-redirect/).
89
+ * Assign roles compatibility fix.
90
+ * Swedish translation added. Thanks to Elger.
91
+
92
  = 2.8 =
93
  * Content restriction shortcodes added. [Documentation](https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/).
94
 
164
 
165
  == Upgrade Notice ==
166
 
167
+ = 2.9 =
168
+ * Login redirect.
169
+
170
  = 2.8 =
171
  * Content restriction shortcodes.
172
 
templates/go-pro-table CHANGED
@@ -91,6 +91,9 @@
91
  </div>
92
  <div class="cell">
93
  <i class="fa fa-times"></i>
 
 
 
94
  </div>
95
  <div class="cell">
96
  &nbsp;
@@ -117,6 +120,9 @@
117
  </div>
118
  <div class="cell">
119
  <a target="_blank" href="https://wpfront.com/media-attachment-file-permissions/">Media Library Permissions</a>
 
 
 
120
  </div>
121
  <div class="cell">
122
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/">Posts/Pages Extended Permissions</a>
@@ -161,6 +167,9 @@
161
  </div>
162
  <div class="cell">
163
  <a target="_blank" href="https://wpfront.com/media-attachment-file-permissions/">Media Library Permissions</a>
 
 
 
164
  </div>
165
  <div class="cell">
166
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/">Posts/Pages Extended Permissions</a>
91
  </div>
92
  <div class="cell">
93
  <i class="fa fa-times"></i>
94
+ </div>
95
+ <div class="cell">
96
+ <i class="fa fa-times"></i>
97
  </div>
98
  <div class="cell">
99
  &nbsp;
120
  </div>
121
  <div class="cell">
122
  <a target="_blank" href="https://wpfront.com/media-attachment-file-permissions/">Media Library Permissions</a>
123
+ </div>
124
+ <div class="cell">
125
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/">Content Restriction Shortcodes</a>
126
  </div>
127
  <div class="cell">
128
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/">Posts/Pages Extended Permissions</a>
167
  </div>
168
  <div class="cell">
169
  <a target="_blank" href="https://wpfront.com/media-attachment-file-permissions/">Media Library Permissions</a>
170
+ </div>
171
+ <div class="cell">
172
+ <a target="_blank" href="https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/">Content Restriction Shortcodes</a>
173
  </div>
174
  <div class="cell">
175
  <a target="_blank" href="https://wpfront.com/user-role-editor-pro/posts-pages-extended-permissions/">Posts/Pages Extended Permissions</a>
templates/list-roles.php CHANGED
@@ -39,49 +39,54 @@ $this->main->verify_nonce();
39
 
40
  <div class="wrap list-roles">
41
  <h2>
42
- <?php
43
- echo $this->__('Roles');
44
- if ($this->can_create()) {
45
- ?>
46
  <a href="<?php echo $this->add_new_url(); ?>" class="add-new-h2"><?php echo $this->__('Add New'); ?></a>
47
  <?php
48
  }
 
 
 
 
 
49
  ?>
50
  </h2>
51
 
52
  <ul class="subsubsub">
53
  <li>
54
- <?php
55
- $filter_data = array();
56
- $current_filter = $this->get_current_list_filter();
57
- foreach ($this->get_list_filters() as $key => $value) {
58
- $filter_data[] = sprintf('<a href="%s" class="%s">%s <span class="count">(%s)</span></a>', $value['url'], ($current_filter == $key ? 'current' : ''), $value['display'], $value['count']);
59
- }
60
- echo implode('|</li><li>', $filter_data);
61
- ?>
62
  </li>
63
  </ul>
64
 
65
  <form method = "post">
66
- <?php $this->main->create_nonce(); ?>
67
  <p class = "search-box">
68
  <label class = "screen-reader-text" for = "role-search-input"><?php echo $this->__('Search Roles') . ':'; ?></label>
69
  <input type="search" id="role-search-input" name="s" value="<?php echo $this->get_search_term(); ?>">
70
  <input type="submit" name="search-submit" id="search-submit" class="button" value="<?php echo $this->__('Search Roles'); ?>">
71
  </p>
72
- <?php $this->bulk_actions('top'); ?>
73
  <table class="wp-list-table widefat fixed users">
74
  <thead>
75
- <?php $this->table_header(); ?>
76
  </thead>
77
  <tfoot>
78
- <?php $this->table_header(); ?>
79
  </tfoot>
80
  <tbody id="the-list">
81
- <?php
82
- $index = 0;
83
- foreach ($this->get_roles() as $key => $value) {
84
- ?>
85
  <tr id="<?php echo $key; ?>" class="<?php echo $index % 2 == 0 ? 'alternate' : ''; ?>">
86
  <th scope="row" class="check-column">
87
  <label class="screen-reader-text" for="cb-select-<?php echo $key; ?>"><?php echo sprintf('Select %s', $value['display_name']) ?></label>
@@ -89,68 +94,68 @@ foreach ($this->get_roles() as $key => $value) {
89
  </th>
90
  <td class="displayname column-displayname">
91
  <strong>
92
- <?php
93
- if (empty($value['edit_url']))
94
- echo $value['display_name'];
95
- else
96
- printf('<a href="%s">%s</a>', $value['edit_url'], $value['display_name']);
97
- ?>
98
  </strong>
99
  <br />
100
  <div class="row-actions">
101
- <?php
102
- $links = array();
103
- if ($this->can_edit()) {
104
- $links[] = sprintf('<span class="edit"><a href="%s">%s</a></span>', $value['edit_url'], ($value['is_editable'] ? $this->__('Edit') : $this->__('View')));
105
- }
106
- if ($this->can_delete() && $value['is_deletable']) {
107
- $links[] = sprintf('<span class="delete"><a href="%s">%s</a></span>', $value['delete_url'], $this->__('Delete'));
108
- }
109
- if (!empty($value['set_default_url'])) {
110
- $links[] = sprintf('<span class="set-default"><a href="%s">%s</a></span>', $value['set_default_url'], $this->__('Default'));
111
- }
112
- $custom_links = apply_filters('role_row_actions', array(), get_role($key));
113
- foreach ($custom_links as $link_key => $link_value) {
114
- $links[] = "<span class='$link_key'>$link_value</span>";
115
- }
116
- echo implode('|', $links);
117
- ?>
118
  </div>
119
  </td>
120
  <td class="rolename column-rolename">
121
- <?php echo $key; ?>
122
  </td>
123
  <td class="roletype column-roletype">
124
- <?php echo $value['is_default'] ? $this->__('Built-In') : $this->__('Custom'); ?>
125
  </td>
126
  <td class="userdefault column-userdefault num">
127
- <?php
128
- if ($value['user_default']) {
129
- printf('<img class="user-default" src="%s" />', $this->image_url() . 'check-icon.png');
130
- }
131
- ?>
132
  </td>
133
  <td class="usercount column-usercount num">
134
- <?php echo $value['user_count']; ?>
135
  </td>
136
  <td class="capscount column-capscount num">
137
- <?php echo $value['caps_count']; ?>
138
  </td>
139
- <?php
140
- foreach ($this->custom_columns as $column_key => $column_value) {
141
- echo "<td class='$column_key column-$column_key num'>"
142
- . apply_filters('manage_roles_custom_column', $column_value, $column_key, $key)
143
- . "</td>";
144
- }
145
- ?>
146
- </tr>
147
  <?php
148
- $index++;
149
- }
150
- ?>
 
 
 
 
 
 
 
 
151
  </tbody>
152
  </table>
153
- <?php $this->bulk_actions('bottom'); ?>
154
  </form>
155
- <?php $this->footer(); ?>
156
  </div>
39
 
40
  <div class="wrap list-roles">
41
  <h2>
42
+ <?php
43
+ echo $this->__('Roles');
44
+ if ($this->can_create()) {
45
+ ?>
46
  <a href="<?php echo $this->add_new_url(); ?>" class="add-new-h2"><?php echo $this->__('Add New'); ?></a>
47
  <?php
48
  }
49
+ if (!empty($_POST['s'])) {
50
+ ?>
51
+ <span class="subtitle"><?php echo sprintf($this->__('Search results for "%s"'), $_POST['s']); ?></span>
52
+ <?php
53
+ }
54
  ?>
55
  </h2>
56
 
57
  <ul class="subsubsub">
58
  <li>
59
+ <?php
60
+ $filter_data = array();
61
+ $current_filter = $this->get_current_list_filter();
62
+ foreach ($this->get_list_filters() as $key => $value) {
63
+ $filter_data[] = sprintf('<a href="%s" class="%s">%s <span class="count">(%s)</span></a>', $value['url'], ($current_filter == $key ? 'current' : ''), $value['display'], $value['count']);
64
+ }
65
+ echo implode('|</li><li>', $filter_data);
66
+ ?>
67
  </li>
68
  </ul>
69
 
70
  <form method = "post">
71
+ <?php $this->main->create_nonce(); ?>
72
  <p class = "search-box">
73
  <label class = "screen-reader-text" for = "role-search-input"><?php echo $this->__('Search Roles') . ':'; ?></label>
74
  <input type="search" id="role-search-input" name="s" value="<?php echo $this->get_search_term(); ?>">
75
  <input type="submit" name="search-submit" id="search-submit" class="button" value="<?php echo $this->__('Search Roles'); ?>">
76
  </p>
77
+ <?php $this->bulk_actions('top'); ?>
78
  <table class="wp-list-table widefat fixed users">
79
  <thead>
80
+ <?php $this->table_header(); ?>
81
  </thead>
82
  <tfoot>
83
+ <?php $this->table_header(); ?>
84
  </tfoot>
85
  <tbody id="the-list">
86
+ <?php
87
+ $index = 0;
88
+ foreach ($this->get_roles() as $key => $value) {
89
+ ?>
90
  <tr id="<?php echo $key; ?>" class="<?php echo $index % 2 == 0 ? 'alternate' : ''; ?>">
91
  <th scope="row" class="check-column">
92
  <label class="screen-reader-text" for="cb-select-<?php echo $key; ?>"><?php echo sprintf('Select %s', $value['display_name']) ?></label>
94
  </th>
95
  <td class="displayname column-displayname">
96
  <strong>
97
+ <?php
98
+ if (empty($value['edit_url']))
99
+ echo $value['display_name'];
100
+ else
101
+ printf('<a href="%s">%s</a>', $value['edit_url'], $value['display_name']);
102
+ ?>
103
  </strong>
104
  <br />
105
  <div class="row-actions">
106
+ <?php
107
+ $links = array();
108
+ if ($this->can_edit()) {
109
+ $links[] = sprintf('<span class="edit"><a href="%s">%s</a></span>', $value['edit_url'], ($value['is_editable'] ? $this->__('Edit') : $this->__('View')));
110
+ }
111
+ if ($this->can_delete() && $value['is_deletable']) {
112
+ $links[] = sprintf('<span class="delete"><a href="%s">%s</a></span>', $value['delete_url'], $this->__('Delete'));
113
+ }
114
+ if (!empty($value['set_default_url'])) {
115
+ $links[] = sprintf('<span class="set-default"><a href="%s">%s</a></span>', $value['set_default_url'], $this->__('Default'));
116
+ }
117
+ $custom_links = apply_filters('role_row_actions', array(), get_role($key));
118
+ foreach ($custom_links as $link_key => $link_value) {
119
+ $links[] = "<span class='$link_key'>$link_value</span>";
120
+ }
121
+ echo implode('|', $links);
122
+ ?>
123
  </div>
124
  </td>
125
  <td class="rolename column-rolename">
126
+ <?php echo $key; ?>
127
  </td>
128
  <td class="roletype column-roletype">
129
+ <?php echo $value['is_default'] ? $this->__('Built-In') : $this->__('Custom'); ?>
130
  </td>
131
  <td class="userdefault column-userdefault num">
132
+ <?php
133
+ if ($value['user_default']) {
134
+ printf('<img class="user-default" src="%s" />', $this->image_url() . 'check-icon.png');
135
+ }
136
+ ?>
137
  </td>
138
  <td class="usercount column-usercount num">
139
+ <?php echo $value['user_count']; ?>
140
  </td>
141
  <td class="capscount column-capscount num">
142
+ <?php echo $value['caps_count']; ?>
143
  </td>
 
 
 
 
 
 
 
 
144
  <?php
145
+ foreach ($this->custom_columns as $column_key => $column_value) {
146
+ echo "<td class='$column_key column-$column_key num'>"
147
+ . apply_filters('manage_roles_custom_column', $column_value, $column_key, $key)
148
+ . "</td>";
149
+ }
150
+ ?>
151
+ </tr>
152
+ <?php
153
+ $index++;
154
+ }
155
+ ?>
156
  </tbody>
157
  </table>
158
+ <?php $this->bulk_actions('bottom'); ?>
159
  </form>
160
+ <?php $this->footer(); ?>
161
  </div>
templates/login-redirect.php ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ WPFront User Role Editor Plugin
4
+ Copyright (C) 2014, WPFront.com
5
+ Website: wpfront.com
6
+ Contact: syam@wpfront.com
7
+
8
+ WPFront User Role Editor Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ /**
25
+ * Template for WPFront User Role Editor Login Redirect
26
+ *
27
+ * @author Syam Mohan <syam@wpfront.com>
28
+ * @copyright 2015 WPFront.com
29
+ */
30
+ ?>
31
+
32
+ <?php
33
+ if (!defined('ABSPATH')) {
34
+ exit();
35
+ }
36
+ ?>
37
+
38
+ <div class="wrap login-redirect">
39
+ <h2 id="login-redirect">
40
+ <?php echo $this->__('Login Redirect'); ?>
41
+ <a href="<?php echo $this->login_redirect_add_new_url(); ?>" class="add-new-h2"><?php echo $this->__('Add New'); ?></a>
42
+ </h2>
43
+ <?php
44
+ if (!empty($this->success_message)) {
45
+ ?>
46
+ <div class="updated">
47
+ <p><?php echo $this->success_message; ?></p>
48
+ </div>
49
+ <?php
50
+ }
51
+
52
+ if (!empty($this->error_message)) {
53
+ ?>
54
+ <div class="error below-h2">
55
+ <p><?php echo $this->error_message; ?></p>
56
+ </div>
57
+ <?php
58
+ }
59
+ ?>
60
+
61
+ <?php if ($this->get_mode() === 'ADD') { ?>
62
+ <div id="login-redirect-custom-role-disabled" class="error below-h2 hidden">
63
+ <p><?php echo $this->__('Custom roles not supported in free version.') . ' ' . sprintf('<a target="_blank" href="https://wpfront.com/lgnred">%s</a>', $this->__('Upgrade to Pro.')); ?></p>
64
+ </div>
65
+ <?php } ?>
66
+
67
+ <?php
68
+ if ($this->get_mode() === 'LIST') {
69
+ require_once($this->main->pluginDIR() . 'classes/class-wpfront-user-role-editor-login-redirect-list-table.php');
70
+
71
+ $table = new WPFront_User_Role_Editor_Login_Redirect_List_Table($this);
72
+ $table->prepare_items();
73
+ $table->views();
74
+ ?>
75
+ <form action="" method="get" class="search-form">
76
+ <input type="hidden" name="page" value="<?php echo WPFront_User_Role_Editor_Login_Redirect::MENU_SLUG; ?>" />
77
+ <?php $table->search_box($this->__('Search'), 'login-redirect'); ?>
78
+ </form>
79
+
80
+ <form id="form-login-redirect" method='post'>
81
+ <?php
82
+ $this->main->create_nonce('_login_redirect');
83
+ $table->display();
84
+ ?>
85
+ <input type="hidden" name="mode" value="BULK-DELETE" />
86
+ </form>
87
+ <?php
88
+ } elseif ($this->get_mode() === 'ADD' || $this->get_mode() === 'EDIT') {
89
+ ?>
90
+ <p>
91
+ <?php echo $this->__('Enter the URL where the user will be redirected after login or on wp-admin access.'); ?>
92
+ </p>
93
+ <form id="form-login-redirect" method="post" class="validate">
94
+ <?php $this->main->create_nonce('_login_redirect'); ?>
95
+ <table class="form-table">
96
+ <tbody>
97
+ <tr class="form-required <?php echo $this->valid_role ? '' : 'form-invalid' ?>">
98
+ <th scope="row">
99
+ <?php echo $this->__('Role'); ?><span class="description"> (<?php echo $this->__('required'); ?>)</span>
100
+ </th>
101
+ <td>
102
+ <?php if ($this->get_mode() === 'ADD') { ?>
103
+ <select name="role" id="login-redirect-role">
104
+ <?php
105
+ foreach ($this->get_roles() as $key => $value) {
106
+ ?>
107
+ <option value="<?php echo $key; ?>" data-supported="<?php echo $this->role_supported($key) ? 'true' : 'false'; ?>" <?php echo $key === $this->role ? 'selected' : ''; ?>><?php echo $value; ?></option>
108
+ <?php
109
+ }
110
+ ?>
111
+ </select>
112
+ <?php
113
+ } else {
114
+ global $wp_roles;
115
+ $roles = $wp_roles->get_names();
116
+ ?>
117
+ <select disabled="true"><option><?php echo $roles[$this->role]; ?> </option></select>
118
+ <input type="hidden" value="<?php echo $this->role; ?>" name="role" />
119
+ <input type="hidden" value="EDIT" name="mode" />
120
+ <?php } ?>
121
+ </td>
122
+ </tr>
123
+ <tr class="form-required <?php echo $this->valid_priority ? '' : 'form-invalid' ?>">
124
+ <th scope="row">
125
+ <?php echo $this->__('Priority'); ?><span class="description"> (<?php echo $this->__('required'); ?>)</span>
126
+ </th>
127
+ <td>
128
+ <input class="small-text" name="priority" type="number" value="<?php echo $this->priority; ?>" aria-required="true" />
129
+ </td>
130
+ </tr>
131
+ <tr class="form-required <?php echo $this->valid_url ? '' : 'form-invalid' ?>">
132
+ <th scope="row">
133
+ <?php echo $this->__('URL'); ?><span class="description"> (<?php echo $this->__('required'); ?>)</span>
134
+ </th>
135
+ <td>
136
+ <input class="regular-text" name="url" type="text" value="<?php echo $this->url; ?>" aria-required="true" />
137
+ <br />
138
+ <span class="description"><?php echo $this->__('[Relative to home URL (recommended) or absolute URL.]'); ?></span>
139
+ </td>
140
+ </tr>
141
+ <tr>
142
+ <th scope="row">
143
+ <?php echo $this->__('Deny WP-ADMIN'); ?>
144
+ </th>
145
+ <td>
146
+ <input name="deny_wpadmin" type="checkbox" <?php echo $this->deny_wpadmin ? 'checked' : ''; ?> />
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <th scope="row">
151
+ <?php echo $this->__('Disable Toolbar'); ?>
152
+ </th>
153
+ <td>
154
+ <input name="disable_toolbar" type="checkbox" <?php echo $this->disable_toolbar ? 'checked' : ''; ?> />
155
+ </td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ <p class="submit">
160
+ <input type="submit" id="login-redirect-add-edit" class="button button-primary" value="<?php echo $this->__('Submit'); ?>" />
161
+ </p>
162
+ </form>
163
+
164
+ <?php } elseif ($this->get_mode() === 'DELETE') { ?>
165
+ <form method="post" action="<?php echo $this->login_redirect_url(); ?>">
166
+ <?php $this->main->create_nonce('_login_redirect'); ?>
167
+ <p>
168
+ <?php echo $this->__('The following role configurations will be deleted.'); ?>
169
+ </p>
170
+ <ol>
171
+ <?php
172
+ global $wp_roles;
173
+ $roles = $wp_roles->get_names();
174
+ foreach ($this->role as $role) {
175
+ ?>
176
+ <li>
177
+ <?php echo $role . ' [' . $roles[$role] . ']'; ?>
178
+ <input type="hidden" name="role[]" value="<?php echo $role; ?>" />
179
+ </li>
180
+ <?php
181
+ }
182
+ ?>
183
+ </ol>
184
+ <input type="hidden" name="mode" value="CONFIRM-DELETE" />
185
+ <p class="submit">
186
+ <input type="submit" class="button button-secondary" value="<?php echo $this->__('Confirm Delete'); ?>" />
187
+ </p>
188
+ </form>
189
+ <?php } ?>
190
+ </div>
191
+
192
+ <?php if ($this->get_mode() === 'ADD') { ?>
193
+ <script type="text/javascript">
194
+ (function ($) {
195
+ var role_check = function () {
196
+ var $option = $("#login-redirect-role option:selected");
197
+
198
+ if ($option.length === 0)
199
+ return;
200
+
201
+ if ($option.data("supported")) {
202
+ $("#form-login-redirect input").prop("disabled", false)
203
+ $("#login-redirect-custom-role-disabled").addClass("hidden");
204
+ } else {
205
+ $("#form-login-redirect input").prop("disabled", true)
206
+ $("#login-redirect-custom-role-disabled").removeClass("hidden");
207
+ }
208
+ };
209
+
210
+ $("#login-redirect-role").change(role_check);
211
+ role_check();
212
+ })(jQuery);
213
+ </script>
214
+ <?php } ?>
uninstall.php CHANGED
@@ -19,6 +19,9 @@ if (is_multisite() && class_exists('WPFront_User_Role_Editor_Business_Pro_Contro
19
  WPFront_User_Role_Editor_Entity_Options::uninstall();
20
  WPFront_User_Role_Editor_Entity_Menu_Editor::uninstall();
21
  WPFront_User_Role_Editor_Entity_Post_Type_Permissions::uninstall();
 
 
 
22
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
23
  }
24
  }
@@ -27,18 +30,25 @@ if (is_multisite() && class_exists('WPFront_User_Role_Editor_Business_Pro_Contro
27
  } else {
28
  $entity = new WPFront_User_Role_Editor_Options(NULL);
29
  if ($entity->remove_data_on_uninstall()) {
30
- if (class_exists('WPFront_User_Role_Editor_Entity_Options'))
31
- WPFront_User_Role_Editor_Entity_Options::uninstall();
32
-
33
- if (class_exists('WPFront_User_Role_Editor_Entity_Menu_Editor'))
34
- WPFront_User_Role_Editor_Entity_Menu_Editor::uninstall();
35
-
36
- if (class_exists('WPFront_User_Role_Editor_Entity_Post_Type_Permissions'))
37
- WPFront_User_Role_Editor_Entity_Post_Type_Permissions::uninstall();
38
-
39
- if (class_exists('WPFront_User_Role_Editor_Nav_Menu'))
40
- WPFront_User_Role_Editor_Nav_Menu::uninstall();
41
- }
 
 
 
 
 
 
 
42
  }
43
 
44
 
19
  WPFront_User_Role_Editor_Entity_Options::uninstall();
20
  WPFront_User_Role_Editor_Entity_Menu_Editor::uninstall();
21
  WPFront_User_Role_Editor_Entity_Post_Type_Permissions::uninstall();
22
+ WPFront_User_Role_Editor_Entity_Content_Shortcodes::uninstall();
23
+ WPFront_User_Role_Editor_Entity_Login_Redirect::uninstall();
24
+
25
  WPFront_User_Role_Editor_Nav_Menu::uninstall();
26
  }
27
  }
30
  } else {
31
  $entity = new WPFront_User_Role_Editor_Options(NULL);
32
  if ($entity->remove_data_on_uninstall()) {
33
+ if (class_exists('WPFront_User_Role_Editor_Entity_Options'))
34
+ WPFront_User_Role_Editor_Entity_Options::uninstall();
35
+
36
+ if (class_exists('WPFront_User_Role_Editor_Entity_Menu_Editor'))
37
+ WPFront_User_Role_Editor_Entity_Menu_Editor::uninstall();
38
+
39
+ if (class_exists('WPFront_User_Role_Editor_Entity_Post_Type_Permissions'))
40
+ WPFront_User_Role_Editor_Entity_Post_Type_Permissions::uninstall();
41
+
42
+ if (class_exists('WPFront_User_Role_Editor_Entity_Content_Shortcodes'))
43
+ WPFront_User_Role_Editor_Entity_Content_Shortcodes::uninstall();
44
+
45
+ if (class_exists('WPFront_User_Role_Editor_Entity_Login_Redirect'))
46
+ WPFront_User_Role_Editor_Entity_Login_Redirect::uninstall();
47
+
48
+
49
+ if (class_exists('WPFront_User_Role_Editor_Nav_Menu'))
50
+ WPFront_User_Role_Editor_Nav_Menu::uninstall();
51
+ }
52
  }
53
 
54
 
wpfront-user-role-editor.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WPFront User Role Editor
5
  * Plugin URI: http://wpfront.com/user-role-editor-pro/
6
  * Description: Allows you to manage user roles.
7
- * Version: 2.7
8
  * Author: Syam Mohan
9
  * Author URI: http://wpfront.com
10
  * License: GPL v3
4
  * Plugin Name: WPFront User Role Editor
5
  * Plugin URI: http://wpfront.com/user-role-editor-pro/
6
  * Description: Allows you to manage user roles.
7
+ * Version: 2.9
8
  * Author: Syam Mohan
9
  * Author URI: http://wpfront.com
10
  * License: GPL v3