Skip to content

Commit 0d5ae56

Browse files
committed
remove unused keys
1 parent ec4edd6 commit 0d5ae56

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
@@ -950,21 +950,15 @@ const showSkeleton = shallowRef(false)
950950

951951
<TooltipApp
952952
v-if="isGitHubRepo && isGitHubConnected"
953-
:text="
954-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
955-
"
953+
:text="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
956954
position="bottom"
957955
strategy="fixed"
958956
>
959957
<ButtonBase
960958
@click="toggleStar"
961959
size="small"
962-
:title="
963-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
964-
"
965-
:aria-label="
966-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
967-
"
960+
:title="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
961+
:aria-label="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
968962
:aria-pressed="isStarred"
969963
:disabled="isStarActionPending"
970964
: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
@@ -225,11 +225,9 @@
225225
"like": "Like this package",
226226
"unlike": "Unlike this package"
227227
},
228-
"github_star": {
228+
"github": {
229229
"star": "Star this repository on GitHub",
230-
"unstar": "Unstar this repository on GitHub",
231-
"connect_github": "Connect GitHub to star repos",
232-
"starred": "You starred this repo"
230+
"unstar": "Unstar this repository on GitHub"
233231
},
234232
"docs": {
235233
"not_available": "Docs not available",

i18n/schema.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -679,20 +679,14 @@
679679
},
680680
"additionalProperties": false
681681
},
682-
"github_star": {
682+
"github": {
683683
"type": "object",
684684
"properties": {
685685
"star": {
686686
"type": "string"
687687
},
688688
"unstar": {
689689
"type": "string"
690-
},
691-
"connect_github": {
692-
"type": "string"
693-
},
694-
"starred": {
695-
"type": "string"
696690
}
697691
},
698692
"additionalProperties": false

lunaria/files/en-GB.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,9 @@
224224
"like": "Like this package",
225225
"unlike": "Unlike this package"
226226
},
227-
"github_star": {
227+
"github": {
228228
"star": "Star this repository on GitHub",
229-
"unstar": "Unstar this repository on GitHub",
230-
"connect_github": "Connect GitHub to star repos",
231-
"starred": "You starred this repo"
229+
"unstar": "Unstar this repository on GitHub"
232230
},
233231
"docs": {
234232
"not_available": "Docs not available",

lunaria/files/en-US.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,9 @@
224224
"like": "Like this package",
225225
"unlike": "Unlike this package"
226226
},
227-
"github_star": {
227+
"github": {
228228
"star": "Star this repository on GitHub",
229-
"unstar": "Unstar this repository on GitHub",
230-
"connect_github": "Connect GitHub to star repos",
231-
"starred": "You starred this repo"
229+
"unstar": "Unstar this repository on GitHub"
232230
},
233231
"docs": {
234232
"not_available": "Docs not available",

0 commit comments

Comments
 (0)