1
0
Fork 0

For #5277: Updates string for delete browsing data (#5309)

master
Sawyer Blatz 2019-09-13 10:18:25 -07:00 committed by GitHub
parent 8ea836bf13
commit e247870b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -27,9 +27,9 @@ import kotlinx.coroutines.launch
import mozilla.components.lib.state.ext.consumeFrom
import mozilla.components.support.base.feature.BackHandler
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.browser.browsingmode.BrowsingMode
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
import org.mozilla.fenix.browser.browsingmode.BrowsingMode
import org.mozilla.fenix.components.Components
import org.mozilla.fenix.components.StoreProvider
import org.mozilla.fenix.components.history.createSynchronousPagedHistoryProvider

View File

@ -94,7 +94,7 @@ class DeleteBrowsingDataFragment : Fragment() {
private fun askToDelete() {
context?.let {
AlertDialog.Builder(it).apply {
setMessage(R.string.delete_browsing_data_prompt_message)
setMessage(R.string.delete_browsing_data_prompt_message_3)
setNegativeButton(R.string.delete_browsing_data_prompt_cancel) { it: DialogInterface, _ ->
it.cancel()

View File

@ -692,8 +692,6 @@
<!-- Dialog message to the user asking to delete browsing data. -->
<string name="delete_browsing_data_prompt_message">This will delete all of your browsing data.</string>
<!-- Dialog message to the user asking to delete browsing data. -->
<string name="delete_browsing_data_prompt_message_2">Are you sure you want to delete the selected browsing data?</string>
<!-- Dialog message to the user asking to delete browsing data. Parameter will be replaced by app name. -->
<string name="delete_browsing_data_prompt_message_3">%s will delete the selected browsing data.</string>
<!-- Text for the cancel button for the data deletion dialog -->