Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 11:52:54 +01:00
fix placeholders
Dieser Commit ist enthalten in:
Ursprung
29ad274df7
Commit
cd51e4cbca
4 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
|
@ -6,7 +6,6 @@ export default Ember.Component.extend({
|
|||
noneKey: 'admin.wizard.select_field',
|
||||
noneValue: 'admin.wizard.none',
|
||||
inputKey: 'admin.wizard.key',
|
||||
inputValue: 'admin.wizard.value',
|
||||
customDisabled: Ember.computed.alias('input.user_field'),
|
||||
|
||||
@computed('input.value_custom', 'input.user_field')
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
export default Ember.Component.extend({
|
||||
valuePlaceholder: 'admin.wizard.value',
|
||||
|
||||
actions: {
|
||||
add() {
|
||||
if (!this.get('inputs')) {
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
class=fieldClass
|
||||
value=field.value
|
||||
content=field.choices
|
||||
none=field.dropdown_none
|
||||
none=(hash id="__none__" label=field.dropdown_none)
|
||||
nameProperty="label"
|
||||
tabindex="9"}}
|
||||
|
|
|
@ -79,7 +79,7 @@ en:
|
|||
image: "Image"
|
||||
image_placeholder: "Image url"
|
||||
dropdown_none: "None"
|
||||
dropdown_none_placeholder: "Translation Key"
|
||||
dropdown_none_placeholder: "Label"
|
||||
choices_label: "Dropdown Choices"
|
||||
choices_type: "Choose a type"
|
||||
choices_translation: "Translation"
|
||||
|
|
Laden …
In neuem Issue referenzieren