Index: components/translate/core/browser/translate_infobar_delegate.cc |
diff --git a/components/translate/core/browser/translate_infobar_delegate.cc b/components/translate/core/browser/translate_infobar_delegate.cc |
index cb32c684ddd1bc393344f6b502f3b3e7c22abfd9..5a29f34f0785113401a5a6361081fef16094846c 100644 |
--- a/components/translate/core/browser/translate_infobar_delegate.cc |
+++ b/components/translate/core/browser/translate_infobar_delegate.cc |
@@ -228,6 +228,10 @@ base::string16 TranslateInfoBarDelegate::GetMessageInfoBarText() { |
IDS_TRANSLATE_INFOBAR_ERROR_CANT_CONNECT); |
case TranslateErrors::INITIALIZATION_ERROR: |
case TranslateErrors::TRANSLATION_ERROR: |
+ case TranslateErrors::TRANSLATION_TIMEOUT: |
+ case TranslateErrors::UNEXPECTED_SCRIPT_ERROR: |
+ case TranslateErrors::BAD_ORIGIN: |
+ case TranslateErrors::SCRIPT_LOAD_ERROR: |
return l10n_util::GetStringUTF16( |
IDS_TRANSLATE_INFOBAR_ERROR_CANT_TRANSLATE); |
case TranslateErrors::UNKNOWN_LANGUAGE: |