Index: chrome/browser/resources/sync_setup_overlay.js |
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js |
index 9535ed1badc660dd46b50615ebc6de770ff9cda2..53d1e8d7cd2698abf3ec2d963b5995cc8289dc12 100644 |
--- a/chrome/browser/resources/sync_setup_overlay.js |
+++ b/chrome/browser/resources/sync_setup_overlay.js |
@@ -42,11 +42,9 @@ cr.define('options', function() { |
var translated_text = acct_text.textContent; |
var posGoogle = translated_text.indexOf('Google'); |
if (posGoogle != -1) { |
- var ltr = templateData['textdirection'] == 'ltr'; |
var googleIsAtEndOfSentence = posGoogle != 0; |
- if (googleIsAtEndOfSentence == ltr) { |
- // We're in ltr and in the translation the word 'Google' is AFTER the |
- // word 'Account' OR we're in rtl and 'Google' is BEFORE 'Account'. |
+ |
+ if (googleIsAtEndOfSentence) { |
var logo_td = $('gaia-logo'); |
logo_td.parentNode.appendChild(logo_td); |
} |