'#description'=>t('Whether to use the cookie to automatically translate all the pages on your site after a user has translated one. Set to false to only translate single page.'),
'#description'=>t('The language your blog is written in. Set to <em>Unknown</em> if using multiple languages (and the Google Language API will determine the from language automatically). However if your site is in a single language you can get a slight performance gain by setting this.'),
'#description'=>t('Whether to use the default set of languages in the dropdown. Unchecking this brings up checkboxes you can use to select any of the 52 languages supported by the TranslateThis Button.'),
'#description'=>t('Use a custom image for the translation button by putting the path here. Leaving this blank displays the string <em>Translate</em> instead.'),
$form_state->setErrorByName('translate_this_button_height',t('If you specify an alternate image path, please also specify a height.'));
}
}
else{
$form_state->setErrorByName('translate_this_alternate_button_image_path',t('This is not a valid image. Please make sure you have entered the correct URL.'));
}
}
else{
$form_state->setErrorByName('translate_this_alternate_button_image_path',t('The file could not be found. Please make sure you have entered the correct URL.'));