Skip to content

Commit

Permalink
feat(SFT-1680): updating language and options on install Welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmartens committed Dec 24, 2024
1 parent 5ad0de4 commit d3c1aef
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 33 deletions.
9 changes: 7 additions & 2 deletions packages/client/src/app/pages/welcome/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ export const Welcome: React.FC = () => {
<CheckIcon />
</InstallIcon>
<InstallText style={installed.text}>
<span>{translate('Freeform installed successfully!')}</span>
<span>{translate('Awesome! Freeform is successfully installed!')}</span>
</InstallText>
</InstallWrapper>

<ExtraContentWrapper style={extra}>
{translate(
'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.'
"Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!"
)}
</ExtraContentWrapper>

Expand All @@ -52,6 +52,11 @@ export const Welcome: React.FC = () => {
{translate('Install Demo')}
</a>
</Button>
<Button style={buttons[1]} className="btn">
<a href="https://docs.solspace.com/craft/freeform/v5/guides/getting-started/">
{translate('Getting Started')}
</a>
</Button>
<Button style={buttons[1]} className="btn submit">
<a href={generateUrl('/settings')}>
{translate('Configure Freeform')}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/src/Resources/js/client/client.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/plugin/src/Resources/js/client/vendor.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@ private function getSubmissionIdFromStripeEvent(Event $event, Stripe $integratio
return null;
}

throw new HttpException(400, Freeform::t('Event is not linked to freeform submission'));
throw new HttpException(400, Freeform::t('Event is not linked to Freeform submission'));
}
}
7 changes: 4 additions & 3 deletions packages/plugin/src/translations/de/freeform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1405,10 +1405,11 @@

// Install Welcome
'Welcome' => 'Willkommen',
'Freeform installed successfully!' => 'Freeform erfolgreich installiert!',
'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.' => 'Vielen Dank, dass Sie sich für Freeform entschieden haben! Craft installiert standardmäßig die kostenlose Express-Edition. Wenn Sie das Beste aus Freeform herausholen möchten, wechseln Sie manuell zur Lite- oder Pro-Edition. Hier sind ein paar hilfreiche Links für den Einstieg.',
'Awesome! Freeform is successfully installed!' => 'Eindrucksvoll! Freeform wurde erfolgreich installiert!',
"Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!" => 'Vielen Dank, dass Sie sich für Freeform entschieden haben! Craft richtet Sie automatisch mit der kostenlosen Express-Edition ein. Wenn Sie noch mehr Funktionen entdecken möchten, sollten Sie einen Wechsel zur Lite- oder Pro-Edition in Betracht ziehen! Wir haben unten einige hilfreiche Links eingefügt, um Ihnen den Einstieg zu erleichtern. Genießen!',
'Create Forms' => 'Formulare erstellen',
'Install Demo' => 'Demo installieren',
'Getting Started' => 'Leitfaden für den Einstieg',
'Configure Freeform' => 'Freeform konfigurieren',

// Front End Form Errors // Forms
Expand Down Expand Up @@ -1437,7 +1438,7 @@
'Could not send successful payment notification' => 'Erfolgreiche Zahlungsbenachrichtigung konnte nicht gesendet werden',
'Could not send failed payment notification' => 'Fehlgeschlagene Zahlungsbenachrichtigung konnte nicht gesendet werden',
'Missing submissions ID in payment details' => 'Einsendungs-ID in den Zahlungsdetails fehlt',
'Event is not linked to freeform submission' => 'Ereignis ist nicht mit Freeform-Einsendung verknüpft',
'Event is not linked to Freeform submission' => 'Ereignis ist nicht mit Freeform-Einsendung verknüpft',

// Craft Queue Jobs
'Freeform: Processing Integrations' => 'Freeform: Verarbeite Integrationen',
Expand Down
7 changes: 4 additions & 3 deletions packages/plugin/src/translations/en/freeform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1405,10 +1405,11 @@

// Install Welcome
'Welcome' => 'Welcome',
'Freeform installed successfully!' => 'Freeform installed successfully!',
'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.' => 'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.',
'Awesome! Freeform is successfully installed!' => 'Awesome! Freeform is successfully installed!',
"Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!" => "Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!",
'Create Forms' => 'Create Forms',
'Install Demo' => 'Install Demo',
'Getting Started' => 'Getting Started',
'Configure Freeform' => 'Configure Freeform',

// Front End Form Errors // Forms
Expand Down Expand Up @@ -1437,7 +1438,7 @@
'Could not send successful payment notification' => 'Could not send successful payment notification',
'Could not send failed payment notification' => 'Could not send failed payment notification',
'Missing submissions ID in payment details' => 'Missing submissions ID in payment details',
'Event is not linked to freeform submission' => 'Event is not linked to freeform submission',
'Event is not linked to Freeform submission' => 'Event is not linked to Freeform submission',

// Craft Queue Jobs
'Freeform: Processing Integrations' => 'Freeform: Processing Integrations',
Expand Down
7 changes: 4 additions & 3 deletions packages/plugin/src/translations/fr/freeform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1405,10 +1405,11 @@

// Install Welcome
'Welcome' => 'Bienvenue',
'Freeform installed successfully!' => 'Freeform a été installé avec succès !',
'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.' => 'Merci d’avoir choisi Freeform ! Craft installera l’édition Express gratuite par défaut. Si vous souhaitez maximiser votre expérience, assurez-vous de passer manuellement à l’édition Lite ou Pro. Voici quelques liens utiles pour vous aider à démarrer.',
'Awesome! Freeform is successfully installed!' => 'Génial! Freeform est installé avec succès!',
"Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!" => 'Merci d’avoir choisi Freeform! Craft vous configurera automatiquement avec l’édition Express gratuite. Si vous avez hâte d’explorer encore plus de fonctionnalités, envisagez de passer à l’édition Lite ou Pro! Nous avons inclus quelques liens utiles ci-dessous pour vous aider à démarrer. Apprécier!',
'Create Forms' => 'Créer des formulaires',
'Install Demo' => 'Installer la démo',
'Getting Started' => 'Guide de démarrage',
'Configure Freeform' => 'Configurer Freeform',

// Front End Form Errors // Forms
Expand Down Expand Up @@ -1437,7 +1438,7 @@
'Could not send successful payment notification' => 'Impossible d’envoyer la notification de paiement réussi',
'Could not send failed payment notification' => 'Impossible d’envoyer la notification de paiement échoué',
'Missing submissions ID in payment details' => 'ID de contribution manquant dans les détails du paiement',
'Event is not linked to freeform submission' => 'L’événement n’est pas lié à une contribution Freeform',
'Event is not linked to Freeform submission' => 'L’événement n’est pas lié à une contribution Freeform',

// Craft Queue Jobs
'Freeform: Processing Integrations' => 'Freeform : Traitement des intégrations',
Expand Down
21 changes: 11 additions & 10 deletions packages/plugin/src/translations/it/freeform.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
'Do not map this field' => 'Non mappare questo campo',
'No data present' => 'Nessun dato presente',
'Twig code' => 'Codice Twig',
'Freeform field' => 'Campo libero',
'Freeform field' => 'Campo Freeform',
'No integrations found' => 'Nessuna integrazione trovata',
'To add an integration, click the button below' => 'Per aggiungere un’integrazione, clicca il pulsante qui sotto',
'Add integration' => 'Aggiungi integrazione',
Expand Down Expand Up @@ -1211,7 +1211,7 @@
'Project Key' => 'Chiave progetto',
'Enter the project key for the Jira project you want to interact with. If left empty, it will be auto-populated with the first available project key of your account.' => 'Inserisci la chiave del progetto Jira con cui vuoi interagire. Se lasciato vuoto, verrà compilato automaticamente con la prima chiave di progetto disponibile del tuo account.',
'Mapping' > 'Mappatura',
'Select the Freeform fields to be mapped to the applicable Jira Issue fields.' => 'Seleziona i campi in formato libero da mappare sui campi Jira Issue applicabili.',
'Select the Freeform fields to be mapped to the applicable Jira Issue fields.' => 'Seleziona i campi in Freeform da mappare sui campi Jira Issue applicabili.',

// Integrations // CRM // Salesforce
'Leads' => 'Leads',
Expand All @@ -1230,7 +1230,7 @@
'Task Due Date' => 'Data di scadenza dell’attività',
"Enter a relative textual date string for the Due Date of the newly created Task (e.g. '2 days')." => "Inserisci una stringa di data testuale relativa alla data di scadenza dell'attività appena creata (ad esempio '2 giorni').",
'Lead Mapping' => 'Mappatura lead',
'Select the Freeform fields to be mapped to the applicable Salesforce Lead fields.' => 'Seleziona i campi in formato libero da mappare ai campi Lead Salesforce applicabili.',
'Select the Freeform fields to be mapped to the applicable Salesforce Lead fields.' => 'Seleziona i campi in Freeform da mappare ai campi Lead Salesforce applicabili.',
'Opportunities' => 'Opportunità',
'Map to Opportunities' => 'Mappa su opportunità',
'Map submission data to create Opportunities in Salesforce.' => 'Mappatura dei dati di invio per creare opportunità in Salesforce.',
Expand All @@ -1241,7 +1241,7 @@
'Stage Name' => 'Nome fase',
"Enter the Stage Name the newly created Opportunity should be assigned to (e.g. 'Prospecting')." => "Inserisci il nome della fase a cui assegnare l’opportunità appena creata (ad esempio 'Prospezione').",
'Opportunity Mapping' => 'Mappatura opportunità',
'Select the Freeform fields to be mapped to the applicable Salesforce Opportunity fields.' => 'Seleziona i campi in formato libero da mappare ai campi Opportunità Salesforce applicabili.',
'Select the Freeform fields to be mapped to the applicable Salesforce Opportunity fields.' => 'Seleziona i campi in Freeform da mappare ai campi Opportunità Salesforce applicabili.',
'Accounts' => 'Conti',
'Map to Accounts' => 'Mappatura su conti',
'Map submission data to create Accounts in Salesforce.' => 'Mappatura dei dati di invio per creare account in Salesforce.',
Expand All @@ -1250,7 +1250,7 @@
'Append Checkboxes field values on Account update' => 'Aggiungi i valori dei campi delle caselle di controllo all’aggiornamento dell’account',
'If an Account already exists in Salesforce, enabling this option will add additional Checkboxes field values to the Account in Salesforce instead of replacing the existing options.' => 'Se un account esiste già in Salesforce, abilitando questa opzione verranno aggiunti ulteriori valori del campo Caselle di controllo all’account in Salesforce invece di sostituire le opzioni esistenti.',
'Account Mapping' => 'Mappatura account',
'Select the Freeform fields to be mapped to the applicable Salesforce Account fields.' => 'Seleziona i campi in formato libero da mappare sui campi dell’account Salesforce applicabili.',
'Select the Freeform fields to be mapped to the applicable Salesforce Account fields.' => 'Seleziona i campi in Freeform da mappare sui campi dell’account Salesforce applicabili.',
'Contacts' => 'Contatti',
'Map to Contacts' => 'Mappa su contatti',
'Map submission data to create Contacts in Salesforce.' => 'Mappatura dei dati di invio per creare contatti in Salesforce.',
Expand All @@ -1261,7 +1261,7 @@
'Append Checkboxes field values on Contact update' => 'Aggiungi i valori dei campi delle caselle di controllo all’aggiornamento dei contatti',
'If a Contact already exists in Salesforce, enabling this option will add additional Checkboxes field values to the Contact in Salesforce instead of replacing the existing options.' => 'Se un contatto esiste già in Salesforce, abilitando questa opzione verranno aggiunti ulteriori valori del campo Caselle di controllo al contatto in Salesforce invece di sostituire le opzioni esistenti.',
'Contact Mapping' => 'Mappatura contatti',
'Select the Freeform fields to be mapped to the applicable Salesforce Contact fields.' => 'Seleziona i campi in formato libero da mappare sui campi Contatto Salesforce applicabili.',
'Select the Freeform fields to be mapped to the applicable Salesforce Contact fields.' => 'Seleziona i campi in Freeform da mappare sui campi Contatto Salesforce applicabili.',

// Integrations // Captchas
'Captchas' => 'Captchas',
Expand Down Expand Up @@ -1405,11 +1405,12 @@

// Install Welcome
'Welcome' => 'Benvenuto',
'Freeform installed successfully!' => 'Freeform installato con successo!',
'Thank you for choosing Freeform! Craft will install the free Express edition by default. If you wish to maximize your experience, be sure to manually switch the edition to Lite or Pro. Below are a few helpful links to get you started.' => 'Grazie per aver scelto Freeform! Craft installerà l’edizione Express gratuita per impostazione predefinita. Se desideri massimizzare la tua esperienza, assicurati di passare manualmente la versione a Lite o Pro. Di seguito sono riportati alcuni collegamenti utili per iniziare.',
'Awesome! Freeform is successfully installed!' => 'Eccezionale! Freeform è stato installato con successo!',
"Thanks for choosing Freeform! Craft will automatically set you up with the free Express edition. If you're excited to explore even more features, consider switching to the Lite or Pro edition! We've included some helpful links below to get you started. Enjoy!" => 'Grazie per aver scelto Freeform! Craft ti configurerà automaticamente con l’edizione Express gratuita. Se non vedi l’ora di esplorare ancora più funzionalità, valuta la possibilità di passare all’edizione Lite o Pro! Di seguito abbiamo incluso alcuni collegamenti utili per iniziare. Godere!',
'Create Forms' => 'Crea moduli',
'Install Demo' => 'Installa demo',
'Configure Freeform' => 'Configura forma libera',
'Getting Started' => 'Guida introduttiva',
'Configure Freeform' => 'Configura Freeform',

// Front End Form Errors // Forms
'Sorry, there was an error submitting the form. Please try again.' => 'Siamo spiacenti, si è verificato un errore durante l’invio del modulo. Per favore riprova.',
Expand Down Expand Up @@ -1437,7 +1438,7 @@
'Could not send successful payment notification' => 'Impossibile inviare la notifica di pagamento riuscito',
'Could not send failed payment notification' => 'Impossibile inviare la notifica di pagamento non riuscito',
'Missing submissions ID in payment details' => 'ID invii mancanti nei dettagli del pagamento',
'Event is not linked to freeform submission' => 'L’evento non è collegato all’invio in formato libero',
'Event is not linked to Freeform submission' => 'L’evento non è collegato all’invio in Freeform',

// Craft Queue Jobs
'Freeform: Processing Integrations' => 'Freeform: Integrazioni di elaborazione',
Expand Down
Loading

0 comments on commit d3c1aef

Please sign in to comment.