mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 15:01:57 +03:00
Update strings for plurals.
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
This commit is contained in:
parent
eb9244df1d
commit
f5b5f8fab6
3 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<item quantity="one">%1$d file</item>
|
||||
<item quantity="other">%1$d files</item>
|
||||
</plurals>
|
||||
<plurals name="trashbin_list__footer__file">
|
||||
<item quantity="one">%1$d item</item>
|
||||
<item quantity="other">%1$d items</item>
|
||||
</plurals>
|
||||
<string name="set_picture_as">Use picture as</string>
|
||||
<string name="set_as">Set As</string>
|
||||
|
||||
|
@ -872,6 +876,7 @@
|
|||
<string name="first_run_4_text">Screensharing, online meetings and web conferences</string>
|
||||
<string name="restore_button_description">Restore deleted file</string>
|
||||
<string name="restore">Restore file</string>
|
||||
<string name="restore_item">Restore</string>
|
||||
<string name="new_version_was_created">New version was created</string>
|
||||
<string name="new_comment">New comment…</string>
|
||||
<string name="error_comment_file">Error commenting file</string>
|
||||
|
|
Loading…
Reference in a new issue