Skip to content

Commit fe55f0f

Browse files
committed
remove unused keys
1 parent 17f4ccd commit fe55f0f

5 files changed

Lines changed: 10 additions & 28 deletions

File tree

app/pages/package/[[org]]/[name].vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -864,21 +864,15 @@ const showSkeleton = shallowRef(false)
864864

865865
<TooltipApp
866866
v-if="isGitHubRepo && isGitHubConnected"
867-
:text="
868-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
869-
"
867+
:text="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
870868
position="bottom"
871869
strategy="fixed"
872870
>
873871
<ButtonBase
874872
@click="toggleStar"
875873
size="small"
876-
:title="
877-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
878-
"
879-
:aria-label="
880-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
881-
"
874+
:title="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
875+
:aria-label="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
882876
:aria-pressed="isStarred"
883877
:disabled="isStarActionPending"
884878
:classicon="isStarred ? 'i-lucide:star text-yellow-400' : 'i-lucide:star'"

i18n/locales/en.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,9 @@
215215
"like": "Like this package",
216216
"unlike": "Unlike this package"
217217
},
218-
"github_star": {
218+
"github": {
219219
"star": "Star this repository on GitHub",
220-
"unstar": "Unstar this repository on GitHub",
221-
"connect_github": "Connect GitHub to star repos",
222-
"starred": "You starred this repo"
220+
"unstar": "Unstar this repository on GitHub"
223221
},
224222
"docs": {
225223
"not_available": "Docs not available",

i18n/schema.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -649,20 +649,14 @@
649649
},
650650
"additionalProperties": false
651651
},
652-
"github_star": {
652+
"github": {
653653
"type": "object",
654654
"properties": {
655655
"star": {
656656
"type": "string"
657657
},
658658
"unstar": {
659659
"type": "string"
660-
},
661-
"connect_github": {
662-
"type": "string"
663-
},
664-
"starred": {
665-
"type": "string"
666660
}
667661
},
668662
"additionalProperties": false

lunaria/files/en-GB.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,9 @@
214214
"like": "Like this package",
215215
"unlike": "Unlike this package"
216216
},
217-
"github_star": {
217+
"github": {
218218
"star": "Star this repository on GitHub",
219-
"unstar": "Unstar this repository on GitHub",
220-
"connect_github": "Connect GitHub to star repos",
221-
"starred": "You starred this repo"
219+
"unstar": "Unstar this repository on GitHub"
222220
},
223221
"docs": {
224222
"not_available": "Docs not available",

lunaria/files/en-US.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,9 @@
214214
"like": "Like this package",
215215
"unlike": "Unlike this package"
216216
},
217-
"github_star": {
217+
"github": {
218218
"star": "Star this repository on GitHub",
219-
"unstar": "Unstar this repository on GitHub",
220-
"connect_github": "Connect GitHub to star repos",
221-
"starred": "You starred this repo"
219+
"unstar": "Unstar this repository on GitHub"
222220
},
223221
"docs": {
224222
"not_available": "Docs not available",

0 commit comments

Comments
 (0)