Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: ios/chrome/browser/translate/never_translate_infobar_controller.mm

Issue 1585923007: Fix placeholder numbering in iOS specific strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/app/strings/ios_google_chrome_strings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/translate/never_translate_infobar_controller.mm
diff --git a/ios/chrome/browser/translate/never_translate_infobar_controller.mm b/ios/chrome/browser/translate/never_translate_infobar_controller.mm
index 0758dd0673fda896ca200ef64a308fc00624d85f..0eefa07de6ec34fee435c527117a59609f75d86a 100644
--- a/ios/chrome/browser/translate/never_translate_infobar_controller.mm
+++ b/ios/chrome/browser/translate/never_translate_infobar_controller.mm
@@ -9,6 +9,8 @@
#include "components/translate/core/browser/translate_infobar_delegate.h"
#include "grit/components_strings.h"
#include "ios/chrome/browser/translate/translate_infobar_tags.h"
+#include "ios/chrome/grit/ios_chromium_strings.h"
+#include "ios/chrome/grit/ios_google_chrome_strings.h"
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#import "ios/public/provider/chrome/browser/ui/infobar_view_delegate.h"
#import "ios/public/provider/chrome/browser/ui/infobar_view_protocol.h"
@@ -42,9 +44,9 @@
// Main text.
base::string16 originalLanguage =
translateInfoBarDelegate->original_language_name();
- [infoBarView addLabel:l10n_util::GetNSStringF(
- IDS_TRANSLATE_INFOBAR_NEVER_MESSAGE_IOS,
- originalLanguage)];
+ [infoBarView
+ addLabel:l10n_util::GetNSStringF(IDS_IOS_TRANSLATE_INFOBAR_NEVER_MESSAGE,
+ originalLanguage)];
// Close button.
[infoBarView addCloseButtonWithTag:TranslateInfoBarIOSTag::CLOSE
target:self
« no previous file with comments | « ios/chrome/app/strings/ios_google_chrome_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698