Skip to content

Commit 5372860

Browse files
committed
fix: trim i18n keys to word wrap feature only
1 parent 040d8be commit 5372860

2 files changed

Lines changed: 7 additions & 20 deletions

File tree

i18n/locales/en.json

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
"social": "social",
2020
"chat": "chat",
2121
"builders_chat": "builders",
22-
"keyboard_shortcuts": "keyboard shortcuts",
23-
"product": "Product",
24-
"legal": "Legal",
25-
"community": "Community"
22+
"keyboard_shortcuts": "keyboard shortcuts"
2623
},
2724
"shortcuts": {
2825
"section": {
@@ -210,8 +207,6 @@
210207
"members": "members"
211208
},
212209
"scroll_to_top": "Scroll to top",
213-
"previous": "Previous",
214-
"next": "Next",
215210
"cancel": "Cancel",
216211
"save": "Save",
217212
"edit": "Edit",
@@ -323,8 +318,7 @@
323318
"docs": "docs",
324319
"fund": "fund",
325320
"compare": "compare",
326-
"compare_this_package": "compare this package",
327-
"dependents": "dependents"
321+
"compare_this_package": "compare this package"
328322
},
329323
"likes": {
330324
"like": "Like this package",
@@ -358,13 +352,6 @@
358352
"title": "Run",
359353
"locally": "Run locally"
360354
},
361-
"dependents": {
362-
"title": "Dependents",
363-
"subtitle": "Packages that depend on {name}",
364-
"count": "{count} dependent | {count} dependents",
365-
"none": "No packages found that depend on {name}",
366-
"error": "Failed to load dependents"
367-
},
368355
"readme": {
369356
"title": "Readme",
370357
"no_readme": "No README available.",
@@ -467,8 +454,7 @@
467454
"outdated_minor": "{count} minor version behind (latest: {latest}) | {count} minor versions behind (latest: {latest})",
468455
"outdated_patch": "Patch update available (latest: {latest})",
469456
"has_replacement": "This dependency has suggested replacements",
470-
"vulnerabilities_count": "{count} vulnerability | {count} vulnerabilities",
471-
"none": "No dependencies"
457+
"vulnerabilities_count": "{count} vulnerability | {count} vulnerabilities"
472458
},
473459
"peer_dependencies": {
474460
"title": "Peer Dependency ({count}) | Peer Dependencies ({count})",
@@ -578,9 +564,7 @@
578564
},
579565
"license": {
580566
"view_spdx": "View license text on SPDX",
581-
"none": "None",
582-
"changed_badge": "changed",
583-
"changed": "License changed from {latest} in the latest version"
567+
"none": "None"
584568
},
585569
"vulnerabilities": {
586570
"tree_found": "{vulns} vulnerability in {packages}/{total} packages | {vulns} vulnerabilities in {packages}/{total} packages",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,9 @@
25262526
},
25272527
"binary_rendering_warning": {
25282528
"type": "string"
2529+
},
2530+
"toggle_word_wrap": {
2531+
"type": "string"
25292532
}
25302533
},
25312534
"additionalProperties": false

0 commit comments

Comments
 (0)