| @@ -13,10 +13,10 @@ | ||
| 13 | 13 | * @link http://wordpress.org/extend/plugins/user-access-manager/ |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | 16 | // --- Error Messages --- |
| 17 | -define('TXT_UAM_PHP_VERSION_TO_LOW', __('Sorry you need at least PHP version 7.2 to use the User Access Manager. Your current PHP version is %s. See <a href="https://github.com/GM-Alex/user-access-manager/wiki/Troubleshoot">https://github.com/GM-Alex/user-access-manager/wiki/Troubleshoot</a> for more information.', 'user-access-manager')); | |
| 18 | -define('TXT_UAM_WORDPRESS_VERSION_TO_LOW', __('Sorry you need at least WordPress version 3.0 to use the User Access Manager. Your current WordPress version is %s.', 'user-access-manager')); | |
| 17 | +define('TXT_UAM_PHP_VERSION_TO_LOW', __('Sorry you need at least PHP version 7.3 to use the User Access Manager. Your current PHP version is %s. See <a href="https://github.com/GM-Alex/user-access-manager/wiki/Troubleshoot">https://github.com/GM-Alex/user-access-manager/wiki/Troubleshoot</a> for more information.', 'user-access-manager')); | |
| 18 | +define('TXT_UAM_WORDPRESS_VERSION_TO_LOW', __('Sorry you need at least Wordpress version 3.0 to use the User Access Manager. Your current Wordpress version is %s.', 'user-access-manager')); | |
| 19 | 19 | /** @noinspection HtmlUnknownTarget */ |
| 20 | 20 | define('TXT_UAM_NEED_DATABASE_UPDATE', __('Please update the database of the User Access Manager. <a href="%s">Click here to proceed</a>', 'user-access-manager')); |
| 21 | 21 | define('TXT_UAM_ERROR', __('The following error occurred: %s', 'user-access-manager')); |
| 22 | 22 | |
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | define('TXT_UAM_DEFAULT_TITLE_DESC', __('Displayed text as title if user has no access', 'user-access-manager')); |
| 44 | 44 | define('TXT_UAM_HIDE_DEFAULT_TITLE', __('Hide title', 'user-access-manager')); |
| 45 | 45 | define('TXT_UAM_HIDE_DEFAULT_TITLE_DESC', __('Selecting "Yes" will show the text which is defined at "Title" if user has no access.', 'user-access-manager')); |
| 46 | 46 | define('TXT_UAM_DEFAULT_CONTENT', __('Content', 'user-access-manager')); |
| 47 | -define('TXT_UAM_DEFAULT_CONTENT_DESC', __('Content displayed if user has no access. You can add a login-form by adding the keyword <strong>[LOGIN_FORM]</strong>. This form will be shown on single %s, otherwise a link will be shown.', 'user-access-manager')); | |
| 47 | +define('TXT_UAM_DEFAULT_CONTENT_DESC', __('Content displayed if user has no access. You can add an login-form by adding the keyword <strong>[LOGIN_FORM]</strong>. This form will shown on single %s, otherwise a link will shown.', 'user-access-manager')); | |
| 48 | 48 | define('TXT_UAM_HIDE_DEFAULT', __('Hide complete', 'user-access-manager')); |
| 49 | 49 | define('TXT_UAM_HIDE_DEFAULT_DESC', __('Selecting "Yes" will hide %s if the user has no access.', 'user-access-manager')); |
| 50 | 50 | define('TXT_UAM_DEFAULT_COMMENT_CONTENT', __('Comment text', 'user-access-manager')); |
| 51 | 51 | define('TXT_UAM_DEFAULT_COMMENT_CONTENT_DESC', __('Displayed text as comment text if user has no access', 'user-access-manager')); |
| @@ -53,9 +53,9 @@ | ||
| 53 | 53 | define('TXT_UAM_HIDE_DEFAULT_COMMENT_DESC', __('Selecting "Yes" will show the text which is defined at "%s comment text" if user has no access.', 'user-access-manager')); |
| 54 | 54 | define('TXT_UAM_DEFAULT_COMMENTS_LOCKED', __('Lock comments', 'user-access-manager')); |
| 55 | 55 | define('TXT_UAM_DEFAULT_COMMENTS_LOCKED_DESC', __('Selecting "yes" allows users to comment even if the content is locked', 'user-access-manager')); |
| 56 | 56 | define('TXT_UAM_SHOW_DEFAULT_CONTENT_BEFORE_MORE', __('Show content before <!--more--> tag', 'user-access-manager')); |
| 57 | -define('TXT_UAM_SHOW_DEFAULT_CONTENT_BEFORE_MORE_DESC', __('Shows the content before the <!--more--> tag and after that the defined text at "%s content". If no <!--more--> is set the defined text at "%s content" will be shown.', 'user-access-manager')); //TODO | |
| 57 | +define('TXT_UAM_SHOW_DEFAULT_CONTENT_BEFORE_MORE_DESC', __('Shows the content before the <!--more--> tag and after that the defined text at "%s content". If no <!--more--> is set the defined text at "%s content" will shown.', 'user-access-manager')); //TODO | |
| 58 | 58 | define('TXT_UAM_OBJECT_USE_DEFAULT', __('Use default settings for %s', 'user-access-manager')); |
| 59 | 59 | define('TXT_UAM_OBJECT_USE_DEFAULT_DESC', __('If selected the settings form the default type will be used.', 'user-access-manager')); |
| 60 | 60 | define('TXT_UAM_OBJECT_SETTING', __('%s settings', 'user-access-manager')); |
| 61 | 61 | define('TXT_UAM_OBJECT_SETTING_DESC', __('Set up the behaviour if the %s is locked', 'user-access-manager')); |
| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | define('TXT_UAM_OBJECT_TITLE_DESC', __('Displayed text as %s title if user has no access', 'user-access-manager')); |
| 64 | 64 | define('TXT_UAM_HIDE_OBJECT_TITLE', __('Hide %s title', 'user-access-manager')); |
| 65 | 65 | define('TXT_UAM_HIDE_OBJECT_TITLE_DESC', __('Selecting "Yes" will show the text which is defined at "%s title" if user has no access.', 'user-access-manager')); |
| 66 | 66 | define('TXT_UAM_OBJECT_CONTENT', __('%s content', 'user-access-manager')); |
| 67 | -define('TXT_UAM_OBJECT_CONTENT_DESC', __('Content displayed if user has no access. You can add a login-form by adding the keyword <strong>[LOGIN_FORM]</strong>. This form will be shown on single %s, otherwise a link will be shown.', 'user-access-manager')); | |
| 67 | +define('TXT_UAM_OBJECT_CONTENT_DESC', __('Content displayed if user has no access. You can add an login-form by adding the keyword <strong>[LOGIN_FORM]</strong>. This form will shown on single %s, otherwise a link will shown.', 'user-access-manager')); | |
| 68 | 68 | define('TXT_UAM_HIDE_OBJECT', __('Hide complete %s', 'user-access-manager')); |
| 69 | 69 | define('TXT_UAM_HIDE_OBJECT_DESC', __('Selecting "Yes" will hide %s if the user has no access.', 'user-access-manager')); |
| 70 | 70 | define('TXT_UAM_OBJECT_COMMENT_CONTENT', __('%s comment text', 'user-access-manager')); |
| 71 | 71 | define('TXT_UAM_OBJECT_COMMENT_CONTENT_DESC', __('Displayed text as %s comment text if user has no access', 'user-access-manager')); |
| @@ -89,10 +89,10 @@ | ||
| 89 | 89 | define('TXT_UAM_CUSTOM_FILE_HANDLING_FILE', __('Custom file handling file', 'user-access-manager')); |
| 90 | 90 | define('TXT_UAM_CUSTOM_FILE_HANDLING_FILE_DESC', __('Edit this content if you are using the custom file handling file setting.', 'user-access-manager')); |
| 91 | 91 | define('TXT_UAM_LOCK_FILE_DESC', __('If you select "Yes" all files will locked by a .htaccess file and only users with access can download files. <br/><strong style="color:red;">Note: If you activate this option the plugin will overwrite a \'.htaccess\' file at the upload folder, if you use already one to protect your files. Also if you have no permalinks activated your upload dir will protect by a \'.htaccess\' with a random password and all old media files insert in a previous post/page will not work anymore. You have to update your posts/pages (not necessary if you have permalinks activated).</strong>', 'user-access-manager')); |
| 92 | 92 | define('TXT_UAM_LOCKED_DIRECTORY_TYPE', __('Locked directory type', 'user-access-manager')); |
| 93 | -define('TXT_UAM_LOCKED_DIRECTORY_TYPE_DESC', __('"WordPress" will only lock files handled by the WordPress media manager (recommended), "All" will lock all files at the upload directory, "Custom" will use a custom string.', 'user-access-manager')); | |
| 94 | -define('TXT_UAM_LOCKED_DIRECTORY_TYPE_WORDPRESS', __('WordPress', 'user-access-manager')); | |
| 93 | +define('TXT_UAM_LOCKED_DIRECTORY_TYPE_DESC', __('"Wordpress" will only lock files handled by the wordpress media manager (recommended), "All" will lock all files at the upload directory, "Custom" will use a custom string.', 'user-access-manager')); | |
| 94 | +define('TXT_UAM_LOCKED_DIRECTORY_TYPE_WORDPRESS', __('Wordpress', 'user-access-manager')); | |
| 95 | 95 | define('TXT_UAM_LOCKED_DIRECTORY_TYPE_ALL', __('All', 'user-access-manager')); |
| 96 | 96 | define('TXT_UAM_LOCKED_DIRECTORY_TYPE_CUSTOM', __('Custom', 'user-access-manager')); |
| 97 | 97 | define('TXT_UAM_LOCK_FILE_TYPES', __('Locked file types', 'user-access-manager')); |
| 98 | 98 | define('TXT_UAM_LOCK_FILE_TYPES_DESC', __('Lock all files, type in file types which you will lock if the post/page is locked or define file types which will not be locked. <strong>Note:</strong> If you have no problems use all to get the maximum security.', 'user-access-manager')); |
| @@ -109,9 +109,8 @@ | ||
| 109 | 109 | define('TXT_UAM_INLINE_FILES_DESC', __('These files (comma separated) will be shown within the browser window and not downloaded (images are always inline).', 'user-access-manager')); |
| 110 | 110 | define('TXT_UAM_DOWNLOAD_TYPE_NORMAL', __('Normal', 'user-access-manager')); |
| 111 | 111 | define('TXT_UAM_DOWNLOAD_TYPE_FOPEN', __('fopen', 'user-access-manager')); |
| 112 | 112 | define('TXT_UAM_DOWNLOAD_TYPE_XSENDFILE', __('XSendfile', 'user-access-manager')); |
| 113 | -define('TXT_UAM_DOWNLOAD_TYPE_XACCELREDIRECT', __('X-Accel-Redirect', 'user-access-manager')); | |
| 114 | 113 | |
| 115 | 114 | // --- Setting Page -> editor settings --- |
| 116 | 115 | define('TXT_UAM_AUTHOR_SETTING', __('Authors settings', 'user-access-manager')); |
| 117 | 116 | define('TXT_UAM_AUTHOR_SETTING_DESC', __('Here you will find the settings for authors', 'user-access-manager')); |
| @@ -150,14 +149,8 @@ | ||
| 150 | 149 | define('TXT_UAM_FS_CACHE_METHOD_SERIALIZE', __('PHP serialize', 'user-access-manager')); |
| 151 | 150 | define('TXT_UAM_FS_CACHE_METHOD_IGBINARY', __('PHP igbinary (igbinary required)', 'user-access-manager')); |
| 152 | 151 | define('TXT_UAM_FS_CACHE_METHOD_JSON', __('Json', 'user-access-manager')); |
| 153 | 152 | define('TXT_UAM_FS_CACHE_METHOD_VAR_EXPORT', __('PHP var_export', 'user-access-manager')); |
| 154 | -define('TXT_UAM_REDISCACHEPROVIDER_SETTING', __('Redis cache', 'user-access-manager')); | |
| 155 | -define('TXT_UAM_REDISCACHEPROVIDER_SETTING_DESC', __('This cache uses the WordPress object cache API with a persistent Redis backend.', 'user-access-manager')); | |
| 156 | -define('TXT_UAM_REDIS_PREFIX', __('Key prefix', 'user-access-manager')); | |
| 157 | -define('TXT_UAM_REDIS_PREFIX_DESC', __('Prefix added to every cache key to avoid collisions with other plugins.', 'user-access-manager')); | |
| 158 | -define('TXT_UAM_REDIS_TTL', __('TTL (seconds)', 'user-access-manager')); | |
| 159 | -define('TXT_UAM_REDIS_TTL_DESC', __('Cache entry expiration time in seconds. Use 0 for no expiration.', 'user-access-manager')); | |
| 160 | 153 | |
| 161 | 154 | // --- Setting Page -> other settings --- |
| 162 | 155 | define('TXT_UAM_OTHER_SETTING', __('Other settings', 'user-access-manager')); |
| 163 | 156 | define('TXT_UAM_OTHER_SETTING_DESC', __('Here you will find all other settings', 'user-access-manager')); |
| @@ -173,15 +166,13 @@ | ||
| 173 | 166 | define('TXT_UAM_LOCK_RECURSIVE_DESC', __('Selecting "Yes" will lock all child posts/pages of a post/page if a user has no access to the parent page. Note: Setting this option to "No" could result in display errors relating to the hierarchy.', 'user-access-manager')); |
| 174 | 167 | define('TXT_UAM_BLOG_ADMIN_HINT_TEXT', __('Admin hint text', 'user-access-manager')); |
| 175 | 168 | define('TXT_UAM_BLOG_ADMIN_HINT_TEXT_DESC', __('The text which will shown behind the post/page.', 'user-access-manager')); |
| 176 | 169 | define('TXT_UAM_BLOG_ADMIN_HINT', __('Show admin hint at Posts', 'user-access-manager')); |
| 177 | -define('TXT_UAM_BLOG_ADMIN_HINT_DESC', sprintf(__('Selecting "Yes" will show the defined text at "%s" behind the post/page to a logged in admin to show him which posts/pages are locked if he visits his blog.', 'user-access-manager'), TXT_UAM_BLOG_ADMIN_HINT_TEXT)); | |
| 170 | +define('TXT_UAM_BLOG_ADMIN_HINT_DESC', sprintf(__('Selecting "Yes" will show the defined text at "%s" behind the post/page to an logged in admin to show him which posts/pages are locked if he visits his blog.', 'user-access-manager'), TXT_UAM_BLOG_ADMIN_HINT_TEXT)); | |
| 178 | 171 | define('TXT_UAM_SHOW_ASSIGNED_GROUPS', __('Show assigned groups', 'user-access-manager')); |
| 179 | 172 | define('TXT_UAM_SHOW_ASSIGNED_GROUPS_DESC', __('Show assigned groups next to the edit link', 'user-access-manager')); |
| 180 | 173 | define('TXT_UAM_HIDE_EDIT_LINK_ON_NO_ACCESS', __('Hide edit link on no access', 'user-access-manager')); |
| 181 | 174 | define('TXT_UAM_HIDE_EDIT_LINK_ON_NO_ACCESS_DESC', __('Hides the edit link if the user has no write access.', 'user-access-manager')); |
| 182 | -define('TXT_UAM_EXTRA_IP_HEADER', __('Extra IP header', 'user-access-manager')); | |
| 183 | -define('TXT_UAM_EXTRA_IP_HEADER_DESC', __('Use this header for the user IP address if you are using a proxy. A valid value is for example HTTP_X_REAL_IP.', 'user-access-manager')); | |
| 184 | 175 | |
| 185 | 176 | // --- Setting Page -> default values --- |
| 186 | 177 | define('TXT_UAM_SETTING_DEFAULT_NO_RIGHTS', __('No rights!', 'user-access-manager')); |
| 187 | 178 | define('TXT_UAM_SETTING_DEFAULT_NO_RIGHTS_FOR_ENTRY', __('Sorry you have no rights to view this entry!', 'user-access-manager')); |