Application & pat ui improvements (#5271)

* Add categories, make localizable

* Run fix

* Run prepr

* Improve pat modal ui

* Fix pat token actions

* Make scope category localization shared

* Fix casing

* Fix casing

---------

Co-authored-by: Creeperkatze <178587183+Creeperkatze@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Creeperkatze
2026-02-02 19:20:28 +01:00
committed by GitHub
parent 56c8bb1950
commit 3f6c79b00d
4 changed files with 529 additions and 79 deletions

View File

@@ -2444,6 +2444,42 @@
"scopes.analytics.label": {
"message": "Read analytics"
},
"scopes.category.analytics": {
"message": "Analytics"
},
"scopes.category.collections": {
"message": "Collections"
},
"scopes.category.notifications": {
"message": "Notifications"
},
"scopes.category.organizations": {
"message": "Organizations"
},
"scopes.category.pats": {
"message": "PATs"
},
"scopes.category.payouts": {
"message": "Payouts"
},
"scopes.category.projects": {
"message": "Projects"
},
"scopes.category.reports": {
"message": "Reports"
},
"scopes.category.sessions": {
"message": "Sessions"
},
"scopes.category.threads": {
"message": "Threads"
},
"scopes.category.user-account": {
"message": "User account"
},
"scopes.category.versions": {
"message": "Versions"
},
"scopes.collectionCreate.description": {
"message": "Create collections"
},
@@ -2741,6 +2777,102 @@
"servers.plan.small.name": {
"message": "Small"
},
"settings.applications.about": {
"message": "About"
},
"settings.applications.button.add-more": {
"message": "Add more"
},
"settings.applications.button.add-redirect-uri": {
"message": "Add a redirect uri"
},
"settings.applications.button.cancel": {
"message": "Cancel"
},
"settings.applications.button.create": {
"message": "Create app"
},
"settings.applications.button.delete": {
"message": "Delete"
},
"settings.applications.button.edit": {
"message": "Edit"
},
"settings.applications.button.new": {
"message": "New application"
},
"settings.applications.button.save-changes": {
"message": "Save changes"
},
"settings.applications.button.upload-icon": {
"message": "Upload icon"
},
"settings.applications.client-id": {
"message": "Client ID"
},
"settings.applications.client-secret": {
"message": "Client secret"
},
"settings.applications.created-on": {
"message": "Created on {date}"
},
"settings.applications.delete.confirm.button": {
"message": "Delete this application"
},
"settings.applications.delete.confirm.description": {
"message": "This will permanently delete this application and revoke all access tokens. (forever!)"
},
"settings.applications.delete.confirm.title": {
"message": "Are you sure you want to delete this application?"
},
"settings.applications.description.intro": {
"message": "Applications can be used to authenticate Modrinth's users with your products. For more information, see <docs-link>Modrinth's API documentation</docs-link>."
},
"settings.applications.field.description": {
"message": "Description"
},
"settings.applications.field.description.placeholder": {
"message": "Enter the application's description..."
},
"settings.applications.field.icon": {
"message": "Icon"
},
"settings.applications.field.name": {
"message": "Name"
},
"settings.applications.field.name.placeholder": {
"message": "Enter the application's name..."
},
"settings.applications.field.redirect-uri.placeholder": {
"message": "https://example.com/auth/callback"
},
"settings.applications.field.redirect-uris": {
"message": "Redirect uris"
},
"settings.applications.field.scopes": {
"message": "Scopes"
},
"settings.applications.field.url": {
"message": "URL"
},
"settings.applications.field.url.placeholder": {
"message": "https://example.com"
},
"settings.applications.modal.header": {
"message": "Application information"
},
"settings.applications.notification.error.title": {
"message": "An error occurred"
},
"settings.applications.notification.icon-updated.description": {
"message": "Your application icon has been updated."
},
"settings.applications.notification.icon-updated.title": {
"message": "Icon updated"
},
"settings.applications.secret.disclaimer": {
"message": "Save your secret now, it will be hidden after you leave this page!"
},
"settings.billing.modal.cancel.action": {
"message": "Cancel subscription"
},