Skip to content

Commit ab4ea9e

Browse files
authored
add icon, add locale
1 parent 0171632 commit ab4ea9e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

app/components/Package/ExternalLinks.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const repoProviderIcon = computed((): IconClass => {
7878
<LinkBase
7979
:to="`https://socket.dev/npm/package/${pkg.name}`"
8080
:title="$t('common.view_on.socket_dev')"
81+
classicon="i-simple-icons:socket"
8182
>
8283
socket.dev
8384
</LinkBase>

i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
"gitea": "View on Gitea",
224224
"gitee": "View on Gitee",
225225
"radicle": "View on Radicle",
226+
"socket_dev": "view on socket.dev",
226227
"sourcehut": "View on SourceHut",
227228
"tangled": "View on Tangled"
228229
},

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,9 @@
673673
"radicle": {
674674
"type": "string"
675675
},
676+
"socket_dev": {
677+
"type": "string"
678+
},
676679
"sourcehut": {
677680
"type": "string"
678681
},

0 commit comments

Comments
 (0)