Update personalization modal strings

This commit is contained in:
Iván Ovejero 2021-12-06 10:29:16 +01:00
parent 00ac975164
commit e64c44291f
3 changed files with 157 additions and 85 deletions

View file

@ -18,20 +18,89 @@
<n8n-text>{{ $baseText('personalizationModal.lookOutForThingsMarked') }}</n8n-text> <n8n-text>{{ $baseText('personalizationModal.lookOutForThingsMarked') }}</n8n-text>
</div> </div>
<div :class="$style.container" v-else> <div :class="$style.container" v-else>
<n8n-input-label :label="$baseText('personalizationModal.howAreYourCodingSkills')">
<n8n-select :value="values[CODING_SKILL_KEY]" :placeholder="$baseText('personalizationModal.select')" @change="(value) => onInput(CODING_SKILL_KEY, value)">
<n8n-option
:label="baseText('personalizationModal.neverCoded')"
value="0"
/>
<n8n-option
:label="baseText('personalizationModal.iGetStuckTooQuicklyToAchieveMuch')"
value="1"
/>
<n8n-option
:label="baseText('personalizationModal.iCanCodeSomeUsefulThingsBut')"
value="2"
/>
<n8n-option
:label="baseText('personalizationModal.iKnowEnoughToBeDangerousBut')"
value="3"
/>
<n8n-option
:label="baseText('personalizationModal.iCanFigureMostThingsOut')"
value="4"
/>
<n8n-option
:label="baseText('personalizationModal.iCanDoAlmostAnythingIWant')"
value="5"
/>
</n8n-select>
</n8n-input-label>
<n8n-input-label :label="$baseText('personalizationModal.whichOfTheseAreasDoYouMainlyWorkIn')"> <n8n-input-label :label="$baseText('personalizationModal.whichOfTheseAreasDoYouMainlyWorkIn')">
<n8n-select :value="values[WORK_AREA_KEY]" :placeholder="$baseText('personalizationModal.select')" @change="(value) => onInput(WORK_AREA_KEY, value)"> <n8n-select :value="values[WORK_AREA_KEY]" :placeholder="$baseText('personalizationModal.select')" @change="(value) => onInput(WORK_AREA_KEY, value)">
<n8n-option :value="AUTOMATION_CONSULTING_WORK_AREA" :label="$baseText('personalizationModal.automationConsulting')" /> <n8n-option
<n8n-option :value="FINANCE_WORK_AREA" :label="$baseText('personalizationModal.finance')" /> :value="FINANCE_WORK_AREA"
<n8n-option :value="HR_WORK_AREA" :label="$baseText('personalizationModal.hr')" /> :label="$baseText('personalizationModal.finance')"
<n8n-option :value="IT_ENGINEERING_WORK_AREA" :label="$baseText('personalizationModal.itEngineering')" /> />
<n8n-option :value="LEGAL_WORK_AREA" :label="$baseText('personalizationModal.legal')" /> <n8n-option
<n8n-option :value="MARKETING_WORK_AREA" :label="$baseText('personalizationModal.marketingGrowth')" /> :value="HR_WORK_AREA"
<n8n-option :value="OPS_WORK_AREA" :label="$baseText('personalizationModal.operations')" /> :label="$baseText('personalizationModal.hr')"
<n8n-option :value="PRODUCT_WORK_AREA" :label="$baseText('personalizationModal.product')" /> />
<n8n-option :value="SALES_BUSINESSDEV_WORK_AREA" :label="$baseText('personalizationModal.salesBusinessDevelopment')" /> <n8n-option
<n8n-option :value="SECURITY_WORK_AREA" :label="$baseText('personalizationModal.security')" /> :value="IT_ENGINEERING_WORK_AREA"
<n8n-option :value="SUPPORT_WORK_AREA" :label="$baseText('personalizationModal.support')" /> :label="$baseText('personalizationModal.itEngineering')"
<n8n-option :value="OTHER_WORK_AREA_OPTION" :label="$baseText('personalizationModal.otherPleaseSpecify')" /> />
<n8n-option
:value="LEGAL_WORK_AREA"
:label="$baseText('personalizationModal.legal')"
/>
<n8n-option
:value="MARKETING_WORK_AREA"
:label="$baseText('personalizationModal.marketing')"
/>
<n8n-option
:value="OPS_WORK_AREA"
:label="$baseText('personalizationModal.operations')"
/>
<n8n-option
:value="PRODUCT_WORK_AREA"
:label="$baseText('personalizationModal.product')"
/>
<n8n-option
:value="SALES_BUSINESSDEV_WORK_AREA"
:label="$baseText('personalizationModal.salesBizDev')"
/>
<n8n-option
:value="SECURITY_WORK_AREA"
:label="$baseText('personalizationModal.security')"
/>
<n8n-option
:value="SUPPORT_WORK_AREA"
:label="$baseText('personalizationModal.support')"
/>
<n8n-option
:value="EXECUTIVE_WORK_AREA"
:label="$baseText('personalizationModal.executiveTeam')"
/>
<n8n-option
:value="OTHER_WORK_AREA_OPTION"
:label="$baseText('personalizationModal.otherPleaseSpecify')"
/>
<n8n-option
:value="NOT_APPLICABLE_WORK_AREA"
:label="$baseText('personalizationModal.imNotUsingN8nForWork')"
/>
</n8n-select> </n8n-select>
</n8n-input-label> </n8n-input-label>
@ -42,78 +111,55 @@
@input="(value) => onInput(OTHER_WORK_AREA_KEY, value)" @input="(value) => onInput(OTHER_WORK_AREA_KEY, value)"
/> />
<n8n-input-label :label="$baseText('personalizationModal.howAreYourCodingSkills')">
<n8n-select :value="values[CODING_SKILL_KEY]" :placeholder="$baseText('personalizationModal.select')" @change="(value) => onInput(CODING_SKILL_KEY, value)">
<n8n-option
:label="`0 (${baseText('personalizationModal.neverCoded')})`"
value="0"
/>
<n8n-option
label="1. I get stuck too quickly to achieve much"
value="1"
/>
<n8n-option
label="2. I can code some useful things, but I spend a lot of time stuck"
value="2"
/>
<n8n-option
label="3. I know enough to be dangerous, but I'm no expert"
value="3"
/>
<n8n-option
label="4. I can figure most things out"
value="4"
/>
<n8n-option
label="5. I can do almost anything I want, easily (pro coder)"
value="5"
/>
</n8n-select>
</n8n-input-label>
<n8n-input-label label="Which areas do you mainly work in?">
<n8n-select :value="values[WORK_AREA_KEY]" multiple placeholder="Select..." @change="(value) => onInput(WORK_AREA_KEY, value)">
<n8n-option :value="FINANCE_WORK_AREA" label="Finance" />
<n8n-option :value="HR_WORK_AREA" label="HR" />
<n8n-option :value="IT_ENGINEERING_WORK_AREA" label="IT / Engineering" />
<n8n-option :value="LEGAL_WORK_AREA" label="Legal" />
<n8n-option :value="MARKETING_WORK_AREA" label="Marketing" />
<n8n-option :value="OPS_WORK_AREA" label="Operations" />
<n8n-option :value="PRODUCT_WORK_AREA" label="Product" />
<n8n-option :value="SALES_BUSINESSDEV_WORK_AREA" label="Sales / Bizdev" />
<n8n-option :value="SECURITY_WORK_AREA" label="Security" />
<n8n-option :value="SUPPORT_WORK_AREA" label="Support" />
<n8n-option :value="EXECUTIVE_WORK_AREA" label="Executive team" />
<n8n-option :value="OTHER_WORK_AREA_OPTION" label="Other (please specify)" />
<n8n-option :value="NOT_APPLICABLE_WORK_AREA" label="I'm not using n8n for work" />
</n8n-select>
</n8n-input-label>
<n8n-input
v-if="otherWorkAreaFieldVisible"
:value="values[OTHER_WORK_AREA_KEY]"
placeholder="Specify your work area"
@input="(value) => onInput(OTHER_WORK_AREA_KEY, value)"
/>
<section v-if="showAllIndustryQuestions"> <section v-if="showAllIndustryQuestions">
<n8n-input-label label="Which industries is your company in?"> <n8n-input-label :label="$baseText('personalizationModal.whichIndustriesIsYourCompanyIn')">
<n8n-select :value="values[COMPANY_INDUSTRY_KEY]" multiple placeholder="Select..." @change="(value) => onInput(COMPANY_INDUSTRY_KEY, value)"> <n8n-select :value="values[COMPANY_INDUSTRY_KEY]" multiple :placeholder="$baseText('personalizationModal.select')" @change="(value) => onInput(COMPANY_INDUSTRY_KEY, value)">
<n8n-option :value="E_COMMERCE_INDUSTRY" label="eCommerce" /> <n8n-option
<n8n-option :value="AUTOMATION_CONSULTING_INDUSTRY" label="Automation consulting" /> :value="E_COMMERCE_INDUSTRY"
<n8n-option :value="SYSTEM_INTEGRATION_INDUSTRY" label="Systems integration" /> :label="$baseText('personalizationModal.eCommerce')"
<n8n-option :value="GOVERNMENT_INDUSTRY" label="Government" /> />
<n8n-option :value="LEGAL_INDUSTRY" label="Legal" /> <n8n-option
<n8n-option :value="HEALTHCARE_INDUSTRY" label="Healthcare" /> :value="AUTOMATION_CONSULTING_INDUSTRY"
<n8n-option :value="FINANCE_INDUSTRY" label="Finance" /> :label="$baseText('personalizationModal.automationConsulting')"
<n8n-option :value="SECURITY_INDUSTRY" label="Security" /> />
<n8n-option :value="SAAS_INDUSTRY" label="SaaS" /> <n8n-option
<n8n-option :value="OTHER_INDUSTRY_OPTION" label="Other (please specify)" /> :value="SYSTEM_INTEGRATION_INDUSTRY"
:label="$baseText('personalizationModal.systemsIntegration')"
/>
<n8n-option
:value="GOVERNMENT_INDUSTRY"
:label="$baseText('personalizationModal.government')"
/>
<n8n-option
:value="LEGAL_INDUSTRY"
:label="$baseText('personalizationModal.legal')"
/>
<n8n-option
:value="HEALTHCARE_INDUSTRY"
:label="$baseText('personalizationModal.healthcare')"
/>
<n8n-option
:value="FINANCE_INDUSTRY"
:label="$baseText('personalizationModal.finance')"
/>
<n8n-option
:value="SECURITY_INDUSTRY"
:label="$baseText('personalizationModal.security')"
/>
<n8n-option
:value="SAAS_INDUSTRY"
:label="$baseText('personalizationModal.saas')"
/>
<n8n-option
:value="OTHER_INDUSTRY_OPTION"
:label="$baseText('personalizationModal.otherPleaseSpecify')"
/>
</n8n-select> </n8n-select>
</n8n-input-label> </n8n-input-label>
<n8n-input <n8n-input
v-if="otherCompanyIndustryFieldVisible" v-if="otherCompanyIndustryFieldVisible"
:value="values[OTHER_COMPANY_INDUSTRY_KEY]" :value="values[OTHER_COMPANY_INDUSTRY_KEY]"
placeholder="Specify your company's industry" :placeholder="$baseText('personalizationModal.specifyYourCompanysIndustry')"
@input="(value) => onInput(OTHER_COMPANY_INDUSTRY_KEY, value)" @input="(value) => onInput(OTHER_COMPANY_INDUSTRY_KEY, value)"
/> />

View file

@ -540,7 +540,6 @@
}, },
"couldntImportWorkflow": "Couldn't import workflow", "couldntImportWorkflow": "Couldn't import workflow",
"deletesTheCurrentExecutionData": "🇩🇪 Deletes the current Execution Data.", "deletesTheCurrentExecutionData": "🇩🇪 Deletes the current Execution Data.",
"dropConnectionToAddNode": "🇩🇪 Drop connection<br />to add node",
"executesTheWorkflowFromTheStartOrWebhookNode": "🇩🇪 Executes the Workflow from the Start or Webhook Node.", "executesTheWorkflowFromTheStartOrWebhookNode": "🇩🇪 Executes the Workflow from the Start or Webhook Node.",
"itLooksLikeYouHaveBeenEditingSomething": "🇩🇪 It looks like you have been editing something. If you leave before saving, your changes will be lost.", "itLooksLikeYouHaveBeenEditingSomething": "🇩🇪 It looks like you have been editing something. If you leave before saving, your changes will be lost.",
"loadingTemplate": "🇩🇪 Loading template", "loadingTemplate": "🇩🇪 Loading template",
@ -676,31 +675,45 @@
"personalizationModal": { "personalizationModal": {
"automationConsulting": "🇩🇪 Automation consulting", "automationConsulting": "🇩🇪 Automation consulting",
"continue": "🇩🇪 Continue", "continue": "🇩🇪 Continue",
"eCommerce": "🇩🇪 eCommerce",
"errorWhileSubmittingResults": "🇩🇪 Error while submitting results", "errorWhileSubmittingResults": "🇩🇪 Error while submitting results",
"executiveTeam": "🇩🇪 Executive Team",
"finance": "🇩🇪 finance", "finance": "🇩🇪 finance",
"getStarted": "🇩🇪 Get started", "getStarted": "🇩🇪 Get started",
"government": "🇩🇪 Government",
"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",
"imNotUsingN8nForWork": "I'm not using n8n for work", "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)",
"iCanFigureMostThingsOut": "🇩🇪 4. I can figure most things out",
"iGetStuckTooQuicklyToAchieveMuch": "🇩🇪 1. I get stuck too quickly to achieve much",
"iKnowEnoughToBeDangerousBut": "🇩🇪 3. I know enough to be dangerous, but I'm no expert",
"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.",
"marketingGrowth": "🇩🇪 Marketing / Growth", "marketing": "🇩🇪 Marketing",
"neverCoded": "🇩🇪 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",
"product": "🇩🇪 Product", "product": "🇩🇪 Product",
"saas": "🇩🇪 SaaS",
"salesBizDev": "🇩🇪 Sales / Bizdev",
"salesBusinessDevelopment": "🇩🇪 Sales / Business Development", "salesBusinessDevelopment": "🇩🇪 Sales / Business Development",
"security": "🇩🇪 Security", "security": "🇩🇪 Security",
"select": "🇩🇪 Select...", "select": "🇩🇪 Select...",
"specifyYourCompanysIndustry": "🇩🇪 Specify your company's industry",
"specifyYourWorkArea": "🇩🇪 Specify your work area", "specifyYourWorkArea": "🇩🇪 Specify your work area",
"support": "🇩🇪 Support", "support": "🇩🇪 Support",
"systemsIntegration": "🇩🇪 Systems Integration",
"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?",
"whichOfTheseAreasDoYouMainlyWorkIn": "🇩🇪 Which of these areas do you mainly work in?" "whichOfTheseAreasDoYouMainlyWorkIn": "🇩🇪 Which of these areas do you mainly work in?"
}, },
"pushConnection": { "pushConnection": {

View file

@ -524,7 +524,6 @@
}, },
"couldntImportWorkflow": "Couldn't import workflow", "couldntImportWorkflow": "Couldn't import workflow",
"deletesTheCurrentExecutionData": "Deletes the current Execution Data.", "deletesTheCurrentExecutionData": "Deletes the current Execution Data.",
"dropConnectionToAddNode": "Drop connection<br />to add node",
"executesTheWorkflowFromTheStartOrWebhookNode": "Executes the Workflow from the Start or Webhook Node.", "executesTheWorkflowFromTheStartOrWebhookNode": "Executes the Workflow from the Start or Webhook Node.",
"itLooksLikeYouHaveBeenEditingSomething": "It looks like you have been editing something. If you leave before saving, your changes will be lost.", "itLooksLikeYouHaveBeenEditingSomething": "It looks like you have been editing something. If you leave before saving, your changes will be lost.",
"loadingTemplate": "Loading template", "loadingTemplate": "Loading template",
@ -660,31 +659,45 @@
"personalizationModal": { "personalizationModal": {
"automationConsulting": "Automation consulting", "automationConsulting": "Automation consulting",
"continue": "Continue", "continue": "Continue",
"eCommerce": "eCommerce",
"errorWhileSubmittingResults": "Error while submitting results", "errorWhileSubmittingResults": "Error while submitting results",
"executiveTeam": "Executive Team",
"finance": "finance", "finance": "finance",
"getStarted": "Get started", "getStarted": "Get started",
"government": "Government",
"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",
"iCanDoAlmostAnythingIWant": "5. I can do almost anything I want, easily (pro coder)",
"iCanFigureMostThingsOut": "4. I can figure most things out",
"iGetStuckTooQuicklyToAchieveMuch": "1. I get stuck too quickly to achieve much",
"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.",
"marketingGrowth": "Marketing / Growth", "marketing": "Marketing",
"neverCoded": "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",
"product": "Product", "product": "Product",
"saas": "SaaS",
"salesBizDev": "Sales / Bizdev",
"salesBusinessDevelopment": "Sales / Business Development", "salesBusinessDevelopment": "Sales / Business Development",
"security": "Security", "security": "Security",
"select": "Select...", "select": "Select...",
"specifyYourCompanysIndustry": "Specify your company's industry",
"specifyYourWorkArea": "Specify your work area", "specifyYourWorkArea": "Specify your work area",
"support": "Support", "support": "Support",
"systemsIntegration": "Systems Integration",
"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?",
"whichOfTheseAreasDoYouMainlyWorkIn": "Which of these areas do you mainly work in?" "whichOfTheseAreasDoYouMainlyWorkIn": "Which of these areas do you mainly work in?"
}, },
"pushConnection": { "pushConnection": {