Skip to content

Instantly share code, notes, and snippets.

@MikeDacre
Created April 29, 2016 23:13
Show Gist options
  • Save MikeDacre/4f75571290fe6420fbba464fb0280020 to your computer and use it in GitHub Desktop.
Save MikeDacre/4f75571290fe6420fbba464fb0280020 to your computer and use it in GitHub Desktop.
Private Content Spelling Patch
diff -Naur private-content.orig/functions.php private-content/functions.php
--- private-content.orig/functions.php 2016-04-29 15:42:09.587388342 -0700
+++ private-content/functions.php 2016-04-29 15:57:32.032192704 -0700
@@ -266,8 +266,8 @@
if($bulk_opts) {
$opts['pc_cats']['opts'] = array(
- 'all' => __('Any logged user', 'pc_ml'),
- 'unlogged' => __('Unlogged Users', 'pc_ml'),
+ 'all' => __('Any logged in user', 'pc_ml'),
+ 'unlogged' => __('Non logged in users', 'pc_ml'),
);
}
diff -Naur private-content.orig/lang_admin/default.pot private-content/lang_admin/default.pot
--- private-content.orig/lang_admin/default.pot 2016-04-29 15:42:09.564055208 -0700
+++ private-content/lang_admin/default.pot 2016-04-29 15:57:31.765526965 -0700
@@ -213,11 +213,11 @@
msgstr ""
#: functions.php:333 functions.php:372
-msgid "any logged user"
+msgid "any logged in user"
msgstr ""
#: functions.php:373
-msgid "unlogged users"
+msgid "non logged in users"
msgstr ""
#: lc_update_notifier.php:225
@@ -276,11 +276,11 @@
msgstr ""
#: metaboxes.php:26 nav_menu_option.php:49 widgets_restriction.php:20
-msgid "Unlogged Users"
+msgid "Non Logged In Users"
msgstr ""
#: metaboxes.php:37
-msgid "Where to move logged users?"
+msgid "Where to move logged in users?"
msgstr ""
#: metaboxes.php:39 metaboxes.php:127 settings.php:322 settings.php:362
@@ -352,7 +352,7 @@
msgstr ""
#: metaboxes.php:272
-msgid "Unlogged"
+msgid "Logged Out"
msgstr ""
#: nav_menu_option.php:45 widgets_restriction.php:17
@@ -360,7 +360,7 @@
msgstr ""
#: nav_menu_option.php:48 widgets_restriction.php:19
-msgid "Any logged user"
+msgid "Any logged in user"
msgstr ""
#: pc_taxonomies_option.php:29
@@ -405,15 +405,15 @@
msgstr ""
#: settings.php:45
-msgid "Logged Users Redirect"
+msgid "Logged In Users Redirect"
msgstr ""
#: settings.php:46
-msgid "Logged Users Redirect - Custom URL"
+msgid "Logged In Users Redirect - Custom URL"
msgstr ""
#: settings.php:47
-msgid "Move logged users to last restricted page"
+msgid "Move logged in users to last restricted page"
msgstr ""
#: settings.php:48
@@ -529,7 +529,7 @@
msgstr ""
#: settings.php:113
-msgid "Unlogged user custom message"
+msgid "Non logged in user custom message"
msgstr ""
#: settings.php:114
@@ -569,7 +569,7 @@
msgstr ""
#: settings.php:135 settings.php:138
-msgid "Logged Users Redirect / Custom URL"
+msgid "Logged In Users Redirect / Custom URL"
msgstr ""
#: settings.php:178
@@ -641,7 +641,7 @@
msgstr ""
#: settings.php:340
-msgid "Content that will see non logged users"
+msgid "Content that non logged in users will see"
msgstr ""
#: settings.php:343
@@ -729,7 +729,7 @@
#: settings.php:463
msgid ""
-"If checked, move logged users back to the last restricted page they tried to "
+"If checked, move logged in users back to the last restricted page they tried to "
"see (if available)"
msgstr ""
@@ -750,7 +750,7 @@
msgstr ""
#: settings.php:499
-msgid "If checked, website will be completely hidden for non logged users"
+msgid "If checked, website will be completely hidden for non logged in users"
msgstr ""
#: settings.php:500
@@ -789,7 +789,7 @@
#: settings.php:553
msgid ""
-"If checked, privateContent users will be logged also with basic WP account"
+"If checked, privateContent users will be also logged in with basic WP account"
msgstr ""
#: settings.php:554
@@ -825,7 +825,7 @@
msgstr ""
#: settings.php:590
-msgid "If checked, totally hides comment block on site for unlogged users"
+msgid "If checked, totally hides comment block on site for non logged in users"
msgstr ""
#: settings.php:593
@@ -880,7 +880,7 @@
msgstr ""
#: settings.php:645
-msgid "If checked, allow users to keep logged into the website"
+msgid "If checked, allow users to remain logged into the website"
msgstr ""
#: settings.php:648
@@ -1214,7 +1214,7 @@
msgstr ""
#: settings.php:1170
-msgid "Default message for unlogged users"
+msgid "Default message for non logged in users"
msgstr ""
#: settings.php:1173
@@ -1236,7 +1236,7 @@
msgstr ""
#: settings.php:1188
-msgid "Custom message for unlogged users"
+msgid "Custom message for non logged in users"
msgstr ""
#: settings.php:1191
@@ -1270,7 +1270,7 @@
msgstr ""
#: settings.php:1220
-msgid "By default is \"Logged successfully, welcome!\""
+msgid "By default is \"Logged in successfully, welcome!\""
msgstr ""
#: settings.php:1224
@@ -1354,7 +1354,7 @@
msgstr ""
#: tinymce_implementation.php:92
-msgid "Content visible by unlogged users"
+msgid "Content visible by non logged in users"
msgstr ""
#: tinymce_implementation.php:98
diff -Naur private-content.orig/lang_admin/pc_ml-it_IT.po private-content/lang_admin/pc_ml-it_IT.po
--- private-content.orig/lang_admin/pc_ml-it_IT.po 2016-04-29 15:42:09.564055208 -0700
+++ private-content/lang_admin/pc_ml-it_IT.po 2016-04-29 15:57:31.768860287 -0700
@@ -204,11 +204,11 @@
msgstr ""
#: functions.php:333 functions.php:372
-msgid "any logged user"
+msgid "any logged in user"
msgstr ""
#: functions.php:373
-msgid "unlogged users"
+msgid "non logged in users"
msgstr ""
#: lc_update_notifier.php:225
@@ -267,11 +267,11 @@
msgstr ""
#: metaboxes.php:26 nav_menu_option.php:49 widgets_restriction.php:20
-msgid "Unlogged Users"
+msgid "Non Logged In Users"
msgstr ""
#: metaboxes.php:37
-msgid "Where to move logged users?"
+msgid "Where to move logged in users?"
msgstr ""
#: metaboxes.php:39 metaboxes.php:127 settings.php:322 settings.php:362
@@ -343,7 +343,7 @@
msgstr ""
#: metaboxes.php:272
-msgid "Unlogged"
+msgid "Logged Out"
msgstr ""
#: nav_menu_option.php:45 widgets_restriction.php:17
@@ -351,7 +351,7 @@
msgstr ""
#: nav_menu_option.php:48 widgets_restriction.php:19
-msgid "Any logged user"
+msgid "Any logged in user"
msgstr ""
#: pc_taxonomies_option.php:29
@@ -396,15 +396,15 @@
msgstr ""
#: settings.php:45
-msgid "Logged Users Redirect"
+msgid "Logged In Users Redirect"
msgstr ""
#: settings.php:46
-msgid "Logged Users Redirect - Custom URL"
+msgid "Logged In Users Redirect - Custom URL"
msgstr ""
#: settings.php:47
-msgid "Move logged users to last restricted page"
+msgid "Move logged in users to last restricted page"
msgstr ""
#: settings.php:48
@@ -520,7 +520,7 @@
msgstr ""
#: settings.php:113
-msgid "Unlogged user custom message"
+msgid "Non logged in user custom message"
msgstr ""
#: settings.php:114
@@ -560,7 +560,7 @@
msgstr ""
#: settings.php:135 settings.php:138
-msgid "Logged Users Redirect / Custom URL"
+msgid "Logged In Users Redirect / Custom URL"
msgstr ""
#: settings.php:178
@@ -632,7 +632,7 @@
msgstr ""
#: settings.php:340
-msgid "Content that will see non logged users"
+msgid "Content that non logged in users will see"
msgstr ""
#: settings.php:343
@@ -720,7 +720,7 @@
#: settings.php:463
msgid ""
-"If checked, move logged users back to the last restricted page they tried to "
+"If checked, move logged in users back to the last restricted page they tried to "
"see (if available)"
msgstr ""
@@ -741,7 +741,7 @@
msgstr ""
#: settings.php:499
-msgid "If checked, website will be completely hidden for non logged users"
+msgid "If checked, website will be completely hidden for non logged in users"
msgstr ""
#: settings.php:500
@@ -780,7 +780,7 @@
#: settings.php:553
msgid ""
-"If checked, privateContent users will be logged also with basic WP account"
+"If checked, privateContent users will be also logged in with basic WP account"
msgstr ""
#: settings.php:554
@@ -816,7 +816,7 @@
msgstr ""
#: settings.php:590
-msgid "If checked, totally hides comment block on site for unlogged users"
+msgid "If checked, totally hides comment block on site for non logged in users"
msgstr ""
#: settings.php:593
@@ -871,7 +871,7 @@
msgstr ""
#: settings.php:645
-msgid "If checked, allow users to keep logged into the website"
+msgid "If checked, allow users to remain logged into the website"
msgstr ""
#: settings.php:648
@@ -1205,7 +1205,7 @@
msgstr ""
#: settings.php:1170
-msgid "Default message for unlogged users"
+msgid "Default message for non logged in users"
msgstr ""
#: settings.php:1173
@@ -1227,7 +1227,7 @@
msgstr ""
#: settings.php:1188
-msgid "Custom message for unlogged users"
+msgid "Custom message for non logged in users"
msgstr ""
#: settings.php:1191
@@ -1261,7 +1261,7 @@
msgstr ""
#: settings.php:1220
-msgid "By default is \"Logged successfully, welcome!\""
+msgid "By default is \"Logged in successfully, welcome!\""
msgstr ""
#: settings.php:1224
@@ -1345,7 +1345,7 @@
msgstr ""
#: tinymce_implementation.php:92
-msgid "Content visible by unlogged users"
+msgid "Content visible by non logged in users"
msgstr ""
#: tinymce_implementation.php:98
@@ -2248,7 +2248,7 @@
#~ msgstr "Devi impostare la categoria di default per gli utenti registrati"
#, fuzzy
-#~ msgid "By default is \"Logged succesfully, welcome!\""
+#~ msgid "By default is \"Logged in succesfully, welcome!\""
#~ msgstr "Login effettuato, benvenuto!"
#, fuzzy
@@ -2318,7 +2318,7 @@
#, fuzzy
#~ msgid ""
-#~ "Form submitted successfully. You are not logged as an user so nothing has "
+#~ "Form submitted successfully. You are not logged in as a user so nothing has so nothing has "
#~ "been saved"
#~ msgstr ""
#~ "Form inviato con successo. Non sei loggato come utente quindi nessun dato "
diff -Naur private-content.orig/lang_admin/pc_ml-sv_SE.po private-content/lang_admin/pc_ml-sv_SE.po
--- private-content.orig/lang_admin/pc_ml-sv_SE.po 2016-04-29 15:42:09.564055208 -0700
+++ private-content/lang_admin/pc_ml-sv_SE.po 2016-04-29 15:57:31.762193644 -0700
@@ -208,11 +208,11 @@
msgstr "Administratör"
#: functions.php:333 functions.php:372
-msgid "any logged user"
+msgid "any logged in user"
msgstr "varje inloggad användare"
#: functions.php:373
-msgid "unlogged users"
+msgid "non logged in users"
msgstr "ej inloggade användare"
#: lc_update_notifier.php:225
@@ -271,11 +271,11 @@
msgstr "Alla"
#: metaboxes.php:26 nav_menu_option.php:49 widgets_restriction.php:20
-msgid "Unlogged Users"
+msgid "Non Logged In Users"
msgstr "Ej inloggade Användare"
#: metaboxes.php:37
-msgid "Where to move logged users?"
+msgid "Where to move logged in users?"
msgstr ""
#: metaboxes.php:39 metaboxes.php:127 settings.php:322 settings.php:362
@@ -347,7 +347,7 @@
msgstr ""
#: metaboxes.php:272
-msgid "Unlogged"
+msgid "Logged Out"
msgstr "Ej inloggad"
#: nav_menu_option.php:45 widgets_restriction.php:17
@@ -355,7 +355,7 @@
msgstr "Vilka PrivateContent användarkategorier kan se sidan?"
#: nav_menu_option.php:48 widgets_restriction.php:19
-msgid "Any logged user"
+msgid "Any logged in user"
msgstr ""
#: pc_taxonomies_option.php:29
@@ -400,15 +400,15 @@
msgstr "Omdirigeringssida - anpassad URL"
#: settings.php:45
-msgid "Logged Users Redirect"
+msgid "Logged In Users Redirect"
msgstr "Inloggade Användares Omdirigering"
#: settings.php:46
-msgid "Logged Users Redirect - Custom URL"
+msgid "Logged In Users Redirect - Custom URL"
msgstr "Inloggade Användare Omdirigering - Anpassad URL"
#: settings.php:47
-msgid "Move logged users to last restricted page"
+msgid "Move logged in users to last restricted page"
msgstr "Flytta inloggade användare till sista åtkomstbegränsade sidan"
#: settings.php:48
@@ -524,7 +524,7 @@
msgstr "Knappars textfärg - vid hovring"
#: settings.php:113
-msgid "Unlogged user custom message"
+msgid "Non logged in user custom message"
msgstr ""
#: settings.php:114
@@ -564,7 +564,7 @@
msgstr "Infoga en giltig URL"
#: settings.php:135 settings.php:138
-msgid "Logged Users Redirect / Custom URL"
+msgid "Logged In Users Redirect / Custom URL"
msgstr "Inloggade Användares Omdirigering - Anpassad URL"
#: settings.php:178
@@ -638,7 +638,7 @@
msgstr "Endast inloggningsformuläret"
#: settings.php:340
-msgid "Content that will see non logged users"
+msgid "Content that non logged in users will see"
msgstr "Innehåll som icke inloggade användare kommer att se"
#: settings.php:343
@@ -733,7 +733,7 @@
#: settings.php:463
msgid ""
-"If checked, move logged users back to the last restricted page they tried to "
+"If checked, move logged in users back to the last restricted page they tried to "
"see (if available)"
msgstr ""
"Om markerad, flytta tillbaka inloggade användare till den senaste spärrade "
@@ -757,7 +757,7 @@
msgstr ""
#: settings.php:499
-msgid "If checked, website will be completely hidden for non logged users"
+msgid "If checked, website will be completely hidden for non logged in users"
msgstr ""
#: settings.php:500
@@ -796,7 +796,7 @@
#: settings.php:553
msgid ""
-"If checked, privateContent users will be logged also with basic WP account"
+"If checked, privateContent users will be also logged in with basic WP account"
msgstr ""
"Om markerad, loggas privateContent användare även med grundläggande WP-konto"
@@ -837,7 +837,7 @@
msgstr ""
#: settings.php:590
-msgid "If checked, totally hides comment block on site for unlogged users"
+msgid "If checked, totally hides comment block on site for non logged in users"
msgstr ""
#: settings.php:593
@@ -895,7 +895,7 @@
msgstr "Använda \"kom ihåg mig\" ruta i login-formuläret?"
#: settings.php:645
-msgid "If checked, allow users to keep logged into the website"
+msgid "If checked, allow users to remain logged into the website"
msgstr "Om markerad, tillåt användare att förbli inloggade på hemsidan"
#: settings.php:648
@@ -1232,7 +1232,7 @@
msgstr "Meddelande om Skyddat Innehåll"
#: settings.php:1170
-msgid "Default message for unlogged users"
+msgid "Default message for non logged in users"
msgstr ""
#: settings.php:1173
@@ -1256,7 +1256,7 @@
msgstr ""
#: settings.php:1188
-msgid "Custom message for unlogged users"
+msgid "Custom message for non logged in users"
msgstr ""
#: settings.php:1191
@@ -1290,7 +1290,7 @@
msgstr "Förinställt meddelande för lyckad inloggning"
#: settings.php:1220
-msgid "By default is \"Logged successfully, welcome!\""
+msgid "By default is \"Logged in successfully, welcome!\""
msgstr ""
#: settings.php:1224
@@ -1378,7 +1378,7 @@
msgstr "Innehåll synligt för alla kategorier"
#: tinymce_implementation.php:92
-msgid "Content visible by unlogged users"
+msgid "Content visible by non logged in users"
msgstr "Innehåll synligt för ej inloggade användare"
#: tinymce_implementation.php:98
@@ -2348,7 +2348,7 @@
#~ msgid "Required Fields"
#~ msgstr "Obligatoriska Fält"
-#~ msgid "Message for not logged users"
+#~ msgid "Message for not logged in users"
#~ msgstr "Meddelande för ej inloggade användare"
#~ msgid "Message if haven't reserved area"
@@ -2389,7 +2389,7 @@
#~ msgstr "Aktivera låsningen?"
#~ msgid ""
-#~ "If checked, the website will be completely hidden for non logged users"
+#~ "If checked, the website will be completely hidden for non logged in users"
#~ msgstr ""
#~ "Om markerad, kommer hemsidan att vara helt dold för icke inloggade "
#~ "användare"
@@ -2436,10 +2436,10 @@
#~ msgid "If checked, prevent the default CSS to be used"
#~ msgstr "Om markerad, förhindra att standard CSS används"
-#~ msgid "Default message for not logged users"
+#~ msgid "Default message for not logged in users"
#~ msgstr "Förinställt meddelande för ej inloggade användare"
-#~ msgid "By default is \"Logged succesfully, welcome!\""
+#~ msgid "By default is \"Logged in succesfully, welcome!\""
#~ msgstr "Förinställt är \"Lyckad inloggning, Välkommen!\""
#~ msgid "Default message if a user not have the right permissions"
diff -Naur private-content.orig/languages/default.pot private-content/languages/default.pot
--- private-content.orig/languages/default.pot 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/default.pot 2016-04-29 15:57:32.008859452 -0700
@@ -390,7 +390,7 @@
msgstr ""
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
diff -Naur private-content.orig/languages/pc_ml-af_ZA.po private-content/languages/pc_ml-af_ZA.po
--- private-content.orig/languages/pc_ml-af_ZA.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-af_ZA.po 2016-04-29 15:57:31.992192844 -0700
@@ -385,7 +385,7 @@
msgstr "U het nie 'n gereserveerde area"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -469,7 +469,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Inligting was suksesvol gestoor"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Vorm gestuur. Jy is nie ingeteken as 'n gebruiker nie, so niks was gestoor nie."
#~ msgid "Repeat"
@@ -482,7 +482,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "U moet die standaard kategorie stel vir geregistreerde gebruikers."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr " Suksesvol ingeteken welkom!"
#, fuzzy
diff -Naur private-content.orig/languages/pc_ml-cs_CZ.po private-content/languages/pc_ml-cs_CZ.po
--- private-content.orig/languages/pc_ml-cs_CZ.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-cs_CZ.po 2016-04-29 15:57:31.985526200 -0700
@@ -446,7 +446,7 @@
msgstr ""
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
# @ pg_ml
diff -Naur private-content.orig/languages/pc_ml-da_DK.po private-content/languages/pc_ml-da_DK.po
--- private-content.orig/languages/pc_ml-da_DK.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-da_DK.po 2016-04-29 15:57:31.975526235 -0700
@@ -382,7 +382,7 @@
msgstr "Du har ikke et reserveret område"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr "Du er logget ind, velkommen!"
#: public_api.php:468
@@ -466,7 +466,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Data gemt blev"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Formularen forelægges korrekt. Du er ikke logget som en bruger, så intet er blevet gemt"
#~ msgid "Repeat"
@@ -476,7 +476,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Du skal angive standard kategori for registrerede brugere."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Indloggning succesfuld, velkommen!"
#~ msgid "Error during user registration, contact the website administrator"
diff -Naur private-content.orig/languages/pc_ml-de_DE.po private-content/languages/pc_ml-de_DE.po
--- private-content.orig/languages/pc_ml-de_DE.po 2016-04-29 15:42:09.587388342 -0700
+++ private-content/languages/pc_ml-de_DE.po 2016-04-29 15:57:32.018859417 -0700
@@ -381,7 +381,7 @@
msgstr "Sie sind bereits angemeldet!"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -464,7 +464,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Import erfolgreich"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Formular erfolgreich übermittelt. Sie sind nicht als Benutzer angemeldet, es wurde nichts gespeichert."
#~ msgid "Repeat"
@@ -477,7 +477,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Bitte wählen Sie eine voreingestellte Kategorie für registrierte Benutzer"
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Willkommen, Sie haben sich erfolgreich angemeldet!"
#~ msgid "Invalid Category"
@@ -574,10 +574,10 @@
#~ msgid "Redirect Page - Custom URL"
#~ msgstr "Weiterleitungsseite - Benutzerdefinierte URL"
-#~ msgid "Logged Users Redirect"
+#~ msgid "Logged In Users Redirect"
#~ msgstr "Weiterleitung angemeldete Benutzer"
-#~ msgid "Logged Users Redirect - Custom URL"
+#~ msgid "Logged In Users Redirect - Custom URL"
#~ msgstr "Weiterleitung angemeldete Benutzer -Benutzerdefinierte URL"
#~ msgid "Users Redirect after logout"
@@ -628,7 +628,7 @@
#~ msgid "Required Fields"
#~ msgstr "Pflichtfeld"
-#~ msgid "Message for not logged users"
+#~ msgid "Message for not logged in users"
#~ msgstr "Nachricht für nicht angemeldete Benutzer"
#~ msgid "Message if haven't reserved area"
diff -Naur private-content.orig/languages/pc_ml-es_ES.po private-content/languages/pc_ml-es_ES.po
--- private-content.orig/languages/pc_ml-es_ES.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-es_ES.po 2016-04-29 15:57:31.972192913 -0700
@@ -382,7 +382,7 @@
msgstr "No tienes un área reservada"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr " Logged correctamente, bienvenido"
#: public_api.php:468
@@ -466,7 +466,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Información guardada"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Formulario enviado con éxito. Debido a que no estás conectado como un usuario, no se guardó la información"
#~ msgid "Repeat"
@@ -479,7 +479,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Tienes que marcar una categoría por default para usuarios registrados."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "¡Bienvenido!"
#~ msgid "Invalid Category"
diff -Naur private-content.orig/languages/pc_ml-fa_IR.po private-content/languages/pc_ml-fa_IR.po
--- private-content.orig/languages/pc_ml-fa_IR.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-fa_IR.po 2016-04-29 15:57:31.998859487 -0700
@@ -383,7 +383,7 @@
msgstr "این قسمت یک منطقه محافظت شده است"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -467,7 +467,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "اطلاعات با موفقيت ذخيره شد"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "فرم با موفقیت ارسال شد. شما به عنوان یک کاربر عضو وارد نشده اید و هیچ چیز ذخیره نشده است"
#~ msgid "Repeat"
@@ -477,7 +477,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "شما باید به مجموعه ای از دسته بندی به طور پیش فرض برای کاربران ثبت نام شده است."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr " با موفقیت خارج شده است، خوش آمدید!"
#~ msgid "Error during user registration, contact the website administrator"
diff -Naur private-content.orig/languages/pc_ml-fr_FR.po private-content/languages/pc_ml-fr_FR.po
--- private-content.orig/languages/pc_ml-fr_FR.po 2016-04-29 15:42:09.580721732 -0700
+++ private-content/languages/pc_ml-fr_FR.po 2016-04-29 15:57:31.962192948 -0700
@@ -385,7 +385,7 @@
msgstr "Vous n'avez pas d'espace reservé"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -426,7 +426,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Les données sont sauvegardées"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Le formulaire est validé. Aucun élement n'a été sauvegardé car vous n'êtes pas connectés en tant qu'utilisateur"
#~ msgid "Repeat"
@@ -439,7 +439,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Vous devez définir une catégorie pour les utilisateurs enregistrés"
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Connexion réussi"
#~ msgid "Error during user registration, contact the website administrator"
diff -Naur private-content.orig/languages/pc_ml-hr_HR.po private-content/languages/pc_ml-hr_HR.po
--- private-content.orig/languages/pc_ml-hr_HR.po 2016-04-29 15:42:09.587388342 -0700
+++ private-content/languages/pc_ml-hr_HR.po 2016-04-29 15:57:32.025526061 -0700
@@ -384,7 +384,7 @@
msgstr "Nemate rezervirano područje"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -468,7 +468,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Podaci uspješno spremljeni"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Obrazac uspješno podnesen. Niste prijavljeni kao korisnik pa ništa nije spremljeno"
#~ msgid "Repeat"
@@ -481,7 +481,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Morate postaviti zadanu kategoriju za registrirane korisnike."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Prijava uspješna, dobrodošli!"
#, fuzzy
diff -Naur private-content.orig/languages/pc_ml-it_IT.po private-content/languages/pc_ml-it_IT.po
--- private-content.orig/languages/pc_ml-it_IT.po 2016-04-29 15:42:09.587388342 -0700
+++ private-content/languages/pc_ml-it_IT.po 2016-04-29 15:57:32.015526096 -0700
@@ -382,7 +382,7 @@
msgstr "Non disponi di area riservata"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr "Loggato con successo. Benvenuto!"
#: public_api.php:468
@@ -467,7 +467,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Dati salvati correttamente"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Form inviato con successo. Non sei loggato come utente quindi nessun dato è stato salvato "
#~ msgid "Repeat"
@@ -482,7 +482,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Devi impostare la categoria di default per gli utenti registrati"
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Login effettuato, benvenuto!"
#~ msgid "Invalid Category"
diff -Naur private-content.orig/languages/pc_ml-ka_KA.po private-content/languages/pc_ml-ka_KA.po
--- private-content.orig/languages/pc_ml-ka_KA.po 2016-04-29 15:42:09.587388342 -0700
+++ private-content/languages/pc_ml-ka_KA.po 2016-04-29 15:57:32.018859417 -0700
@@ -385,7 +385,7 @@
msgstr "თქვენ არ გაქვთ პირადი გვერდი"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -469,7 +469,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "მონაცემები შენახულია"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "ფორმა გაგზავნილია. თქვენ არ დარეგისტრირებულხართ მომხმარებლად. მონაცემები არ არის შენახული."
#~ msgid "Repeat"
@@ -482,7 +482,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "რეგისტრირებულთათვის საწყისი კატეგორია უნდა შეარჩიოთ."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "სალამი!"
#, fuzzy
diff -Naur private-content.orig/languages/pc_ml-nl_NL.po private-content/languages/pc_ml-nl_NL.po
--- private-content.orig/languages/pc_ml-nl_NL.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-nl_NL.po 2016-04-29 15:57:32.002192809 -0700
@@ -386,7 +386,7 @@
msgstr "U heeft geen gereserveerde ruimte"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -471,7 +471,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Gegevens succesvol opgeslagen"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Formulier succesvol ingediend. U bent niet ingelogd als gebruiker, hierdoor is er niets opgeslagen"
#~ msgid "Repeat"
@@ -484,7 +484,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "U dient de standaard categorie in te stellen voor geregistreerde gebruikers."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Succesvol ingelogd. Welkom!"
#, fuzzy
diff -Naur private-content.orig/languages/pc_ml-pl_PL.po private-content/languages/pc_ml-pl_PL.po
--- private-content.orig/languages/pc_ml-pl_PL.po 2016-04-29 15:42:09.580721732 -0700
+++ private-content/languages/pc_ml-pl_PL.po 2016-04-29 15:57:31.968859591 -0700
@@ -397,7 +397,7 @@
msgstr "Nie masz wydzielone miejsce"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -481,7 +481,7 @@
#~ msgstr "Dane zapisane pomyślnie"
#~ msgid ""
-#~ "Form submitted successfully. You are not logged as an user so nothing has "
+#~ "Form submitted successfully. You are not logged in as a user so nothing has so nothing has "
#~ "been saved"
#~ msgstr ""
#~ "Formularz przesłany pomyślnie. Nie jesteś zalogowany jako użytkownik, "
@@ -499,7 +499,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Musisz ustawić domyślną kategorię zarejestrowanych użytkowników"
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Zalogowano pomyślnie, witamy!"
#~ msgid "Invalid Category"
diff -Naur private-content.orig/languages/pc_ml-pt_BR.po private-content/languages/pc_ml-pt_BR.po
--- private-content.orig/languages/pc_ml-pt_BR.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-pt_BR.po 2016-04-29 15:57:31.982192878 -0700
@@ -383,7 +383,7 @@
msgstr "Você não tem uma área reservada"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -467,7 +467,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Dados salvos com sucesso"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Form enviado com sucesso. Você não está logado como um usuário para que nada tenha sido salvo"
#~ msgid "Repeat"
@@ -477,7 +477,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Você tem que definir a categoria padrão para usuários registrados."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "logado com sucesso, bem-vindo!"
#~ msgid "Error during user registration, contact the website administrator"
diff -Naur private-content.orig/languages/pc_ml-ro_RO.po private-content/languages/pc_ml-ro_RO.po
--- private-content.orig/languages/pc_ml-ro_RO.po 2016-04-29 15:42:09.580721732 -0700
+++ private-content/languages/pc_ml-ro_RO.po 2016-04-29 15:57:31.965526269 -0700
@@ -391,7 +391,7 @@
msgstr "Nu aveti o zona privata"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr "Conectare reusita. Bine ai venit !"
#: public_api.php:468
diff -Naur private-content.orig/languages/pc_ml-ru_RU.po private-content/languages/pc_ml-ru_RU.po
--- private-content.orig/languages/pc_ml-ru_RU.po 2016-04-29 15:42:09.587388342 -0700
+++ private-content/languages/pc_ml-ru_RU.po 2016-04-29 15:57:32.022192739 -0700
@@ -386,7 +386,7 @@
msgstr "У Вас нет закрытой области"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -473,7 +473,7 @@
#~ msgstr "Данные сохранены успешно"
#~ msgid ""
-#~ "Form submitted successfully. You are not logged as an user so nothing has "
+#~ "Form submitted successfully. You are not logged in as a user so nothing has so nothing has "
#~ "been saved"
#~ msgstr ""
#~ "Форма успешно отправлена. Вы не зарегистрированы в качестве пользователя, "
@@ -488,7 +488,7 @@
#~ "Необходимо выбрать категорию по умолчанию для зарегистрированных "
#~ "пользователей."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Вы вошли успешно, добро пожаловать!"
#, fuzzy
diff -Naur private-content.orig/languages/pc_ml-sk_SK.po private-content/languages/pc_ml-sk_SK.po
--- private-content.orig/languages/pc_ml-sk_SK.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-sk_SK.po 2016-04-29 15:57:32.005526131 -0700
@@ -446,7 +446,7 @@
msgstr ""
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
# @ pg_ml
@@ -533,7 +533,7 @@
#~ msgstr "Zopakovať"
# @ pg_ml
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Prihlásenie bolo úspešné. Vitajte!"
# @ pg_ml
diff -Naur private-content.orig/languages/pc_ml-sv_SE.po private-content/languages/pc_ml-sv_SE.po
--- private-content.orig/languages/pc_ml-sv_SE.po 2016-04-29 15:42:09.584055037 -0700
+++ private-content/languages/pc_ml-sv_SE.po 2016-04-29 15:57:31.995526165 -0700
@@ -382,7 +382,7 @@
msgstr "Du har inte någon reserverad area"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -464,7 +464,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Data har sparats"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Formuläret har skickats. Du är inte inloggad som användare, så ingenting har sparats"
#~ msgid "Repeat"
@@ -479,7 +479,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Du måste ange förinställd kategori för registrerade användare."
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Inloggningen lyckades, välkommen!"
#~ msgid "Invalid Category"
diff -Naur private-content.orig/languages/pc_ml-tr_TR.po private-content/languages/pc_ml-tr_TR.po
--- private-content.orig/languages/pc_ml-tr_TR.po 2016-04-29 15:42:09.580721732 -0700
+++ private-content/languages/pc_ml-tr_TR.po 2016-04-29 15:57:31.955526304 -0700
@@ -384,7 +384,7 @@
msgstr "Ayrılmış alanınız yok"
#: public_api.php:467
-msgid "Logged successfully, welcome!"
+msgid "Logged in successfully, welcome!"
msgstr ""
#: public_api.php:468
@@ -422,7 +422,7 @@
#~ msgid "Data saved succesfully"
#~ msgstr "Veri başarı şekilde kaydedildi"
-#~ msgid "Form submitted successfully. You are not logged as an user so nothing has been saved"
+#~ msgid "Form submitted successfully. You are not logged in as a user so nothing has so nothing has been saved"
#~ msgstr "Form başarıyla gönderildi. Kullanıcı girişi yapmadığınızda hiçbir şey kayedilmedi"
#~ msgid "Repeat"
@@ -432,7 +432,7 @@
#~ msgid "You have to set the default category for registered users"
#~ msgstr "Kayıtlı kullanıcılar için genel kategoriyi ayarlamalısınız"
-#~ msgid "Logged succesfully, welcome!"
+#~ msgid "Logged in succesfully, welcome!"
#~ msgstr "Giriş başarılı, hoşgeldiniz"
#~ msgid "Error during user registration, contact the website administrator"
diff -Naur private-content.orig/metaboxes.php private-content/metaboxes.php
--- private-content.orig/metaboxes.php 2016-04-29 15:42:09.567388512 -0700
+++ private-content/metaboxes.php 2016-04-29 15:57:31.802193504 -0700
@@ -28,7 +28,7 @@
</select>
<div id="pc_unl_redir_wrap" <?php if(!is_array($pc_redirect) || !in_array('unlogged', $pc_redirect)) {echo 'style="display: none;"';} ?>>
- <p style="margin-bottom: 7px;"><?php _e('Where to move logged users?', 'pc_ml') ?></p>
+ <p style="margin-bottom: 7px;"><?php _e('Where to move logged in users?', 'pc_ml') ?></p>
<select name="pg_unlogged_redirect" class="lcweb-chosen" data-placeholder="<?php _e('Select an option', 'pc_ml') ?> .." style="width: 254px;" autocomplete="off">
<option value=""><?php _e('Use main redirect target', 'pc_ml') ?></option>
diff -Naur private-content.orig/public_api.php private-content/public_api.php
--- private-content.orig/public_api.php 2016-04-29 15:42:09.567388512 -0700
+++ private-content/public_api.php 2016-04-29 15:57:31.795526860 -0700
@@ -4,7 +4,7 @@
* CHECK IF AN USER IS LOGGED
* @since 5.0
*
- * @param (mixed) $get_data = whether to return logged user data.
+ * @param (mixed) $get_data = whether to return logged in user data.
* true (default) to return full user data + meta
* false to return only a boolean value
* fields array to return only them
@@ -68,8 +68,8 @@
* given the allowed param, check if user has right permissions - eventually checks WP users pass
*
* @param (string) allowed = allowed user categories
- * all = any logged user
- * unlogged = only unlogged users
+ * all = any logged in user
+ * unlogged = only non logged in users
* user categories id string (comma spilt): NUM,NUM,NUM
*
* @param (string) blocked = user categories blocked in this match (comma split)
@@ -160,7 +160,7 @@
* @since 5.0
*
* @param (string) redirect = forces a specific redirect after login - must be a valid URL
- * @return (string) the login form code or empty if a logged user is found
+ * @return (string) the login form code or empty if a logged in user is found
*/
function pc_login_form($redirect = '') {
include_once(PC_DIR.'/classes/pc_form_framework.php');
@@ -226,7 +226,7 @@
* @since 5.0
*
* @param (string) redirect = forces a specific redirect after login - must be a valid URL
- * @return (string) the logout button code or empty if a logged user is found
+ * @return (string) the logout button code or empty if a logged in user is found
*/
function pc_logout_btn($redirect = '') {
$custom_redirect = (!empty($redirect)) ? 'pc_redirect="'.$redirect.'"' : '';
@@ -319,7 +319,7 @@
/*
- * LOGGING OUT USER - deletes logged user session/cookies
+ * LOGGING OUT USER - deletes logged in user session/cookies
* @since 5.0
*/
function pc_logout() {
@@ -524,7 +524,7 @@
* @since 5.0
*
* @param (string) subj - message index to retrieve - uses DB ones
- * - pc_default_nl_mex => Message for not logged users
+ * - pc_default_nl_mex => Message for non logged in users
* - pc_default_uca_mex => Message if user doesn't have right permissions
* - pc_default_hc_mex => Message if user can't post comments
@@ -552,7 +552,7 @@
'pc_default_hcwp_mex' => __("Sorry, you don't have the right permissions to post comments", 'pc_ml'),
'pc_default_nhpa_mex' => __("You don't have a reserved area", 'pc_ml'),
- 'pc_login_ok_mex' => __('Logged successfully, welcome!', 'pc_ml'),
+ 'pc_login_ok_mex' => __('Logged in successfully, welcome!', 'pc_ml'),
'pc_default_pu_mex' => __('Sorry, your account has not been activated yet', 'pc_ml'),
'pc_default_sr_mex' => __('Registration was successful. Welcome!', 'pc_ml'),
);
diff -Naur private-content.orig/pvt_content_manage.php private-content/pvt_content_manage.php
--- private-content.orig/pvt_content_manage.php 2016-04-29 15:42:09.567388512 -0700
+++ private-content/pvt_content_manage.php 2016-04-29 15:57:31.792193539 -0700
@@ -26,7 +26,7 @@
$admin_is_previewing = true;
}
- // check logged user
+ // check logged in user
$user_data = pc_user_logged(array('page_id', 'disable_pvt_page', 'wp_user_id'));
if(!$user_data) {
@@ -190,7 +190,7 @@
// if restrict - use global to comunicate with fake template
if($allowed && is_array($allowed)) {
- // allow any WP logged user
+ // allow any WP logged in user
if(!is_user_logged_in() || current_user_can('pvtcontent')) {
$result = pc_user_check( implode(',', $allowed));
if($result !== 1) {
diff -Naur private-content.orig/settings.php private-content/settings.php
--- private-content.orig/settings.php 2016-04-29 15:42:09.567388512 -0700
+++ private-content/settings.php 2016-04-29 15:57:31.805526825 -0700
@@ -39,9 +39,9 @@
$indexes[] = array('index'=>'pg_redirect_page', 'label'=>__( 'Restriction redirect target', 'pc_ml' ), 'required'=>true);
$indexes[] = array('index'=>'pg_redirect_page_custom', 'label'=>__( 'Redirect Page - Custom URL', 'pc_ml' ));
- $indexes[] = array('index'=>'pg_logged_user_redirect', 'label'=>__( 'Logged Users Redirect', 'pc_ml' ));
- $indexes[] = array('index'=>'pg_logged_user_redirect_custom', 'label'=>__( 'Logged Users Redirect - Custom URL', 'pc_ml' ));
- $indexes[] = array('index'=>'pg_redirect_back_after_login', 'label'=>__( 'Move logged users to last restricted page', 'pc_ml' ));
+ $indexes[] = array('index'=>'pg_logged_user_redirect', 'label'=>__( 'Logged In Users Redirect', 'pc_ml' ));
+ $indexes[] = array('index'=>'pg_logged_user_redirect_custom', 'label'=>__( 'Logged In Users Redirect - Custom URL', 'pc_ml' ));
+ $indexes[] = array('index'=>'pg_redirect_back_after_login', 'label'=>__( 'Move logged in users to last restricted page', 'pc_ml' ));
$indexes[] = array('index'=>'pg_logout_user_redirect', 'label'=>__( 'Users Redirect after logout', 'pc_ml' ));
$indexes[] = array('index'=>'pg_logout_user_redirect_custom', 'label'=>__( 'Users Redirect after logout - Custom URL', 'pc_ml' ));
@@ -106,7 +106,7 @@
$indexes[] = array('index'=>'pg_custom_css', 'label'=>'Custom CSS');
- $indexes[] = array('index'=>'pg_default_nl_mex', 'label'=>__("Unlogged user custom message", 'pc_ml'), 'maxlen'=>255);
+ $indexes[] = array('index'=>'pg_default_nl_mex', 'label'=>__("Non logged in user custom message", 'pc_ml'), 'maxlen'=>255);
$indexes[] = array('index'=>'pg_default_uca_mex', 'label'=>__("Wrong permissions custom message", 'pc_ml'), 'maxlen'=>170);
$indexes[] = array('index'=>'pg_default_hc_mex', 'label'=>__("Hidden comments custom message", 'pc_ml'), 'maxlen'=>255);
$indexes[] = array('index'=>'pg_default_hcwp_mex', 'label'=>__("Hidden comments - wrong permissions message", 'pc_ml'), 'maxlen'=>255);
@@ -128,10 +128,10 @@
$validator->custom_error[ __('Restriction redirect target / Custom URL', 'pc_ml') ] = __('Insert a valid URL', 'pc_ml');
}
if($fdata['pg_logged_user_redirect'] == 'custom' && !filter_var($fdata['pg_logged_user_redirect_custom'], FILTER_VALIDATE_URL)) {
- $validator->custom_error[ __('Logged Users Redirect / Custom URL', 'pc_ml') ] = __('Insert a valid URL', 'pc_ml');
+ $validator->custom_error[ __('Logged In Users Redirect / Custom URL', 'pc_ml') ] = __('Insert a valid URL', 'pc_ml');
}
if($fdata['pg_logout_user_redirect'] == 'custom' && !filter_var($fdata['pg_logout_user_redirect_custom'], FILTER_VALIDATE_URL)) {
- $validator->custom_error[ __('Logged Users Redirect / Custom URL', 'pc_ml') ] = __('Insert a valid URL', 'pc_ml');
+ $validator->custom_error[ __('Logged In Users Redirect / Custom URL', 'pc_ml') ] = __('Insert a valid URL', 'pc_ml');
}
$error = $validator->getErrors();
@@ -332,7 +332,7 @@
</option>
</select>
</td>
- <td><span class="info"><?php _e("Content that will see non logged users", 'pc_ml') ?></span></td>
+ <td><span class="info"><?php _e("Content that non logged in users will see", 'pc_ml') ?></span></td>
</tr>
<tr>
<td class="pc_label_td"><?php _e("Default private page content for new users", 'pc_ml'); ?></td>
@@ -455,7 +455,7 @@
<?php ($fdata['pg_redirect_back_after_login']) ? $checked= 'checked="checked"' : $checked = ''; ?>
<input type="checkbox" name="pg_redirect_back_after_login" value="1" <?php echo $checked; ?> class="ip_checks" />
</td>
- <td><span class="info"><?php _e('If checked, move logged users back to the last restricted page they tried to see (if available)', 'pc_ml') ?></span></td>
+ <td><span class="info"><?php _e('If checked, move logged in users back to the last restricted page they tried to see (if available)', 'pc_ml') ?></span></td>
</tr>
<tr>
@@ -491,7 +491,7 @@
<input type="checkbox" name="pg_complete_lock" value="1" <?php echo $checked; ?> class="ip_checks" />
</td>
<td>
- <span class="info" style="line-height: 23px;"><?php _e('If checked, website will be completely hidden for non logged users', 'pc_ml') ?> <br/>
+ <span class="info" style="line-height: 23px;"><?php _e('If checked, website will be completely hidden for non logged in users', 'pc_ml') ?> <br/>
<?php _e('<strong>Note</strong>: "Restriction redirect target" will be visible to allow the users login. Be sure you are using a Wordpress page', 'pc_ml') ?></span>
</td>
</tr>
@@ -545,7 +545,7 @@
<input type="checkbox" name="pg_wp_user_sync" value="1" <?php echo $checked; ?> class="ip_checks" />
</td>
<td>
- <span class="info" style="line-height: 23px;"><?php _e('If checked, privateContent users will be logged also with basic WP account', 'pc_ml') ?> <br/>
+ <span class="info" style="line-height: 23px;"><?php _e('If checked, privateContent users will be also logged in with basic WP account', 'pc_ml') ?> <br/>
<?php _e("<strong>What does this implies?</strong> For more details, please check the related documentation chapter", 'pc_ml') ?></span>
</td>
</tr>
@@ -582,7 +582,7 @@
<?php $checked = ($fdata['pg_lock_comments']) ? 'checked="checked"' : ''; ?>
<input type="checkbox" name="pg_lock_comments" value="1" <?php echo $checked; ?> class="ip_checks" />
</td>
- <td><span class="info"><?php _e('If checked, totally hides comment block on site for unlogged users', 'pc_ml') ?></span></td>
+ <td><span class="info"><?php _e('If checked, totally hides comment block on site for non logged in users', 'pc_ml') ?></span></td>
</tr>
<tr>
<td class="pc_label_td"><?php _e("Display warning for hidden comment blocks?", 'pc_ml'); ?></td>
@@ -637,7 +637,7 @@
<?php ($fdata['pg_use_remember_me']) ? $checked= 'checked="checked"' : $checked = ''; ?>
<input type="checkbox" name="pg_use_remember_me" value="1" <?php echo $checked; ?> class="ip_checks" />
</td>
- <td><span class="info"><?php _e('If checked, allow users to keep logged into the website', 'pc_ml'); ?></span></td>
+ <td><span class="info"><?php _e('If checked, allow users to remain logged into the website', 'pc_ml'); ?></span></td>
</tr>
<tr>
<td class="pc_label_td"><?php _e('Use first/last name in forms?', 'pc_ml'); ?></td>
@@ -1159,7 +1159,7 @@
<h3><?php _e("Restricted Content Message", 'pc_ml'); ?></h3>
<table class="widefat pc_table">
<tr>
- <td class="pc_label_td"><?php _e("Default message for unlogged users", 'pc_ml'); ?></td>
+ <td class="pc_label_td"><?php _e("Default message for non logged in users", 'pc_ml'); ?></td>
<td class="pc_field_td">
<input type="text" name="pg_default_nl_mex" value="<?php echo pc_sanitize_input($fdata['pg_default_nl_mex']); ?>" maxlength="255" autocomplete="off" />
<p class="info"><?php _e('By default is "You must be logged in to view this content"', 'pc_ml'); ?></p>
@@ -1177,7 +1177,7 @@
<h3><?php _e("Restricted comments message", 'pc_ml'); ?></h3>
<table class="widefat pc_table">
<tr>
- <td class="pc_label_td"><?php _e("Custom message for unlogged users", 'pc_ml'); ?></td>
+ <td class="pc_label_td"><?php _e("Custom message for non logged in users", 'pc_ml'); ?></td>
<td class="pc_field_td">
<input type="text" name="pg_default_hc_mex" value="<?php echo pc_sanitize_input($fdata['pg_default_hc_mex']); ?>" maxlength="255" autocomplete="off" />
<p class="info"><?php _e('By default is "You must be logged in to post comments"', 'pc_ml'); ?></p>
@@ -1209,7 +1209,7 @@
<td class="pc_label_td"><?php _e("Default message for successful login", 'pc_ml'); ?></td>
<td class="pc_field_td">
<input type="text" name="pg_login_ok_mex" value="<?php echo pc_sanitize_input($fdata['pg_login_ok_mex']); ?>" maxlength="170" autocomplete="off" />
- <p class="info"><?php _e('By default is "Logged successfully, welcome!"', 'pc_ml'); ?></p>
+ <p class="info"><?php _e('By default is "Logged in successfully, welcome!"', 'pc_ml'); ?></p>
</td>
</tr>
<tr>
diff -Naur private-content.orig/shortcodes.php private-content/shortcodes.php
--- private-content.orig/shortcodes.php 2016-04-29 15:42:09.587388342 -0700
+++ private-content/shortcodes.php 2016-04-29 15:57:32.032192704 -0700
@@ -89,7 +89,7 @@
return $not_has_level_err;
}
else {
- // if has to be show to unlogged users return only custom message
+ // if has to be show to non logged in return only custom message
if($allow == 'unlogged') {
return (!empty($custom_message)) ? '<div class="pc_login_block"><p>'. $custom_message .'</p></div>' : '';
}
diff -Naur private-content.orig/tinymce_implementation.php private-content/tinymce_implementation.php
--- private-content.orig/tinymce_implementation.php 2016-04-29 15:42:09.580721732 -0700
+++ private-content/tinymce_implementation.php 2016-04-29 15:57:31.945526339 -0700
@@ -91,7 +91,7 @@
<select name="pc_sc_type" id="pc_sc_type" class="lcweb-chosen" data-placeholder="<?php _e('Select an option', 'pc_ml') ?> .." autocomplete="off">
<option value="some"><?php _e('Content visible by one or more user categories', 'pc_ml') ?></option>
<option value="all"><?php _e('Content visible by all the categories', 'pc_ml') ?></option>
- <option value="unlogged"><?php _e('Content visible by unlogged users', 'pc_ml') ?></option>
+ <option value="unlogged"><?php _e('Content visible by non logged in users', 'pc_ml') ?></option>
</select>
</td>
</tr>
diff -Naur private-content.orig/user_auth.php private-content/user_auth.php
--- private-content.orig/user_auth.php 2016-04-29 15:42:09.567388512 -0700
+++ private-content/user_auth.php 2016-04-29 15:57:31.792193539 -0700
@@ -103,7 +103,7 @@
// successfully logged
else {
- // redirect logged user to pvt page
+ // redirect logged in user to pvt page
if(get_option('pg_redirect_back_after_login') && isset($_SESSION['pc_last_restricted']) && filter_var($_SESSION['pc_last_restricted'], FILTER_VALIDATE_URL)) {
$redirect_url = $_SESSION['pc_last_restricted'];
}
@@ -152,7 +152,7 @@
////////////////////////////////////////////////////////////////
-// setup logged user id - check for login cookie if session doesn't exists
+// setup logged in user id - check for login cookie if session doesn't exists
function pc_cookie_check() {
if(!isset($GLOBALS['pc_user_id']) && isset($_COOKIE['pc_user']) && !isset($GLOBALS['pc_is_logging_out']) && !isset($_POST['pc_auth_username'])) {
global $wpdb, $pc_users;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment