FIX: Minor i18n problems on admin webhooks pages (#31010)

This fixes two minor problems on the admin webhooks page.

- Wrong key used for edit button title in listing.
- Duplicated use of `i18n` leading to "en.Edit" in show page.
This commit is contained in:
Ted Johansson
2025-01-27 13:46:35 +08:00
committed by GitHub
parent 78a857931c
commit ad8f9465c3
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export default class WebhookItem extends Component {
<DButton
@action={{this.edit}}
@label="admin.web_hooks.edit"
@title="admin.api.show_details"
@title="admin.web_hooks.edit"
class="btn-small"
/>
<DMenu

View File

@@ -10,7 +10,7 @@
<DButton
@action={{this.edit}}
@icon="far-pen-to-square"
@title={{i18n "admin.web_hooks.edit"}}
@title="admin.web_hooks.edit"
class="no-text admin-webhooks__edit-button"
/>