DEV: Correct i18n helper invocation case (#24806)

This commit is contained in:
Jarek Radosz
2023-12-11 15:44:28 +01:00
committed by GitHub
parent 4a62676512
commit cc74bcdc85
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
<div class="control-group form-templates__editor"> <div class="control-group form-templates__editor">
<div class="form-templates__quick-insert-field-buttons"> <div class="form-templates__quick-insert-field-buttons">
<span> <span>
{{I18n "admin.form_templates.quick_insert_fields.add_new_field"}} {{i18n "admin.form_templates.quick_insert_fields.add_new_field"}}
</span> </span>
{{#each this.quickInsertFields as |field|}} {{#each this.quickInsertFields as |field|}}
<DButton <DButton

View File

@ -23,7 +23,7 @@
{{#if this.composer.model.viewOpenOrFullscreen}} {{#if this.composer.model.viewOpenOrFullscreen}}
<div <div
role="form" role="form"
aria-label={{I18n this.composer.saveLabel}} aria-label={{i18n this.composer.saveLabel}}
class="reply-area class="reply-area
{{if this.composer.canEditTags 'with-tags' 'without-tags'}} {{if this.composer.canEditTags 'with-tags' 'without-tags'}}
{{if {{if

View File

@ -3,7 +3,7 @@
@id="reply-title" @id="reply-title"
@maxLength={{this.titleMaxLength}} @maxLength={{this.titleMaxLength}}
@placeholderKey={{this.composer.titlePlaceholder}} @placeholderKey={{this.composer.titlePlaceholder}}
@aria-label={{I18n this.composer.titlePlaceholder}} @aria-label={{i18n this.composer.titlePlaceholder}}
@disabled={{this.disabled}} @disabled={{this.disabled}}
@autocomplete="off" @autocomplete="off"
/> />

View File

@ -6,7 +6,7 @@
<DTextarea <DTextarea
@value={{this.shareUrl}} @value={{this.shareUrl}}
@class="topic-share-url" @class="topic-share-url"
@aria-label={{I18n "share.url"}} @aria-label={{i18n "share.url"}}
/> />
<div class="sources"> <div class="sources">