Skip to content

Commit a5dfe0a

Browse files
committed
remove unused keys
1 parent 906315c commit a5dfe0a

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

962962
<TooltipApp
963963
v-if="isGitHubRepo && isGitHubConnected"
964-
:text="
965-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
966-
"
964+
:text="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
967965
position="bottom"
968966
strategy="fixed"
969967
>
970968
<ButtonBase
971969
@click="toggleStar"
972970
size="small"
973-
:title="
974-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
975-
"
976-
:aria-label="
977-
isStarred ? $t('package.github_star.unstar') : $t('package.github_star.star')
978-
"
971+
:title="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
972+
:aria-label="isStarred ? $t('package.github.unstar') : $t('package.github.star')"
979973
:aria-pressed="isStarred"
980974
:disabled="isStarActionPending"
981975
: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
@@ -288,11 +288,9 @@
288288
"like": "Like this package",
289289
"unlike": "Unlike this package"
290290
},
291-
"github_star": {
291+
"github": {
292292
"star": "Star this repository on GitHub",
293-
"unstar": "Unstar this repository on GitHub",
294-
"connect_github": "Connect GitHub to star repos",
295-
"starred": "You starred this repo"
293+
"unstar": "Unstar this repository on GitHub"
296294
},
297295
"docs": {
298296
"not_available": "Docs not available",

i18n/schema.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -868,20 +868,14 @@
868868
},
869869
"additionalProperties": false
870870
},
871-
"github_star": {
871+
"github": {
872872
"type": "object",
873873
"properties": {
874874
"star": {
875875
"type": "string"
876876
},
877877
"unstar": {
878878
"type": "string"
879-
},
880-
"connect_github": {
881-
"type": "string"
882-
},
883-
"starred": {
884-
"type": "string"
885879
}
886880
},
887881
"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)