Translation of plugin Upload button

Use esc_attr__() to translate and escape strings for HTML attributes:

$button_text = esc_attr__( 'Upload an image', 'your_text_domain' );

echo "<input type="button" class="button button-upload" value="$button_text" />";