Changeset 12588 for trunk/src/bp-core/bp-core-attachments.php
- Timestamp:
- 03/28/2020 01:35:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r12572 r12588 641 641 array( 642 642 'queue_limit_exceeded' => __( 'You have attempted to queue too many files.', 'buddypress' ), 643 644 /* translators: %s: File name. */ 643 645 'file_exceeds_size_limit' => __( '%s exceeds the maximum upload size for this site.', 'buddypress' ), 644 646 'zero_byte_file' => __( 'This file is empty. Please try another.', 'buddypress' ), … … 652 654 'http_error' => __( 'HTTP error.', 'buddypress' ), 653 655 'upload_failed' => __( 'Upload failed.', 'buddypress' ), 656 657 /* translators: 1: Opening link tag, 2: Closing link tag. */ 654 658 'big_upload_failed' => __( 'Please try uploading this file with the %1$sbrowser uploader%2$s.', 'buddypress' ), 659 660 /* translators: %s: File name. */ 655 661 'big_upload_queued' => __( '%s exceeds the maximum upload size for the multi-file uploader when used in your browser.', 'buddypress' ), 656 662 'io_error' => __( 'IO error.', 'buddypress' ), … … 661 667 'crunching' => __( 'Crunching…', 'buddypress' ), 662 668 'unique_file_warning' => __( 'Make sure to upload a unique file', 'buddypress' ), 669 670 /* translators: %s: File name. */ 663 671 'error_uploading' => __( '“%s” has failed to upload.', 'buddypress' ), 664 672 'has_avatar_warning' => __( 'If you'd like to delete the existing profile photo but not upload a new one, please use the delete tab.', 'buddypress' ) … … 831 839 $strings['cover_image_warnings'] = apply_filters( 'bp_attachments_cover_image_ui_warnings', array( 832 840 'dimensions' => sprintf( 833 __( 'For better results, make sure to upload an image that is larger than %1$spx wide, and %2$spx tall.', 'buddypress' ), 834 (int) $cover_dimensions['width'], 835 (int) $cover_dimensions['height'] 836 ), 841 /* translators: 1: the advised width size in pixels. 2: the advised height size in pixels. */ 842 __( 'For better results, make sure to upload an image that is larger than %1$spx wide, and %2$spx tall.', 'buddypress' ), 843 (int) $cover_dimensions['width'], 844 (int) $cover_dimensions['height'] 845 ), 837 846 ) ); 838 847 } … … 1354 1363 bp_attachments_json_response( false, $is_html4, array( 1355 1364 'type' => 'upload_error', 1356 'message' => sprintf( __( 'Upload Failed! Error was: %s', 'buddypress' ), $uploaded['error'] ), 1365 'message' => sprintf( 1366 /* translators: %s: the upload error message */ 1367 __( 'Upload Failed! Error was: %s', 'buddypress' ), 1368 $uploaded['error'] 1369 ), 1357 1370 ) ); 1358 1371 }
Note: See TracChangeset
for help on using the changeset viewer.