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> |