39 'add_media' => _x( 'Add Video', 'label for button in the video widget' ), |
39 'add_media' => _x( 'Add Video', 'label for button in the video widget' ), |
40 'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), |
40 'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), |
41 'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), |
41 'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), |
42 'missing_attachment' => sprintf( |
42 'missing_attachment' => sprintf( |
43 /* translators: %s: URL to media library. */ |
43 /* translators: %s: URL to media library. */ |
44 __( 'We can’t find that video. Check your <a href="%s">media library</a> and make sure it wasn’t deleted.' ), |
44 __( 'That video cannot be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ), |
45 esc_url( admin_url( 'upload.php' ) ) |
45 esc_url( admin_url( 'upload.php' ) ) |
46 ), |
46 ), |
47 /* translators: %d: Widget count. */ |
47 /* translators: %d: Widget count. */ |
48 'media_library_state_multi' => _n_noop( 'Video Widget (%d)', 'Video Widget (%d)' ), |
48 'media_library_state_multi' => _n_noop( 'Video Widget (%d)', 'Video Widget (%d)' ), |
49 'media_library_state_single' => __( 'Video Widget' ), |
49 'media_library_state_single' => __( 'Video Widget' ), |
50 /* translators: %s: A list of valid video file extensions. */ |
50 /* translators: %s: A list of valid video file extensions. */ |
51 'unsupported_file_type' => sprintf( __( 'Sorry, we can’t load the video at the supplied URL. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ), |
51 'unsupported_file_type' => sprintf( __( 'Sorry, the video at the supplied URL cannot be loaded. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ), |
52 ) |
52 ) |
53 ); |
53 ); |
54 } |
54 } |
55 |
55 |
56 /** |
56 /** |