mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 17:52:45 +08:00
A11Y: Label site setting buttons (#29348)
This commit is contained in:
parent
4983fa6df7
commit
bca8e1dbc6
@ -58,11 +58,13 @@
|
||||
@action={{this.update}}
|
||||
@icon="check"
|
||||
@disabled={{this.disableSaveButton}}
|
||||
@ariaLabel="admin.settings.save"
|
||||
class="ok setting-controls__ok"
|
||||
/>
|
||||
<DButton
|
||||
@action={{this.cancel}}
|
||||
@icon="xmark"
|
||||
@ariaLabel="admin.settings.cancel"
|
||||
class="cancel setting-controls__cancel"
|
||||
/>
|
||||
</div>
|
||||
@ -71,6 +73,7 @@
|
||||
<DButton
|
||||
@action={{this.toggleSecret}}
|
||||
@icon="far-eye-slash"
|
||||
@ariaLabel="admin.settings.unmask"
|
||||
class="setting-toggle-secret"
|
||||
/>
|
||||
{{/if}}
|
||||
|
@ -6989,6 +6989,9 @@ en:
|
||||
history: "View change history"
|
||||
reset: "reset"
|
||||
none: "none"
|
||||
save: "save"
|
||||
cancel: "cancel"
|
||||
unmask: "unmask input"
|
||||
site_settings:
|
||||
emoji_list:
|
||||
invalid_input: "Emoji list should only contain valid emoji names, eg: hugs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user