Skip to content

Commit b241b93

Browse files
committed
fix(ui): disambiguate the two "compare" links
1 parent b43cc0a commit b241b93

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

app/components/Package/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ const fundingUrl = computed(() => {
285285
aria-keyshortcuts="c"
286286
classicon="i-lucide:git-compare"
287287
>
288-
<span class="max-sm:sr-only">{{ $t('package.links.compare') }}</span>
288+
<span class="max-sm:sr-only">{{ $t('package.links.compare_this_package') }}</span>
289289
</LinkBase>
290290
<!-- Package likes -->
291291
<TooltipApp

i18n/locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@
302302
"code": "code",
303303
"docs": "docs",
304304
"fund": "fund",
305-
"compare": "compare"
305+
"compare": "compare",
306+
"compare_this_package": "compare this package..."
306307
},
307308
"likes": {
308309
"like": "Like this package",

i18n/locales/fr-FR.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@
282282
"code": "code",
283283
"docs": "docs",
284284
"fund": "donner",
285-
"compare": "comparer"
285+
"compare": "comparer",
286+
"compare_this_package": "comparer ce paquet..."
286287
},
287288
"likes": {
288289
"like": "Liker ce paquet",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,9 @@
912912
},
913913
"compare": {
914914
"type": "string"
915+
},
916+
"compare_this_package": {
917+
"type": "string"
915918
}
916919
},
917920
"additionalProperties": false

0 commit comments

Comments
 (0)