Clear's "shown here" wording gets its own string; the list's wording stays as it was (#140)
This commit is contained in:
1 parent
0536405a72
commit
51561a9a11
2 files changed
+9
-1
No files matched your search
@@ -1417,7 +1417,7 @@ internal fun ClearCompletedDialog(count: Int, onConfirm: () -> Unit, onDismiss:
|
||||
AlertDialog(
|
||||
onDismissRequest = onDismiss,
|
||||
title = { Text(stringResource(R.string.clear_completed_title)) },
|
||||
text = { Text(pluralStringResource(R.plurals.clear_completed_body, count, count)) },
|
||||
text = { Text(pluralStringResource(R.plurals.clear_completed_shown_body, count, count)) },
|
||||
confirmButton = {
|
||||
TextButton(onClick = { onDismiss(); onConfirm() }) {
|
||||
Text(stringResource(R.string.clear_completed_confirm))
|
||||
|
||||
@@ -74,6 +74,10 @@
|
||||
<string name="clear_completed_action">Clear</string>
|
||||
<string name="clear_completed_title">Clear completed tasks?</string>
|
||||
<plurals name="clear_completed_body">
|
||||
<item quantity="one">%1$d completed task in this list will be deleted.</item>
|
||||
<item quantity="other">%1$d completed tasks in this list will be deleted.</item>
|
||||
</plurals>
|
||||
<plurals name="clear_completed_shown_body">
|
||||
<item quantity="one">%1$d completed task shown here will be deleted.</item>
|
||||
<item quantity="other">%1$d completed tasks shown here will be deleted.</item>
|
||||
</plurals>
|
||||
@@ -1191,6 +1195,10 @@
|
||||
<!-- Editing a view's layout of blocks -->
|
||||
<string name="view_edit_layout">Edit layout</string>
|
||||
<string name="edit_layout_done">Done</string>
|
||||
<string name="edit_layout_discard">Discard changes</string>
|
||||
<string name="edit_layout_discard_title">Discard layout changes?</string>
|
||||
<string name="edit_layout_discard_body">The blocks go back to how they were when you started editing.</string>
|
||||
<string name="edit_layout_discard_confirm">Discard</string>
|
||||
<string name="block_add">Add block</string>
|
||||
<string name="block_settings">Block settings</string>
|
||||
<string name="block_drag">Drag to move</string>
|
||||
|
||||
Reference in new issue
Block a user