Merge pull request #50641 from nextcloud/backport/50635/stable31

[stable31] chore(files): Adjust wording
This commit is contained in:
Andy Scherzinger 2025-02-04 15:14:28 +01:00 committed by GitHub
commit dd921969da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 11 additions and 11 deletions

View file

@ -7,7 +7,7 @@
class="files-navigation"
:aria-label="t('files', 'Files')">
<template #search>
<NcAppNavigationSearch v-model="searchQuery" :label="t('files', 'Filter filenames…')" />
<NcAppNavigationSearch v-model="searchQuery" :label="t('files', 'Filter file names…')" />
</template>
<template #default>
<NcAppNavigationList class="files-navigation__list"

View file

@ -12,7 +12,7 @@ export default () => {
const Navigation = getNavigation()
Navigation.register(new View({
id: 'personal',
name: t('files', 'Personal Files'),
name: t('files', 'Personal files'),
caption: t('files', 'List of your files and folders that are not shared.'),
emptyTitle: t('files', 'No personal files found'),

View file

@ -236,7 +236,7 @@ describe('files: Filter in files list', { testIsolation: true }, () => {
navigateToFolder('folder')
getRowForFile('folder').should('not.exist')
// See that the chip is still
// See that the chip is still active
filesFilters.activeFilters()
.should('have.length', 1)
.contains(/Folder/).should('be.visible')
@ -265,7 +265,7 @@ describe('files: Filter in files list', { testIsolation: true }, () => {
// go to other view
appNavigation.views()
.findByRole('link', { name: /Personal Files/i })
.findByRole('link', { name: /personal files/i })
.click()
// wait for view changed
cy.url().should('match', /apps\/files\/personal/)

View file

@ -13,7 +13,7 @@ export class FilesNavigationPage {
}
searchInput() {
return this.navigation().findByRole('searchbox', { name: /filter filenames/i })
return this.navigation().findByRole('searchbox', { name: /filter file names/i })
}
searchClearButton() {

4
dist/files-init.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long