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

[stable31] chore(files): Adjust wording
pull/50609/head
Andy Scherzinger 1 year ago committed by GitHub
commit dd921969da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/files/src/views/Navigation.vue
  2. 2
      apps/files/src/views/personal-files.ts
  3. 4
      cypress/e2e/files/files-filtering.cy.ts
  4. 2
      cypress/pages/FilesNavigation.ts
  5. 4
      dist/files-init.js
  6. 2
      dist/files-init.js.map
  7. 4
      dist/files-main.js
  8. 2
      dist/files-main.js.map

@ -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"

@ -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'),

@ -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/)

@ -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() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save