Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
FIX: use wizard-i18n helper to support theme translation overrides (#88)
Dieser Commit ist enthalten in:
Ursprung
2fe3aa53b1
Commit
dadac11c1e
3 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
|
@ -1,9 +1,9 @@
|
|||
<label class={{currentStateClass}}>
|
||||
{{#if currentState}}
|
||||
{{#if insufficientCharactersCategories}}
|
||||
{{html-safe (i18n currentStateKey catLinks=catLinks)}}
|
||||
{{html-safe (wizard-i18n currentStateKey catLinks=catLinks)}}
|
||||
{{else}}
|
||||
{{i18n currentStateKey}}
|
||||
{{wizard-i18n currentStateKey}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</label>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#if isValid}}
|
||||
{{i18n validMessageKey}}
|
||||
{{wizard-i18n validMessageKey}}
|
||||
{{else}}
|
||||
{{i18n invalidMessageKey}}
|
||||
{{wizard-i18n invalidMessageKey}}
|
||||
{{/if}}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
</ul>
|
||||
{{else}}
|
||||
<a class="show-topics" {{action "toggleShowTopics"}}>
|
||||
{{i18n 'realtime_validations.similar_topics.show'}}
|
||||
{{wizard-i18n 'realtime_validations.similar_topics.show'}}
|
||||
</a>
|
||||
{{/if}}
|
Laden …
In neuem Issue referenzieren