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

Unified Diff: chrome/android/java/res/xml/translate_preferences.xml

Issue 1894913002: Android: turn on auto-detect encoding by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 4 years, 5 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
Index: chrome/android/java/res/xml/translate_preferences.xml
diff --git a/chrome/android/java/res/xml/contextual_search_preferences.xml b/chrome/android/java/res/xml/translate_preferences.xml
similarity index 63%
copy from chrome/android/java/res/xml/contextual_search_preferences.xml
copy to chrome/android/java/res/xml/translate_preferences.xml
index 2478b1c27cb122f3ff152cfa0620851d9f459157..76fa526b6e8578e871609b0aa6c3aac347991a18 100644
--- a/chrome/android/java/res/xml/contextual_search_preferences.xml
+++ b/chrome/android/java/res/xml/translate_preferences.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+<!-- Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
@@ -8,12 +8,16 @@
xmlns:chrome="http://schemas.android.com/apk/res-auto">
<org.chromium.chrome.browser.preferences.ChromeSwitchPreference
- android:key="contextual_search_switch"
+ android:key="translate_switch"
android:summaryOn="@string/text_on"
android:summaryOff="@string/text_off"
chrome:drawDivider="true" />
<org.chromium.chrome.browser.preferences.TextMessagePreference
- android:title="@string/contextual_search_description" />
+ android:title="@string/translate_prefs_description" />
+
+ <org.chromium.chrome.browser.preferences.ButtonPreference
+ android:key="reset_translate_button"
+ android:title="@string/reset_translate_defaults" />
</PreferenceScreen>

Powered by Google App Engine
This is Rietveld 408576698