diff --git a/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileAction.kt b/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileAction.kt index 11e57879070a..e86c8260e4c5 100644 --- a/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileAction.kt +++ b/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileAction.kt @@ -13,7 +13,7 @@ import com.owncloud.android.R enum class TrashbinFileAction(@IdRes val id: Int, @StringRes val title: Int, @DrawableRes val icon: Int? = null) { DELETE_PERMANENTLY(R.id.action_delete, R.string.trashbin_file_remove, R.drawable.ic_delete), - RESTORE(R.id.restore, R.string.restore_button_description, R.drawable.ic_history), + RESTORE(R.id.restore, R.string.restore_item, R.drawable.ic_history), SELECT_ALL(R.id.action_select_all_action_menu, R.string.select_all, R.drawable.ic_select_all), SELECT_NONE(R.id.action_deselect_all_action_menu, R.string.deselect_all, R.drawable.ic_select_none); diff --git a/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileActionsBottomSheet.kt b/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileActionsBottomSheet.kt index 091c74696416..7a5d07d97840 100644 --- a/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileActionsBottomSheet.kt +++ b/app/src/main/java/com/nextcloud/ui/trashbinFileActions/TrashbinFileActionsBottomSheet.kt @@ -185,7 +185,7 @@ class TrashbinFileActionsBottomSheet : BottomSheetDialogFragment(), Injectable { } private fun displayTitle(fileCount: Int) { - binding.title.text = resources.getQuantityString(R.plurals.file_list__footer__file, fileCount, fileCount) + binding.title.text = resources.getQuantityString(R.plurals.trashbin_list__footer__file, fileCount, fileCount) } private fun inflateActionView(action: TrashbinFileAction): View { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4847ef856575..1aabe8476309 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -567,6 +567,10 @@ %1$d file %1$d files + + %1$d item + %1$d items + Use picture as Set As @@ -862,6 +866,7 @@ Screensharing, online meetings and web conferences Restore deleted file Restore file + Restore New version was created New comment… Error commenting file