@ -20,7 +20,9 @@
< / template >
< / template >
< template v -if = " ! isNoneSelected " # header -overlay >
< template v -if = " ! isNoneSelected " # header -overlay >
< span class = "files-list__selected" > { { t ( 'files' , '{count} selected' , { count : selectedNodes . length } ) } } < / span >
< span class = "files-list__selected" >
{ { n ( 'files' , '{count} selected' , '{count} selected' , selectedNodes . length , { count : selectedNodes . length } ) } }
< / span >
< FilesListTableHeaderActions :current-view ="currentView"
< FilesListTableHeaderActions :current-view ="currentView"
: selected - nodes = "selectedNodes" / >
: selected - nodes = "selectedNodes" / >
< / template >
< / template >
@ -65,8 +67,8 @@ import type { Location } from 'vue-router'
import { showError } from '@nextcloud/dialogs'
import { showError } from '@nextcloud/dialogs'
import { subscribe , unsubscribe } from '@nextcloud/event-bus'
import { subscribe , unsubscribe } from '@nextcloud/event-bus'
import { Folder , Permission , View , getFileActions , FileType } from '@nextcloud/files'
import { Folder , Permission , View , getFileActions , FileType } from '@nextcloud/files'
import { t } from '@nextcloud/l10n'
import { n, t } from '@nextcloud/l10n'
import { useHotKey } from '@nextcloud/vue/ dist/Composables/useHotKey.js '
import { useHotKey } from '@nextcloud/vue/ composables/useHotKey '
import { defineComponent } from 'vue'
import { defineComponent } from 'vue'
import { action as sidebarAction } from '../actions/sidebarAction.ts'
import { action as sidebarAction } from '../actions/sidebarAction.ts'
@ -134,6 +136,7 @@ export default defineComponent({
selectionStore ,
selectionStore ,
userConfigStore ,
userConfigStore ,
n ,
t ,
t ,
}
}
} ,
} ,