Skip to content

Commit

Permalink
Use proper alt text for viewer app modal
Browse files Browse the repository at this point in the history
Alt text should contain readable text without encodings
and other string markers such as "Content of".

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
nfebe authored and backportbot-nextcloud[bot] committed May 11, 2023
1 parent b6b8eea commit 0686db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export default {
return Math.round(this.width * this.zoomRatio)
},
alt() {
const fileName = basename(this.src)
return t('viewer', 'Content of "{fileName}"', { fileName })
const fileName = this.basename
return t('viewer', '"{fileName}"', { fileName })
},
},

Expand Down

0 comments on commit 0686db4

Please sign in to comment.