Password Protected - Version 1.8

Version Description

  • Support for adding "password-protected-login.php" in theme directory.
  • Allow filtering of the 'redirect to' URL via the 'password_protected_login_redirect_url' filter.
  • Added 'password_protected_login_messages' action to output errors and messages in template.
  • Use current_time( 'timestamp' ) instead of time() to take into account site timezone.
  • Check login earlier in the template_redirect action.
  • Updated translations.
Download this release

Release Info

Developer husobj
Plugin Icon 128x128 Password Protected
Version 1.8
Comparing to
See all releases

Code changes from version 1.7.2 to 1.8

admin/admin.php CHANGED
@@ -9,7 +9,9 @@ class Password_Protected_Admin {
9
  * Constructor
10
  */
11
  function Password_Protected_Admin() {
 
12
  global $wp_version;
 
13
  add_action( 'admin_init', array( $this, 'password_protected_settings' ), 5 );
14
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
15
  add_action( 'password_protected_help_tabs', array( $this, 'help_tabs' ), 5 );
@@ -17,48 +19,62 @@ class Password_Protected_Admin {
17
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
18
  add_filter( 'plugin_action_links_password-protected/password-protected.php', array( $this, 'plugin_action_links' ) );
19
  add_filter( 'pre_update_option_password_protected_password', array( $this, 'pre_update_option_password_protected_password' ), 10, 2 );
 
20
  }
21
 
22
  /**
23
  * Admin Menu
24
  */
25
  function admin_menu() {
 
26
  $this->settings_page_id = add_options_page( __( 'Password Protected', 'password-protected' ), __( 'Password Protected', 'password-protected' ), 'manage_options', 'password-protected', array( $this, 'settings_page' ) );
27
  add_action( 'load-' . $this->settings_page_id, array( $this, 'add_help_tabs' ), 20 );
 
28
  }
29
 
30
  /**
31
  * Settings Page
32
  */
33
  function settings_page() {
34
- echo '<div class="wrap">
 
 
35
  <div id="icon-options-general" class="icon32"><br /></div>
36
- <h2>' . __( 'Password Protected Settings', 'password-protected' ) . '</h2>
37
- <form method="post" action="options.php">';
38
- settings_fields( 'password-protected' );
39
- do_settings_sections( 'password-protected' );
40
- echo '<p class="submit"><input type="submit" name="submit" id="submit" class="button button-primary" value="' . __( 'Save Changes' ) . '"></p>
 
 
41
  </form>
42
- </div>';
 
 
43
  }
44
 
45
  /**
46
  * Add Help Tabs
47
  */
48
  function add_help_tabs() {
 
49
  global $wp_version;
 
50
  if ( version_compare( $wp_version, '3.3', '<' ) ) {
51
  return;
52
  }
 
53
  do_action( 'password_protected_help_tabs', get_current_screen() );
 
54
  }
55
 
56
  /**
57
  * Help Tabs
58
  *
59
- * @param object $current_screen Screen object.
60
  */
61
  function help_tabs( $current_screen ) {
 
62
  $current_screen->add_help_tab( array(
63
  'id' => 'PASSWORD_PROTECTED_SETTINGS',
64
  'title' => __( 'Password Protected', 'password-protected' ),
@@ -66,18 +82,21 @@ class Password_Protected_Admin {
66
  . __( '<p><strong>Protected Permissions</strong><br />Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in the Theme Customizer. Also allow RSS Feeds to be accessed when the site is password protected.</p>', 'password-protected' )
67
  . __( '<p><strong>Password Fields</strong><br />To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.</p>', 'password-protected' )
68
  ) );
 
69
  }
70
 
71
  /**
72
  * Settings API
73
  */
74
  function password_protected_settings() {
 
75
  add_settings_section(
76
  'password_protected',
77
  '',
78
  array( $this, 'password_protected_settings_section' ),
79
  $this->options_group
80
  );
 
81
  add_settings_field(
82
  'password_protected_status',
83
  __( 'Password Protected Status', 'password-protected' ),
@@ -85,6 +104,7 @@ class Password_Protected_Admin {
85
  $this->options_group,
86
  'password_protected'
87
  );
 
88
  add_settings_field(
89
  'password_protected_permissions',
90
  __( 'Protected Permissions', 'password-protected' ),
@@ -92,6 +112,7 @@ class Password_Protected_Admin {
92
  $this->options_group,
93
  'password_protected'
94
  );
 
95
  add_settings_field(
96
  'password_protected_password',
97
  __( 'New Password', 'password-protected' ),
@@ -99,12 +120,14 @@ class Password_Protected_Admin {
99
  $this->options_group,
100
  'password_protected'
101
  );
102
- register_setting( $this->options_group, 'password_protected_status', 'intval' );
103
- register_setting( $this->options_group, 'password_protected_feeds', 'intval' );
104
- register_setting( $this->options_group, 'password_protected_administrators', 'intval' );
105
- register_setting( $this->options_group, 'password_protected_users', 'intval' );
 
106
  register_setting( $this->options_group, 'password_protected_password', array( $this, 'sanitize_password_protected_password' ) );
107
- }
 
108
 
109
  /**
110
  * Sanitize Password Field Input
@@ -113,7 +136,9 @@ class Password_Protected_Admin {
113
  * @return string Sanitized password.
114
  */
115
  function sanitize_password_protected_password( $val ) {
 
116
  $old_val = get_option( 'password_protected_password' );
 
117
  if ( is_array( $val ) ) {
118
  if ( empty( $val['new'] ) ) {
119
  return $old_val;
@@ -129,39 +154,49 @@ class Password_Protected_Admin {
129
  }
130
  return get_option( 'password_protected_password' );
131
  }
 
132
  return $val;
 
133
  }
134
 
135
  /**
136
  * Password Protected Section
137
  */
138
  function password_protected_settings_section() {
 
139
  echo '<p>' . __( 'Password protect your web site. Users will be asked to enter a password to view the site.', 'password-protected' ) . '<br />
140
  ' . __( 'For more information about Password Protected settings, view the "Help" tab at the top of this page.', 'password-protected' ) . '</p>';
 
141
  }
142
 
143
  /**
144
  * Password Protection Status Field
145
  */
146
  function password_protected_status_field() {
 
147
  echo '<label><input name="password_protected_status" id="password_protected_status" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_status' ), false ) . ' /> ' . __( 'Enabled', 'password-protected' ) . '</label>';
 
148
  }
149
 
150
  /**
151
  * Password Protection Permissions Field
152
  */
153
  function password_protected_permissions_field() {
 
154
  echo '<label><input name="password_protected_administrators" id="password_protected_administrators" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_administrators' ), false ) . ' /> ' . __( 'Allow Administrators', 'password-protected' ) . '</label>';
155
  echo '<label><input name="password_protected_users" id="password_protected_users" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_users' ), false ) . ' style="margin-left: 20px;" /> ' . __( 'Allow Logged In Users', 'password-protected' ) . '</label>';
156
  echo '<label><input name="password_protected_feeds" id="password_protected_feeds" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_feeds' ), false ) . ' style="margin-left: 20px;" /> ' . __( 'Allow RSS Feeds', 'password-protected' ) . '</label>';
 
157
  }
158
 
159
  /**
160
  * Password Field
161
  */
162
  function password_protected_password_field() {
 
163
  echo '<input type="password" name="password_protected_password[new]" id="password_protected_password_new" size="16" value="" autocomplete="off"> <span class="description">' . __( 'If you would like to change the password type a new one. Otherwise leave this blank.', 'password-protected' ) . '</span><br>
164
  <input type="password" name="password_protected_password[confirm]" id="password_protected_password_confirm" size="16" value="" autocomplete="off"> <span class="description">' . __( 'Type your new password again.', 'password-protected' ) . '</span>';
 
165
  }
166
 
167
  /**
@@ -176,11 +211,15 @@ class Password_Protected_Admin {
176
  * @return string Filtered new value.
177
  */
178
  function pre_update_option_password_protected_password( $newvalue, $oldvalue ) {
 
179
  global $Password_Protected;
 
180
  if ( $newvalue != $oldvalue ) {
181
  $newvalue = $Password_Protected->encrypt_password( $newvalue );
182
  }
 
183
  return $newvalue;
 
184
  }
185
 
186
  /**
@@ -195,11 +234,14 @@ class Password_Protected_Admin {
195
  * @return array Plugin meta array.
196
  */
197
  function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
 
198
  if ( 'password-protected/password-protected.php' == $plugin_file ) {
199
  $plugin_meta[] = sprintf( '<a href="%s">%s</a>', __( 'http://github.com/benhuson/password-protected', 'password-protected' ), __( 'GitHub', 'password-protected' ) );
200
  $plugin_meta[] = sprintf( '<a href="%s">%s</a>', __( 'https://www.transifex.com/projects/p/password-protected/resource/password-protected/', 'password-protected' ), __( 'Translate', 'password-protected' ) );
201
  }
 
202
  return $plugin_meta;
 
203
  }
204
 
205
  /**
@@ -211,15 +253,18 @@ class Password_Protected_Admin {
211
  * @return array Plugin action links array.
212
  */
213
  function plugin_action_links( $actions ) {
 
214
  $actions[] = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=password-protected' ), __( 'Settings', 'password-protected' ) );
215
  return $actions;
 
216
  }
217
 
218
  /**
219
  * Password Admin Notice
220
  * Warns the user if they have enabled password protection but not entered a password
221
  */
222
- function password_protected_admin_notices(){
 
223
  global $Password_Protected;
224
 
225
  // Check Support
@@ -235,9 +280,11 @@ class Password_Protected_Admin {
235
  if ( $this->is_current_screen( $this->plugin_screen_ids() ) ) {
236
  $status = get_option( 'password_protected_status' );
237
  $pwd = get_option( 'password_protected_password' );
 
238
  if ( (bool) $status && empty( $pwd ) ) {
239
  echo $this->admin_error_display( __( 'You have enabled password protection but not yet set a password. Please set one below.', 'password-protected' ) );
240
  }
 
241
  if ( current_user_can( 'manage_options' ) && ( (bool) get_option( 'password_protected_administrators' ) || (bool) get_option( 'password_protected_users' ) ) ) {
242
  if ( (bool) get_option( 'password_protected_administrators' ) && (bool) get_option( 'password_protected_users' ) ) {
243
  echo $this->admin_error_display( __( 'You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site.', 'password-protected' ) );
@@ -247,7 +294,9 @@ class Password_Protected_Admin {
247
  echo $this->admin_error_display( __( 'You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site.', 'password-protected' ) );
248
  }
249
  }
 
250
  }
 
251
  }
252
 
253
  /**
@@ -259,7 +308,9 @@ class Password_Protected_Admin {
259
  * @return string HTML error.
260
  */
261
  function admin_error_display( $string ) {
 
262
  return '<div class="error"><p>' . $string . '</p></div>';
 
263
  }
264
 
265
  /**
@@ -271,6 +322,7 @@ class Password_Protected_Admin {
271
  * @return boolean
272
  */
273
  function is_current_screen( $screen_id ) {
 
274
  if ( function_exists( 'get_current_screen' ) ) {
275
  $current_screen = get_current_screen();
276
  if ( ! is_array( $screen_id ) ) {
@@ -280,7 +332,9 @@ class Password_Protected_Admin {
280
  return true;
281
  }
282
  }
 
283
  return false;
 
284
  }
285
 
286
  /**
@@ -290,7 +344,9 @@ class Password_Protected_Admin {
290
  * @return array Screen IDs.
291
  */
292
  function plugin_screen_ids( $screen_id = '' ) {
 
293
  $screen_ids = array( 'options-' . $this->options_group, 'settings_page_' . $this->options_group );
 
294
  if ( ! empty( $screen_id ) ) {
295
  if ( is_array( $screen_id ) ) {
296
  $screen_ids = array_merge( $screen_ids, $screen_id );
@@ -298,7 +354,9 @@ class Password_Protected_Admin {
298
  $screen_ids[] = $screen_id;
299
  }
300
  }
 
301
  return $screen_ids;
 
302
  }
303
 
304
  }
9
  * Constructor
10
  */
11
  function Password_Protected_Admin() {
12
+
13
  global $wp_version;
14
+
15
  add_action( 'admin_init', array( $this, 'password_protected_settings' ), 5 );
16
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
17
  add_action( 'password_protected_help_tabs', array( $this, 'help_tabs' ), 5 );
19
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
20
  add_filter( 'plugin_action_links_password-protected/password-protected.php', array( $this, 'plugin_action_links' ) );
21
  add_filter( 'pre_update_option_password_protected_password', array( $this, 'pre_update_option_password_protected_password' ), 10, 2 );
22
+
23
  }
24
 
25
  /**
26
  * Admin Menu
27
  */
28
  function admin_menu() {
29
+
30
  $this->settings_page_id = add_options_page( __( 'Password Protected', 'password-protected' ), __( 'Password Protected', 'password-protected' ), 'manage_options', 'password-protected', array( $this, 'settings_page' ) );
31
  add_action( 'load-' . $this->settings_page_id, array( $this, 'add_help_tabs' ), 20 );
32
+
33
  }
34
 
35
  /**
36
  * Settings Page
37
  */
38
  function settings_page() {
39
+ ?>
40
+
41
+ <div class="wrap">
42
  <div id="icon-options-general" class="icon32"><br /></div>
43
+ <h2><?php _e( 'Password Protected Settings', 'password-protected' ) ?></h2>
44
+ <form method="post" action="options.php">
45
+ <?php
46
+ settings_fields( 'password-protected' );
47
+ do_settings_sections( 'password-protected' );
48
+ ?>
49
+ <p class="submit"><input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e( 'Save Changes' ) ?>"></p>
50
  </form>
51
+ </div>
52
+
53
+ <?php
54
  }
55
 
56
  /**
57
  * Add Help Tabs
58
  */
59
  function add_help_tabs() {
60
+
61
  global $wp_version;
62
+
63
  if ( version_compare( $wp_version, '3.3', '<' ) ) {
64
  return;
65
  }
66
+
67
  do_action( 'password_protected_help_tabs', get_current_screen() );
68
+
69
  }
70
 
71
  /**
72
  * Help Tabs
73
  *
74
+ * @param object $current_screen Screen object.
75
  */
76
  function help_tabs( $current_screen ) {
77
+
78
  $current_screen->add_help_tab( array(
79
  'id' => 'PASSWORD_PROTECTED_SETTINGS',
80
  'title' => __( 'Password Protected', 'password-protected' ),
82
  . __( '<p><strong>Protected Permissions</strong><br />Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in the Theme Customizer. Also allow RSS Feeds to be accessed when the site is password protected.</p>', 'password-protected' )
83
  . __( '<p><strong>Password Fields</strong><br />To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.</p>', 'password-protected' )
84
  ) );
85
+
86
  }
87
 
88
  /**
89
  * Settings API
90
  */
91
  function password_protected_settings() {
92
+
93
  add_settings_section(
94
  'password_protected',
95
  '',
96
  array( $this, 'password_protected_settings_section' ),
97
  $this->options_group
98
  );
99
+
100
  add_settings_field(
101
  'password_protected_status',
102
  __( 'Password Protected Status', 'password-protected' ),
104
  $this->options_group,
105
  'password_protected'
106
  );
107
+
108
  add_settings_field(
109
  'password_protected_permissions',
110
  __( 'Protected Permissions', 'password-protected' ),
112
  $this->options_group,
113
  'password_protected'
114
  );
115
+
116
  add_settings_field(
117
  'password_protected_password',
118
  __( 'New Password', 'password-protected' ),
120
  $this->options_group,
121
  'password_protected'
122
  );
123
+
124
+ register_setting( $this->options_group, 'password_protected_status', 'intval' );
125
+ register_setting( $this->options_group, 'password_protected_feeds', 'intval' );
126
+ register_setting( $this->options_group, 'password_protected_administrators', 'intval' );
127
+ register_setting( $this->options_group, 'password_protected_users', 'intval' );
128
  register_setting( $this->options_group, 'password_protected_password', array( $this, 'sanitize_password_protected_password' ) );
129
+
130
+ }
131
 
132
  /**
133
  * Sanitize Password Field Input
136
  * @return string Sanitized password.
137
  */
138
  function sanitize_password_protected_password( $val ) {
139
+
140
  $old_val = get_option( 'password_protected_password' );
141
+
142
  if ( is_array( $val ) ) {
143
  if ( empty( $val['new'] ) ) {
144
  return $old_val;
154
  }
155
  return get_option( 'password_protected_password' );
156
  }
157
+
158
  return $val;
159
+
160
  }
161
 
162
  /**
163
  * Password Protected Section
164
  */
165
  function password_protected_settings_section() {
166
+
167
  echo '<p>' . __( 'Password protect your web site. Users will be asked to enter a password to view the site.', 'password-protected' ) . '<br />
168
  ' . __( 'For more information about Password Protected settings, view the "Help" tab at the top of this page.', 'password-protected' ) . '</p>';
169
+
170
  }
171
 
172
  /**
173
  * Password Protection Status Field
174
  */
175
  function password_protected_status_field() {
176
+
177
  echo '<label><input name="password_protected_status" id="password_protected_status" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_status' ), false ) . ' /> ' . __( 'Enabled', 'password-protected' ) . '</label>';
178
+
179
  }
180
 
181
  /**
182
  * Password Protection Permissions Field
183
  */
184
  function password_protected_permissions_field() {
185
+
186
  echo '<label><input name="password_protected_administrators" id="password_protected_administrators" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_administrators' ), false ) . ' /> ' . __( 'Allow Administrators', 'password-protected' ) . '</label>';
187
  echo '<label><input name="password_protected_users" id="password_protected_users" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_users' ), false ) . ' style="margin-left: 20px;" /> ' . __( 'Allow Logged In Users', 'password-protected' ) . '</label>';
188
  echo '<label><input name="password_protected_feeds" id="password_protected_feeds" type="checkbox" value="1" ' . checked( 1, get_option( 'password_protected_feeds' ), false ) . ' style="margin-left: 20px;" /> ' . __( 'Allow RSS Feeds', 'password-protected' ) . '</label>';
189
+
190
  }
191
 
192
  /**
193
  * Password Field
194
  */
195
  function password_protected_password_field() {
196
+
197
  echo '<input type="password" name="password_protected_password[new]" id="password_protected_password_new" size="16" value="" autocomplete="off"> <span class="description">' . __( 'If you would like to change the password type a new one. Otherwise leave this blank.', 'password-protected' ) . '</span><br>
198
  <input type="password" name="password_protected_password[confirm]" id="password_protected_password_confirm" size="16" value="" autocomplete="off"> <span class="description">' . __( 'Type your new password again.', 'password-protected' ) . '</span>';
199
+
200
  }
201
 
202
  /**
211
  * @return string Filtered new value.
212
  */
213
  function pre_update_option_password_protected_password( $newvalue, $oldvalue ) {
214
+
215
  global $Password_Protected;
216
+
217
  if ( $newvalue != $oldvalue ) {
218
  $newvalue = $Password_Protected->encrypt_password( $newvalue );
219
  }
220
+
221
  return $newvalue;
222
+
223
  }
224
 
225
  /**
234
  * @return array Plugin meta array.
235
  */
236
  function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
237
+
238
  if ( 'password-protected/password-protected.php' == $plugin_file ) {
239
  $plugin_meta[] = sprintf( '<a href="%s">%s</a>', __( 'http://github.com/benhuson/password-protected', 'password-protected' ), __( 'GitHub', 'password-protected' ) );
240
  $plugin_meta[] = sprintf( '<a href="%s">%s</a>', __( 'https://www.transifex.com/projects/p/password-protected/resource/password-protected/', 'password-protected' ), __( 'Translate', 'password-protected' ) );
241
  }
242
+
243
  return $plugin_meta;
244
+
245
  }
246
 
247
  /**
253
  * @return array Plugin action links array.
254
  */
255
  function plugin_action_links( $actions ) {
256
+
257
  $actions[] = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=password-protected' ), __( 'Settings', 'password-protected' ) );
258
  return $actions;
259
+
260
  }
261
 
262
  /**
263
  * Password Admin Notice
264
  * Warns the user if they have enabled password protection but not entered a password
265
  */
266
+ function password_protected_admin_notices() {
267
+
268
  global $Password_Protected;
269
 
270
  // Check Support
280
  if ( $this->is_current_screen( $this->plugin_screen_ids() ) ) {
281
  $status = get_option( 'password_protected_status' );
282
  $pwd = get_option( 'password_protected_password' );
283
+
284
  if ( (bool) $status && empty( $pwd ) ) {
285
  echo $this->admin_error_display( __( 'You have enabled password protection but not yet set a password. Please set one below.', 'password-protected' ) );
286
  }
287
+
288
  if ( current_user_can( 'manage_options' ) && ( (bool) get_option( 'password_protected_administrators' ) || (bool) get_option( 'password_protected_users' ) ) ) {
289
  if ( (bool) get_option( 'password_protected_administrators' ) && (bool) get_option( 'password_protected_users' ) ) {
290
  echo $this->admin_error_display( __( 'You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site.', 'password-protected' ) );
294
  echo $this->admin_error_display( __( 'You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site.', 'password-protected' ) );
295
  }
296
  }
297
+
298
  }
299
+
300
  }
301
 
302
  /**
308
  * @return string HTML error.
309
  */
310
  function admin_error_display( $string ) {
311
+
312
  return '<div class="error"><p>' . $string . '</p></div>';
313
+
314
  }
315
 
316
  /**
322
  * @return boolean
323
  */
324
  function is_current_screen( $screen_id ) {
325
+
326
  if ( function_exists( 'get_current_screen' ) ) {
327
  $current_screen = get_current_screen();
328
  if ( ! is_array( $screen_id ) ) {
332
  return true;
333
  }
334
  }
335
+
336
  return false;
337
+
338
  }
339
 
340
  /**
344
  * @return array Screen IDs.
345
  */
346
  function plugin_screen_ids( $screen_id = '' ) {
347
+
348
  $screen_ids = array( 'options-' . $this->options_group, 'settings_page_' . $this->options_group );
349
+
350
  if ( ! empty( $screen_id ) ) {
351
  if ( is_array( $screen_id ) ) {
352
  $screen_ids = array_merge( $screen_ids, $screen_id );
354
  $screen_ids[] = $screen_id;
355
  }
356
  }
357
+
358
  return $screen_ids;
359
+
360
  }
361
 
362
  }
languages/password-protected-ar.po CHANGED
@@ -1,203 +1,194 @@
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
- # Mamdouh Samy <asyuti47@yahoo.com>, 2013
 
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
- "POT-Creation-Date: 2013-09-03 09:35:27+00:00\n"
10
- "PO-Revision-Date: 2014-02-24 23:30-0000\n"
11
- "Last-Translator: Ben Huson <ben@thewhiteroom.net>\n"
12
- "Language-Team: Arabic (http://www.transifex.com/projects/p/wp-translations/"
13
- "language/ar/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: ar\n"
18
- "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
19
- "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
20
  "X-Generator: Poedit 1.6.2\n"
 
 
 
21
 
22
- #. Plugin Name of the plugin/theme
23
- #: admin/admin.php:25 admin/admin.php:60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "Password Protected"
25
  msgstr "محمي بكلمة مرور"
26
 
27
- #: admin/admin.php:35
28
  msgid "Password Protected Settings"
29
  msgstr "إعدادات الحماية بكلمة مرور"
30
 
31
- #: admin/admin.php:39
32
  msgid "Save Changes"
33
  msgstr "حفظ التغييرات"
34
 
35
- #: admin/admin.php:61
36
  msgid ""
37
- "<p><strong>Enabled Checkbox</strong><br />Turn on/off password protection.</"
38
- "p>"
39
- msgstr ""
40
- "<p><strong>Enabled Checkbox</strong><br />Turn on/off password protection.</"
41
- "p>"
42
-
43
- #: admin/admin.php:62
44
- msgid ""
45
- "<p><strong>Allow RSS Feeds Checkbox</strong><br />RSS Feeds will be able to "
46
- "accessed even when the site is password protected.</p>"
47
- msgstr ""
48
- "<p><strong>اختيار السماح بعناوين الخلاصات RSS </strong><br /> سيكون من "
49
- "الممكن الوصول لعناوين الخلاصات الخاصة بموقعك رغم أنه محمي بكلمة مرور</p>"
50
 
51
- #: admin/admin.php:63
52
  msgid ""
53
- "<p><strong>Allow Administrators Checkbox</strong><br />Administrators will "
54
- "not need to enter a password to view the site (providing they are logged in "
55
- "of course). You will also need to enable this option if you want "
56
- "administrators to be able to preview the site in the Theme Customizer.</p>"
57
- msgstr ""
58
- "<p><strong>اختيار السماح للمديرين</strong><br /> سيكون بامكان المديرين "
59
- "مشاهدة الموقع بدون الحاجة لادخال كلمة المرور( بشرط أن يكونوا قد قاموا بتسجيل "
60
- "الدخول أولاً). و سيكون عليك تفعيل هذا الإختيار كذلك إذا كنت ترغب في تمكين "
61
- "المديرين من معاينة الموقع في مخصص القوالب.</p>"
62
-
63
- #: admin/admin.php:64
64
  msgid ""
65
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
66
  "into both fields. You cannot set an `empty` password. To disable password "
67
  "protection uncheck the Enabled checkbox.</p>"
68
- msgstr ""
69
- "<p><strong>حقول كلمة المرور</strong><br /> لتعيين كلمة سر جديدة ادخلها في "
70
- "كلا المربعين. لا يمكنك تعيين خانة فارغة لكلمة المرور. لتعطيل الحماية بكلمة "
71
- "المرور قم بإلغاء الإختيار تفعيل كلمة المرور. </p>"
72
 
73
- #: admin/admin.php:90
74
  msgid "Password Protected Status"
75
  msgstr "حالة الحماية بكلمة مرور"
76
 
77
- #: admin/admin.php:97
 
 
 
 
78
  msgid "New Password"
79
  msgstr "كلمة المرور الجديدة"
80
 
81
- #: admin/admin.php:117
82
  msgid ""
83
  "New password not saved. When setting a new password please enter it in both "
84
  "fields."
85
- msgstr ""
86
- "كلمة المرور الجديدة لم تحفظ. عند تعيين كلمة مرور جديدة من فضلك ادخلها في كلا "
87
- "المربعين."
88
 
89
- #: admin/admin.php:120
90
  msgid "New password not saved. Password fields did not match."
91
  msgstr "كلمة المرور الجديدة لم تحفظ. الخانتين غير متطابقين"
92
 
93
- #: admin/admin.php:123
94
  msgid "New password saved."
95
  msgstr "تم حفظ كلم المرور الجديدة"
96
 
97
- #: admin/admin.php:135
98
  msgid ""
99
  "Password protect your web site. Users will be asked to enter a password to "
100
  "view the site."
101
- msgstr ""
102
- "قم بحماية موقعك بكلمة مرور. سيتم سؤال المستخدمين لإدخال كلمة المرور لمشاهدة "
103
- "الموقع."
104
 
105
- #: admin/admin.php:136
106
  msgid ""
107
  "For more information about Password Protected settings, view the \"Help\" "
108
  "tab at the top of this page."
109
- msgstr ""
110
- "لمزيد من المعلومات عن إعدادات حماية الموقع بكلمة سر, تفضل بزيارة تبويب\" "
111
- "المساعدة\" في أعلي هذه الصفحة."
112
 
113
- #: admin/admin.php:143
114
  msgid "Enabled"
115
  msgstr "مفعل"
116
 
117
- #: admin/admin.php:144
118
- msgid "Allow RSS Feeds"
119
- msgstr "السماح بعنوان الخلاصات RSS"
120
-
121
- #: admin/admin.php:145
122
  msgid "Allow Administrators"
123
  msgstr "السماح للمديرين"
124
 
125
- #: admin/admin.php:152
 
 
 
 
 
 
 
 
126
  msgid ""
127
  "If you would like to change the password type a new one. Otherwise leave "
128
  "this blank."
129
- msgstr ""
130
- "إذا أردت تغيير كلمة المرور فاكتب واحدة جديدة، وإلا فاترك المربعين فارغين"
131
 
132
- #: admin/admin.php:153
133
  msgid "Type your new password again."
134
  msgstr "اكتب كلمة المرور الجديدة مرة أخرى"
135
 
136
- #: admin/admin.php:185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  msgid ""
138
  "You have enabled password protection but not yet set a password. Please set "
139
  "one below."
140
- msgstr ""
141
- "قمت بتفعيل الحماية بكلمة المرور و لكنك لم تقم بتعيين كلمة المرور بعد. من "
142
- "فضلك حدد واحدة بالأسفل."
143
 
144
- #: admin/admin.php:188
145
  msgid ""
146
- "You have enabled password protection and allowed administrators - other "
147
- "users will still need to login to view the site."
148
- msgstr ""
149
- "قمت بتفعيل الحماية بواسطة كلمة المرور و السماح للمديرين فقط, باقي المستخدمين "
150
- "سيحتاجون لتسجيل الدخول لمشاهدة الموقع."
151
 
152
- #: password-protected.php:110
153
  msgid ""
154
- "Feeds are not available for this site. Please visit the <a href=\"%s"
155
- "\">website</a>."
156
- msgstr ""
157
- "الخلاصات غير متاحة لهذا الموقع. من فضلك قم بزيارة <a href=\"%s\">الموقع</a>"
158
 
159
- #: password-protected.php:155
160
- msgid "Incorrect Password"
161
- msgstr "كلمة مرور غير صحيحة."
 
 
162
 
163
- #: theme/login.php:40
164
  msgid ""
165
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
166
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
167
  "cookies</a> to use WordPress."
168
- msgstr ""
169
- "<strong>خطأ</strong>: متصفح الإنترنت الخاص بك لا يدعم الكوكيز. يجب عليك <a "
170
- "href='http://www.google.com/cookies.html'>تفعيل الكوكيز</a> لاستخدام "
171
- "الووردبريس."
172
 
173
- #: theme/login.php:122
174
  msgid "Password"
175
  msgstr "كلمة المرور"
176
-
177
- #: theme/login.php:126
178
- msgid "Remember Me"
179
- msgstr "تذكرني"
180
-
181
- #: theme/login.php:129
182
- msgid "Log In"
183
- msgstr "تسجيل الدخول"
184
-
185
- #. Plugin URI of the plugin/theme
186
- msgid "http://wordpress.org/extend/plugins/password-protected/"
187
- msgstr "http://wordpress.org/extend/plugins/password-protected/"
188
-
189
- #. Description of the plugin/theme
190
- msgid ""
191
- "A very simple way to quickly password protect your WordPress site with a "
192
- "single password. Integrates seamlessly into your WordPress privacy settings."
193
- msgstr ""
194
- "طريقة بسيطة لحماية موقعك باستخدام كلمة مرور واحدة. تندمج بسهولة مع إعدادات "
195
- "الخصوصية للووردبريس الخاصة بك."
196
-
197
- #. Author of the plugin/theme
198
- msgid "Ben Huson"
199
- msgstr "Ben Huson"
200
-
201
- #. Author URI of the plugin/theme
202
- msgid "http://www.benhuson.co.uk/"
203
- msgstr "http://www.benhuson.co.uk/"
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
+ # Mamdouh Ezz Samy <asyuti47@yahoo.com>, 2013
5
+ # Yaser Tallo, 2014
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: Password Protected\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
10
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
11
+ "PO-Revision-Date: 2014-09-16 16:38+0000\n"
12
+ "Last-Translator: Yaser Tallo\n"
13
+ "Language-Team: Arabic (http://www.transifex.com/projects/p/password-protected/language/ar/)\n"
 
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: ar\n"
18
+ "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
 
19
  "X-Generator: Poedit 1.6.2\n"
20
+ "X-Poedit-Basepath: ./\n"
21
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
22
+ "X-Poedit-SearchPath-0: ..\n"
23
 
24
+ #: ../password-protected.php:115
25
+ #, php-format
26
+ msgid ""
27
+ "Feeds are not available for this site. Please visit the <a "
28
+ "href=\"%s\">website</a>."
29
+ msgstr "الخلاصات غير متاحة لهذا الموقع. من فضلك قم بزيارة <a href=\"%s\">الموقع</a>"
30
+
31
+ #: ../password-protected.php:183
32
+ msgid "Incorrect Password"
33
+ msgstr "كلمة مرور غير صحيحة."
34
+
35
+ #: ../password-protected.php:427
36
+ msgid ""
37
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
38
+ "disable it."
39
+ msgstr "إضافة الحماية بكلمة مرور لا تعمل مع خدمة استضافة WP Engine. من فضلك قم بتعطيلها."
40
+
41
+ #: ../admin/admin.php:26 ../admin/admin.php:63
42
  msgid "Password Protected"
43
  msgstr "محمي بكلمة مرور"
44
 
45
+ #: ../admin/admin.php:36
46
  msgid "Password Protected Settings"
47
  msgstr "إعدادات الحماية بكلمة مرور"
48
 
49
+ #: ../admin/admin.php:40
50
  msgid "Save Changes"
51
  msgstr "حفظ التغييرات"
52
 
53
+ #: ../admin/admin.php:64
54
  msgid ""
55
+ "<p><strong>Password Protected Status</strong><br />Turn on/off password "
56
+ "protection.</p>"
57
+ msgstr "<p><strong>حالة الحماية بكلمة مرور</strong><br />فعّل/عطّل الحماية بكلمة مرور.</p>"
 
 
 
 
 
 
 
 
 
 
58
 
59
+ #: ../admin/admin.php:65
60
  msgid ""
61
+ "<p><strong>Protected Permissions</strong><br />Allow access for logged in "
62
+ "users and administrators without needing to enter a password. You will need "
63
+ "to enable this option if you want administrators to be able to preview the "
64
+ "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
65
+ "site is password protected.</p>"
66
+ msgstr "<p><strong>صلاحيات المحمي</strong><br />السماح بالدخول للمستخدمين المسجلين و المديرين دون الحاجة لإدخال كلمة مرور. عليك تفعيل هذا الخيار إذا أردت تمكين المديرين من معاينة الموقع في مخصص القوالب. السماح أيضاً بالدخول إلى الخلاصات RSS عندما يكون الموقع محمي بكلمة مرور.</p>"
67
+
68
+ #: ../admin/admin.php:66
 
 
 
69
  msgid ""
70
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
71
  "into both fields. You cannot set an `empty` password. To disable password "
72
  "protection uncheck the Enabled checkbox.</p>"
73
+ msgstr "<p><strong>حقول كلمة المرور</strong><br /> لتعيين كلمة سر جديدة ادخلها في كلا المربعين. لا يمكنك تعيين خانة فارغة لكلمة المرور. لتعطيل الحماية بكلمة المرور قم بإلغاء الإختيار تفعيل كلمة المرور. </p>"
 
 
 
74
 
75
+ #: ../admin/admin.php:82
76
  msgid "Password Protected Status"
77
  msgstr "حالة الحماية بكلمة مرور"
78
 
79
+ #: ../admin/admin.php:89
80
+ msgid "Protected Permissions"
81
+ msgstr "صلاحيات المحمي"
82
+
83
+ #: ../admin/admin.php:96
84
  msgid "New Password"
85
  msgstr "كلمة المرور الجديدة"
86
 
87
+ #: ../admin/admin.php:120
88
  msgid ""
89
  "New password not saved. When setting a new password please enter it in both "
90
  "fields."
91
+ msgstr "كلمة المرور الجديدة لم تحفظ. عند تعيين كلمة مرور جديدة من فضلك ادخلها في كلا المربعين."
 
 
92
 
93
+ #: ../admin/admin.php:123
94
  msgid "New password not saved. Password fields did not match."
95
  msgstr "كلمة المرور الجديدة لم تحفظ. الخانتين غير متطابقين"
96
 
97
+ #: ../admin/admin.php:126
98
  msgid "New password saved."
99
  msgstr "تم حفظ كلم المرور الجديدة"
100
 
101
+ #: ../admin/admin.php:138
102
  msgid ""
103
  "Password protect your web site. Users will be asked to enter a password to "
104
  "view the site."
105
+ msgstr "قم بحماية موقعك بكلمة مرور. سيتم سؤال المستخدمين لإدخال كلمة المرور لمشاهدة الموقع."
 
 
106
 
107
+ #: ../admin/admin.php:139
108
  msgid ""
109
  "For more information about Password Protected settings, view the \"Help\" "
110
  "tab at the top of this page."
111
+ msgstr "لمزيد من المعلومات عن إعدادات حماية الموقع بكلمة سر, تفضل بزيارة تبويب\" المساعدة\" في أعلي هذه الصفحة."
 
 
112
 
113
+ #: ../admin/admin.php:146
114
  msgid "Enabled"
115
  msgstr "مفعل"
116
 
117
+ #: ../admin/admin.php:153
 
 
 
 
118
  msgid "Allow Administrators"
119
  msgstr "السماح للمديرين"
120
 
121
+ #: ../admin/admin.php:154
122
+ msgid "Allow Logged In Users"
123
+ msgstr "السماح للمستخدمين المسجلين"
124
+
125
+ #: ../admin/admin.php:155
126
+ msgid "Allow RSS Feeds"
127
+ msgstr "السماح بعنوان الخلاصات RSS"
128
+
129
+ #: ../admin/admin.php:162
130
  msgid ""
131
  "If you would like to change the password type a new one. Otherwise leave "
132
  "this blank."
133
+ msgstr "إذا أردت تغيير كلمة المرور فاكتب واحدة جديدة، وإلا فاترك المربعين فارغين"
 
134
 
135
+ #: ../admin/admin.php:163
136
  msgid "Type your new password again."
137
  msgstr "اكتب كلمة المرور الجديدة مرة أخرى"
138
 
139
+ #: ../admin/admin.php:198
140
+ msgid "http://github.com/benhuson/password-protected"
141
+ msgstr "http://github.com/benhuson/password-protected"
142
+
143
+ #: ../admin/admin.php:198
144
+ msgid "GitHub"
145
+ msgstr "جيت هاب"
146
+
147
+ #: ../admin/admin.php:199
148
+ msgid ""
149
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
150
+ "protected/"
151
+ msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/"
152
+
153
+ #: ../admin/admin.php:199
154
+ msgid "Translate"
155
+ msgstr "ترجم"
156
+
157
+ #: ../admin/admin.php:213
158
+ msgid "Settings"
159
+ msgstr "الإعدادات"
160
+
161
+ #: ../admin/admin.php:238
162
  msgid ""
163
  "You have enabled password protection but not yet set a password. Please set "
164
  "one below."
165
+ msgstr "قمت بتفعيل الحماية بكلمة المرور و لكنك لم تقم بتعيين كلمة المرور بعد. من فضلك حدد واحدة بالأسفل."
 
 
166
 
167
+ #: ../admin/admin.php:242
168
  msgid ""
169
+ "You have enabled password protection and allowed administrators and logged "
170
+ "in users - other users will still need to enter a password to view the site."
171
+ msgstr "قمت بتفعيل الحماية بكلمة مرور و السماح للمديرين و المستخدمين المسجلين - باقي المستخدمين سيحتاجون لتسجيل الدخول لمشاهدة الموقع."
 
 
172
 
173
+ #: ../admin/admin.php:244
174
  msgid ""
175
+ "You have enabled password protection and allowed administrators - other "
176
+ "users will still need to enter a password to view the site."
177
+ msgstr "قمت بتفعيل الحماية بكلمة مرور و السماح للمديرين فقط - باقي المستخدمين سيحتاجون لتسجيل الدخول لمشاهدة الموقع."
 
178
 
179
+ #: ../admin/admin.php:246
180
+ msgid ""
181
+ "You have enabled password protection and allowed logged in users - other "
182
+ "users will still need to enter a password to view the site."
183
+ msgstr "قمت بتفعيل الحماية بكلمة مرور و السماح للمستخدمين المسجلين فقط - باقي المستخدمين سيحتاجون لتسجيل الدخول لمشاهدة الموقع."
184
 
185
+ #: ../theme/login.php:40
186
  msgid ""
187
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
188
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
189
  "cookies</a> to use WordPress."
190
+ msgstr "<strong>خطأ</strong>: متصفح الإنترنت الخاص بك لا يدعم الكوكيز. يجب عليك <a href='http://www.google.com/cookies.html'>تفعيل الكوكيز</a> لاستخدام الووردبريس."
 
 
 
191
 
192
+ #: ../theme/login.php:132
193
  msgid "Password"
194
  msgstr "كلمة المرور"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/password-protected-el.po CHANGED
@@ -1,14 +1,15 @@
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
 
4
  msgid ""
5
  msgstr ""
6
  "Project-Id-Version: Password Protected\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
8
- "POT-Creation-Date: 2014-02-18 08:12-0000\n"
9
- "PO-Revision-Date: 2014-02-21 08:37+0000\n"
10
- "Last-Translator: Francois-Xavier Bénard <fxb@wp-translations.org>\n"
11
- "Language-Team: Greek (http://www.transifex.com/projects/p/wp-translations/language/el/)\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
@@ -16,7 +17,7 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Generator: Poedit 1.6.2\n"
18
  "X-Poedit-Basepath: ./\n"
19
- "X-Poedit-KeywordsList: __;_e\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: ../password-protected.php:115
@@ -24,11 +25,17 @@ msgstr ""
24
  msgid ""
25
  "Feeds are not available for this site. Please visit the <a "
26
  "href=\"%s\">website</a>."
27
- msgstr ""
28
 
29
- #: ../password-protected.php:181
30
  msgid "Incorrect Password"
31
- msgstr ""
 
 
 
 
 
 
32
 
33
  #: ../admin/admin.php:26 ../admin/admin.php:63
34
  msgid "Password Protected"
@@ -36,7 +43,7 @@ msgstr "Έχει συνθηματικό"
36
 
37
  #: ../admin/admin.php:36
38
  msgid "Password Protected Settings"
39
- msgstr ""
40
 
41
  #: ../admin/admin.php:40
42
  msgid "Save Changes"
@@ -46,7 +53,7 @@ msgstr "Αποθήκευση αλλαγών"
46
  msgid ""
47
  "<p><strong>Password Protected Status</strong><br />Turn on/off password "
48
  "protection.</p>"
49
- msgstr ""
50
 
51
  #: ../admin/admin.php:65
52
  msgid ""
@@ -55,22 +62,22 @@ msgid ""
55
  "to enable this option if you want administrators to be able to preview the "
56
  "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
57
  "site is password protected.</p>"
58
- msgstr ""
59
 
60
  #: ../admin/admin.php:66
61
  msgid ""
62
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
63
  "into both fields. You cannot set an `empty` password. To disable password "
64
  "protection uncheck the Enabled checkbox.</p>"
65
- msgstr ""
66
 
67
  #: ../admin/admin.php:82
68
  msgid "Password Protected Status"
69
- msgstr ""
70
 
71
  #: ../admin/admin.php:89
72
  msgid "Protected Permissions"
73
- msgstr ""
74
 
75
  #: ../admin/admin.php:96
76
  msgid "New Password"
@@ -80,27 +87,27 @@ msgstr "Νέο συνθηματικό"
80
  msgid ""
81
  "New password not saved. When setting a new password please enter it in both "
82
  "fields."
83
- msgstr ""
84
 
85
  #: ../admin/admin.php:123
86
  msgid "New password not saved. Password fields did not match."
87
- msgstr ""
88
 
89
  #: ../admin/admin.php:126
90
  msgid "New password saved."
91
- msgstr ""
92
 
93
  #: ../admin/admin.php:138
94
  msgid ""
95
  "Password protect your web site. Users will be asked to enter a password to "
96
  "view the site."
97
- msgstr ""
98
 
99
  #: ../admin/admin.php:139
100
  msgid ""
101
  "For more information about Password Protected settings, view the \"Help\" "
102
  "tab at the top of this page."
103
- msgstr ""
104
 
105
  #: ../admin/admin.php:146
106
  msgid "Enabled"
@@ -108,15 +115,15 @@ msgstr "Ενεργοποιημένο"
108
 
109
  #: ../admin/admin.php:153
110
  msgid "Allow Administrators"
111
- msgstr ""
112
 
113
  #: ../admin/admin.php:154
114
  msgid "Allow Logged In Users"
115
- msgstr ""
116
 
117
  #: ../admin/admin.php:155
118
  msgid "Allow RSS Feeds"
119
- msgstr ""
120
 
121
  #: ../admin/admin.php:162
122
  msgid ""
@@ -130,39 +137,49 @@ msgstr "Ξαναπληκτρολογήστε το νέο συνθηματικό.
130
 
131
  #: ../admin/admin.php:198
132
  msgid "http://github.com/benhuson/password-protected"
133
- msgstr ""
134
 
135
  #: ../admin/admin.php:198
136
  msgid "GitHub"
137
- msgstr ""
138
 
139
- #: ../admin/admin.php:212
 
 
 
 
 
 
 
 
 
 
140
  msgid "Settings"
141
  msgstr "Ρυθμίσεις"
142
 
143
- #: ../admin/admin.php:226
144
  msgid ""
145
  "You have enabled password protection but not yet set a password. Please set "
146
  "one below."
147
- msgstr ""
148
 
149
- #: ../admin/admin.php:230
150
  msgid ""
151
  "You have enabled password protection and allowed administrators and logged "
152
- "in users - other users will still need to login to view the site."
153
- msgstr ""
154
 
155
- #: ../admin/admin.php:232
156
  msgid ""
157
  "You have enabled password protection and allowed administrators - other "
158
- "users will still need to login to view the site."
159
- msgstr ""
160
 
161
- #: ../admin/admin.php:234
162
  msgid ""
163
  "You have enabled password protection and allowed logged in users - other "
164
- "users will still need to login to view the site."
165
- msgstr ""
166
 
167
  #: ../theme/login.php:40
168
  msgid ""
@@ -171,6 +188,6 @@ msgid ""
171
  "cookies</a> to use WordPress."
172
  msgstr "<strong>Σφάλμα</strong>: Ο πλοηγός σας φράζει τα «cookies» ή δεν τα υποστηρίζει καθόλου. Για να συνδεθείτε πρέπει να έχετε <a href='http://www.google.com/cookies.html'>ενεργοποιημένα cookies</a>."
173
 
174
- #: ../theme/login.php:125
175
  msgid "Password"
176
  msgstr "Συνθηματικό"
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
+ # evigiannakou <evigian@in.gr>, 2014
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
10
+ "PO-Revision-Date: 2014-09-16 16:38+0000\n"
11
+ "Last-Translator: evigiannakou <evigian@in.gr>\n"
12
+ "Language-Team: Greek (http://www.transifex.com/projects/p/password-protected/language/el/)\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Generator: Poedit 1.6.2\n"
19
  "X-Poedit-Basepath: ./\n"
20
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
21
  "X-Poedit-SearchPath-0: ..\n"
22
 
23
  #: ../password-protected.php:115
25
  msgid ""
26
  "Feeds are not available for this site. Please visit the <a "
27
  "href=\"%s\">website</a>."
28
+ msgstr "Δεν υπάρχουν διαθέσιμα κανάλια για αυτό τον ιστότοπο. Παρακαλώ επισκεφθείτε τον <a href=\"%s\">ιστότοπο</a>."
29
 
30
+ #: ../password-protected.php:183
31
  msgid "Incorrect Password"
32
+ msgstr "Λάθος συνθηματικό"
33
+
34
+ #: ../password-protected.php:427
35
+ msgid ""
36
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
37
+ "disable it."
38
+ msgstr "Το πρόσθετο Έχει Συνθηματικό δε λειτουργεί με τη Μηχανή φιλοξενίας WP. Παρακαλώ απενεργοποιήστε το."
39
 
40
  #: ../admin/admin.php:26 ../admin/admin.php:63
41
  msgid "Password Protected"
43
 
44
  #: ../admin/admin.php:36
45
  msgid "Password Protected Settings"
46
+ msgstr "Ρυθμίσεις Προστατευμένου Συνθηματικού"
47
 
48
  #: ../admin/admin.php:40
49
  msgid "Save Changes"
53
  msgid ""
54
  "<p><strong>Password Protected Status</strong><br />Turn on/off password "
55
  "protection.</p>"
56
+ msgstr "<p><strong>Κατάσταση Έχει Συνθηματικό</strong><br />Ενεργοποιήστε/Απενεργοποιήστε την προστασία συνθηματικού.</p>"
57
 
58
  #: ../admin/admin.php:65
59
  msgid ""
62
  "to enable this option if you want administrators to be able to preview the "
63
  "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
64
  "site is password protected.</p>"
65
+ msgstr "<p><strong>Προστατευμένη Πρόσβαση</strong><br />Επιτρέπεται η πρόσβαση για συνδεδεμένους χρήστες και διαχειριστές χωρίς να χρειάζεται να εισάγουν συνθηματικό. Θα χρειαστεί να ενεργοποιήσετε αυτή την επιλογή αν θέλετε οι διαχειριστές να μπορούν να κάνουν προεπισκόπηση του ιστότοπου στον Προσαρμογέα Θέματος. Επίσης επιτρέπεται η πρόσβαση RSS Feeds όταν ο ιστότοπος έχει συνθηματικό.</p>"
66
 
67
  #: ../admin/admin.php:66
68
  msgid ""
69
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
70
  "into both fields. You cannot set an `empty` password. To disable password "
71
  "protection uncheck the Enabled checkbox.</p>"
72
+ msgstr "<p><strong>Πεδία Συνθηματικού</strong><br />Για να ρυθμίσετε νέο συνθηματικό, εισάγετέ το και στα δύο πεδία. Δεν μπορείτε να ορίσετε ένα \"κενό\" συνθηματικό. Για να απενεργοποιήσετε την προστασία συνθηματικού απο-επιλέξτε το Ενεργοποιημένο πλαίσιο.</p>"
73
 
74
  #: ../admin/admin.php:82
75
  msgid "Password Protected Status"
76
+ msgstr "Κατάσταση Έχει Συνθηματικό"
77
 
78
  #: ../admin/admin.php:89
79
  msgid "Protected Permissions"
80
+ msgstr "Προστατευμένη Πρόσβαση"
81
 
82
  #: ../admin/admin.php:96
83
  msgid "New Password"
87
  msgid ""
88
  "New password not saved. When setting a new password please enter it in both "
89
  "fields."
90
+ msgstr "Το νέο συνθηματικό δεν αποθηκεύτηκε. Όταν ρυθμίζετε νέο συνθηματικό παρακαλούμε να το εισάγετε και στα δύο πεδία."
91
 
92
  #: ../admin/admin.php:123
93
  msgid "New password not saved. Password fields did not match."
94
+ msgstr "Το νέο συνθηματικό δεν αποθηκεύτηκε. Τα πεδία συνθηματικού δεν ταιριάζουν."
95
 
96
  #: ../admin/admin.php:126
97
  msgid "New password saved."
98
+ msgstr "Το νέο συνθηματικό αποθηκεύτηκε."
99
 
100
  #: ../admin/admin.php:138
101
  msgid ""
102
  "Password protect your web site. Users will be asked to enter a password to "
103
  "view the site."
104
+ msgstr "Συνθηματικό προστατεύει τον ιστότοπό σας. Οι χρήστες θα ερωτηθούν να εισάγουν κωδικό για να δουν τον ιστότοπο."
105
 
106
  #: ../admin/admin.php:139
107
  msgid ""
108
  "For more information about Password Protected settings, view the \"Help\" "
109
  "tab at the top of this page."
110
+ msgstr "Για περισσότερες πληροφορίες σχετικά με τις ρυθμίσεις Προστασίας Συνθηματικού, δείτε την καρτέλα \"Βοήθεια\" στην κορυφή αυτής της σελίδας."
111
 
112
  #: ../admin/admin.php:146
113
  msgid "Enabled"
115
 
116
  #: ../admin/admin.php:153
117
  msgid "Allow Administrators"
118
+ msgstr "Επιτρέπονται Διαχειριστές"
119
 
120
  #: ../admin/admin.php:154
121
  msgid "Allow Logged In Users"
122
+ msgstr "Επιτρέπονται Συνδεδεμένοι Χρήστες"
123
 
124
  #: ../admin/admin.php:155
125
  msgid "Allow RSS Feeds"
126
+ msgstr "Επιτρέπονται κανάλια RSS"
127
 
128
  #: ../admin/admin.php:162
129
  msgid ""
137
 
138
  #: ../admin/admin.php:198
139
  msgid "http://github.com/benhuson/password-protected"
140
+ msgstr "http://github.com/benhuson/password-protected"
141
 
142
  #: ../admin/admin.php:198
143
  msgid "GitHub"
144
+ msgstr "GitHub"
145
 
146
+ #: ../admin/admin.php:199
147
+ msgid ""
148
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
149
+ "protected/"
150
+ msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/"
151
+
152
+ #: ../admin/admin.php:199
153
+ msgid "Translate"
154
+ msgstr "Μεταφράστε"
155
+
156
+ #: ../admin/admin.php:213
157
  msgid "Settings"
158
  msgstr "Ρυθμίσεις"
159
 
160
+ #: ../admin/admin.php:238
161
  msgid ""
162
  "You have enabled password protection but not yet set a password. Please set "
163
  "one below."
164
+ msgstr "Έχετε ενεργοποιήσει την προστασία συνθηματικού αλλά δεν έχετε ακόμη ορίσει συνθηματικό. Παρακαλώ ορίστε ένα παρακάτω."
165
 
166
+ #: ../admin/admin.php:242
167
  msgid ""
168
  "You have enabled password protection and allowed administrators and logged "
169
+ "in users - other users will still need to enter a password to view the site."
170
+ msgstr "Έχετε ενεργοποιήσει την προστασία συνθηματικού και επιτρέπονται οι διαχειριστές και οι συνδεδεμένοι χρήστες - οι άλλοι χρήστες θα χρειάζεται να εισάγουν συνθηματικό για να δουν τον ιστότοπο."
171
 
172
+ #: ../admin/admin.php:244
173
  msgid ""
174
  "You have enabled password protection and allowed administrators - other "
175
+ "users will still need to enter a password to view the site."
176
+ msgstr "Έχετε ενεργοποιήσει την προστασία συνθηματικού και επιτρέπονται οι διαχειριστές - οι άλλοι χρήστες θα χρειάζεται να εισάγουν συνθηματικό για να δουν τον ιστότοπο"
177
 
178
+ #: ../admin/admin.php:246
179
  msgid ""
180
  "You have enabled password protection and allowed logged in users - other "
181
+ "users will still need to enter a password to view the site."
182
+ msgstr "Έχετε ενεργοποιήσει την προστασία συνθηματικού και επιτρέπονται οι συνδεδεμένοι χρήστες - οι άλλοι χρήστες θα χρειάζεται να εισάγουν συνθηματικό για να δουν τον ιστότοπο"
183
 
184
  #: ../theme/login.php:40
185
  msgid ""
188
  "cookies</a> to use WordPress."
189
  msgstr "<strong>Σφάλμα</strong>: Ο πλοηγός σας φράζει τα «cookies» ή δεν τα υποστηρίζει καθόλου. Για να συνδεθείτε πρέπει να έχετε <a href='http://www.google.com/cookies.html'>ενεργοποιημένα cookies</a>."
190
 
191
+ #: ../theme/login.php:132
192
  msgid "Password"
193
  msgstr "Συνθηματικό"
languages/password-protected-eu.po CHANGED
@@ -1,14 +1,15 @@
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
 
4
  msgid ""
5
  msgstr ""
6
  "Project-Id-Version: Password Protected\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
8
- "POT-Creation-Date: 2014-02-18 08:12-0000\n"
9
- "PO-Revision-Date: 2014-02-21 08:37+0000\n"
10
- "Last-Translator: Francois-Xavier Bénard <fxb@wp-translations.org>\n"
11
- "Language-Team: Basque (http://www.transifex.com/projects/p/wp-translations/language/eu/)\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
@@ -16,7 +17,7 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Generator: Poedit 1.6.2\n"
18
  "X-Poedit-Basepath: ./\n"
19
- "X-Poedit-KeywordsList: __;_e\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: ../password-protected.php:115
@@ -24,11 +25,17 @@ msgstr ""
24
  msgid ""
25
  "Feeds are not available for this site. Please visit the <a "
26
  "href=\"%s\">website</a>."
27
- msgstr ""
28
 
29
- #: ../password-protected.php:181
30
  msgid "Incorrect Password"
31
- msgstr ""
 
 
 
 
 
 
32
 
33
  #: ../admin/admin.php:26 ../admin/admin.php:63
34
  msgid "Password Protected"
@@ -36,7 +43,7 @@ msgstr "Pasahitzez babestua"
36
 
37
  #: ../admin/admin.php:36
38
  msgid "Password Protected Settings"
39
- msgstr ""
40
 
41
  #: ../admin/admin.php:40
42
  msgid "Save Changes"
@@ -46,7 +53,7 @@ msgstr "Gorde aldaketak"
46
  msgid ""
47
  "<p><strong>Password Protected Status</strong><br />Turn on/off password "
48
  "protection.</p>"
49
- msgstr ""
50
 
51
  #: ../admin/admin.php:65
52
  msgid ""
@@ -55,22 +62,22 @@ msgid ""
55
  "to enable this option if you want administrators to be able to preview the "
56
  "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
57
  "site is password protected.</p>"
58
- msgstr ""
59
 
60
  #: ../admin/admin.php:66
61
  msgid ""
62
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
63
  "into both fields. You cannot set an `empty` password. To disable password "
64
  "protection uncheck the Enabled checkbox.</p>"
65
- msgstr ""
66
 
67
  #: ../admin/admin.php:82
68
  msgid "Password Protected Status"
69
- msgstr ""
70
 
71
  #: ../admin/admin.php:89
72
  msgid "Protected Permissions"
73
- msgstr ""
74
 
75
  #: ../admin/admin.php:96
76
  msgid "New Password"
@@ -80,27 +87,27 @@ msgstr "Pasahitz berria"
80
  msgid ""
81
  "New password not saved. When setting a new password please enter it in both "
82
  "fields."
83
- msgstr ""
84
 
85
  #: ../admin/admin.php:123
86
  msgid "New password not saved. Password fields did not match."
87
- msgstr ""
88
 
89
  #: ../admin/admin.php:126
90
  msgid "New password saved."
91
- msgstr ""
92
 
93
  #: ../admin/admin.php:138
94
  msgid ""
95
  "Password protect your web site. Users will be asked to enter a password to "
96
  "view the site."
97
- msgstr ""
98
 
99
  #: ../admin/admin.php:139
100
  msgid ""
101
  "For more information about Password Protected settings, view the \"Help\" "
102
  "tab at the top of this page."
103
- msgstr ""
104
 
105
  #: ../admin/admin.php:146
106
  msgid "Enabled"
@@ -108,15 +115,15 @@ msgstr "Gaituta"
108
 
109
  #: ../admin/admin.php:153
110
  msgid "Allow Administrators"
111
- msgstr ""
112
 
113
  #: ../admin/admin.php:154
114
  msgid "Allow Logged In Users"
115
- msgstr ""
116
 
117
  #: ../admin/admin.php:155
118
  msgid "Allow RSS Feeds"
119
- msgstr ""
120
 
121
  #: ../admin/admin.php:162
122
  msgid ""
@@ -130,39 +137,49 @@ msgstr "Idatzi berriro zure pasahitz berria."
130
 
131
  #: ../admin/admin.php:198
132
  msgid "http://github.com/benhuson/password-protected"
133
- msgstr ""
134
 
135
  #: ../admin/admin.php:198
136
  msgid "GitHub"
137
- msgstr ""
138
 
139
- #: ../admin/admin.php:212
 
 
 
 
 
 
 
 
 
 
140
  msgid "Settings"
141
  msgstr "Ezarpenak"
142
 
143
- #: ../admin/admin.php:226
144
  msgid ""
145
  "You have enabled password protection but not yet set a password. Please set "
146
  "one below."
147
- msgstr ""
148
 
149
- #: ../admin/admin.php:230
150
  msgid ""
151
  "You have enabled password protection and allowed administrators and logged "
152
- "in users - other users will still need to login to view the site."
153
- msgstr ""
154
 
155
- #: ../admin/admin.php:232
156
  msgid ""
157
  "You have enabled password protection and allowed administrators - other "
158
- "users will still need to login to view the site."
159
- msgstr ""
160
 
161
- #: ../admin/admin.php:234
162
  msgid ""
163
  "You have enabled password protection and allowed logged in users - other "
164
- "users will still need to login to view the site."
165
- msgstr ""
166
 
167
  #: ../theme/login.php:40
168
  msgid ""
@@ -171,6 +188,6 @@ msgid ""
171
  "cookies</a> to use WordPress."
172
  msgstr "<strong>ERROREA</strong>: Cookie-ak blokeatuta daude edo zure nabigatzaileak ez ditu onartzen. <a href='http://www.google.com/cookies.html'>Cookie-ak gaitu</a> behar dituzu WordPress erabili ahal izateko."
173
 
174
- #: ../theme/login.php:125
175
  msgid "Password"
176
  msgstr "Pasahitza"
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
+ # Bingen <bingalipa@gmail.com>, 2014
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
10
+ "PO-Revision-Date: 2014-10-01 18:21+0000\n"
11
+ "Last-Translator: Bingen <bingalipa@gmail.com>\n"
12
+ "Language-Team: Basque (http://www.transifex.com/projects/p/password-protected/language/eu/)\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Generator: Poedit 1.6.2\n"
19
  "X-Poedit-Basepath: ./\n"
20
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
21
  "X-Poedit-SearchPath-0: ..\n"
22
 
23
  #: ../password-protected.php:115
25
  msgid ""
26
  "Feeds are not available for this site. Please visit the <a "
27
  "href=\"%s\">website</a>."
28
+ msgstr "Feed-ak ez daude erabilgarri orrialde honetan. Mesedez joan <a href=\"%s\">orrialdera</a>."
29
 
30
+ #: ../password-protected.php:183
31
  msgid "Incorrect Password"
32
+ msgstr "Pasahitz okerra"
33
+
34
+ #: ../password-protected.php:427
35
+ msgid ""
36
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
37
+ "disable it."
38
+ msgstr "Pasword Protected pluginak ez du WP Engine hosting-arekin funtzionatzen. Mesedez desgaitu ezazu"
39
 
40
  #: ../admin/admin.php:26 ../admin/admin.php:63
41
  msgid "Password Protected"
43
 
44
  #: ../admin/admin.php:36
45
  msgid "Password Protected Settings"
46
+ msgstr "Password Protected Ezarpenak"
47
 
48
  #: ../admin/admin.php:40
49
  msgid "Save Changes"
53
  msgid ""
54
  "<p><strong>Password Protected Status</strong><br />Turn on/off password "
55
  "protection.</p>"
56
+ msgstr "<p><strong>Password Protected Egoera</strong><br />Gaitu/Ezgaitu pasahitz babesa.</p>"
57
 
58
  #: ../admin/admin.php:65
59
  msgid ""
62
  "to enable this option if you want administrators to be able to preview the "
63
  "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
64
  "site is password protected.</p>"
65
+ msgstr "<p><strong>Babestutako Pasahitzak</strong><br />Baimendu administratzaile eta erregristatutako erabiltzaileei pasahitzik erabili gabe sartzen.</p>"
66
 
67
  #: ../admin/admin.php:66
68
  msgid ""
69
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
70
  "into both fields. You cannot set an `empty` password. To disable password "
71
  "protection uncheck the Enabled checkbox.</p>"
72
+ msgstr "<p><strong>Password Fields</strong><br />Pasahitz berri bat ezartzeko idatzi ezazu bi laukietan. </p>"
73
 
74
  #: ../admin/admin.php:82
75
  msgid "Password Protected Status"
76
+ msgstr "Password Protected Egoera"
77
 
78
  #: ../admin/admin.php:89
79
  msgid "Protected Permissions"
80
+ msgstr "Babestutako Baimenak"
81
 
82
  #: ../admin/admin.php:96
83
  msgid "New Password"
87
  msgid ""
88
  "New password not saved. When setting a new password please enter it in both "
89
  "fields."
90
+ msgstr "Pasahitz berria ez da gorde. Mesedez idatz ezazu bi laukietan."
91
 
92
  #: ../admin/admin.php:123
93
  msgid "New password not saved. Password fields did not match."
94
+ msgstr "Pasahitza ez da gorde. 2 pasahitzak ez datoz bat"
95
 
96
  #: ../admin/admin.php:126
97
  msgid "New password saved."
98
+ msgstr "Pasahitz berria gorde da"
99
 
100
  #: ../admin/admin.php:138
101
  msgid ""
102
  "Password protect your web site. Users will be asked to enter a password to "
103
  "view the site."
104
+ msgstr "Babestu ezazu zure orria pasahitz baten bitartez. Erabiltzaileek pasahitza sartu beharko dute orrialdea bisitatzeko"
105
 
106
  #: ../admin/admin.php:139
107
  msgid ""
108
  "For more information about Password Protected settings, view the \"Help\" "
109
  "tab at the top of this page."
110
+ msgstr "Password Protected-en ezarpenenei buruzko informazio gehiago lortzeko klikatu goiko \"Laguntza\" botoan"
111
 
112
  #: ../admin/admin.php:146
113
  msgid "Enabled"
115
 
116
  #: ../admin/admin.php:153
117
  msgid "Allow Administrators"
118
+ msgstr "Baimendu Administratzaileak"
119
 
120
  #: ../admin/admin.php:154
121
  msgid "Allow Logged In Users"
122
+ msgstr "Baimendu Erregristatutako Erabiltzaileak"
123
 
124
  #: ../admin/admin.php:155
125
  msgid "Allow RSS Feeds"
126
+ msgstr "Baimendu RSS Jarioa"
127
 
128
  #: ../admin/admin.php:162
129
  msgid ""
137
 
138
  #: ../admin/admin.php:198
139
  msgid "http://github.com/benhuson/password-protected"
140
+ msgstr "http://github.com/benhuson/password-protected"
141
 
142
  #: ../admin/admin.php:198
143
  msgid "GitHub"
144
+ msgstr "GitHub"
145
 
146
+ #: ../admin/admin.php:199
147
+ msgid ""
148
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
149
+ "protected/"
150
+ msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/"
151
+
152
+ #: ../admin/admin.php:199
153
+ msgid "Translate"
154
+ msgstr "Itzuli"
155
+
156
+ #: ../admin/admin.php:213
157
  msgid "Settings"
158
  msgstr "Ezarpenak"
159
 
160
+ #: ../admin/admin.php:238
161
  msgid ""
162
  "You have enabled password protection but not yet set a password. Please set "
163
  "one below."
164
+ msgstr "Pasword Protect gaitu duzu, baina oraindik ez duzu pasahitzik ezarri."
165
 
166
+ #: ../admin/admin.php:242
167
  msgid ""
168
  "You have enabled password protection and allowed administrators and logged "
169
+ "in users - other users will still need to enter a password to view the site."
170
+ msgstr "Password Protection gaitu duzu eta administratzaileei eta erregristatuako erabiltzailei baimena eman- beste erabiltzaileek pasahitza erabili beharko dute"
171
 
172
+ #: ../admin/admin.php:244
173
  msgid ""
174
  "You have enabled password protection and allowed administrators - other "
175
+ "users will still need to enter a password to view the site."
176
+ msgstr "Password Protection gaitu duzu eta administratzaileei baimena eman- beste erabiltzaileek pasahitza erabili beharko dute"
177
 
178
+ #: ../admin/admin.php:246
179
  msgid ""
180
  "You have enabled password protection and allowed logged in users - other "
181
+ "users will still need to enter a password to view the site."
182
+ msgstr "Password Protection gaitu duzu eta erregistratutako erabiltzaileei baimena eman- beste erabiltzaileek pasahitza erabili beharko dute"
183
 
184
  #: ../theme/login.php:40
185
  msgid ""
188
  "cookies</a> to use WordPress."
189
  msgstr "<strong>ERROREA</strong>: Cookie-ak blokeatuta daude edo zure nabigatzaileak ez ditu onartzen. <a href='http://www.google.com/cookies.html'>Cookie-ak gaitu</a> behar dituzu WordPress erabili ahal izateko."
190
 
191
+ #: ../theme/login.php:132
192
  msgid "Password"
193
  msgstr "Pasahitza"
languages/password-protected-fa_IR.po CHANGED
@@ -1,204 +1,193 @@
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
- # Reza_Moghadam <r.moghadam@hotmail.com>, 2013
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
- "POT-Creation-Date: 2013-09-03 09:35:27+00:00\n"
10
- "PO-Revision-Date: 2014-02-24 23:30-0000\n"
11
- "Last-Translator: Ben Huson <ben@thewhiteroom.net>\n"
12
- "Language-Team: Persian (Iran) (http://www.transifex.com/projects/p/wp-"
13
- "translations/language/fa_IR/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: fa_IR\n"
18
  "Plural-Forms: nplurals=1; plural=0;\n"
19
  "X-Generator: Poedit 1.6.2\n"
 
 
 
20
 
21
- #. Plugin Name of the plugin/theme
22
- #: admin/admin.php:25 admin/admin.php:60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  msgid "Password Protected"
24
  msgstr "رمزدار"
25
 
26
- #: admin/admin.php:35
27
  msgid "Password Protected Settings"
28
  msgstr "رمز عبور تنظیمات حفاظت شده"
29
 
30
- #: admin/admin.php:39
31
  msgid "Save Changes"
32
  msgstr "ذخیره تغییرات"
33
 
34
- #: admin/admin.php:61
35
- msgid ""
36
- "<p><strong>Enabled Checkbox</strong><br />Turn on/off password protection.</"
37
- "p>"
38
- msgstr ""
39
- "<p><strong>فعال جعبه </strong><br /> روشن روشن / خاموش حفاظت از رمز عبور </p>"
40
-
41
- #: admin/admin.php:62
42
  msgid ""
43
- "<p><strong>Allow RSS Feeds Checkbox</strong><br />RSS Feeds will be able to "
44
- "accessed even when the site is password protected.</p>"
45
  msgstr ""
46
- "<p><strong> اجازه می دهد جعبه آر اس اس</strong><br /> آر اس اس قادر خواهد "
47
- "بود به دیده حتی زمانی که سایت رمز عبور protected است. </p>"
48
 
49
- #: admin/admin.php:63
50
  msgid ""
51
- "<p><strong>Allow Administrators Checkbox</strong><br />Administrators will "
52
- "not need to enter a password to view the site (providing they are logged in "
53
- "of course). You will also need to enable this option if you want "
54
- "administrators to be able to preview the site in the Theme Customizer.</p>"
 
55
  msgstr ""
56
- "<p><strong> اجازه می دهد مدیران جعبه است</strong><br /> مدیران نمی خواهد "
57
- "نیاز به وارد کردن رمز عبور برای دیدن سایت (با ارائه آنها در سیستم وارد شده "
58
- "باشد البته). همچنین شما می خواهد نیاز به فعال کردن این گزینه اگر شما می "
59
- "خواهید مدیران قادر به پیش نمایش سایت در Customizer تم </p>"
60
 
61
- #: admin/admin.php:64
62
  msgid ""
63
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
64
  "into both fields. You cannot set an `empty` password. To disable password "
65
  "protection uncheck the Enabled checkbox.</p>"
66
- msgstr ""
67
- "زمینه رمز عبور <P> <STRONG> </ قوی> <br /> برای تنظیم رمز عبور جدید، آن را "
68
- "به هر دو زمینه را وارد کنید. شما می توانید `خالی` رمز عبور رمز عبور خود را "
69
- "فراموش کرده اید؟ تنظیم نیست. برای غیر فعال کردن حفاظت از رمز عبور برداشتن "
70
- "تیک چک باکس گزینه را فعال کنید. </ P>"
71
 
72
- #: admin/admin.php:90
73
  msgid "Password Protected Status"
74
  msgstr "وضعیت حفاظت رمز عبور"
75
 
76
- #: admin/admin.php:97
 
 
 
 
77
  msgid "New Password"
78
  msgstr "رمز تازه"
79
 
80
- #: admin/admin.php:117
81
  msgid ""
82
  "New password not saved. When setting a new password please enter it in both "
83
  "fields."
84
- msgstr ""
85
- "رمز عبور جدید ذخیره نشده. هنگامی که یک رمز عبور جدید لطفا آن را در هر دو "
86
- "زمینه را وارد کنید."
87
 
88
- #: admin/admin.php:120
89
  msgid "New password not saved. Password fields did not match."
90
  msgstr "رمز عبور جدید ذخیره نشده.زمینه های رمز عبور مطابقت ندارد."
91
 
92
- #: admin/admin.php:123
93
  msgid "New password saved."
94
  msgstr "رمز عبور جدید را نجات داد."
95
 
96
- #: admin/admin.php:135
97
  msgid ""
98
  "Password protect your web site. Users will be asked to enter a password to "
99
  "view the site."
100
- msgstr ""
101
- "رمز عبور محافظت از وب سایت خود را. کاربران خواسته خواهد شد که برای ورود به "
102
- "یک رمز عبور برای مشاهده سایت."
103
 
104
- #: admin/admin.php:136
105
  msgid ""
106
  "For more information about Password Protected settings, view the \"Help\" "
107
  "tab at the top of this page."
108
- msgstr ""
109
- "برای کسب اطلاعات بیشتر در مورد تنظیمات حفاظت رمز عبور، مشاهده \"راهنما\" تب "
110
- "در بالای این صفحه."
111
 
112
- #: admin/admin.php:143
113
  msgid "Enabled"
114
  msgstr "فعال"
115
 
116
- #: admin/admin.php:144
117
- msgid "Allow RSS Feeds"
118
- msgstr "اجازه می دهد آر اس اس"
119
-
120
- #: admin/admin.php:145
121
  msgid "Allow Administrators"
122
  msgstr "اجازه می دهد مدیران"
123
 
124
- #: admin/admin.php:152
 
 
 
 
 
 
 
 
125
  msgid ""
126
  "If you would like to change the password type a new one. Otherwise leave "
127
  "this blank."
128
- msgstr ""
129
- "اگر می‌خواهید رمز کاربران را به‌روز کنید، رمز تازه را بنویسید. وگرنه آن را "
130
- "خالی بگذارید."
131
 
132
- #: admin/admin.php:153
133
  msgid "Type your new password again."
134
  msgstr "رمز تازه‌ی خود را دوباره بنویسید."
135
 
136
- #: admin/admin.php:185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  msgid ""
138
  "You have enabled password protection but not yet set a password. Please set "
139
  "one below."
 
 
 
 
 
 
140
  msgstr ""
141
- "حفاظت از رمز عبور را فعال کرده اید اما هنوز یک رمز عبور. لطفا یکی از زیر "
142
- "مجموعه."
143
 
144
- #: admin/admin.php:188
145
  msgid ""
146
  "You have enabled password protection and allowed administrators - other "
147
- "users will still need to login to view the site."
148
  msgstr ""
149
- "شما را فعال حفاظت از رمز عبور و مدیران اجازه - کاربران دیگر هنوز نیاز به "
150
- "برای مشاهده سایت وارد شوید."
151
 
152
- #: password-protected.php:110
153
  msgid ""
154
- "Feeds are not available for this site. Please visit the <a href=\"%s"
155
- "\">website</a>."
156
  msgstr ""
157
- "اس اس برای این سایت در دسترس نیست. لطفا بازدید را <a href=\"%s\"> وب سایت</"
158
- "a>."
159
 
160
- #: password-protected.php:155
161
- msgid "Incorrect Password"
162
- msgstr "رمز عبور نادرست"
163
-
164
- #: theme/login.php:40
165
  msgid ""
166
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
167
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
168
  "cookies</a> to use WordPress."
169
- msgstr ""
170
- "<strong>خطا</strong>: کوکی‌ها از کار افتاده‌اند یا کاوشگر شما از کوکی‌ها "
171
- "پشتیبانی نمی‌کند. شما باید برای به کارگیری وردپرس <a href='http://www.google."
172
- "com/cookies.html'>کوکی‌ها را فعال کنید</a> "
173
 
174
- #: theme/login.php:122
175
  msgid "Password"
176
  msgstr "رمز"
177
-
178
- #: theme/login.php:126
179
- msgid "Remember Me"
180
- msgstr "مرا به خاطر بسپار"
181
-
182
- #: theme/login.php:129
183
- msgid "Log In"
184
- msgstr "ورود"
185
-
186
- #. Plugin URI of the plugin/theme
187
- msgid "http://wordpress.org/extend/plugins/password-protected/"
188
- msgstr "http://wordpress.org/extend/plugins/password-protected/"
189
-
190
- #. Description of the plugin/theme
191
- msgid ""
192
- "A very simple way to quickly password protect your WordPress site with a "
193
- "single password. Integrates seamlessly into your WordPress privacy settings."
194
- msgstr ""
195
- "یک راه بسیار ساده را به سرعت رمز عبور محافظت از سایت وردپرس خود را با یک رمز "
196
- "عبور واحد. ادغام یکپارچه به تنظیمات حریم خصوصی خود را با وردپرس."
197
-
198
- #. Author of the plugin/theme
199
- msgid "Ben Huson"
200
- msgstr "Ben Huson"
201
-
202
- #. Author URI of the plugin/theme
203
- msgid "http://www.benhuson.co.uk/"
204
- msgstr "http://www.benhuson.co.uk/"
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
+ # Reza Moghadam <r.moghadam@hotmail.com>, 2013
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
10
+ "PO-Revision-Date: 2014-09-16 16:38+0000\n"
11
+ "Last-Translator: FxB <fxb@wp-translations.org>\n"
12
+ "Language-Team: Persian (Iran) (http://www.transifex.com/projects/p/password-protected/language/fa_IR/)\n"
 
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
  "Language: fa_IR\n"
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
  "X-Generator: Poedit 1.6.2\n"
19
+ "X-Poedit-Basepath: ./\n"
20
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
21
+ "X-Poedit-SearchPath-0: ..\n"
22
 
23
+ #: ../password-protected.php:115
24
+ #, php-format
25
+ msgid ""
26
+ "Feeds are not available for this site. Please visit the <a "
27
+ "href=\"%s\">website</a>."
28
+ msgstr "اس اس برای این سایت در دسترس نیست. لطفا بازدید را <a href=\"%s\"> وب سایت</a>."
29
+
30
+ #: ../password-protected.php:183
31
+ msgid "Incorrect Password"
32
+ msgstr "رمز عبور نادرست"
33
+
34
+ #: ../password-protected.php:427
35
+ msgid ""
36
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
37
+ "disable it."
38
+ msgstr ""
39
+
40
+ #: ../admin/admin.php:26 ../admin/admin.php:63
41
  msgid "Password Protected"
42
  msgstr "رمزدار"
43
 
44
+ #: ../admin/admin.php:36
45
  msgid "Password Protected Settings"
46
  msgstr "رمز عبور تنظیمات حفاظت شده"
47
 
48
+ #: ../admin/admin.php:40
49
  msgid "Save Changes"
50
  msgstr "ذخیره تغییرات"
51
 
52
+ #: ../admin/admin.php:64
 
 
 
 
 
 
 
53
  msgid ""
54
+ "<p><strong>Password Protected Status</strong><br />Turn on/off password "
55
+ "protection.</p>"
56
  msgstr ""
 
 
57
 
58
+ #: ../admin/admin.php:65
59
  msgid ""
60
+ "<p><strong>Protected Permissions</strong><br />Allow access for logged in "
61
+ "users and administrators without needing to enter a password. You will need "
62
+ "to enable this option if you want administrators to be able to preview the "
63
+ "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
64
+ "site is password protected.</p>"
65
  msgstr ""
 
 
 
 
66
 
67
+ #: ../admin/admin.php:66
68
  msgid ""
69
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
70
  "into both fields. You cannot set an `empty` password. To disable password "
71
  "protection uncheck the Enabled checkbox.</p>"
72
+ msgstr "زمینه رمز عبور <P> <STRONG> </ قوی> <br /> برای تنظیم رمز عبور جدید، آن را به هر دو زمینه را وارد کنید. شما می توانید `خالی` رمز عبور رمز عبور خود را فراموش کرده اید؟ تنظیم نیست. برای غیر فعال کردن حفاظت از رمز عبور برداشتن تیک چک باکس گزینه را فعال کنید. </ P>"
 
 
 
 
73
 
74
+ #: ../admin/admin.php:82
75
  msgid "Password Protected Status"
76
  msgstr "وضعیت حفاظت رمز عبور"
77
 
78
+ #: ../admin/admin.php:89
79
+ msgid "Protected Permissions"
80
+ msgstr ""
81
+
82
+ #: ../admin/admin.php:96
83
  msgid "New Password"
84
  msgstr "رمز تازه"
85
 
86
+ #: ../admin/admin.php:120
87
  msgid ""
88
  "New password not saved. When setting a new password please enter it in both "
89
  "fields."
90
+ msgstr "رمز عبور جدید ذخیره نشده. هنگامی که یک رمز عبور جدید لطفا آن را در هر دو زمینه را وارد کنید."
 
 
91
 
92
+ #: ../admin/admin.php:123
93
  msgid "New password not saved. Password fields did not match."
94
  msgstr "رمز عبور جدید ذخیره نشده.زمینه های رمز عبور مطابقت ندارد."
95
 
96
+ #: ../admin/admin.php:126
97
  msgid "New password saved."
98
  msgstr "رمز عبور جدید را نجات داد."
99
 
100
+ #: ../admin/admin.php:138
101
  msgid ""
102
  "Password protect your web site. Users will be asked to enter a password to "
103
  "view the site."
104
+ msgstr "رمز عبور محافظت از وب سایت خود را. کاربران خواسته خواهد شد که برای ورود به یک رمز عبور برای مشاهده سایت."
 
 
105
 
106
+ #: ../admin/admin.php:139
107
  msgid ""
108
  "For more information about Password Protected settings, view the \"Help\" "
109
  "tab at the top of this page."
110
+ msgstr "برای کسب اطلاعات بیشتر در مورد تنظیمات حفاظت رمز عبور، مشاهده \"راهنما\" تب در بالای این صفحه."
 
 
111
 
112
+ #: ../admin/admin.php:146
113
  msgid "Enabled"
114
  msgstr "فعال"
115
 
116
+ #: ../admin/admin.php:153
 
 
 
 
117
  msgid "Allow Administrators"
118
  msgstr "اجازه می دهد مدیران"
119
 
120
+ #: ../admin/admin.php:154
121
+ msgid "Allow Logged In Users"
122
+ msgstr ""
123
+
124
+ #: ../admin/admin.php:155
125
+ msgid "Allow RSS Feeds"
126
+ msgstr "اجازه می دهد آر اس اس"
127
+
128
+ #: ../admin/admin.php:162
129
  msgid ""
130
  "If you would like to change the password type a new one. Otherwise leave "
131
  "this blank."
132
+ msgstr "اگر می‌خواهید رمز کاربران را به‌روز کنید، رمز تازه را بنویسید. وگرنه آن را خالی بگذارید."
 
 
133
 
134
+ #: ../admin/admin.php:163
135
  msgid "Type your new password again."
136
  msgstr "رمز تازه‌ی خود را دوباره بنویسید."
137
 
138
+ #: ../admin/admin.php:198
139
+ msgid "http://github.com/benhuson/password-protected"
140
+ msgstr ""
141
+
142
+ #: ../admin/admin.php:198
143
+ msgid "GitHub"
144
+ msgstr ""
145
+
146
+ #: ../admin/admin.php:199
147
+ msgid ""
148
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
149
+ "protected/"
150
+ msgstr ""
151
+
152
+ #: ../admin/admin.php:199
153
+ msgid "Translate"
154
+ msgstr ""
155
+
156
+ #: ../admin/admin.php:213
157
+ msgid "Settings"
158
+ msgstr "تنظیمات"
159
+
160
+ #: ../admin/admin.php:238
161
  msgid ""
162
  "You have enabled password protection but not yet set a password. Please set "
163
  "one below."
164
+ msgstr "حفاظت از رمز عبور را فعال کرده اید اما هنوز یک رمز عبور. لطفا یکی از زیر مجموعه."
165
+
166
+ #: ../admin/admin.php:242
167
+ msgid ""
168
+ "You have enabled password protection and allowed administrators and logged "
169
+ "in users - other users will still need to enter a password to view the site."
170
  msgstr ""
 
 
171
 
172
+ #: ../admin/admin.php:244
173
  msgid ""
174
  "You have enabled password protection and allowed administrators - other "
175
+ "users will still need to enter a password to view the site."
176
  msgstr ""
 
 
177
 
178
+ #: ../admin/admin.php:246
179
  msgid ""
180
+ "You have enabled password protection and allowed logged in users - other "
181
+ "users will still need to enter a password to view the site."
182
  msgstr ""
 
 
183
 
184
+ #: ../theme/login.php:40
 
 
 
 
185
  msgid ""
186
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
187
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
188
  "cookies</a> to use WordPress."
189
+ msgstr "<strong>خطا</strong>: کوکی‌ها از کار افتاده‌اند یا کاوشگر شما از کوکی‌ها پشتیبانی نمی‌کند. شما باید برای به کارگیری وردپرس <a href='http://www.google.com/cookies.html'>کوکی‌ها را فعال کنید</a> "
 
 
 
190
 
191
+ #: ../theme/login.php:132
192
  msgid "Password"
193
  msgstr "رمز"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/password-protected-nl_NL.po CHANGED
@@ -1,202 +1,194 @@
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
- # sanderr <transifex@grids.be>, 2013
 
5
  msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
- "POT-Creation-Date: 2013-09-03 09:35:27+00:00\n"
10
- "PO-Revision-Date: 2014-02-24 23:30-0000\n"
11
- "Last-Translator: Ben Huson <ben@thewhiteroom.net>\n"
12
- "Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/wp-"
13
- "translations/language/nl_NL/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: nl_NL\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Generator: Poedit 1.6.2\n"
 
 
 
20
 
21
- #. Plugin Name of the plugin/theme
22
- #: admin/admin.php:25 admin/admin.php:60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  msgid "Password Protected"
24
- msgstr "Beschermd met wachtwoord"
25
 
26
- #: admin/admin.php:35
27
  msgid "Password Protected Settings"
28
- msgstr "Instellingen beschermd met wachtwoord"
29
 
30
- #: admin/admin.php:39
31
  msgid "Save Changes"
32
  msgstr "Wijzigingen opslaan"
33
 
34
- #: admin/admin.php:61
35
- msgid ""
36
- "<p><strong>Enabled Checkbox</strong><br />Turn on/off password protection.</"
37
- "p>"
38
- msgstr ""
39
- "<p><strong>Aangevinkt</strong><br />Zet wachtwoordbescherming aan/uit.</p>"
40
-
41
- #: admin/admin.php:62
42
  msgid ""
43
- "<p><strong>Allow RSS Feeds Checkbox</strong><br />RSS Feeds will be able to "
44
- "accessed even when the site is password protected.</p>"
45
  msgstr ""
46
- "<p><strong>Sta RSS-feeds toe</strong><br />RSS-feeds houden toegang, ook als "
47
- "de site beschermd is met een wachtwoord.</p>"
48
 
49
- #: admin/admin.php:63
50
  msgid ""
51
- "<p><strong>Allow Administrators Checkbox</strong><br />Administrators will "
52
- "not need to enter a password to view the site (providing they are logged in "
53
- "of course). You will also need to enable this option if you want "
54
- "administrators to be able to preview the site in the Theme Customizer.</p>"
 
55
  msgstr ""
56
- "<p><strong>Laat beheerders toe</strong><br />Beheerders hoeven geen "
57
- "wachtwoord in te geven om de site te zien (als ze ingelogd zijn). Deze optie "
58
- "moet ook aan staan als je beheerders de site wilt laten previewen in de "
59
- "Theme Customizer.</p>"
60
 
61
- #: admin/admin.php:64
62
  msgid ""
63
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
64
  "into both fields. You cannot set an `empty` password. To disable password "
65
  "protection uncheck the Enabled checkbox.</p>"
66
- msgstr ""
67
- "<p><strong>Wachtwoordvelden</strong><br />Om een wachtwoord in te stellen, "
68
- "voer het in beide velden in. Je kunt geen `leeg` wachtwoord instellen. Om "
69
- "wachtwoordbescherming uit te zetten, vink Ingeschakeld uit.</p>"
70
 
71
- #: admin/admin.php:90
72
  msgid "Password Protected Status"
73
  msgstr "Wachtwoordsbeschermingsstatus"
74
 
75
- #: admin/admin.php:97
 
 
 
 
76
  msgid "New Password"
77
  msgstr "Nieuw wachtwoord"
78
 
79
- #: admin/admin.php:117
80
  msgid ""
81
  "New password not saved. When setting a new password please enter it in both "
82
  "fields."
83
- msgstr ""
84
- "Nieuw wachtwoord niet opgeslagen. Vul bij het instellen van een nieuw "
85
- "wachtwoord beide velden in."
86
 
87
- #: admin/admin.php:120
88
  msgid "New password not saved. Password fields did not match."
89
- msgstr ""
90
- "Nieuw wachwoord niet opgeslagen. De wachtwoordvelden komen niet overeen."
91
 
92
- #: admin/admin.php:123
93
  msgid "New password saved."
94
  msgstr "Nieuw wachtwoord opgeslagen."
95
 
96
- #: admin/admin.php:135
97
  msgid ""
98
  "Password protect your web site. Users will be asked to enter a password to "
99
  "view the site."
100
- msgstr ""
101
- "Bescherm je website met een wachtwoord. Gebruikers wordt een wachtwoord "
102
- "gevraagd om de site te zien."
103
 
104
- #: admin/admin.php:136
105
  msgid ""
106
  "For more information about Password Protected settings, view the \"Help\" "
107
  "tab at the top of this page."
108
- msgstr ""
109
- "Voor meer informatie over Beschermd met wachtwoord, kijk onder het \"Help\"-"
110
- "tabblad bovenaan deze pagina. "
111
 
112
- #: admin/admin.php:143
113
  msgid "Enabled"
114
  msgstr "Ingeschakeld"
115
 
116
- #: admin/admin.php:144
117
- msgid "Allow RSS Feeds"
118
- msgstr "Sta RSS-feeds toe"
119
-
120
- #: admin/admin.php:145
121
  msgid "Allow Administrators"
122
  msgstr "Sta beheerders toe"
123
 
124
- #: admin/admin.php:152
 
 
 
 
 
 
 
 
125
  msgid ""
126
  "If you would like to change the password type a new one. Otherwise leave "
127
  "this blank."
128
- msgstr "Alleen als je het wachtwoord wilt wijzigen. Anders niets invullen."
129
 
130
- #: admin/admin.php:153
131
  msgid "Type your new password again."
132
  msgstr "Voer je nieuwe wachtwoord nogmaals in."
133
 
134
- #: admin/admin.php:185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  msgid ""
136
  "You have enabled password protection but not yet set a password. Please set "
137
  "one below."
 
 
 
 
 
 
138
  msgstr ""
139
- "Je hebt bescherming met wachtwoord ingeschakeld, maar nog geen wachtwoord "
140
- "ingesteld. Stel er hieronder een in."
141
 
142
- #: admin/admin.php:188
143
  msgid ""
144
  "You have enabled password protection and allowed administrators - other "
145
- "users will still need to login to view the site."
146
  msgstr ""
147
- "Je hebt bescherming met wachtwoord ingesteld en beheerders toegestaan - "
148
- "andere gebruikers moeten nog steeds aanmelden om de site te zien."
149
 
150
- #: password-protected.php:110
151
  msgid ""
152
- "Feeds are not available for this site. Please visit the <a href=\"%s"
153
- "\">website</a>."
154
  msgstr ""
155
- "Feeds zijn niet beschikbaar voor deze site. Bezoek de <a href=\"%s"
156
- "\">website</a>."
157
 
158
- #: password-protected.php:155
159
- msgid "Incorrect Password"
160
- msgstr "Onjuist wachtwoord"
161
-
162
- #: theme/login.php:40
163
  msgid ""
164
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
165
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
166
  "cookies</a> to use WordPress."
167
- msgstr ""
168
- "<strong>MISLUKT</strong>: Je browser ondersteunt geen cookies of ze worden "
169
- "geblokkeerd. Je moet <a href='http://www.google.nl/cookies.html'>cookies "
170
- "inschakelen</a> om WordPress te kunnen gebruiken."
171
 
172
- #: theme/login.php:122
173
  msgid "Password"
174
  msgstr "Wachtwoord"
175
-
176
- #: theme/login.php:126
177
- msgid "Remember Me"
178
- msgstr "Deze gegevens onthouden"
179
-
180
- #: theme/login.php:129
181
- msgid "Log In"
182
- msgstr "Inloggen"
183
-
184
- #. Plugin URI of the plugin/theme
185
- msgid "http://wordpress.org/extend/plugins/password-protected/"
186
- msgstr "http://wordpress.org/extend/plugins/password-protected/"
187
-
188
- #. Description of the plugin/theme
189
- msgid ""
190
- "A very simple way to quickly password protect your WordPress site with a "
191
- "single password. Integrates seamlessly into your WordPress privacy settings."
192
- msgstr ""
193
- "Een eenvoudige manier om je WordPress-site snel te beschermen met een "
194
- "wachtwoord. Integreert naadloos in je WordPress-privacyinstellingen."
195
-
196
- #. Author of the plugin/theme
197
- msgid "Ben Huson"
198
- msgstr "Ben Huson"
199
-
200
- #. Author URI of the plugin/theme
201
- msgid "http://www.benhuson.co.uk/"
202
- msgstr "http://www.benhuson.co.uk/"
1
  # Copyright (C) 2013 Password Protected
2
  # This file is distributed under the same license as the Password Protected package.
3
  # Translators:
4
+ # Sander Ruitenbeek <transifex@grids.be>, 2013
5
+ # Thom, 2014
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: Password Protected\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
10
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
11
+ "PO-Revision-Date: 2014-09-16 16:38+0000\n"
12
+ "Last-Translator: Thom\n"
13
+ "Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/password-protected/language/nl_NL/)\n"
 
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: nl_NL\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Generator: Poedit 1.6.2\n"
20
+ "X-Poedit-Basepath: ./\n"
21
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
22
+ "X-Poedit-SearchPath-0: ..\n"
23
 
24
+ #: ../password-protected.php:115
25
+ #, php-format
26
+ msgid ""
27
+ "Feeds are not available for this site. Please visit the <a "
28
+ "href=\"%s\">website</a>."
29
+ msgstr "Feeds zijn niet beschikbaar voor deze site. Bezoek de <a href=\"%s\">website</a>."
30
+
31
+ #: ../password-protected.php:183
32
+ msgid "Incorrect Password"
33
+ msgstr "Onjuist wachtwoord"
34
+
35
+ #: ../password-protected.php:427
36
+ msgid ""
37
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
38
+ "disable it."
39
+ msgstr ""
40
+
41
+ #: ../admin/admin.php:26 ../admin/admin.php:63
42
  msgid "Password Protected"
43
+ msgstr "Bescherm met wachtwoord"
44
 
45
+ #: ../admin/admin.php:36
46
  msgid "Password Protected Settings"
47
+ msgstr "Instellingen bescherm met wachtwoord"
48
 
49
+ #: ../admin/admin.php:40
50
  msgid "Save Changes"
51
  msgstr "Wijzigingen opslaan"
52
 
53
+ #: ../admin/admin.php:64
 
 
 
 
 
 
 
54
  msgid ""
55
+ "<p><strong>Password Protected Status</strong><br />Turn on/off password "
56
+ "protection.</p>"
57
  msgstr ""
 
 
58
 
59
+ #: ../admin/admin.php:65
60
  msgid ""
61
+ "<p><strong>Protected Permissions</strong><br />Allow access for logged in "
62
+ "users and administrators without needing to enter a password. You will need "
63
+ "to enable this option if you want administrators to be able to preview the "
64
+ "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
65
+ "site is password protected.</p>"
66
  msgstr ""
 
 
 
 
67
 
68
+ #: ../admin/admin.php:66
69
  msgid ""
70
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
71
  "into both fields. You cannot set an `empty` password. To disable password "
72
  "protection uncheck the Enabled checkbox.</p>"
73
+ msgstr "<p><strong>Wachtwoordvelden</strong><br />Om een wachtwoord in te stellen, voer het in beide velden in. Je kunt geen `leeg` wachtwoord instellen. Om wachtwoordbescherming uit te zetten, vink Ingeschakeld uit.</p>"
 
 
 
74
 
75
+ #: ../admin/admin.php:82
76
  msgid "Password Protected Status"
77
  msgstr "Wachtwoordsbeschermingsstatus"
78
 
79
+ #: ../admin/admin.php:89
80
+ msgid "Protected Permissions"
81
+ msgstr ""
82
+
83
+ #: ../admin/admin.php:96
84
  msgid "New Password"
85
  msgstr "Nieuw wachtwoord"
86
 
87
+ #: ../admin/admin.php:120
88
  msgid ""
89
  "New password not saved. When setting a new password please enter it in both "
90
  "fields."
91
+ msgstr "Nieuw wachtwoord niet opgeslagen. Vul bij het instellen van een nieuw wachtwoord beide velden in."
 
 
92
 
93
+ #: ../admin/admin.php:123
94
  msgid "New password not saved. Password fields did not match."
95
+ msgstr "Nieuw wachwoord niet opgeslagen. De wachtwoordvelden komen niet overeen."
 
96
 
97
+ #: ../admin/admin.php:126
98
  msgid "New password saved."
99
  msgstr "Nieuw wachtwoord opgeslagen."
100
 
101
+ #: ../admin/admin.php:138
102
  msgid ""
103
  "Password protect your web site. Users will be asked to enter a password to "
104
  "view the site."
105
+ msgstr "Bescherm je website met een wachtwoord. Gebruikers wordt een wachtwoord gevraagd om de site te zien."
 
 
106
 
107
+ #: ../admin/admin.php:139
108
  msgid ""
109
  "For more information about Password Protected settings, view the \"Help\" "
110
  "tab at the top of this page."
111
+ msgstr "Voor meer informatie over Bescherm met wachtwoord, kijk onder het \"Help\"-tabblad bovenaan deze pagina. "
 
 
112
 
113
+ #: ../admin/admin.php:146
114
  msgid "Enabled"
115
  msgstr "Ingeschakeld"
116
 
117
+ #: ../admin/admin.php:153
 
 
 
 
118
  msgid "Allow Administrators"
119
  msgstr "Sta beheerders toe"
120
 
121
+ #: ../admin/admin.php:154
122
+ msgid "Allow Logged In Users"
123
+ msgstr ""
124
+
125
+ #: ../admin/admin.php:155
126
+ msgid "Allow RSS Feeds"
127
+ msgstr "Sta RSS-feeds toe"
128
+
129
+ #: ../admin/admin.php:162
130
  msgid ""
131
  "If you would like to change the password type a new one. Otherwise leave "
132
  "this blank."
133
+ msgstr "Typ een nieuw wachtwoord als je het wachtwoord wilt wijzigen. Vul anders niets in."
134
 
135
+ #: ../admin/admin.php:163
136
  msgid "Type your new password again."
137
  msgstr "Voer je nieuwe wachtwoord nogmaals in."
138
 
139
+ #: ../admin/admin.php:198
140
+ msgid "http://github.com/benhuson/password-protected"
141
+ msgstr "http://github.com/benhuson/password-protected"
142
+
143
+ #: ../admin/admin.php:198
144
+ msgid "GitHub"
145
+ msgstr "GitHub"
146
+
147
+ #: ../admin/admin.php:199
148
+ msgid ""
149
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
150
+ "protected/"
151
+ msgstr "https://www.transifex.com/projects/p/password-protected/resource/password-protected/"
152
+
153
+ #: ../admin/admin.php:199
154
+ msgid "Translate"
155
+ msgstr "Vertalen"
156
+
157
+ #: ../admin/admin.php:213
158
+ msgid "Settings"
159
+ msgstr "Instellingen"
160
+
161
+ #: ../admin/admin.php:238
162
  msgid ""
163
  "You have enabled password protection but not yet set a password. Please set "
164
  "one below."
165
+ msgstr "Je hebt bescherming met wachtwoord ingeschakeld, maar nog geen wachtwoord ingesteld. Stel er hieronder een in."
166
+
167
+ #: ../admin/admin.php:242
168
+ msgid ""
169
+ "You have enabled password protection and allowed administrators and logged "
170
+ "in users - other users will still need to enter a password to view the site."
171
  msgstr ""
 
 
172
 
173
+ #: ../admin/admin.php:244
174
  msgid ""
175
  "You have enabled password protection and allowed administrators - other "
176
+ "users will still need to enter a password to view the site."
177
  msgstr ""
 
 
178
 
179
+ #: ../admin/admin.php:246
180
  msgid ""
181
+ "You have enabled password protection and allowed logged in users - other "
182
+ "users will still need to enter a password to view the site."
183
  msgstr ""
 
 
184
 
185
+ #: ../theme/login.php:40
 
 
 
 
186
  msgid ""
187
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
188
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
189
  "cookies</a> to use WordPress."
190
+ msgstr "<strong>MISLUKT</strong>: Je browser ondersteunt geen cookies of ze worden geblokkeerd. Je moet <a href='http://www.google.nl/cookies.html'>cookies inschakelen</a> om WordPress te kunnen gebruiken."
 
 
 
191
 
192
+ #: ../theme/login.php:132
193
  msgid "Password"
194
  msgstr "Wachtwoord"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/password-protected-ru_RU.po CHANGED
@@ -6,199 +6,188 @@ msgid ""
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
- "POT-Creation-Date: 2013-09-03 09:35:27+00:00\n"
10
- "PO-Revision-Date: 2014-02-24 23:30-0000\n"
11
- "Last-Translator: Ben Huson <ben@thewhiteroom.net>\n"
12
- "Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/wp-"
13
- "translations/language/ru_RU/)\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Language: ru_RU\n"
18
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
19
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
  "X-Generator: Poedit 1.6.2\n"
 
 
 
21
 
22
- #. Plugin Name of the plugin/theme
23
- #: admin/admin.php:25 admin/admin.php:60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "Password Protected"
25
  msgstr "Защищено паролем"
26
 
27
- #: admin/admin.php:35
28
  msgid "Password Protected Settings"
29
  msgstr "Настройки Password Protected"
30
 
31
- #: admin/admin.php:39
32
  msgid "Save Changes"
33
  msgstr "Сохранить изменения"
34
 
35
- #: admin/admin.php:61
36
- msgid ""
37
- "<p><strong>Enabled Checkbox</strong><br />Turn on/off password protection.</"
38
- "p>"
39
- msgstr ""
40
- "<p><strong>Включить чекбокс</strong><br/>Включить/выключить защиту паролем.</"
41
- "p>"
42
-
43
- #: admin/admin.php:62
44
  msgid ""
45
- "<p><strong>Allow RSS Feeds Checkbox</strong><br />RSS Feeds will be able to "
46
- "accessed even when the site is password protected.</p>"
47
  msgstr ""
48
- "<p><strong>Разрешить чекбокс RSS-каналы</strong><br>RSS-каналы будут "
49
- "получать доступ, даже когда сайт защищён паролем.<p>"
50
 
51
- #: admin/admin.php:63
52
  msgid ""
53
- "<p><strong>Allow Administrators Checkbox</strong><br />Administrators will "
54
- "not need to enter a password to view the site (providing they are logged in "
55
- "of course). You will also need to enable this option if you want "
56
- "administrators to be able to preview the site in the Theme Customizer.</p>"
 
57
  msgstr ""
58
- "<p><strong>Разрешить чекбокс Администраторы</strong><br />Администраторам не "
59
- "нужно будет вводить пароль, чтобы увидеть сайт (в случае, если они вошли, "
60
- "конечно же). Также вам нужно включить эту опцию, если вы хотите, чтобы "
61
- "администраторы имели возможность видеть превью сайта в настройках тем."
62
 
63
- #: admin/admin.php:64
64
  msgid ""
65
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
66
  "into both fields. You cannot set an `empty` password. To disable password "
67
  "protection uncheck the Enabled checkbox.</p>"
68
- msgstr ""
69
- "<p><strong>Поля паролей</strong><br />Чтобы установить новый пароль, введите "
70
- "его в оба поля. Вы не можете установить \"пустой\" пароль. Чтобы выключить "
71
- "защиту паролем, снимите галочку в пункте Включено.</p>"
72
 
73
- #: admin/admin.php:90
74
  msgid "Password Protected Status"
75
  msgstr "Статус Password Protected"
76
 
77
- #: admin/admin.php:97
 
 
 
 
78
  msgid "New Password"
79
  msgstr "Новый пароль"
80
 
81
- #: admin/admin.php:117
82
  msgid ""
83
  "New password not saved. When setting a new password please enter it in both "
84
  "fields."
85
- msgstr ""
86
- "Новый пароль не сохранён. Когда устанавливаете новый пароль, пожалуйста, "
87
- "введите его в оба поля. "
88
 
89
- #: admin/admin.php:120
90
  msgid "New password not saved. Password fields did not match."
91
  msgstr "Новый пароль не сохранён. Поля паролей не совпадают."
92
 
93
- #: admin/admin.php:123
94
  msgid "New password saved."
95
  msgstr "Новый пароль сохранён."
96
 
97
- #: admin/admin.php:135
98
  msgid ""
99
  "Password protect your web site. Users will be asked to enter a password to "
100
  "view the site."
101
- msgstr ""
102
- "Пароль защищает ваш вебсайт. Пользователей попросят ввести пароль, чтобы они "
103
- "увидели сайт."
104
 
105
- #: admin/admin.php:136
106
  msgid ""
107
  "For more information about Password Protected settings, view the \"Help\" "
108
  "tab at the top of this page."
109
- msgstr ""
110
- "Для большей информации о настройках Password Protected смотрите вкладку "
111
- "\"Помощь\" вверху этой страницы."
112
 
113
- #: admin/admin.php:143
114
  msgid "Enabled"
115
  msgstr "Доступен"
116
 
117
- #: admin/admin.php:144
118
- msgid "Allow RSS Feeds"
119
- msgstr "Разрешить RSS Каналы"
120
-
121
- #: admin/admin.php:145
122
  msgid "Allow Administrators"
123
  msgstr "Разрешить Администраторов"
124
 
125
- #: admin/admin.php:152
 
 
 
 
 
 
 
 
126
  msgid ""
127
  "If you would like to change the password type a new one. Otherwise leave "
128
  "this blank."
129
- msgstr ""
130
- "Если вы хотите поменять пароль, введите новый. Иначе оставьте поле пустым."
131
 
132
- #: admin/admin.php:153
133
  msgid "Type your new password again."
134
  msgstr "Введите новый пароль повторно."
135
 
136
- #: admin/admin.php:185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  msgid ""
138
  "You have enabled password protection but not yet set a password. Please set "
139
  "one below."
 
 
 
 
 
 
140
  msgstr ""
141
- "Вы включили защиту паролем, но пока не установили пароль. Пожалуйста, "
142
- "установите его внизу."
143
 
144
- #: admin/admin.php:188
145
  msgid ""
146
  "You have enabled password protection and allowed administrators - other "
147
- "users will still need to login to view the site."
148
  msgstr ""
149
- "Вы включили защиту паролем и разрешили администраторов - другим "
150
- "пользователям всё же нужно будет войти, чтобы увидеть сайт. "
151
 
152
- #: password-protected.php:110
153
  msgid ""
154
- "Feeds are not available for this site. Please visit the <a href=\"%s"
155
- "\">website</a>."
156
  msgstr ""
157
- "Каналы недоступны для этого сайта. Пожалуйста, посетите <a href=\"%s"
158
- "\">вебсайт</a>."
159
 
160
- #: password-protected.php:155
161
- msgid "Incorrect Password"
162
- msgstr "Неверный пароль."
163
-
164
- #: theme/login.php:40
165
  msgid ""
166
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
167
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
168
  "cookies</a> to use WordPress."
169
- msgstr ""
170
- "<strong>ОШИБКА</strong>: Cookies либо заблокированы, либо не поддерживаются "
171
- "вашим браузером. Чтобы использовать WordPress, нужно <a href='http://www."
172
- "google.com/cookies.html'>разрешить cookies</a>."
173
 
174
- #: theme/login.php:122
175
  msgid "Password"
176
  msgstr "Пароль"
177
-
178
- #: theme/login.php:126
179
- msgid "Remember Me"
180
- msgstr "Запомнить меня"
181
-
182
- #: theme/login.php:129
183
- msgid "Log In"
184
- msgstr "Войти"
185
-
186
- #. Plugin URI of the plugin/theme
187
- msgid "http://wordpress.org/extend/plugins/password-protected/"
188
- msgstr "http://wordpress.org/extend/plugins/password-protected/"
189
-
190
- #. Description of the plugin/theme
191
- msgid ""
192
- "A very simple way to quickly password protect your WordPress site with a "
193
- "single password. Integrates seamlessly into your WordPress privacy settings."
194
- msgstr ""
195
- "Очень простой способ быстро защитить ваш сайн на WordPress единственным "
196
- "паролем. Хорошо интегрирован в настройки приватности вашего WordPress."
197
-
198
- #. Author of the plugin/theme
199
- msgid "Ben Huson"
200
- msgstr "Ben Huson"
201
-
202
- #. Author URI of the plugin/theme
203
- msgid "http://www.benhuson.co.uk/"
204
- msgstr "http://www.benhuson.co.uk/"
6
  msgstr ""
7
  "Project-Id-Version: Password Protected\n"
8
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
9
+ "POT-Creation-Date: 2014-04-15 00:07-0000\n"
10
+ "PO-Revision-Date: 2014-10-06 03:10+0000\n"
11
+ "Last-Translator: FxB <fxb@wp-translations.org>\n"
12
+ "Language-Team: Russian (Russia) (http://www.transifex.com/projects/p/password-protected/language/ru_RU/)\n"
 
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
  "Language: ru_RU\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
18
  "X-Generator: Poedit 1.6.2\n"
19
+ "X-Poedit-Basepath: ./\n"
20
+ "X-Poedit-KeywordsList: __;_e;_ex;_x\n"
21
+ "X-Poedit-SearchPath-0: ..\n"
22
 
23
+ #: ../password-protected.php:115
24
+ #, php-format
25
+ msgid ""
26
+ "Feeds are not available for this site. Please visit the <a "
27
+ "href=\"%s\">website</a>."
28
+ msgstr "Каналы недоступны для этого сайта. Пожалуйста, посетите <a href=\"%s\">вебсайт</a>."
29
+
30
+ #: ../password-protected.php:183
31
+ msgid "Incorrect Password"
32
+ msgstr "Неверный пароль."
33
+
34
+ #: ../password-protected.php:427
35
+ msgid ""
36
+ "The Password Protected plugin does not work with WP Engine hosting. Please "
37
+ "disable it."
38
+ msgstr ""
39
+
40
+ #: ../admin/admin.php:26 ../admin/admin.php:63
41
  msgid "Password Protected"
42
  msgstr "Защищено паролем"
43
 
44
+ #: ../admin/admin.php:36
45
  msgid "Password Protected Settings"
46
  msgstr "Настройки Password Protected"
47
 
48
+ #: ../admin/admin.php:40
49
  msgid "Save Changes"
50
  msgstr "Сохранить изменения"
51
 
52
+ #: ../admin/admin.php:64
 
 
 
 
 
 
 
 
53
  msgid ""
54
+ "<p><strong>Password Protected Status</strong><br />Turn on/off password "
55
+ "protection.</p>"
56
  msgstr ""
 
 
57
 
58
+ #: ../admin/admin.php:65
59
  msgid ""
60
+ "<p><strong>Protected Permissions</strong><br />Allow access for logged in "
61
+ "users and administrators without needing to enter a password. You will need "
62
+ "to enable this option if you want administrators to be able to preview the "
63
+ "site in the Theme Customizer. Also allow RSS Feeds to be accessed when the "
64
+ "site is password protected.</p>"
65
  msgstr ""
 
 
 
 
66
 
67
+ #: ../admin/admin.php:66
68
  msgid ""
69
  "<p><strong>Password Fields</strong><br />To set a new password, enter it "
70
  "into both fields. You cannot set an `empty` password. To disable password "
71
  "protection uncheck the Enabled checkbox.</p>"
72
+ msgstr "<p><strong>Поля паролей</strong><br />Чтобы установить новый пароль, введите его в оба поля. Вы не можете установить \"пустой\" пароль. Чтобы выключить защиту паролем, снимите галочку в пункте Включено.</p>"
 
 
 
73
 
74
+ #: ../admin/admin.php:82
75
  msgid "Password Protected Status"
76
  msgstr "Статус Password Protected"
77
 
78
+ #: ../admin/admin.php:89
79
+ msgid "Protected Permissions"
80
+ msgstr ""
81
+
82
+ #: ../admin/admin.php:96
83
  msgid "New Password"
84
  msgstr "Новый пароль"
85
 
86
+ #: ../admin/admin.php:120
87
  msgid ""
88
  "New password not saved. When setting a new password please enter it in both "
89
  "fields."
90
+ msgstr "Новый пароль не сохранён. Когда устанавливаете новый пароль, пожалуйста, введите его в оба поля. "
 
 
91
 
92
+ #: ../admin/admin.php:123
93
  msgid "New password not saved. Password fields did not match."
94
  msgstr "Новый пароль не сохранён. Поля паролей не совпадают."
95
 
96
+ #: ../admin/admin.php:126
97
  msgid "New password saved."
98
  msgstr "Новый пароль сохранён."
99
 
100
+ #: ../admin/admin.php:138
101
  msgid ""
102
  "Password protect your web site. Users will be asked to enter a password to "
103
  "view the site."
104
+ msgstr "Пароль защищает ваш вебсайт. Пользователей попросят ввести пароль, чтобы они увидели сайт."
 
 
105
 
106
+ #: ../admin/admin.php:139
107
  msgid ""
108
  "For more information about Password Protected settings, view the \"Help\" "
109
  "tab at the top of this page."
110
+ msgstr "Для большей информации о настройках Password Protected смотрите вкладку \"Помощь\" вверху этой страницы."
 
 
111
 
112
+ #: ../admin/admin.php:146
113
  msgid "Enabled"
114
  msgstr "Доступен"
115
 
116
+ #: ../admin/admin.php:153
 
 
 
 
117
  msgid "Allow Administrators"
118
  msgstr "Разрешить Администраторов"
119
 
120
+ #: ../admin/admin.php:154
121
+ msgid "Allow Logged In Users"
122
+ msgstr ""
123
+
124
+ #: ../admin/admin.php:155
125
+ msgid "Allow RSS Feeds"
126
+ msgstr "Разрешить RSS Каналы"
127
+
128
+ #: ../admin/admin.php:162
129
  msgid ""
130
  "If you would like to change the password type a new one. Otherwise leave "
131
  "this blank."
132
+ msgstr "Если вы хотите поменять пароль, введите новый. Иначе оставьте поле пустым."
 
133
 
134
+ #: ../admin/admin.php:163
135
  msgid "Type your new password again."
136
  msgstr "Введите новый пароль повторно."
137
 
138
+ #: ../admin/admin.php:198
139
+ msgid "http://github.com/benhuson/password-protected"
140
+ msgstr ""
141
+
142
+ #: ../admin/admin.php:198
143
+ msgid "GitHub"
144
+ msgstr ""
145
+
146
+ #: ../admin/admin.php:199
147
+ msgid ""
148
+ "https://www.transifex.com/projects/p/password-protected/resource/password-"
149
+ "protected/"
150
+ msgstr ""
151
+
152
+ #: ../admin/admin.php:199
153
+ msgid "Translate"
154
+ msgstr ""
155
+
156
+ #: ../admin/admin.php:213
157
+ msgid "Settings"
158
+ msgstr "Настройки"
159
+
160
+ #: ../admin/admin.php:238
161
  msgid ""
162
  "You have enabled password protection but not yet set a password. Please set "
163
  "one below."
164
+ msgstr "Вы включили защиту паролем, но пока не установили пароль. Пожалуйста, установите его внизу."
165
+
166
+ #: ../admin/admin.php:242
167
+ msgid ""
168
+ "You have enabled password protection and allowed administrators and logged "
169
+ "in users - other users will still need to enter a password to view the site."
170
  msgstr ""
 
 
171
 
172
+ #: ../admin/admin.php:244
173
  msgid ""
174
  "You have enabled password protection and allowed administrators - other "
175
+ "users will still need to enter a password to view the site."
176
  msgstr ""
 
 
177
 
178
+ #: ../admin/admin.php:246
179
  msgid ""
180
+ "You have enabled password protection and allowed logged in users - other "
181
+ "users will still need to enter a password to view the site."
182
  msgstr ""
 
 
183
 
184
+ #: ../theme/login.php:40
 
 
 
 
185
  msgid ""
186
  "<strong>ERROR</strong>: Cookies are blocked or not supported by your "
187
  "browser. You must <a href='http://www.google.com/cookies.html'>enable "
188
  "cookies</a> to use WordPress."
189
+ msgstr "<strong>ОШИБКА</strong>: Cookies либо заблокированы, либо не поддерживаются вашим браузером. Чтобы использовать WordPress, нужно <a href='http://www.google.com/cookies.html'>разрешить cookies</a>."
 
 
 
190
 
191
+ #: ../theme/login.php:132
192
  msgid "Password"
193
  msgstr "Пароль"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
password-protected.php CHANGED
@@ -2,9 +2,9 @@
2
 
3
  /*
4
  Plugin Name: Password Protected
5
- Plugin URI: http://wordpress.org/extend/plugins/password-protected/
6
  Description: A very simple way to quickly password protect your WordPress site with a single password. Please note: This plugin does not restrict access to uploaded files and images and does not work on WP Engine or with some caching setups.
7
- Version: 1.7.2
8
  Author: Ben Huson
9
  Text Domain: password-protected
10
  Author URI: http://github.com/benhuson/password-protected/
@@ -42,7 +42,7 @@ $Password_Protected = new Password_Protected();
42
 
43
  class Password_Protected {
44
 
45
- var $version = '1.7.1';
46
  var $admin = null;
47
  var $errors = null;
48
 
@@ -50,36 +50,47 @@ class Password_Protected {
50
  * Constructor
51
  */
52
  function Password_Protected() {
 
53
  $this->errors = new WP_Error();
 
54
  register_activation_hook( __FILE__, array( &$this, 'install' ) );
 
55
  add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ) );
56
  add_action( 'init', array( $this, 'disable_caching' ), 1 );
57
  add_action( 'init', array( $this, 'maybe_process_login' ), 1 );
58
  add_action( 'wp', array( $this, 'disable_feeds' ) );
59
- add_action( 'template_redirect', array( $this, 'maybe_show_login' ), 1 );
60
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_feeds' ) );
61
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_administrators' ) );
62
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_users' ) );
 
 
 
63
  if ( is_admin() ) {
64
  include_once( dirname( __FILE__ ) . '/admin/admin.php' );
65
  $this->admin = new Password_Protected_Admin();
66
  }
 
67
  }
68
 
69
  /**
70
  * I18n
71
  */
72
  function load_plugin_textdomain() {
 
73
  load_plugin_textdomain( 'password-protected', false, basename( dirname( __FILE__ ) ) . '/languages' );
 
74
  }
75
 
76
  /**
77
  * Disable Page Caching
78
  */
79
  function disable_caching() {
 
80
  if ( $this->is_active() && ! defined( 'DONOTCACHEPAGE' ) ) {
81
  define( 'DONOTCACHEPAGE', true );
82
  }
 
83
  }
84
 
85
  /**
@@ -88,6 +99,7 @@ class Password_Protected {
88
  * @return boolean Is password protection active?
89
  */
90
  function is_active() {
 
91
  global $wp_query;
92
 
93
  // Always allow access to robots.txt
@@ -98,7 +110,9 @@ class Password_Protected {
98
  if ( (bool) get_option( 'password_protected_status' ) ) {
99
  return true;
100
  }
 
101
  return false;
 
102
  }
103
 
104
  /**
@@ -107,6 +121,7 @@ class Password_Protected {
107
  * @todo An option/filter to prevent disabling of feeds.
108
  */
109
  function disable_feeds() {
 
110
  if ( $this->is_active() ) {
111
  add_action( 'do_feed', array( $this, 'disable_feed' ), 1 );
112
  add_action( 'do_feed_rdf', array( $this, 'disable_feed' ), 1 );
@@ -114,6 +129,7 @@ class Password_Protected {
114
  add_action( 'do_feed_rss2', array( $this, 'disable_feed' ), 1 );
115
  add_action( 'do_feed_atom', array( $this, 'disable_feed' ), 1 );
116
  }
 
117
  }
118
 
119
  /**
@@ -122,7 +138,9 @@ class Password_Protected {
122
  * @todo Make Translatable
123
  */
124
  function disable_feed() {
 
125
  wp_die( sprintf( __( 'Feeds are not available for this site. Please visit the <a href="%s">website</a>.', 'password-protected' ), get_bloginfo( 'url' ) ) );
 
126
  }
127
 
128
  /**
@@ -132,10 +150,13 @@ class Password_Protected {
132
  * @return boolean True/false.
133
  */
134
  function allow_feeds( $bool ) {
 
135
  if ( is_feed() && (bool) get_option( 'password_protected_feeds' ) ) {
136
  return 0;
137
  }
 
138
  return $bool;
 
139
  }
140
 
141
  /**
@@ -145,10 +166,13 @@ class Password_Protected {
145
  * @return boolean True/false.
146
  */
147
  function allow_administrators( $bool ) {
 
148
  if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_administrators' ) ) {
149
  return 0;
150
  }
 
151
  return $bool;
 
152
  }
153
 
154
  /**
@@ -158,10 +182,13 @@ class Password_Protected {
158
  * @return boolean True/false.
159
  */
160
  function allow_users( $bool ) {
 
161
  if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_users' ) ) {
162
  return 0;
163
  }
 
164
  return $bool;
 
165
  }
166
 
167
  /**
@@ -171,48 +198,63 @@ class Password_Protected {
171
  * @return string Encrypted password.
172
  */
173
  function encrypt_password( $password ) {
 
174
  return md5( $password );
 
175
  }
176
 
177
  /**
178
  * Maybe Process Login
179
  */
180
  function maybe_process_login() {
 
181
  if ( $this->is_active() && isset( $_REQUEST['password_protected_pwd'] ) ) {
182
  $password_protected_pwd = $_REQUEST['password_protected_pwd'];
183
  $pwd = get_option( 'password_protected_password' );
 
184
  // If correct password...
185
  if ( ( $this->encrypt_password( $password_protected_pwd ) == $pwd && $pwd != '' ) || apply_filters( 'password_protected_process_login', false, $password_protected_pwd ) ) {
 
186
  $this->set_auth_cookie();
187
  $redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
188
  $redirect_to = apply_filters( 'password_protected_login_redirect', $redirect_to );
 
189
  if ( ! empty( $redirect_to ) ) {
190
  $this->safe_redirect( $redirect_to );
191
  exit;
192
  }
 
193
  } else {
 
194
  // ... otherwise incorrect password
195
  $this->clear_auth_cookie();
196
  $this->errors->add( 'incorrect_password', __( 'Incorrect Password', 'password-protected' ) );
 
197
  }
 
198
  }
199
 
200
  // Log out
201
  if ( isset( $_REQUEST['password-protected'] ) && $_REQUEST['password-protected'] == 'logout' ) {
202
  $this->logout();
 
203
  if ( isset( $_REQUEST['redirect_to'] ) ) {
204
  $redirect_to = esc_url_raw( $_REQUEST['redirect_to'], array( 'http', 'https' ) );
205
  wp_redirect( $redirect_to );
206
  exit();
207
  }
 
208
  $redirect_to = remove_query_arg( array( 'password-protected', 'redirect_to' ), ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
209
  $query = array(
210
  'password-protected' => 'login',
211
  'redirect_to' => urlencode( $redirect_to )
212
  );
 
213
  wp_redirect( add_query_arg( $query, home_url() ) );
214
  exit();
 
215
  }
 
216
  }
217
 
218
  /**
@@ -232,20 +274,34 @@ class Password_Protected {
232
 
233
  // Show login form
234
  if ( isset( $_REQUEST['password-protected'] ) && 'login' == $_REQUEST['password-protected'] ) {
235
- $default_theme_file = dirname( __FILE__ ) . '/theme/login.php';
 
 
 
 
 
 
236
  $theme_file = apply_filters( 'password_protected_theme_file', $default_theme_file );
237
  if ( ! file_exists( $theme_file ) ) {
238
  $theme_file = $default_theme_file;
239
  }
240
- include( $theme_file );
 
241
  exit();
 
242
  } else {
243
- $query = array(
244
- 'password-protected' => 'login',
245
- 'redirect_to' => urlencode( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] )
246
- );
247
- wp_redirect( add_query_arg( $query, home_url() ) );
 
 
 
 
 
248
  exit();
 
249
  }
250
  }
251
 
@@ -255,16 +311,20 @@ class Password_Protected {
255
  * @return string Site ID.
256
  */
257
  function get_site_id() {
 
258
  global $blog_id;
259
  return 'bid_' . apply_filters( 'password_protected_blog_id', $blog_id );
 
260
  }
261
 
262
  /**
263
  * Logout
264
  */
265
  function logout() {
 
266
  $this->clear_auth_cookie();
267
  do_action( 'password_protected_logout' );
 
268
  }
269
 
270
  /**
@@ -275,10 +335,12 @@ class Password_Protected {
275
  * @return boolean Validation successful?
276
  */
277
  function validate_auth_cookie( $cookie = '', $scheme = '' ) {
 
278
  if ( ! $cookie_elements = $this->parse_auth_cookie( $cookie, $scheme ) ) {
279
  do_action( 'password_protected_auth_cookie_malformed', $cookie, $scheme );
280
  return false;
281
  }
 
282
  extract( $cookie_elements, EXTR_OVERWRITE );
283
 
284
  $expired = $expiration;
@@ -289,7 +351,7 @@ class Password_Protected {
289
  }
290
 
291
  // Quick check to see if an honest cookie has expired
292
- if ( $expired < time() ) {
293
  do_action('password_protected_auth_cookie_expired', $cookie_elements);
294
  return false;
295
  }
@@ -305,11 +367,12 @@ class Password_Protected {
305
  return false;
306
  }
307
 
308
- if ( $expiration < time() ) { // AJAX/POST grace period set above
309
  $GLOBALS['login_grace_period'] = 1;
310
  }
311
 
312
  return true;
 
313
  }
314
 
315
  /**
@@ -320,6 +383,7 @@ class Password_Protected {
320
  * @return string Cookie.
321
  */
322
  function generate_auth_cookie( $expiration, $scheme = 'auth' ) {
 
323
  $pass = md5( get_option( 'password_protected_password' ) );
324
  $pass_frag = substr( $pass, 8, 4 );
325
 
@@ -328,6 +392,7 @@ class Password_Protected {
328
  $cookie = $this->get_site_id() . '|' . $expiration . '|' . $hash;
329
 
330
  return $cookie;
 
331
  }
332
 
333
  /**
@@ -338,6 +403,7 @@ class Password_Protected {
338
  * @return string Cookie string.
339
  */
340
  function parse_auth_cookie( $cookie = '', $scheme = '' ) {
 
341
  if ( empty( $cookie ) ) {
342
  $cookie_name = $this->cookie_name();
343
 
@@ -355,6 +421,7 @@ class Password_Protected {
355
  list( $site_id, $expiration, $hmac ) = $cookie_elements;
356
 
357
  return compact( 'site_id', 'expiration', 'hmac', 'scheme' );
 
358
  }
359
 
360
  /**
@@ -366,10 +433,11 @@ class Password_Protected {
366
  * @param string $secure Secure cookie.
367
  */
368
  function set_auth_cookie( $remember = false, $secure = '') {
 
369
  if ( $remember ) {
370
- $expiration = $expire = time() + apply_filters( 'password_protected_auth_cookie_expiration', 1209600, $remember );
371
  } else {
372
- $expiration = time() + apply_filters( 'password_protected_auth_cookie_expiration', 172800, $remember );
373
  $expire = 0;
374
  }
375
 
@@ -384,14 +452,17 @@ class Password_Protected {
384
  if ( COOKIEPATH != SITECOOKIEPATH ) {
385
  setcookie( $this->cookie_name(), $password_protected_cookie, $expire, SITECOOKIEPATH, COOKIE_DOMAIN, $secure_password_protected_cookie, true );
386
  }
 
387
  }
388
 
389
  /**
390
  * Clear Auth Cookie
391
  */
392
  function clear_auth_cookie() {
393
- setcookie( $this->cookie_name(), ' ', time() - 31536000, COOKIEPATH, COOKIE_DOMAIN );
394
- setcookie( $this->cookie_name(), ' ', time() - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN );
 
 
395
  }
396
 
397
  /**
@@ -400,13 +471,16 @@ class Password_Protected {
400
  * @return string Cookie name.
401
  */
402
  function cookie_name() {
 
403
  return $this->get_site_id() . '_password_protected_auth';
 
404
  }
405
 
406
  /**
407
  * Install
408
  */
409
  function install() {
 
410
  $old_version = get_option( 'password_protected_version' );
411
 
412
  // 1.1 - Upgrade to MD5
@@ -419,6 +493,70 @@ class Password_Protected {
419
  }
420
 
421
  update_option( 'password_protected_version', $this->version );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
422
  }
423
 
424
  /**
@@ -429,9 +567,12 @@ class Password_Protected {
429
  * Based on the WordPress wp_safe_redirect() function.
430
  */
431
  function safe_redirect( $location, $status = 302 ) {
 
432
  $location = wp_sanitize_redirect( $location );
433
  $location = wp_validate_redirect( $location, home_url() );
 
434
  wp_redirect( $location, $status );
 
435
  }
436
 
437
  /**
@@ -450,6 +591,7 @@ class Password_Protected {
450
  }
451
 
452
  return true;
 
453
  }
454
 
455
  }
2
 
3
  /*
4
  Plugin Name: Password Protected
5
+ Plugin URI: https://wordpress.org/plugins/password-protected/
6
  Description: A very simple way to quickly password protect your WordPress site with a single password. Please note: This plugin does not restrict access to uploaded files and images and does not work on WP Engine or with some caching setups.
7
+ Version: 1.8
8
  Author: Ben Huson
9
  Text Domain: password-protected
10
  Author URI: http://github.com/benhuson/password-protected/
42
 
43
  class Password_Protected {
44
 
45
+ var $version = '1.8';
46
  var $admin = null;
47
  var $errors = null;
48
 
50
  * Constructor
51
  */
52
  function Password_Protected() {
53
+
54
  $this->errors = new WP_Error();
55
+
56
  register_activation_hook( __FILE__, array( &$this, 'install' ) );
57
+
58
  add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ) );
59
  add_action( 'init', array( $this, 'disable_caching' ), 1 );
60
  add_action( 'init', array( $this, 'maybe_process_login' ), 1 );
61
  add_action( 'wp', array( $this, 'disable_feeds' ) );
62
+ add_action( 'template_redirect', array( $this, 'maybe_show_login' ), -1 );
63
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_feeds' ) );
64
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_administrators' ) );
65
  add_filter( 'pre_option_password_protected_status', array( $this, 'allow_users' ) );
66
+ add_action( 'init', array( $this, 'compat' ) );
67
+ add_action( 'password_protected_login_messages', array( $this, 'login_messages' ) );
68
+
69
  if ( is_admin() ) {
70
  include_once( dirname( __FILE__ ) . '/admin/admin.php' );
71
  $this->admin = new Password_Protected_Admin();
72
  }
73
+
74
  }
75
 
76
  /**
77
  * I18n
78
  */
79
  function load_plugin_textdomain() {
80
+
81
  load_plugin_textdomain( 'password-protected', false, basename( dirname( __FILE__ ) ) . '/languages' );
82
+
83
  }
84
 
85
  /**
86
  * Disable Page Caching
87
  */
88
  function disable_caching() {
89
+
90
  if ( $this->is_active() && ! defined( 'DONOTCACHEPAGE' ) ) {
91
  define( 'DONOTCACHEPAGE', true );
92
  }
93
+
94
  }
95
 
96
  /**
99
  * @return boolean Is password protection active?
100
  */
101
  function is_active() {
102
+
103
  global $wp_query;
104
 
105
  // Always allow access to robots.txt
110
  if ( (bool) get_option( 'password_protected_status' ) ) {
111
  return true;
112
  }
113
+
114
  return false;
115
+
116
  }
117
 
118
  /**
121
  * @todo An option/filter to prevent disabling of feeds.
122
  */
123
  function disable_feeds() {
124
+
125
  if ( $this->is_active() ) {
126
  add_action( 'do_feed', array( $this, 'disable_feed' ), 1 );
127
  add_action( 'do_feed_rdf', array( $this, 'disable_feed' ), 1 );
129
  add_action( 'do_feed_rss2', array( $this, 'disable_feed' ), 1 );
130
  add_action( 'do_feed_atom', array( $this, 'disable_feed' ), 1 );
131
  }
132
+
133
  }
134
 
135
  /**
138
  * @todo Make Translatable
139
  */
140
  function disable_feed() {
141
+
142
  wp_die( sprintf( __( 'Feeds are not available for this site. Please visit the <a href="%s">website</a>.', 'password-protected' ), get_bloginfo( 'url' ) ) );
143
+
144
  }
145
 
146
  /**
150
  * @return boolean True/false.
151
  */
152
  function allow_feeds( $bool ) {
153
+
154
  if ( is_feed() && (bool) get_option( 'password_protected_feeds' ) ) {
155
  return 0;
156
  }
157
+
158
  return $bool;
159
+
160
  }
161
 
162
  /**
166
  * @return boolean True/false.
167
  */
168
  function allow_administrators( $bool ) {
169
+
170
  if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_administrators' ) ) {
171
  return 0;
172
  }
173
+
174
  return $bool;
175
+
176
  }
177
 
178
  /**
182
  * @return boolean True/false.
183
  */
184
  function allow_users( $bool ) {
185
+
186
  if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_users' ) ) {
187
  return 0;
188
  }
189
+
190
  return $bool;
191
+
192
  }
193
 
194
  /**
198
  * @return string Encrypted password.
199
  */
200
  function encrypt_password( $password ) {
201
+
202
  return md5( $password );
203
+
204
  }
205
 
206
  /**
207
  * Maybe Process Login
208
  */
209
  function maybe_process_login() {
210
+
211
  if ( $this->is_active() && isset( $_REQUEST['password_protected_pwd'] ) ) {
212
  $password_protected_pwd = $_REQUEST['password_protected_pwd'];
213
  $pwd = get_option( 'password_protected_password' );
214
+
215
  // If correct password...
216
  if ( ( $this->encrypt_password( $password_protected_pwd ) == $pwd && $pwd != '' ) || apply_filters( 'password_protected_process_login', false, $password_protected_pwd ) ) {
217
+
218
  $this->set_auth_cookie();
219
  $redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
220
  $redirect_to = apply_filters( 'password_protected_login_redirect', $redirect_to );
221
+
222
  if ( ! empty( $redirect_to ) ) {
223
  $this->safe_redirect( $redirect_to );
224
  exit;
225
  }
226
+
227
  } else {
228
+
229
  // ... otherwise incorrect password
230
  $this->clear_auth_cookie();
231
  $this->errors->add( 'incorrect_password', __( 'Incorrect Password', 'password-protected' ) );
232
+
233
  }
234
+
235
  }
236
 
237
  // Log out
238
  if ( isset( $_REQUEST['password-protected'] ) && $_REQUEST['password-protected'] == 'logout' ) {
239
  $this->logout();
240
+
241
  if ( isset( $_REQUEST['redirect_to'] ) ) {
242
  $redirect_to = esc_url_raw( $_REQUEST['redirect_to'], array( 'http', 'https' ) );
243
  wp_redirect( $redirect_to );
244
  exit();
245
  }
246
+
247
  $redirect_to = remove_query_arg( array( 'password-protected', 'redirect_to' ), ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
248
  $query = array(
249
  'password-protected' => 'login',
250
  'redirect_to' => urlencode( $redirect_to )
251
  );
252
+
253
  wp_redirect( add_query_arg( $query, home_url() ) );
254
  exit();
255
+
256
  }
257
+
258
  }
259
 
260
  /**
274
 
275
  // Show login form
276
  if ( isset( $_REQUEST['password-protected'] ) && 'login' == $_REQUEST['password-protected'] ) {
277
+
278
+ $default_theme_file = locate_template( array( 'password-protected-login.php' ) );
279
+
280
+ if ( empty( $default_theme_file ) ) {
281
+ $default_theme_file = dirname( __FILE__ ) . '/theme/password-protected-login.php';
282
+ }
283
+
284
  $theme_file = apply_filters( 'password_protected_theme_file', $default_theme_file );
285
  if ( ! file_exists( $theme_file ) ) {
286
  $theme_file = $default_theme_file;
287
  }
288
+
289
+ load_template( $theme_file );
290
  exit();
291
+
292
  } else {
293
+
294
+ $redirect_to = add_query_arg( 'password-protected', 'login', home_url() );
295
+
296
+ // URL to redirect back to after login
297
+ $redirect_to_url = apply_filters( 'password_protected_login_redirect_url', ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
298
+ if ( ! empty( $redirect_to_url ) ) {
299
+ $redirect_to = add_query_arg( 'redirect_to', urlencode( $redirect_to_url ), $redirect_to );
300
+ }
301
+
302
+ wp_redirect( $redirect_to );
303
  exit();
304
+
305
  }
306
  }
307
 
311
  * @return string Site ID.
312
  */
313
  function get_site_id() {
314
+
315
  global $blog_id;
316
  return 'bid_' . apply_filters( 'password_protected_blog_id', $blog_id );
317
+
318
  }
319
 
320
  /**
321
  * Logout
322
  */
323
  function logout() {
324
+
325
  $this->clear_auth_cookie();
326
  do_action( 'password_protected_logout' );
327
+
328
  }
329
 
330
  /**
335
  * @return boolean Validation successful?
336
  */
337
  function validate_auth_cookie( $cookie = '', $scheme = '' ) {
338
+
339
  if ( ! $cookie_elements = $this->parse_auth_cookie( $cookie, $scheme ) ) {
340
  do_action( 'password_protected_auth_cookie_malformed', $cookie, $scheme );
341
  return false;
342
  }
343
+
344
  extract( $cookie_elements, EXTR_OVERWRITE );
345
 
346
  $expired = $expiration;
351
  }
352
 
353
  // Quick check to see if an honest cookie has expired
354
+ if ( $expired < current_time( 'timestamp' ) ) {
355
  do_action('password_protected_auth_cookie_expired', $cookie_elements);
356
  return false;
357
  }
367
  return false;
368
  }
369
 
370
+ if ( $expiration < current_time( 'timestamp' ) ) { // AJAX/POST grace period set above
371
  $GLOBALS['login_grace_period'] = 1;
372
  }
373
 
374
  return true;
375
+
376
  }
377
 
378
  /**
383
  * @return string Cookie.
384
  */
385
  function generate_auth_cookie( $expiration, $scheme = 'auth' ) {
386
+
387
  $pass = md5( get_option( 'password_protected_password' ) );
388
  $pass_frag = substr( $pass, 8, 4 );
389
 
392
  $cookie = $this->get_site_id() . '|' . $expiration . '|' . $hash;
393
 
394
  return $cookie;
395
+
396
  }
397
 
398
  /**
403
  * @return string Cookie string.
404
  */
405
  function parse_auth_cookie( $cookie = '', $scheme = '' ) {
406
+
407
  if ( empty( $cookie ) ) {
408
  $cookie_name = $this->cookie_name();
409
 
421
  list( $site_id, $expiration, $hmac ) = $cookie_elements;
422
 
423
  return compact( 'site_id', 'expiration', 'hmac', 'scheme' );
424
+
425
  }
426
 
427
  /**
433
  * @param string $secure Secure cookie.
434
  */
435
  function set_auth_cookie( $remember = false, $secure = '') {
436
+
437
  if ( $remember ) {
438
+ $expiration = $expire = current_time( 'timestamp' ) + apply_filters( 'password_protected_auth_cookie_expiration', 1209600, $remember );
439
  } else {
440
+ $expiration = current_time( 'timestamp' ) + apply_filters( 'password_protected_auth_cookie_expiration', 172800, $remember );
441
  $expire = 0;
442
  }
443
 
452
  if ( COOKIEPATH != SITECOOKIEPATH ) {
453
  setcookie( $this->cookie_name(), $password_protected_cookie, $expire, SITECOOKIEPATH, COOKIE_DOMAIN, $secure_password_protected_cookie, true );
454
  }
455
+
456
  }
457
 
458
  /**
459
  * Clear Auth Cookie
460
  */
461
  function clear_auth_cookie() {
462
+
463
+ setcookie( $this->cookie_name(), ' ', current_time( 'timestamp' ) - 31536000, COOKIEPATH, COOKIE_DOMAIN );
464
+ setcookie( $this->cookie_name(), ' ', current_time( 'timestamp' ) - 31536000, SITECOOKIEPATH, COOKIE_DOMAIN );
465
+
466
  }
467
 
468
  /**
471
  * @return string Cookie name.
472
  */
473
  function cookie_name() {
474
+
475
  return $this->get_site_id() . '_password_protected_auth';
476
+
477
  }
478
 
479
  /**
480
  * Install
481
  */
482
  function install() {
483
+
484
  $old_version = get_option( 'password_protected_version' );
485
 
486
  // 1.1 - Upgrade to MD5
493
  }
494
 
495
  update_option( 'password_protected_version', $this->version );
496
+
497
+ }
498
+
499
+ /**
500
+ * Compat
501
+ *
502
+ * Support for 3rd party plugins:
503
+ *
504
+ * - Login Logo http://wordpress.org/extend/plugins/login-logo/
505
+ * - Uber Login Logo http://wordpress.org/plugins/uber-login-logo/
506
+ */
507
+ public function compat() {
508
+
509
+ if ( class_exists( 'CWS_Login_Logo_Plugin' ) ) {
510
+
511
+ // Add support for Mark Jaquith's Login Logo plugin
512
+ add_action( 'password_protected_login_head', array( new CWS_Login_Logo_Plugin, 'login_head' ) );
513
+
514
+ } elseif ( class_exists( 'UberLoginLogo' ) ) {
515
+
516
+ // Add support for Uber Login Logo plugin
517
+ add_action( 'password_protected_login_head', array( 'UberLoginLogo', 'replaceLoginLogo' ) );
518
+
519
+ }
520
+
521
+ }
522
+
523
+ /**
524
+ * Login Messages
525
+ * Outputs messages and errors in the login template.
526
+ */
527
+ public function login_messages() {
528
+
529
+ // Add message
530
+ $message = apply_filters( 'password_protected_login_message', '' );
531
+ if ( ! empty( $message ) ) {
532
+ echo $message . "\n";
533
+ }
534
+
535
+ if ( $this->errors->get_error_code() ) {
536
+
537
+ $errors = '';
538
+ $messages = '';
539
+
540
+ foreach ( $this->errors->get_error_codes() as $code ) {
541
+ $severity = $this->errors->get_error_data( $code );
542
+ foreach ( $this->errors->get_error_messages( $code ) as $error ) {
543
+ if ( 'message' == $severity ) {
544
+ $messages .= ' ' . $error . "<br />\n";
545
+ } else {
546
+ $errors .= ' ' . $error . "<br />\n";
547
+ }
548
+ }
549
+ }
550
+
551
+ if ( ! empty( $errors ) ) {
552
+ echo '<div id="login_error">' . apply_filters( 'password_protected_login_errors', $errors ) . "</div>\n";
553
+ }
554
+ if ( ! empty( $messages ) ) {
555
+ echo '<p class="message">' . apply_filters( 'password_protected_login_messages', $messages ) . "</p>\n";
556
+ }
557
+
558
+ }
559
+
560
  }
561
 
562
  /**
567
  * Based on the WordPress wp_safe_redirect() function.
568
  */
569
  function safe_redirect( $location, $status = 302 ) {
570
+
571
  $location = wp_sanitize_redirect( $location );
572
  $location = wp_validate_redirect( $location, home_url() );
573
+
574
  wp_redirect( $location, $status );
575
+
576
  }
577
 
578
  /**
591
  }
592
 
593
  return true;
594
+
595
  }
596
 
597
  }
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Password Protected ===
2
  Contributors: husobj
3
  Tags: password, protect, password protect, login
4
- Requires at least: 3.2
5
- Tested up to: 3.9
6
- Stable tag: 1.7.2
7
  License: GPLv2 or later
8
 
9
  A very simple way to quickly password protect your WordPress site with a single password.
@@ -77,6 +77,14 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
 
 
 
80
  = 1.7.2 =
81
  * Added 'password_protected_login_redirect' filter.
82
  * Fix always allow access to robots.txt.
@@ -142,6 +150,9 @@ More instructions can be found at [wp-translations.org](http://wp-translations.o
142
 
143
  == Upgrade Notice ==
144
 
 
 
 
145
  = 1.7.2 =
146
  Added 'password_protected_login_redirect' filter.
147
 
1
  === Password Protected ===
2
  Contributors: husobj
3
  Tags: password, protect, password protect, login
4
+ Requires at least: 3.5
5
+ Tested up to: 4.0
6
+ Stable tag: 1.8
7
  License: GPLv2 or later
8
 
9
  A very simple way to quickly password protect your WordPress site with a single password.
77
 
78
  == Changelog ==
79
 
80
+ = 1.8 =
81
+ * Support for adding "password-protected-login.php" in theme directory.
82
+ * Allow filtering of the 'redirect to' URL via the 'password_protected_login_redirect_url' filter.
83
+ * Added 'password_protected_login_messages' action to output errors and messages in template.
84
+ * Use current_time( 'timestamp' ) instead of time() to take into account site timezone.
85
+ * Check login earlier in the template_redirect action.
86
+ * Updated translations.
87
+
88
  = 1.7.2 =
89
  * Added 'password_protected_login_redirect' filter.
90
  * Fix always allow access to robots.txt.
150
 
151
  == Upgrade Notice ==
152
 
153
+ = 1.8 =
154
+ Support for adding "password-protected-login.php" in theme directory and allow filtering of the 'redirect to' URL via the 'password_protected_login_redirect_url' filter.
155
+
156
  = 1.7.2 =
157
  Added 'password_protected_login_redirect' filter.
158
 
theme/{login.php → password-protected-login.php} RENAMED
@@ -5,7 +5,7 @@
5
  * http://core.trac.wordpress.org/browser/trunk/wp-login.php?rev=19414
6
  */
7
 
8
- global $Password_Protected, $error, $is_iphone;
9
 
10
  /**
11
  * WP Shake JS
@@ -38,7 +38,7 @@ if ( SITECOOKIEPATH != COOKIEPATH ) {
38
  }
39
 
40
  // If cookies are disabled we can't log in even with a valid password.
41
- if ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[TEST_COOKIE] ) ) {
42
  $Password_Protected->errors->add( 'test_cookie', __( "<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='http://www.google.com/cookies.html'>enable cookies</a> to use WordPress.", 'password-protected' ) );
43
  }
44
 
@@ -51,19 +51,6 @@ if ( $Password_Protected->errors->get_error_code() && in_array( $Password_Protec
51
  // Obey privacy setting
52
  add_action( 'password_protected_login_head', 'noindex' );
53
 
54
- /**
55
- * Support 3rd party plugins
56
- */
57
- if ( class_exists( 'CWS_Login_Logo_Plugin' ) ) {
58
- // Add support for Mark Jaquith's Login Logo plugin
59
- // http://wordpress.org/extend/plugins/login-logo/
60
- add_action( 'password_protected_login_head', array( new CWS_Login_Logo_Plugin, 'login_head' ) );
61
- } elseif ( class_exists( 'UberLoginLogo' ) ) {
62
- // Add support for Uber Login Logo plugin
63
- // http://wordpress.org/plugins/uber-login-logo/
64
- add_action( 'password_protected_login_head', array( 'UberLoginLogo', 'replaceLoginLogo' ) );
65
- }
66
-
67
  ?>
68
  <!DOCTYPE html>
69
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
@@ -74,8 +61,6 @@ if ( class_exists( 'CWS_Login_Logo_Plugin' ) ) {
74
 
75
  <?php
76
 
77
- global $wp_version;
78
-
79
  if ( version_compare( $wp_version, '3.9-dev', '>=' ) ) {
80
  wp_admin_css( 'login', true );
81
  } else {
@@ -97,6 +82,7 @@ if ( $is_iphone ) {
97
 
98
  do_action( 'login_enqueue_scripts' );
99
  do_action( 'password_protected_login_head' );
 
100
  ?>
101
 
102
  </head>
@@ -104,36 +90,8 @@ do_action( 'password_protected_login_head' );
104
 
105
  <div id="login">
106
  <h1><a href="<?php echo esc_url( apply_filters( 'password_protected_login_headerurl', home_url( '/' ) ) ); ?>" title="<?php echo esc_attr( apply_filters( 'password_protected_login_headertitle', get_bloginfo( 'name' ) ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
107
- <?php
108
-
109
- // Add message
110
- $message = apply_filters( 'password_protected_login_message', '' );
111
- if ( ! empty( $message ) ) {
112
- echo $message . "\n";
113
- }
114
-
115
- if ( $Password_Protected->errors->get_error_code() ) {
116
- $errors = '';
117
- $messages = '';
118
- foreach ( $Password_Protected->errors->get_error_codes() as $code ) {
119
- $severity = $Password_Protected->errors->get_error_data( $code );
120
- foreach ( $Password_Protected->errors->get_error_messages( $code ) as $error ) {
121
- if ( 'message' == $severity ) {
122
- $messages .= ' ' . $error . "<br />\n";
123
- } else {
124
- $errors .= ' ' . $error . "<br />\n";
125
- }
126
- }
127
- }
128
- if ( ! empty( $errors ) ) {
129
- echo '<div id="login_error">' . apply_filters( 'password_protected_login_errors', $errors ) . "</div>\n";
130
- }
131
- if ( ! empty( $messages ) ) {
132
- echo '<p class="message">' . apply_filters( 'password_protected_login_messages', $messages ) . "</p>\n";
133
- }
134
- }
135
- ?>
136
 
 
137
  <?php do_action( 'password_protected_before_login_form' ); ?>
138
 
139
  <form name="loginform" id="loginform" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="post">
5
  * http://core.trac.wordpress.org/browser/trunk/wp-login.php?rev=19414
6
  */
7
 
8
+ global $wp_version, $Password_Protected, $error, $is_iphone;
9
 
10
  /**
11
  * WP Shake JS
38
  }
39
 
40
  // If cookies are disabled we can't log in even with a valid password.
41
+ if ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
42
  $Password_Protected->errors->add( 'test_cookie', __( "<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='http://www.google.com/cookies.html'>enable cookies</a> to use WordPress.", 'password-protected' ) );
43
  }
44
 
51
  // Obey privacy setting
52
  add_action( 'password_protected_login_head', 'noindex' );
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  ?>
55
  <!DOCTYPE html>
56
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
61
 
62
  <?php
63
 
 
 
64
  if ( version_compare( $wp_version, '3.9-dev', '>=' ) ) {
65
  wp_admin_css( 'login', true );
66
  } else {
82
 
83
  do_action( 'login_enqueue_scripts' );
84
  do_action( 'password_protected_login_head' );
85
+
86
  ?>
87
 
88
  </head>
90
 
91
  <div id="login">
92
  <h1><a href="<?php echo esc_url( apply_filters( 'password_protected_login_headerurl', home_url( '/' ) ) ); ?>" title="<?php echo esc_attr( apply_filters( 'password_protected_login_headertitle', get_bloginfo( 'name' ) ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
+ <?php do_action( 'password_protected_login_messages' ); ?>
95
  <?php do_action( 'password_protected_before_login_form' ); ?>
96
 
97
  <form name="loginform" id="loginform" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="post">