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}}>
|
<label class={{currentStateClass}}>
|
||||||
{{#if currentState}}
|
{{#if currentState}}
|
||||||
{{#if insufficientCharactersCategories}}
|
{{#if insufficientCharactersCategories}}
|
||||||
{{html-safe (i18n currentStateKey catLinks=catLinks)}}
|
{{html-safe (wizard-i18n currentStateKey catLinks=catLinks)}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{i18n currentStateKey}}
|
{{wizard-i18n currentStateKey}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</label>
|
</label>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{#if isValid}}
|
{{#if isValid}}
|
||||||
{{i18n validMessageKey}}
|
{{wizard-i18n validMessageKey}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{i18n invalidMessageKey}}
|
{{wizard-i18n invalidMessageKey}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="show-topics" {{action "toggleShowTopics"}}>
|
<a class="show-topics" {{action "toggleShowTopics"}}>
|
||||||
{{i18n 'realtime_validations.similar_topics.show'}}
|
{{wizard-i18n 'realtime_validations.similar_topics.show'}}
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
Laden …
In neuem Issue referenzieren