mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user