Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +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',
|
noneKey: 'admin.wizard.select_field',
|
||||||
noneValue: 'admin.wizard.none',
|
noneValue: 'admin.wizard.none',
|
||||||
inputKey: 'admin.wizard.key',
|
inputKey: 'admin.wizard.key',
|
||||||
inputValue: 'admin.wizard.value',
|
|
||||||
customDisabled: Ember.computed.alias('input.user_field'),
|
customDisabled: Ember.computed.alias('input.user_field'),
|
||||||
|
|
||||||
@computed('input.value_custom', 'input.user_field')
|
@computed('input.value_custom', 'input.user_field')
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
|
valuePlaceholder: 'admin.wizard.value',
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
add() {
|
add() {
|
||||||
if (!this.get('inputs')) {
|
if (!this.get('inputs')) {
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
class=fieldClass
|
class=fieldClass
|
||||||
value=field.value
|
value=field.value
|
||||||
content=field.choices
|
content=field.choices
|
||||||
none=field.dropdown_none
|
none=(hash id="__none__" label=field.dropdown_none)
|
||||||
nameProperty="label"
|
nameProperty="label"
|
||||||
tabindex="9"}}
|
tabindex="9"}}
|
||||||
|
|
|
@ -79,7 +79,7 @@ en:
|
||||||
image: "Image"
|
image: "Image"
|
||||||
image_placeholder: "Image url"
|
image_placeholder: "Image url"
|
||||||
dropdown_none: "None"
|
dropdown_none: "None"
|
||||||
dropdown_none_placeholder: "Translation Key"
|
dropdown_none_placeholder: "Label"
|
||||||
choices_label: "Dropdown Choices"
|
choices_label: "Dropdown Choices"
|
||||||
choices_type: "Choose a type"
|
choices_type: "Choose a type"
|
||||||
choices_translation: "Translation"
|
choices_translation: "Translation"
|
||||||
|
|
Laden …
In neuem Issue referenzieren