Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8373,6 +8373,15 @@ const CONST = {
icon: 'Members',
requiredPlan: this.POLICY.TYPE.CORPORATE,
},
recruiting: {
id: 'recruiting' as const,
alias: 'recruiting',
name: 'Recruiting',
title: 'workspace.upgrade.recruiting.title' as const,
description: 'workspace.upgrade.recruiting.description' as const,
icon: 'NewUser',
requiredPlan: this.POLICY.TYPE.CORPORATE,
},
travel: {
id: 'travel' as const,
alias: 'travel',
Expand Down Expand Up @@ -9450,6 +9459,7 @@ const CONST = {
REPORTS: 'WorkspaceInitial-Reports',
ACCOUNTING: 'WorkspaceInitial-Accounting',
HR: 'WorkspaceInitial-HR',
RECRUITING: 'WorkspaceInitial-Recruiting',
RECEIPT_PARTNERS: 'WorkspaceInitial-ReceiptPartners',
CATEGORIES: 'WorkspaceInitial-Categories',
TAGS: 'WorkspaceInitial-Tags',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const SEARCH_ROUTER_ICON_NAMES = [
'InvoiceGeneric',
'Bolt',
'Bot',
'UserPlus',
] as const;

// Saved searches are user-defined searches, not canned destinations, so they are excluded from go-to navigation suggestions.
Expand Down Expand Up @@ -138,6 +139,9 @@ type BuildWorkspaceNavigationItemsParams = {

isVendorMatchingBetaEnabled: boolean;

/** Whether the Merge ATS beta gating the Recruiting feature is enabled. */
isRecruitingBetaEnabled: boolean;

/** Whether navigation should use the narrow-layout Workspace flow. */
shouldUseNarrowLayout: boolean;

Expand Down Expand Up @@ -285,6 +289,7 @@ function buildWorkspaceNavigationItems({
icons,
isOffline,
isVendorMatchingBetaEnabled,
isRecruitingBetaEnabled,
shouldUseNarrowLayout,
convertToDisplayString,
getItemText,
Expand All @@ -303,6 +308,7 @@ function buildWorkspaceNavigationItems({
icons,
policyCategories: policyCategories?.[`${ONYXKEYS.COLLECTION.POLICY_CATEGORIES}${policy.id}`],
isVendorMatchingBetaEnabled,
isRecruitingBetaEnabled,
convertToDisplayString,
});

Expand Down Expand Up @@ -435,6 +441,7 @@ function useNavigationSuggestions(query: string, shouldWatchForApprovals = true)
icons,
isOffline: !!isOffline,
isVendorMatchingBetaEnabled: isBetaEnabled(CONST.BETAS.VENDOR_MATCHING),
isRecruitingBetaEnabled: isBetaEnabled(CONST.BETAS.MERGE_ATS),
shouldUseNarrowLayout,
convertToDisplayString,
getItemText: (item) => translate(item.translationKey),
Expand Down
11 changes: 11 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6655,6 +6655,9 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU
disabledTitle: 'Nicht so schnell...',
disabledMessage: 'Um diese Funktion zu aktivieren oder zu deaktivieren, müssen Sie Ihre Buchhaltungsimporteinstellungen ändern.',
},
recruitingWarningModal: {
disconnectText: ({integration}: {integration: string}) => `Um Recruiting zu deaktivieren, trennen Sie bitte zuerst die Verbindung von ${integration} mit diesem Workspace.`,
},
},
reports: {
reportsCustomTitleExamples: 'Beispiele:',
Expand Down Expand Up @@ -7944,6 +7947,13 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Automatisch aktualisierte amtliche Sätze sind nur im Control-Tarif verfügbar, ab <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `pro Mitglied pro Monat.` : `pro aktivem Mitglied und Monat.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Mehrere Genehmigungsebenen',
description:
'Mehrere Genehmigungsstufen sind ein Workflow-Tool für Unternehmen, die mehr als eine Person benötigen, um einen Bericht zu genehmigen, bevor er erstattet werden kann.',
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Mehrere Genehmigungsebenen sind nur im Control-Tarif verfügbar, beginnend bei <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `pro Mitglied und Monat.` : `pro aktivem Mitglied und Monat.`}</muted-text>`,
},
},
downgrade: {
commonFeatures: {
Expand Down Expand Up @@ -8647,6 +8657,7 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
importSettings: 'Import-Einstellungen',
defaultApprover: 'Standardgenehmiger',
approverFields: {recruiter: 'Personalvermittler', recruitingCoordinator: 'Recruiting-Koordinator'},
subtitle: 'Verknüpfen Sie Recruiting-Tools und halten Sie Kandidatengenehmigungen synchron.',
},
merge: {
connections: 'Verbindungen',
Expand Down
12 changes: 12 additions & 0 deletions src/languages/el.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6782,6 +6782,10 @@ _Για πιο αναλυτικές οδηγίες, [επισκεφθείτε τ
disabledTitle: 'Όχι τόσο γρήγορα...',
disabledMessage: 'Για να ενεργοποιήσετε ή να απενεργοποιήσετε αυτήν τη λειτουργία, θα πρέπει να αλλάξετε τις ρυθμίσεις εισαγωγής λογιστικής.',
},
recruitingWarningModal: {
disconnectText: ({integration}: {integration: string}) =>
`Για να απενεργοποιήσετε την προσέλκυση προσωπικού, αποσυνδέστε πρώτα το ${integration} από αυτόν τον χώρο εργασίας.`,
},
},
reports: {
reportsCustomTitleExamples: 'Παραδείγματα:',
Expand Down Expand Up @@ -7635,6 +7639,7 @@ _Για πιο αναλυτικές οδηγίες, [επισκεφθείτε τ
importSettings: 'Ρυθμίσεις εισαγωγής',
defaultApprover: 'Προεπιλεγμένος εγκρίνων',
approverFields: {recruiter: 'Στρατολογητής', recruitingCoordinator: 'Συντονιστής προσλήψεων'},
subtitle: 'Συνδέστε τα εργαλεία προσλήψεων και διατηρήστε τις εγκρίσεις υποψηφίων συγχρονισμένες.',
},
merge: {
connections: 'Συνδέσεις',
Expand Down Expand Up @@ -8201,6 +8206,13 @@ ${reportName}`,
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Η αυτόματη ενημέρωση κυβερνητικών συντελεστών είναι διαθέσιμη μόνο στο πρόγραμμα Control, ξεκινώντας από <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `ανά μέλος ανά μήνα.` : `ανά ενεργό μέλος ανά μήνα.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Πολλαπλά επίπεδα έγκρισης',
description:
'Τα πολλαπλά επίπεδα έγκρισης είναι ένα εργαλείο ροής εργασίας για εταιρείες που απαιτούν περισσότερα από ένα άτομα να εγκρίνουν μια αναφορά πριν μπορέσει να αποζημιωθεί.',
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Πολλαπλά επίπεδα έγκρισης είναι διαθέσιμα μόνο στο πρόγραμμα Control, ξεκινώντας από <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `ανά μέλος ανά μήνα.` : `ανά ενεργό μέλος ανά μήνα.`}</muted-text>`,
},
},
downgrade: {
commonFeatures: {
Expand Down
11 changes: 11 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6743,6 +6743,9 @@ const translations = {
hrWarningModal: {
disconnectText: ({integration}: {integration: string}) => `To disable HR, please disconnect ${integration} from this workspace first.`,
},
recruitingWarningModal: {
disconnectText: ({integration}: {integration: string}) => `To disable Recruiting, please disconnect ${integration} from this workspace first.`,
},
Comment on lines +6746 to +6748

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bernhardoj Please ask the team to review and confirm all new copy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This follows the same pattern of HR, but @yuwenmemon can you help assign someone from the team to verify the copy in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

workflowWarningModal: {
featureEnabledTitle: 'Not so fast...',
featureEnabledText:
Expand Down Expand Up @@ -7604,6 +7607,7 @@ const translations = {
},
recruiting: {
title: 'Recruiting',
subtitle: 'Connect Recruiting tools and keep candidate approvals in sync.',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuwenmemon please check if this copy is correct. If it's, please run the translation script.

connectionsSubtitle:
"Connect to your recruiting system to sync candidate data, auto-match reimbursements to the right people, and keep your team's expenses accurate without the manual work.",
alreadyConnectedTitle: 'Cannot connect to multiple ATS platforms',
Expand Down Expand Up @@ -8045,6 +8049,13 @@ const translations = {
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>HR integrations are only available on the Control plan, starting at <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `per member per month.` : `per active member per month.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Recruiting integrations',
description:
"Connect to your recruiting system to sync candidate data, auto-match reimbursements to the right people, and keep your team's expenses accurate without the manual work.",
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Recruiting integrations are only available on the Control plan, starting at <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `per member per month.` : `per active member per month.`}</muted-text>`,
},
travel: {
title: 'Travel',
description: 'Expensify Travel is a new corporate travel booking and management platform that allows members to book accommodations, flights, transportation, and more.',
Expand Down
9 changes: 9 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6534,6 +6534,7 @@ ${amount} para ${merchant} - ${date}`,
subtitle: 'Establecer una tarifa por hora facturable para el seguimiento de tiempo.',
defaultHourlyRate: 'Tarifa por hora predeterminada',
},
recruitingWarningModal: {disconnectText: ({integration}: {integration: string}) => `Para desactivar Recruiting, primero desconecta ${integration} de este espacio de trabajo.`},
},
reports: {
reportsCustomTitleExamples: 'Ejemplos:',
Expand Down Expand Up @@ -7376,6 +7377,7 @@ El plan Controlar empieza en 9 $ por miembro activo al mes.`,
importSettings: 'Importar ajustes',
defaultApprover: 'Aprobador predeterminado',
approverFields: {recruiter: 'Reclutador', recruitingCoordinator: 'Coordinador de selección'},
subtitle: 'Conecta herramientas de selección y mantén sincronizadas las aprobaciones de candidatos.',
},
merge: {
connections: 'Conexiones',
Expand Down Expand Up @@ -7942,6 +7944,13 @@ ${reportName}`,
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>La actualización automática de tasas gubernamentales solo está disponible en el plan Controlar, desde <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `por miembro al mes.` : `por miembro activo al mes.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Varios niveles de aprobación',
description:
'Los múltiples niveles de aprobación son una herramienta de flujo de trabajo para empresas que requieren que más de una persona apruebe un informe antes de poder reembolsarlo.',
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Los múltiples niveles de aprobación solo están disponibles en el plan Controlar, a partir de <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `por miembro al mes.` : `por miembro activo al mes.`}</muted-text>`,
},
},
downgrade: {
commonFeatures: {
Expand Down
11 changes: 11 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6672,6 +6672,9 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST.
disabledTitle: 'Pas si vite...',
disabledMessage: 'Pour activer ou désactiver cette fonctionnalité, vous devrez modifier vos paramètres d’importation comptable.',
},
recruitingWarningModal: {
disconnectText: ({integration}: {integration: string}) => `Pour désactiver le recrutement, veuillez d’abord déconnecter ${integration} de cet espace de travail.`,
},
},
reports: {
reportsCustomTitleExamples: 'Exemples :',
Expand Down Expand Up @@ -7966,6 +7969,13 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>La mise à jour automatique des taux gouvernementaux est uniquement disponible avec l'offre Control, à partir de <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `par membre et par mois.` : `par membre actif et par mois.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Plusieurs niveaux d’approbation',
description:
'Les niveaux d’approbation multiples sont un outil de workflow pour les entreprises qui exigent que plus d’une personne approuve une note de frais avant qu’elle puisse être remboursée.',
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>Les niveaux d’approbation multiples sont uniquement disponibles avec l’offre Control, à partir de <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `par membre et par mois.` : `par membre actif et par mois.`}</muted-text>`,
},
},
downgrade: {
commonFeatures: {
Expand Down Expand Up @@ -8666,6 +8676,7 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
importSettings: 'Paramètres d’importation',
defaultApprover: 'Approbateur par défaut',
approverFields: {recruiter: 'Recruteur', recruitingCoordinator: 'Coordinateur recrutement'},
subtitle: 'Connectez les outils de recrutement et synchronisez les validations de candidats.',
},
merge: {
connections: 'Connexions',
Expand Down
9 changes: 9 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6622,6 +6622,7 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST.
disabledTitle: 'Non così in fretta...',
disabledMessage: 'Per abilitare o disabilitare questa funzione, dovrai modificare le impostazioni di importazione della contabilità.',
},
recruitingWarningModal: {disconnectText: ({integration}: {integration: string}) => `Per disattivare Recruiting, scollega prima ${integration} da questo spazio di lavoro.`},
},
reports: {
reportsCustomTitleExamples: 'Esempi:',
Expand Down Expand Up @@ -7902,6 +7903,13 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>L’aggiornamento automatico delle aliquote governative è disponibile solo con il piano Control, a partire da <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `per membro al mese.` : `per utente attivo al mese.`}</muted-text>`,
},
[CONST.UPGRADE_FEATURE_INTRO_MAPPING.recruiting.id]: {
title: 'Più livelli di approvazione',
description:
'I livelli di approvazione multipli sono uno strumento di workflow per le aziende che richiedono l’approvazione di più persone per un report prima che possa essere rimborsato.',
onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}: {formattedPrice: string; hasTeam2025Pricing: boolean}) =>
`<muted-text>I livelli di approvazione multipli sono disponibili solo nel piano Control, a partire da <strong>${formattedPrice}</strong> ${hasTeam2025Pricing ? `per membro al mese.` : `per membro attivo al mese.`}</muted-text>`,
},
},
downgrade: {
commonFeatures: {
Expand Down Expand Up @@ -8598,6 +8606,7 @@ Aggiungi altre regole di spesa per proteggere il flusso di cassa aziendale.`,
importSettings: 'Impostazioni di importazione',
defaultApprover: 'Approvatore predefinito',
approverFields: {recruiter: 'Recruiter', recruitingCoordinator: 'Coordinatore recruiting'},
subtitle: 'Collega gli strumenti di recruiting e mantieni sincronizzate le approvazioni dei candidati.',
},
merge: {
connections: 'Connessioni',
Expand Down
Loading
Loading