Index: chrome/browser/ui/browser_commands.cc |
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc |
index 54582710f9eeabe66591d594472edeb84fde23ee..07d498e465cf2cdb07c32690ea6c948c621fefbb 100644 |
--- a/chrome/browser/ui/browser_commands.cc |
+++ b/chrome/browser/ui/browser_commands.cc |
@@ -864,6 +864,8 @@ void Translate(Browser* browser) { |
if (chrome_translate_client) { |
if (chrome_translate_client->GetLanguageState().translation_pending()) |
step = translate::TRANSLATE_STEP_TRANSLATING; |
+ else if (chrome_translate_client->GetLanguageState().translation_error()) |
+ step = translate::TRANSLATE_STEP_TRANSLATE_ERROR; |
else if (chrome_translate_client->GetLanguageState().IsPageTranslated()) |
step = translate::TRANSLATE_STEP_AFTER_TRANSLATE; |
} |