Skip to content

Commit 67e9f14

Browse files
committed
fix: remove a hardcoded English aria-label
1 parent 93f9dbe commit 67e9f14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Compare/PackageSelector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ function handleBlur() {
113113
</NuxtLink>
114114
<button
115115
type="button"
116-
class="text-fg-subtle hover:text-fg transition-colors focus-visible:outline-accent/70 rounded"
116+
class="text-fg-subtle hover:text-fg transition-colors rounded"
117117
:aria-label="
118118
$t('compare.selector.remove_package', {
119-
package: pkg === NO_DEPENDENCY_ID ? 'No dependency' : pkg,
119+
package: pkg === NO_DEPENDENCY_ID ? $t('compare.no_dependency.label') : pkg,
120120
})
121121
"
122122
@click="removePackage(pkg)"

0 commit comments

Comments
 (0)