FIX: Missing translations for empty config area (#29966)
This commit is contained in:
parent
6acf673f8d
commit
ccc8e37dde
|
@ -91,7 +91,7 @@ export default class AdminConfigAreasEmojisList extends Component {
|
|||
@ctaLabel="admin.emoji.add"
|
||||
@ctaRoute="adminEmojis.new"
|
||||
@ctaClass="admin-emojis__add-emoji"
|
||||
@emptyLabel="admin.emoji.no_emoji"
|
||||
@emptyLabel={{i18n "admin.emoji.no_emoji"}}
|
||||
/>
|
||||
{{/if}}
|
||||
</template>
|
||||
|
|
|
@ -97,7 +97,7 @@ export default class AdminConfigAreasUserFieldsList extends Component {
|
|||
@ctaLabel="admin.user_fields.add"
|
||||
@ctaRoute="adminUserFields.new"
|
||||
@ctaClass="admin-user_fields__add-emoji"
|
||||
@emptyLabel="admin.user_fields.no_user_fields"
|
||||
@emptyLabel={{i18n "admin.user_fields.no_user_fields"}}
|
||||
/>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,6 @@ import Component from "@glimmer/component";
|
|||
import { tracked } from "@glimmer/tracking";
|
||||
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
|
||||
import { service } from "@ember/service";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import ConditionalLoadingSpinner from "discourse/components/conditional-loading-spinner";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
|
@ -73,11 +72,9 @@ export default class DashboardNewFeatures extends Component {
|
|||
</AdminConfigAreaCard>
|
||||
{{else}}
|
||||
<AdminConfigAreaEmptyList
|
||||
@emptyLabel={{htmlSafe
|
||||
(i18n
|
||||
"admin.dashboard.new_features.previous_announcements"
|
||||
url="https://meta.discourse.org/tags/c/announcements/67/release-notes"
|
||||
)
|
||||
@emptyLabel={{i18n
|
||||
"admin.dashboard.new_features.previous_announcements"
|
||||
url="https://meta.discourse.org/tags/c/announcements/67/release-notes"
|
||||
}}
|
||||
/>
|
||||
{{/each}}
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
@ctaLabel="admin.permalink.add"
|
||||
@ctaRoute="adminPermalinks.new"
|
||||
@ctaClass="admin-permalinks__add-permalink"
|
||||
@emptyLabel="admin.permalink.no_permalinks"
|
||||
@emptyLabel={{i18n "admin.permalink.no_permalinks"}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue