aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components')
-rw-r--r--apps/files/src/components/FilesListTableHeaderActions.vue6
-rw-r--r--apps/files/src/components/FilesNavigationSearch.vue8
-rw-r--r--apps/files/src/components/LegacyView.vue2
3 files changed, 8 insertions, 8 deletions
diff --git a/apps/files/src/components/FilesListTableHeaderActions.vue b/apps/files/src/components/FilesListTableHeaderActions.vue
index 53b7e7ef21b..6a808355c58 100644
--- a/apps/files/src/components/FilesListTableHeaderActions.vue
+++ b/apps/files/src/components/FilesListTableHeaderActions.vue
@@ -305,16 +305,16 @@ export default defineComponent({
return
}
- showError(this.t('files', '"{displayName}" failed on some elements', { displayName }))
+ showError(this.t('files', '{displayName}: failed on some elements', { displayName }))
return
}
// Show success message and clear selection
- showSuccess(this.t('files', '"{displayName}" batch action executed successfully', { displayName }))
+ showSuccess(this.t('files', '{displayName}: done', { displayName }))
this.selectionStore.reset()
} catch (e) {
logger.error('Error while executing action', { action, e })
- showError(this.t('files', '"{displayName}" action failed', { displayName }))
+ showError(this.t('files', '{displayName}: failed', { displayName }))
} finally {
// Remove loading markers
this.loading = null
diff --git a/apps/files/src/components/FilesNavigationSearch.vue b/apps/files/src/components/FilesNavigationSearch.vue
index e34d4bf0971..0890dffcb39 100644
--- a/apps/files/src/components/FilesNavigationSearch.vue
+++ b/apps/files/src/components/FilesNavigationSearch.vue
@@ -55,9 +55,9 @@ const isSearchView = computed(() => currentView.value.id === VIEW_ID)
*/
const searchLabel = computed(() => {
if (searchStore.scope === 'globally') {
- return t('files', 'Search globally by filename …')
+ return t('files', 'Search everywhere …')
}
- return t('files', 'Search here by filename …')
+ return t('files', 'Search here …')
})
</script>
@@ -72,13 +72,13 @@ const searchLabel = computed(() => {
<template #icon>
<NcIconSvgWrapper :path="mdiMagnify" />
</template>
- {{ t('files', 'Filter and search from this location') }}
+ {{ t('files', 'Search here') }}
</NcActionButton>
<NcActionButton close-after-click @click="searchStore.scope = 'globally'">
<template #icon>
<NcIconSvgWrapper :path="mdiSearchWeb" />
</template>
- {{ t('files', 'Search globally') }}
+ {{ t('files', 'Search everywhere') }}
</NcActionButton>
</NcActions>
</template>
diff --git a/apps/files/src/components/LegacyView.vue b/apps/files/src/components/LegacyView.vue
index d9baeeb1b07..b5a792d9029 100644
--- a/apps/files/src/components/LegacyView.vue
+++ b/apps/files/src/components/LegacyView.vue
@@ -33,7 +33,7 @@ export default {
},
methods: {
setFileInfo(fileInfo) {
- this.component.setFileInfo(new OCA.Files.FileInfoModel(fileInfo))
+ this.component.setFileInfo(fileInfo)
},
},
}