-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0001-prefs-disable-translation-service.patch
30 lines (27 loc) · 1.37 KB
/
0001-prefs-disable-translation-service.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 253c4fc71b5c2e928174aa41daa74cbd332f6dc1 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
Date: Thu, 30 Oct 2014 22:04:24 +0100
Subject: [PATCH] prefs: disable translation service
When translation is enabled, the translation manager will request a
list of supported languages from translate.googleapis.com.
As it is Google, we do not want that, at least not without more
explicit user action. One should visit http://translate.google.com/
instead to request translations via Google.
---
chrome/browser/ui/browser_ui_prefs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index e713f7e3fac5..545f7bf20c5d 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -59,7 +59,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(prefs::kWebAppCreateInAppsMenu, true);
registry->RegisterBooleanPref(prefs::kWebAppCreateInQuickLaunchBar, true);
registry->RegisterBooleanPref(
- prefs::kOfferTranslateEnabled, true,
+ prefs::kOfferTranslateEnabled, false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterStringPref(prefs::kCloudPrintEmail, std::string());
registry->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled, true);
--
2.14.3