Skip to content

Commit fbf01bd

Browse files
serhalpghostdevv
andauthored
fix(ui): disambiguate the two "compare" links (#2180)
Co-authored-by: Willow (GHOST) <git@willow.sh>
1 parent fbe0b26 commit fbf01bd

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
@@ -317,7 +317,8 @@
317317
"code": "code",
318318
"docs": "docs",
319319
"fund": "fund",
320-
"compare": "compare"
320+
"compare": "compare",
321+
"compare_this_package": "compare this package"
321322
},
322323
"likes": {
323324
"like": "Like this package",

i18n/locales/fr-FR.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@
297297
"code": "code",
298298
"docs": "docs",
299299
"fund": "donner",
300-
"compare": "comparer"
300+
"compare": "comparer",
301+
"compare_this_package": "comparer ce paquet"
301302
},
302303
"likes": {
303304
"like": "Liker ce paquet",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,9 @@
957957
},
958958
"compare": {
959959
"type": "string"
960+
},
961+
"compare_this_package": {
962+
"type": "string"
960963
}
961964
},
962965
"additionalProperties": false

0 commit comments

Comments
 (0)