forked from Mirrors/elk
feat(i18n): locales for alt text (#1580)
This commit is contained in:
parent
fc706f9050
commit
3b3d4906be
2 changed files with 5 additions and 3 deletions
|
@ -176,9 +176,9 @@ useIntersectionObserver(video, (entries) => {
|
||||||
: 'rounded-1 bg-black/65 text-white hover:bg-black px1.2 py0.2'"
|
: 'rounded-1 bg-black/65 text-white hover:bg-black px1.2 py0.2'"
|
||||||
>
|
>
|
||||||
<div hidden>
|
<div hidden>
|
||||||
read {{ attachment.type }} description
|
{{ $t('status.img_alt.read', [attachment.type]) }}
|
||||||
</div>
|
</div>
|
||||||
ALT
|
{{ $t('status.img_alt.ALT') }}
|
||||||
</button>
|
</button>
|
||||||
<template #popper>
|
<template #popper>
|
||||||
<div p4 flex flex-col gap-2 max-w-130>
|
<div p4 flex flex-col gap-2 max-w-130>
|
||||||
|
|
|
@ -452,8 +452,10 @@
|
||||||
"filter_removed_phrase": "Removed by filter",
|
"filter_removed_phrase": "Removed by filter",
|
||||||
"filter_show_anyway": "Show anyway",
|
"filter_show_anyway": "Show anyway",
|
||||||
"img_alt": {
|
"img_alt": {
|
||||||
|
"ALT": "ALT",
|
||||||
"desc": "Description",
|
"desc": "Description",
|
||||||
"dismiss": "Dismiss"
|
"dismiss": "Dismiss",
|
||||||
|
"read": "Read {0} description"
|
||||||
},
|
},
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} votes|{0} vote|{0} votes",
|
"count": "{0} votes|{0} vote|{0} votes",
|
||||||
|
|
Loading…
Reference in a new issue