Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions apps/files/src/components/FileEntry/FileEntryName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default defineComponent({
return {
is: 'span',
params: {
title: t('files', 'This node is unavailable'),
title: this.source.displayname + ` (${t('files', 'unavailable')})`,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use string replace for rtl lang compatibility

Suggested change
title: this.source.displayname + ` (${t('files', 'unavailable')})`,
title: t('files', '{displayName} (unavailable)', { displayName: this.source.displayname }),

},
}
}
Expand All @@ -148,11 +148,12 @@ export default defineComponent({
folder: this.activeFolder!,
contents: [],
})
const accessibleName = `${displayName}: ${this.source.displayname}`
return {
is: 'button',
params: {
'aria-label': displayName,
title: displayName,
'aria-label': accessibleName,
title: accessibleName,
tabindex: '0',
},
}
Expand Down
Loading