🐛 Fix personalisation bug (#2652)

* fix personlization bug

* fix translation issues

* fix suggested nodes

* update key
This commit is contained in:
Mutasem Aldmour 2022-01-07 20:41:28 +01:00 committed by GitHub
parent 4cefe98992
commit 6a2db6d107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 17 deletions

View file

@ -20,33 +20,33 @@
<n8n-input-label :label="$locale.baseText('personalizationModal.howAreYourCodingSkills')"> <n8n-input-label :label="$locale.baseText('personalizationModal.howAreYourCodingSkills')">
<n8n-select :value="values[CODING_SKILL_KEY]" :placeholder="$locale.baseText('personalizationModal.select')" @change="(value) => values[CODING_SKILL_KEY] = value"> <n8n-select :value="values[CODING_SKILL_KEY]" :placeholder="$locale.baseText('personalizationModal.select')" @change="(value) => values[CODING_SKILL_KEY] = value">
<n8n-option <n8n-option
:label="baseText('personalizationModal.neverCoded')" :label="$locale.baseText('personalizationModal.neverCoded')"
value="0" value="0"
/> />
<n8n-option <n8n-option
:label="baseText('personalizationModal.iGetStuckTooQuicklyToAchieveMuch')" :label="$locale.baseText('personalizationModal.iGetStuckTooQuicklyToAchieveMuch')"
value="1" value="1"
/> />
<n8n-option <n8n-option
:label="baseText('personalizationModal.iCanCodeSomeUsefulThingsBut')" :label="$locale.baseText('personalizationModal.iCanCodeSomeUsefulThingsBut')"
value="2" value="2"
/> />
<n8n-option <n8n-option
:label="baseText('personalizationModal.iKnowEnoughToBeDangerousBut')" :label="$locale.baseText('personalizationModal.iKnowEnoughToBeDangerousBut')"
value="3" value="3"
/> />
<n8n-option <n8n-option
:label="baseText('personalizationModal.iCanFigureMostThingsOut')" :label="$locale.baseText('personalizationModal.iCanFigureMostThingsOut')"
value="4" value="4"
/> />
<n8n-option <n8n-option
:label="baseText('personalizationModal.iCanDoAlmostAnythingIWant')" :label="$locale.baseText('personalizationModal.iCanDoAlmostAnythingIWant')"
value="5" value="5"
/> />
</n8n-select> </n8n-select>
</n8n-input-label> </n8n-input-label>
<n8n-input-label :label="$locale.baseText('personalizationModal.whichOfTheseAreasDoYouMainlyWorkIn')"> <n8n-input-label :label="$locale.baseText('personalizationModal.whichAreasDoYouMainlyWorkIn')">
<n8n-select :value="values[WORK_AREA_KEY]" multiple :placeholder="$locale.baseText('personalizationModal.select')" @change="(value) => onMultiInput(WORK_AREA_KEY, value)"> <n8n-select :value="values[WORK_AREA_KEY]" multiple :placeholder="$locale.baseText('personalizationModal.select')" @change="(value) => onMultiInput(WORK_AREA_KEY, value)">
<n8n-option :value="FINANCE_WORK_AREA" :label="$locale.baseText('personalizationModal.finance')" /> <n8n-option :value="FINANCE_WORK_AREA" :label="$locale.baseText('personalizationModal.finance')" />
<n8n-option :value="HR_WORK_AREA" :label="$locale.baseText('personalizationModal.hr')" /> <n8n-option :value="HR_WORK_AREA" :label="$locale.baseText('personalizationModal.hr')" />

View file

@ -86,7 +86,7 @@ export const TRIGGER_NODE_FILTER = 'Trigger';
export const ALL_NODE_FILTER = 'All'; export const ALL_NODE_FILTER = 'All';
export const UNCATEGORIZED_CATEGORY = 'Miscellaneous'; export const UNCATEGORIZED_CATEGORY = 'Miscellaneous';
export const UNCATEGORIZED_SUBCATEGORY = 'Helpers'; export const UNCATEGORIZED_SUBCATEGORY = 'Helpers';
export const PERSONALIZED_CATEGORY = 'Suggested Nodes'; export const PERSONALIZED_CATEGORY = 'Suggested Nodes';
export const HIDDEN_NODES = [START_NODE_TYPE]; export const HIDDEN_NODES = [START_NODE_TYPE];
export const REQUEST_NODE_FORM_URL = 'https://n8n-community.typeform.com/to/K1fBVTZ3'; export const REQUEST_NODE_FORM_URL = 'https://n8n-community.typeform.com/to/K1fBVTZ3';

View file

@ -667,13 +667,13 @@
"continue": "Continue", "continue": "Continue",
"eCommerce": "eCommerce", "eCommerce": "eCommerce",
"errorWhileSubmittingResults": "Error while submitting results", "errorWhileSubmittingResults": "Error while submitting results",
"executiveTeam": "Executive Team", "executiveTeam": "Executive team",
"finance": "finance", "finance": "Finance",
"getStarted": "Get started", "getStarted": "Get started",
"government": "Government", "government": "Government",
"healthcare": "Healthcare", "healthcare": "Healthcare",
"howAreYourCodingSkills": "How are your coding skills", "howAreYourCodingSkills": "How are your coding skills?",
"howBigIsYourCompany": "How big is your company", "howBigIsYourCompany": "How big is your company?",
"hr": "HR", "hr": "HR",
"iCanCodeSomeUsefulThingsBut": "2. I can code some useful things, but I spend a lot of time stuck", "iCanCodeSomeUsefulThingsBut": "2. I can code some useful things, but I spend a lot of time stuck",
"iCanDoAlmostAnythingIWant": "5. I can do almost anything I want, easily (pro coder)", "iCanDoAlmostAnythingIWant": "5. I can do almost anything I want, easily (pro coder)",
@ -682,12 +682,12 @@
"iKnowEnoughToBeDangerousBut": "3. I know enough to be dangerous, but I'm no expert", "iKnowEnoughToBeDangerousBut": "3. I know enough to be dangerous, but I'm no expert",
"imNotUsingN8nForWork": "I'm not using n8n for work", "imNotUsingN8nForWork": "I'm not using n8n for work",
"itEngineering": "IT / Engineering", "itEngineering": "IT / Engineering",
"legal": "legal", "legal": "Legal",
"lessThan20people": "Less than 20 people", "lessThan20People": "Less than 20 people",
"lookOutForThingsMarked": "Look out for things marked with a ✨. They are personalized to make n8n more relevant to you.", "lookOutForThingsMarked": "Look out for things marked with a ✨. They are personalized to make n8n more relevant to you.",
"marketing": "Marketing", "marketing": "Marketing",
"neverCoded": "0 (Never coded)", "neverCoded": "0 (Never coded)",
"operations": "operations", "operations": "Operations",
"otherPleaseSpecify": "Other (please specify)", "otherPleaseSpecify": "Other (please specify)",
"people": "people", "people": "people",
"proCoder": "Pro coder", "proCoder": "Pro coder",
@ -704,7 +704,7 @@
"thanks": "Thanks!", "thanks": "Thanks!",
"theseQuestionsHelpUs": "These questions help us tailor n8n to you", "theseQuestionsHelpUs": "These questions help us tailor n8n to you",
"whichIndustriesIsYourCompanyIn": "Which industries is your company in?", "whichIndustriesIsYourCompanyIn": "Which industries is your company in?",
"whichOfTheseAreasDoYouMainlyWorkIn": "Which of these areas do you mainly work in?" "whichAreasDoYouMainlyWorkIn": "Which areas do you mainly work in?"
}, },
"pushConnection": { "pushConnection": {
"showMessage": { "showMessage": {
@ -1040,4 +1040,4 @@
"timeoutWorkflow": "Timeout Workflow", "timeoutWorkflow": "Timeout Workflow",
"timezone": "Timezone" "timezone": "Timezone"
} }
} }