forked from BRETT/BRETT
i18n implemented
This commit is contained in:
@@ -430,7 +430,7 @@ function updateAlpha(event: MouseEvent | TouchEvent) {
|
||||
type="button"
|
||||
class="ring-offset-background h-5 w-5 shrink-0 cursor-pointer rounded ring-2 ring-transparent ring-offset-1 transition-all duration-100 hover:ring-current"
|
||||
:style="{ backgroundColor: color }"
|
||||
:aria-label="`Set color to ${color}`"
|
||||
:aria-label="$t('misc.setColor', { color })"
|
||||
@click="setColorFromHex(color)"
|
||||
@keydown.enter="setColorFromHex(color)"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user