| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | CSF::createSection( |
| 4 | 4 | $prefix, |
| 5 | 5 | [ |
| 6 | - 'title' => __( 'Attachments', 'bbp-core' ), | |
| 6 | + 'title' => __( 'Attachments', 'forumax' ), | |
| 7 | 7 | 'icon' => 'dashicons dashicons-media-default', |
| 8 | 8 | 'fields' => [ |
| 9 | 9 | [ |
| 10 | 10 | 'id' => 'is_attachment', |
| @@ -9,16 +9,16 @@ | ||
| 9 | 9 | [ |
| 10 | 10 | 'id' => 'is_attachment', |
| 11 | 11 | 'type' => 'switcher', |
| 12 | 12 | 'default' => true, |
| 13 | - 'title' => __( 'Show attachments on topic replies.', 'bbp-core' ), | |
| 13 | + 'title' => __( 'Show attachments on topic replies.', 'forumax' ), | |
| 14 | 14 | ], |
| 15 | 15 | |
| 16 | 16 | [ |
| 17 | 17 | 'id' => 'max_file_size', |
| 18 | 18 | 'type' => 'number', |
| 19 | - 'title' => _x( 'Maximum File Size', 'bbp core maximum file size upload', 'bbp-core' ), | |
| 20 | - 'subtitle' => __( 'Input the values in Kilo Bytes (KB)', 'bbp-core' ), | |
| 19 | + 'title' => _x( 'Maximum File Size', 'forumax maximum file size upload', 'forumax' ), | |
| 20 | + 'subtitle' => __( 'Input the values in Kilo Bytes (KB)', 'forumax' ), | |
| 21 | 21 | 'default' => 512, |
| 22 | 22 | 'unit' => 'KB', |
| 23 | 23 | 'class' => 'st-pro-notice', |
| 24 | 24 | ], |
| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | |
| 26 | 26 | [ |
| 27 | 27 | 'id' => 'max_file_uploads', |
| 28 | 28 | 'type' => 'number', |
| 29 | - 'title' => _x( 'Maximum number of file to upload at once', 'bbp core maximum file size upload', 'bbp-core' ), | |
| 29 | + 'title' => _x( 'Maximum number of file to upload at once', 'forumax maximum file size upload', 'forumax' ), | |
| 30 | 30 | 'default' => 4, |
| 31 | 31 | 'class' => 'st-pro-notice', |
| 32 | 32 | ], |
| 33 | 33 | |
| @@ -34,29 +34,29 @@ | ||
| 34 | 34 | [ |
| 35 | 35 | 'id' => 'is_hide_attachment', |
| 36 | 36 | 'type' => 'switcher', |
| 37 | 37 | 'default' => true, |
| 38 | - 'title' => __( 'Hide Attachment from visitors', 'bbp-core' ), | |
| 39 | - 'text_on' => __( 'Hide', 'bbp-core' ), | |
| 40 | - 'text_off' => __( 'Show', 'bbp-core' ), | |
| 38 | + 'title' => __( 'Hide Attachment from visitors', 'forumax' ), | |
| 39 | + 'text_on' => __( 'Hide', 'forumax' ), | |
| 40 | + 'text_off' => __( 'Show', 'forumax' ), | |
| 41 | 41 | 'text_width' => 85 |
| 42 | 42 | ], |
| 43 | 43 | |
| 44 | 44 | [ |
| 45 | 45 | 'type' => 'subheading', |
| 46 | - 'content' => __( 'Who can upload files ', 'bbp-core' ), | |
| 46 | + 'content' => __( 'Who can upload files ', 'forumax' ), | |
| 47 | 47 | ], |
| 48 | 48 | |
| 49 | 49 | [ |
| 50 | 50 | 'id' => 'users_can_upload', |
| 51 | 51 | 'type' => 'checkbox', |
| 52 | - 'title' => __( 'Users who can upload attachments.', 'bbp-core' ), | |
| 52 | + 'title' => __( 'Users who can upload attachments.', 'forumax' ), | |
| 53 | 53 | 'options' => [ |
| 54 | - 'keymaster' => __( 'Keymaster', 'bbp-core' ), | |
| 55 | - 'moderator' => __( 'Moderator', 'bbp-core' ), | |
| 56 | - 'participant' => __( 'Participant', 'bbp-core' ), | |
| 57 | - 'spectator' => __( 'Spectator', 'bbp-core' ), | |
| 58 | - 'blocked' => __( 'Blocked', 'bbp-core' ), | |
| 54 | + 'keymaster' => __( 'Keymaster', 'forumax' ), | |
| 55 | + 'moderator' => __( 'Moderator', 'forumax' ), | |
| 56 | + 'participant' => __( 'Participant', 'forumax' ), | |
| 57 | + 'spectator' => __( 'Spectator', 'forumax' ), | |
| 58 | + 'blocked' => __( 'Blocked', 'forumax' ), | |
| 59 | 59 | ], |
| 60 | 60 | 'default' => [ 'keymaster', 'moderator', 'participant', 'spectator', 'blocked' ], |
| 61 | 61 | ], |
| 62 | 62 | |
| @@ -61,9 +61,9 @@ | ||
| 61 | 61 | ], |
| 62 | 62 | |
| 63 | 63 | [ |
| 64 | 64 | 'type' => 'subheading', |
| 65 | - 'content' => __( 'When an associated Topic or Reply has been deleted', 'bbp-core' ), | |
| 65 | + 'content' => __( 'When an associated Topic or Reply has been deleted', 'forumax' ), | |
| 66 | 66 | ], |
| 67 | 67 | |
| 68 | 68 | [ |
| 69 | 69 | 'id' => 'is_attachment_deletion', |
| @@ -68,26 +68,26 @@ | ||
| 68 | 68 | [ |
| 69 | 69 | 'id' => 'is_attachment_deletion', |
| 70 | 70 | 'type' => 'switcher', |
| 71 | 71 | 'default' => false, |
| 72 | - 'title' => __( 'Delete the attachment along with forum/topic.', 'bbp-core' ), | |
| 72 | + 'title' => __( 'Delete the attachment along with forum/topic.', 'forumax' ), | |
| 73 | 73 | 'class' => 'st-pro-notice', |
| 74 | 74 | ], |
| 75 | 75 | |
| 76 | 76 | [ |
| 77 | 77 | 'type' => 'subheading', |
| 78 | - 'content' => __( 'Forums integration', 'bbp-core' ), | |
| 78 | + 'content' => __( 'Forums integration', 'forumax' ), | |
| 79 | 79 | ], |
| 80 | 80 | |
| 81 | 81 | [ |
| 82 | 82 | 'type' => 'content', |
| 83 | - 'content' => __( 'With these options you can modify the forums to include attachment elements.', 'bbp-core' ), | |
| 83 | + 'content' => __( 'With these options you can modify the forums to include attachment elements.', 'forumax' ), | |
| 84 | 84 | ], |
| 85 | 85 | |
| 86 | 86 | [ |
| 87 | 87 | 'id' => 'is_attachment_icon', |
| 88 | 88 | 'type' => 'switcher', |
| 89 | - 'title' => __( 'Attachment Icon', 'bbp-core' ), | |
| 89 | + 'title' => __( 'Attachment Icon', 'forumax' ), | |
| 90 | 90 | 'default' => true, |
| 91 | 91 | ], |
| 92 | 92 | |
| 93 | 93 | [ |
| @@ -92,26 +92,26 @@ | ||
| 92 | 92 | |
| 93 | 93 | [ |
| 94 | 94 | 'id' => 'is_file_type_icon', |
| 95 | 95 | 'type' => 'switcher', |
| 96 | - 'title' => __( 'File type Icons', 'bbp-core' ), | |
| 96 | + 'title' => __( 'File type Icons', 'forumax' ), | |
| 97 | 97 | 'default' => true, |
| 98 | 98 | ], |
| 99 | 99 | |
| 100 | 100 | [ |
| 101 | 101 | 'type' => 'subheading', |
| 102 | - 'content' => __( 'Display of image attachments', 'bbp-core' ), | |
| 102 | + 'content' => __( 'Display of image attachments', 'forumax' ), | |
| 103 | 103 | ], |
| 104 | 104 | |
| 105 | 105 | [ |
| 106 | 106 | 'type' => 'content', |
| 107 | - 'content' => __( 'Attached images can be displayed as thumbnails, and from here you can control this.', 'bbp-core' ), | |
| 107 | + 'content' => __( 'Attached images can be displayed as thumbnails, and from here you can control this.', 'forumax' ), | |
| 108 | 108 | ], |
| 109 | 109 | |
| 110 | 110 | [ |
| 111 | 111 | 'id' => 'image_thumbnail_caption', |
| 112 | 112 | 'type' => 'switcher', |
| 113 | - 'title' => __( 'With Caption', 'bbp-core' ), | |
| 113 | + 'title' => __( 'With Caption', 'forumax' ), | |
| 114 | 114 | 'default' => true, |
| 115 | 115 | ], |
| 116 | 116 | |
| 117 | 117 | [ |
| @@ -116,12 +116,12 @@ | ||
| 116 | 116 | |
| 117 | 117 | [ |
| 118 | 118 | 'id' => 'image_link_type', |
| 119 | 119 | 'type' => 'select', |
| 120 | - 'title' => __( 'Image Link Type', 'bbp-core' ), | |
| 120 | + 'title' => __( 'Image Link Type', 'forumax' ), | |
| 121 | 121 | 'options' => [ |
| 122 | - 'download' => __( 'Download', 'bbp-core' ), | |
| 123 | - 'lightbox' => __( 'Lightbox', 'bbp-core' ), | |
| 122 | + 'download' => __( 'Download', 'forumax' ), | |
| 123 | + 'lightbox' => __( 'Lightbox', 'forumax' ), | |
| 124 | 124 | ], |
| 125 | 125 | 'default' => 'download', |
| 126 | 126 | 'class' => 'st-pro-notice', |
| 127 | 127 | 'chosen' => true |
| @@ -128,20 +128,20 @@ | ||
| 128 | 128 | ], |
| 129 | 129 | |
| 130 | 130 | [ |
| 131 | 131 | 'type' => 'subheading', |
| 132 | - 'content' => __( 'Image thumbnails size', 'bbp-core' ), | |
| 132 | + 'content' => __( 'Image thumbnails size', 'forumax' ), | |
| 133 | 133 | ], |
| 134 | 134 | |
| 135 | 135 | [ |
| 136 | 136 | 'type' => 'content', |
| 137 | - 'content' => __( 'Changing thumbnails size affects only new image attachments. To use new size for old attachments, resize them using Regenerate Thumbnails plugin.', 'bbp-core' ), | |
| 137 | + 'content' => __( 'Changing thumbnails size affects only new image attachments. To use new size for old attachments, resize them using Regenerate Thumbnails plugin.', 'forumax' ), | |
| 138 | 138 | ], |
| 139 | 139 | |
| 140 | 140 | [ |
| 141 | 141 | 'id' => 'attachment_image_x', |
| 142 | 142 | 'type' => 'number', |
| 143 | - 'title' => __( 'Thumbnail width', 'bbp-core' ), | |
| 143 | + 'title' => __( 'Thumbnail width', 'forumax' ), | |
| 144 | 144 | 'unit' => 'px', |
| 145 | 145 | ], |
| 146 | 146 | |
| 147 | 147 | [ |
| @@ -146,9 +146,9 @@ | ||
| 146 | 146 | |
| 147 | 147 | [ |
| 148 | 148 | 'id' => 'attachment_image_y', |
| 149 | 149 | 'type' => 'number', |
| 150 | - 'title' => __( 'Thumbnail height', 'bbp-core' ), | |
| 150 | + 'title' => __( 'Thumbnail height', 'forumax' ), | |
| 151 | 151 | 'unit' => 'px', |
| 152 | 152 | ], |
| 153 | 153 | ], |
| 154 | 154 | ] |