Skip to content

Commit bf09e27

Browse files
Megan JablonskiMegan Jablonski
authored andcommitted
Shorten the Data Saver site breakdown dialog strings
TBR=megjablon@google.com (cherry picked from commit a3851d4) Bug: 762091 Change-Id: Ie26464c103d8884d4d82dee0457a39fff52dc58f Reviewed-on: https://chromium-review.googlesource.com/650946 Reviewed-by: David Trainor <dtrainor@chromium.org> Commit-Queue: Megan Jablonski <megjablon@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#500028} Reviewed-on: https://chromium-review.googlesource.com/655179 Reviewed-by: Megan Jablonski <megjablon@chromium.org> Cr-Commit-Position: refs/branch-heads/3202@{#68} Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}
1 parent eda8f58 commit bf09e27

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ public void onClick(DialogInterface dialog, int which) {
264264
};
265265

266266
new AlertDialog.Builder(getContext(), R.style.AlertDialogTheme)
267-
.setTitle(
267+
.setTitle(R.string.data_reduction_usage_reset_statistics_confirmation_title)
268+
.setMessage(
268269
R.string.data_reduction_usage_reset_statistics_confirmation_dialog)
269270
.setPositiveButton(
270271
R.string.data_reduction_usage_reset_statistics_confirmation_button,

chrome/android/java/strings/android_chrome_strings.grd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,8 +1083,11 @@ To obtain new licenses, connect to the internet and play your downloaded content
10831083
<message name="IDS_DATA_REDUCTION_USAGE_RESET_STATISTICS_BUTTON" desc="Text to be displayed on the button to reset the Data Reduction statistics.">
10841084
Reset statistics
10851085
</message>
1086+
<message name="IDS_DATA_REDUCTION_USAGE_RESET_STATISTICS_CONFIRMATION_TITLE" desc="Text to be displayed on the confirmation dialog to reset the Data Reduction statistics.">
1087+
Reset Data Saver?
1088+
</message>
10861089
<message name="IDS_DATA_REDUCTION_USAGE_RESET_STATISTICS_CONFIRMATION_DIALOG" desc="Text to be displayed on the confirmation dialog to reset the Data Reduction statistics.">
1087-
Reset Data Saver? Resetting erases Data Saver history, including the list of visited sites.
1090+
Resetting erases Data Saver history, including the list of visited sites.
10881091
</message>
10891092
<message name="IDS_DATA_REDUCTION_USAGE_RESET_STATISTICS_CONFIRMATION_BUTTON" desc="Text to be displayed on the confirmation button to proceed with resetting the Data Reduction statistics.">
10901093
Reset

0 commit comments

Comments
 (0)