← All changes
|
includes/features/bbpc_attachments/code/defaults.php
+8
-13
1.4.1
→
2.2.0
View file →
| @@ -3,19 +3,14 @@ | ||
| 3 | 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | 4 | exit; |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -// TODO: We need to get rid of these things | |
| 8 | -class GDATTDefaults { | |
| 9 | - | |
| 10 | -} | |
| 11 | - | |
| 12 | 7 | $bbpc_upload_error_messages = [ |
| 13 | - __( 'File exceeds allowed file size.', 'bbp-core' ), | |
| 14 | - __( 'File not uploaded.', 'bbp-core' ), | |
| 15 | - __( 'Upload file size exceeds PHP maximum file size allowed.', 'bbp-core' ), | |
| 16 | - __( 'Upload file size exceeds FORM specified file size.', 'bbp-core' ), | |
| 17 | - __( 'Upload file only partially uploaded.', 'bbp-core' ), | |
| 18 | - __( "Can't write file to the disk.", 'bbp-core' ), | |
| 19 | - __( 'Temporary folder for upload is missing.', 'bbp-core' ), | |
| 20 | - __( 'Server extension restriction stopped upload.', 'bbp-core' ), | |
| 8 | + __( 'File exceeds allowed file size.', 'forumax' ), | |
| 9 | + __( 'File not uploaded.', 'forumax' ), | |
| 10 | + __( 'Upload file size exceeds PHP maximum file size allowed.', 'forumax' ), | |
| 11 | + __( 'Upload file size exceeds FORM specified file size.', 'forumax' ), | |
| 12 | + __( 'Upload file only partially uploaded.', 'forumax' ), | |
| 13 | + __( "Can't write file to the disk.", 'forumax' ), | |
| 14 | + __( 'Temporary folder for upload is missing.', 'forumax' ), | |
| 15 | + __( 'Server extension restriction stopped upload.', 'forumax' ), | |
| 21 | 16 | ]; |