From 4d778cf8afdae7572a0d2ec92402822158bd5b2c Mon Sep 17 00:00:00 2001 From: thelullabyy Date: Thu, 25 Sep 2025 15:55:14 +0700 Subject: [PATCH 1/3] fix: missing add expense approval task --- src/CONST/index.ts | 1 + src/languages/de.ts | 18 ++++++++++++++++++ src/languages/en.ts | 18 ++++++++++++++++++ src/languages/es.ts | 18 ++++++++++++++++++ src/languages/fr.ts | 18 ++++++++++++++++++ src/languages/it.ts | 18 ++++++++++++++++++ src/languages/ja.ts | 18 ++++++++++++++++++ src/languages/nl.ts | 18 ++++++++++++++++++ src/languages/pl.ts | 18 ++++++++++++++++++ src/languages/pt-BR.ts | 18 ++++++++++++++++++ src/languages/zh-hans.ts | 18 ++++++++++++++++++ src/libs/actions/Welcome/OnboardingFlow.ts | 19 ++++++++++++++++++- 12 files changed, 199 insertions(+), 1 deletion(-) diff --git a/src/CONST/index.ts b/src/CONST/index.ts index 3db16d7fe6cf..fad9d9501cb8 100755 --- a/src/CONST/index.ts +++ b/src/CONST/index.ts @@ -7259,6 +7259,7 @@ const CONST = { SPLIT_EXPENSE: 'splitExpense', REVIEW_WORKSPACE_SETTINGS: 'reviewWorkspaceSettings', INVITE_ACCOUNTANT: 'inviteAccountant', + ADD_EXPENSE_APPROVALS: 'addExpenseApprovals', }, } as const; diff --git a/src/languages/de.ts b/src/languages/de.ts index 11a6c03fd6c8..b131c3314831 100644 --- a/src/languages/de.ts +++ b/src/languages/de.ts @@ -2336,6 +2336,24 @@ const translations = { title: ({testDriveURL}) => `Mache eine [Probefahrt](${testDriveURL})`, description: ({testDriveURL}) => `Probiere uns in einer [Probefahrt](${testDriveURL}) aus und sichere deinem Team *3 Monate Expensify gratis!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Erstelle](${workspaceConfirmationLink}) einen Workspace`, description: 'Erstelle einen Workspace und konfiguriere die Einstellungen mit Hilfe deines Einrichtungsspezialisten!', diff --git a/src/languages/en.ts b/src/languages/en.ts index 21551583a2c3..c20fec47a824 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -2301,6 +2301,24 @@ const translations = { title: ({testDriveURL}) => `Take a [test drive](${testDriveURL})`, description: ({testDriveURL}) => `Take us for a [test drive](${testDriveURL}) and get your team *3 free months of Expensify!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Create](${workspaceConfirmationLink}) a workspace`, description: 'Create a workspace and configure the settings with the help of your setup specialist!', diff --git a/src/languages/es.ts b/src/languages/es.ts index f0688a6beb1d..68f21e5127b7 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2301,6 +2301,24 @@ const translations = { title: ({testDriveURL}) => `Haz una [prueba](${testDriveURL})`, description: ({testDriveURL}) => `Haz una [prueba](${testDriveURL}) y consigue *3 meses gratis de Expensify para tu equipo!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crea](${workspaceConfirmationLink}) un espacio de trabajo`, description: 'Crea un espacio de trabajo y configura los ajustes con la ayuda de tu especialista asignado.', diff --git a/src/languages/fr.ts b/src/languages/fr.ts index d39370f3a4cd..b8de48cdb192 100644 --- a/src/languages/fr.ts +++ b/src/languages/fr.ts @@ -2336,6 +2336,24 @@ const translations = { title: ({testDriveURL}) => `Faites un [essai gratuit](${testDriveURL})`, description: ({testDriveURL}) => `Essayez-nous avec un [essai gratuit](${testDriveURL}) et offrez à votre équipe *3 mois gratuits sur Expensify !*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Créez](${workspaceConfirmationLink}) un espace de travail`, description: 'Créez un espace de travail et configurez les paramètres avec l’aide de votre spécialiste de configuration !', diff --git a/src/languages/it.ts b/src/languages/it.ts index 3c2f619e329d..377446cfb4d1 100644 --- a/src/languages/it.ts +++ b/src/languages/it.ts @@ -2321,6 +2321,24 @@ const translations = { title: ({testDriveURL}) => `Fai un [test drive](${testDriveURL})`, description: ({testDriveURL}) => `Prova un [test drive](${testDriveURL}) e ottieni *3 mesi gratuiti di Expensify!* per il tuo team`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crea](${workspaceConfirmationLink}) uno spazio di lavoro`, description: 'Crea uno spazio di lavoro e configura le impostazioni con l’aiuto del tuo specialista di configurazione!', diff --git a/src/languages/ja.ts b/src/languages/ja.ts index b0ca659ca04f..7eb3b05239f3 100644 --- a/src/languages/ja.ts +++ b/src/languages/ja.ts @@ -2313,6 +2313,24 @@ const translations = { title: ({testDriveURL}) => `[テストドライブ](${testDriveURL})を行う`, description: ({testDriveURL}) => `[テストドライブ](${testDriveURL})を行い、チームに *3 か月間の Expensify 無料クーポン*を手に入れましょう!`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[ワークスペースの作成](${workspaceConfirmationLink})`, description: 'セットアップスペシャリストと共にワークスペースを作成し、設定を構成します!', diff --git a/src/languages/nl.ts b/src/languages/nl.ts index 601c8b4d13d6..9775703ac528 100644 --- a/src/languages/nl.ts +++ b/src/languages/nl.ts @@ -2322,6 +2322,24 @@ const translations = { title: ({testDriveURL}) => `Neem een [proefrit](${testDriveURL})`, description: ({testDriveURL}) => `Neem ons mee voor een [proefrit](${testDriveURL}) en uw team krijgt *3 maanden Expensify gratis!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pl.ts b/src/languages/pl.ts index 11252825ebf3..1ad69ab99e71 100644 --- a/src/languages/pl.ts +++ b/src/languages/pl.ts @@ -2317,6 +2317,24 @@ const translations = { title: ({testDriveURL}) => `Neem een [proefrit](${testDriveURL})`, description: ({testDriveURL}) => `Neem ons mee voor een [proefrit](${testDriveURL}) en uw team krijgt *3 maanden Expensify gratis!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts index 68e41a283f46..4bb632e6bdd3 100644 --- a/src/languages/pt-BR.ts +++ b/src/languages/pt-BR.ts @@ -2321,6 +2321,24 @@ const translations = { title: ({testDriveURL}) => `Faça um [test drive](${testDriveURL})`, description: ({testDriveURL}) => `[Faça um test drive](${testDriveURL}) conosco e sua equipe ganha *3 meses grátis de Expensify!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crie](${workspaceConfirmationLink}) um espaço de trabalho`, description: 'Crie um espaço de trabalho e configure as definições com a ajuda do seu especialista em configuração!', diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts index 095ab6f2f4ec..cfadf0e50c62 100644 --- a/src/languages/zh-hans.ts +++ b/src/languages/zh-hans.ts @@ -2292,6 +2292,24 @@ const translations = { title: ({testDriveURL}) => `进行[试驾](${testDriveURL})`, description: ({testDriveURL}) => `进行[试驾](${testDriveURL})即可获得团队 *3 个月的 Expensify 免费使用权!*`, }, + addExpenseApprovalsTask: { + title: 'Add expense approvals', + description: ({workspaceMoreFeaturesLink}) => + `*Add expense approvals* to review your team's spend and keep it under control.\n` + + '\n' + + `Here's how to add expense approvals:\n` + + '\n' + + '1. Click *Settings*.\n' + + '2. Go to *Workspaces*.\n' + + '3. Select your workspace.\n' + + '4. Click *More features*.\n' + + '5. Enable *Workflows*.\n' + + '6. Navigate to *Workflows* in the workspace editor.\n' + + '7. Enable *Add approvals*.\n' + + `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '\n' + + `[Take me to more features](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[创建](${workspaceConfirmationLink})一个工作区`, description: '创建一个工作区,并在您的设置专家的帮助下配置各项设置!', diff --git a/src/libs/actions/Welcome/OnboardingFlow.ts b/src/libs/actions/Welcome/OnboardingFlow.ts index 2620906324eb..dd515e4a40e7 100644 --- a/src/libs/actions/Welcome/OnboardingFlow.ts +++ b/src/libs/actions/Welcome/OnboardingFlow.ts @@ -169,6 +169,13 @@ const getOnboardingMessages = (hasIntroSelected = false, locale?: Locale) => { MERCHANT: "Tommy's Tires", }, }; + const addExpenseApprovalsTask: OnboardingTask = { + type: CONST.ONBOARDING_TASK_TYPE.ADD_EXPENSE_APPROVALS, + autoCompleted: false, + title: () => translate(resolvedLocale, 'onboarding.tasks.addExpenseApprovalsTask.title'), + description: ({workspaceMoreFeaturesLink}) => translate(resolvedLocale, 'onboarding.tasks.addExpenseApprovalsTask.description', {workspaceMoreFeaturesLink}), + mediaAttributes: {}, + }; const createReportTask: OnboardingTask = { type: CONST.ONBOARDING_TASK_TYPE.CREATE_REPORT, autoCompleted: false, @@ -342,7 +349,17 @@ const getOnboardingMessages = (hasIntroSelected = false, locale?: Locale) => { const onboardingManageTeamMessage: OnboardingMessage = { message: translate(resolvedLocale, 'onboarding.messages.onboardingManageTeamMessage', {hasIntroSelected}), - tasks: [createWorkspaceTask, testDriveAdminTask, addAccountingIntegrationTask, connectCorporateCardTask, inviteTeamTask, setupCategoriesAndTags, setupCategoriesTask, setupTagsTask], + tasks: [ + createWorkspaceTask, + testDriveAdminTask, + addAccountingIntegrationTask, + connectCorporateCardTask, + inviteTeamTask, + setupCategoriesAndTags, + setupCategoriesTask, + setupTagsTask, + addExpenseApprovalsTask, + ], }; const onboardingTrackWorkspaceMessage: OnboardingMessage = { From e78059032252eafb5597bfbd4026e35674a1bf88 Mon Sep 17 00:00:00 2001 From: thelullabyy Date: Wed, 8 Oct 2025 22:37:20 +0700 Subject: [PATCH 2/3] update translations --- src/languages/de.ts | 23 +++++++++++------------ src/languages/en.ts | 17 ++++++++--------- src/languages/es.ts | 25 ++++++++++++------------- src/languages/fr.ts | 23 +++++++++++------------ src/languages/it.ts | 23 +++++++++++------------ src/languages/ja.ts | 23 +++++++++++------------ src/languages/nl.ts | 25 ++++++++++++------------- src/languages/pl.ts | 25 ++++++++++++------------- src/languages/pt-BR.ts | 25 ++++++++++++------------- src/languages/zh-hans.ts | 25 ++++++++++++------------- 10 files changed, 112 insertions(+), 122 deletions(-) diff --git a/src/languages/de.ts b/src/languages/de.ts index 684e31996b1c..4369d78b1c6c 100644 --- a/src/languages/de.ts +++ b/src/languages/de.ts @@ -2369,22 +2369,21 @@ const translations = { description: ({testDriveURL}) => `Probiere uns in einer [Probefahrt](${testDriveURL}) aus und sichere deinem Team *3 Monate Expensify gratis!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Ausgabengenehmigungen hinzufügen', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Füge Ausgabengenehmigungen hinzu*, um die Ausgaben deines Teams zu überprüfen und unter Kontrolle zu halten.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `So geht’s:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Gehe zu *Arbeitsbereiche*.\n' + + '2. Wähle deinen Arbeitsbereich aus.\n' + + '3. Klicke auf *Weitere Funktionen*.\n' + + '4. Aktiviere *Workflows*.\n' + + '5. Navigiere im Arbeitsbereich-Editor zu *Workflows*.\n' + + '6. Aktiviere *Genehmigungen hinzufügen*.\n' + + `7. Du wirst als Ausgabengenehmiger festgelegt. Du kannst dies nach dem Einladen deines Teams auf einen beliebigen Administrator ändern.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, + `[Zu weiteren Funktionen](${workspaceMoreFeaturesLink}).`, }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Erstelle](${workspaceConfirmationLink}) einen Workspace`, diff --git a/src/languages/en.ts b/src/languages/en.ts index 18db2860557c..0fe741f59528 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -2340,16 +2340,15 @@ const translations = { description: ({workspaceMoreFeaturesLink}) => `*Add expense approvals* to review your team's spend and keep it under control.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Here's how:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Go to *Workspaces*.\n' + + '2. Select your workspace.\n' + + '3. Click *More features*.\n' + + '4. Enable *Workflows*.\n' + + '5. Navigate to *Workflows* in the workspace editor.\n' + + '6. Enable *Add approvals*.\n' + + `7. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + '\n' + `[Take me to more features](${workspaceMoreFeaturesLink}).`, }, diff --git a/src/languages/es.ts b/src/languages/es.ts index 8ededc8558dd..30d292b6541e 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2331,23 +2331,22 @@ const translations = { description: ({testDriveURL}) => `Haz una [prueba](${testDriveURL}) y consigue *3 meses gratis de Expensify para tu equipo!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Añadir aprobaciones de gastos', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Añade aprobaciones de gastos* para revisar los gastos de tu equipo y mantenerlos bajo control.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Así es como puedes añadir aprobaciones de gastos:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Ve a *Espacios de trabajo*.\n' + + '2. Selecciona tu espacio de trabajo.\n' + + '3. Haz clic en *Más funciones*.\n' + + '4. Activa *Flujos de trabajo*.\n' + + '5. Navega a *Flujos de trabajo* en el editor del espacio de trabajo.\n' + + '6. Activa *Añadir aprobaciones*.\n' + + `7. Serás asignado como aprobador de gastos. Podrás cambiarlo a cualquier administrador una vez que lo invites a tu equipo.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, - }, + `[Llévame a más funciones](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crea](${workspaceConfirmationLink}) un espacio de trabajo`, description: 'Crea un espacio de trabajo y configura los ajustes con la ayuda de tu especialista asignado.', diff --git a/src/languages/fr.ts b/src/languages/fr.ts index cb98b7db1561..9e5b1ee02958 100644 --- a/src/languages/fr.ts +++ b/src/languages/fr.ts @@ -2370,22 +2370,21 @@ const translations = { description: ({testDriveURL}) => `Essayez-nous avec un [essai gratuit](${testDriveURL}) et offrez à votre équipe *3 mois gratuits sur Expensify !*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Ajouter des validations de dépenses', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Ajoutez des validations de dépenses* pour examiner les dépenses de votre équipe et les garder sous contrôle.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Voici comment faire :\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Allez dans *Espaces de travail*.\n' + + '2. Sélectionnez votre espace de travail.\n' + + '3. Cliquez sur *Plus de fonctionnalités*.\n' + + '4. Activez *Flux de travail*.\n' + + '5. Accédez à *Flux de travail* dans l’éditeur de l’espace de travail.\n' + + '6. Activez *Ajouter des validations*.\n' + + `7. Vous serez défini comme validateur des dépenses. Vous pourrez changer cela pour un autre administrateur après avoir invité votre équipe.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, + `[Aller à plus de fonctionnalités](${workspaceMoreFeaturesLink}).`, }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Créez](${workspaceConfirmationLink}) un espace de travail`, diff --git a/src/languages/it.ts b/src/languages/it.ts index 5c13187b4de3..b53abd94d2a4 100644 --- a/src/languages/it.ts +++ b/src/languages/it.ts @@ -2355,22 +2355,21 @@ const translations = { description: ({testDriveURL}) => `Prova un [test drive](${testDriveURL}) e ottieni *3 mesi gratuiti di Expensify!* per il tuo team`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Aggiungi approvazioni spese', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Aggiungi approvazioni spese* per controllare le spese del tuo team e mantenerle sotto controllo.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Ecco come fare:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Vai a *Spazi di lavoro*.\n' + + '2. Seleziona il tuo spazio di lavoro.\n' + + '3. Clicca su *Altre funzionalità*.\n' + + '4. Abilita *Flussi di lavoro*.\n' + + '5. Vai su *Flussi di lavoro* nell’editor dello spazio di lavoro.\n' + + '6. Abilita *Aggiungi approvazioni*.\n' + + `7. Sarai impostato come approvatore delle spese. Potrai cambiarlo con un amministratore una volta invitato il tuo team.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, + `[Vai a altre funzionalità](${workspaceMoreFeaturesLink}).`, }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crea](${workspaceConfirmationLink}) uno spazio di lavoro`, diff --git a/src/languages/ja.ts b/src/languages/ja.ts index b8c292400fd3..67f8bb4e85b7 100644 --- a/src/languages/ja.ts +++ b/src/languages/ja.ts @@ -2346,22 +2346,21 @@ const translations = { description: ({testDriveURL}) => `[テストドライブ](${testDriveURL})を行い、チームに *3 か月間の Expensify 無料クーポン*を手に入れましょう!`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: '経費承認を追加', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `チームの支出を確認し、管理するために*経費承認を追加*しましょう。\n` + '\n' + - `Here's how to add expense approvals:\n` + + `手順は以下の通りです:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. *ワークスペース* に移動します。\n' + + '2. 自分のワークスペースを選択します。\n' + + '3. *その他の機能* をクリックします。\n' + + '4. *ワークフロー* を有効にします。\n' + + '5. ワークスペースエディターで *ワークフロー* に移動します。\n' + + '6. *承認を追加* を有効にします。\n' + + `7. あなたが経費承認者として設定されます。チームを招待した後、管理者に変更することもできます。\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, + `[その他の機能に移動](${workspaceMoreFeaturesLink})。`, }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[ワークスペースの作成](${workspaceConfirmationLink})`, diff --git a/src/languages/nl.ts b/src/languages/nl.ts index 29f8d0733283..2ee31f4007a0 100644 --- a/src/languages/nl.ts +++ b/src/languages/nl.ts @@ -2355,23 +2355,22 @@ const translations = { description: ({testDriveURL}) => `Neem ons mee voor een [proefrit](${testDriveURL}) en uw team krijgt *3 maanden Expensify gratis!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Uitgaven goedkeuringen toevoegen', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Voeg uitgaven goedkeuringen toe* om de uitgaven van je team te controleren en onder controle te houden.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Zo doe je dat:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Ga naar *Werkruimten*.\n' + + '2. Selecteer je werkruimte.\n' + + '3. Klik op *Meer functies*.\n' + + '4. Schakel *Workflows* in.\n' + + '5. Ga in de werkruimte-editor naar *Workflows*.\n' + + '6. Schakel *Goedkeuringen toevoegen* in.\n' + + `7. Jij wordt ingesteld als uitgaven goedkeurder. Je kunt dit wijzigen naar een beheerder zodra je team is uitgenodigd.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, - }, + `[Ga naar meer functies](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pl.ts b/src/languages/pl.ts index 28bc6ff9ec4c..ad1155e2d3ee 100644 --- a/src/languages/pl.ts +++ b/src/languages/pl.ts @@ -2351,23 +2351,22 @@ const translations = { description: ({testDriveURL}) => `Neem ons mee voor een [proefrit](${testDriveURL}) en uw team krijgt *3 maanden Expensify gratis!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Dodaj zatwierdzanie wydatków', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Dodaj zatwierdzanie wydatków*, aby kontrolować wydatki swojego zespołu i utrzymać je pod kontrolą.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Jak to zrobić:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Przejdź do *Obszary robocze*.\n' + + '2. Wybierz swój obszar roboczy.\n' + + '3. Kliknij *Więcej funkcji*.\n' + + '4. Włącz *Przepływy pracy*.\n' + + '5. Przejdź do *Przepływy pracy* w edytorze obszaru roboczego.\n' + + '6. Włącz *Dodaj zatwierdzenia*.\n' + + `7. Zostaniesz ustawiony jako osoba zatwierdzająca wydatki. Możesz to zmienić na dowolnego administratora po zaproszeniu zespołu.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, - }, + `[Przejdź do więcej funkcji](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts index 229ced129257..2ef6ee3bf23b 100644 --- a/src/languages/pt-BR.ts +++ b/src/languages/pt-BR.ts @@ -2354,23 +2354,22 @@ const translations = { description: ({testDriveURL}) => `[Faça um test drive](${testDriveURL}) conosco e sua equipe ganha *3 meses grátis de Expensify!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: 'Adicionar aprovações de despesas', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*Adicione aprovações de despesas* para revisar os gastos da sua equipe e mantê-los sob controle.\n` + '\n' + - `Here's how to add expense approvals:\n` + + `Veja como fazer:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. Vá para *Espaços de trabalho*.\n' + + '2. Selecione seu espaço de trabalho.\n' + + '3. Clique em *Mais recursos*.\n' + + '4. Ative *Fluxos de trabalho*.\n' + + '5. Vá para *Fluxos de trabalho* no editor do espaço de trabalho.\n' + + '6. Ative *Adicionar aprovações*.\n' + + `7. Você será definido como o aprovador de despesas. Pode alterar isso para qualquer administrador após convidar sua equipe.\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, - }, + `[Ir para mais recursos](${workspaceMoreFeaturesLink}).`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crie](${workspaceConfirmationLink}) um espaço de trabalho`, description: 'Crie um espaço de trabalho e configure as definições com a ajuda do seu especialista em configuração!', diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts index bf72c9057da6..9eedf44682de 100644 --- a/src/languages/zh-hans.ts +++ b/src/languages/zh-hans.ts @@ -2324,23 +2324,22 @@ const translations = { description: ({testDriveURL}) => `进行[试驾](${testDriveURL})即可获得团队 *3 个月的 Expensify 免费使用权!*`, }, addExpenseApprovalsTask: { - title: 'Add expense approvals', + title: '添加费用审批', description: ({workspaceMoreFeaturesLink}) => - `*Add expense approvals* to review your team's spend and keep it under control.\n` + + `*添加费用审批*,以便查看团队支出并保持控制。\n` + '\n' + - `Here's how to add expense approvals:\n` + + `操作步骤如下:\n` + '\n' + - '1. Click *Settings*.\n' + - '2. Go to *Workspaces*.\n' + - '3. Select your workspace.\n' + - '4. Click *More features*.\n' + - '5. Enable *Workflows*.\n' + - '6. Navigate to *Workflows* in the workspace editor.\n' + - '7. Enable *Add approvals*.\n' + - `8. You'll be set as the expense approver. You can change this to any admin once you invite your team.\n` + + '1. 前往 *工作区*。\n' + + '2. 选择你的工作区。\n' + + '3. 点击 *更多功能*。\n' + + '4. 启用 *工作流*。\n' + + '5. 在工作区编辑器中进入 *工作流*。\n' + + '6. 启用 *添加审批*。\n' + + `7. 你将被设置为费用审批人。邀请团队后,你可以将其更改为任意管理员。\n` + '\n' + - `[Take me to more features](${workspaceMoreFeaturesLink}).`, - }, + `[前往更多功能](${workspaceMoreFeaturesLink})。`, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[创建](${workspaceConfirmationLink})一个工作区`, description: '创建一个工作区,并在您的设置专家的帮助下配置各项设置!', From d567724ebb589d5713c57a5091f8e467da621971 Mon Sep 17 00:00:00 2001 From: thelullabyy Date: Wed, 8 Oct 2025 22:44:48 +0700 Subject: [PATCH 3/3] update code --- src/languages/es.ts | 2 +- src/languages/nl.ts | 2 +- src/languages/pl.ts | 2 +- src/languages/pt-BR.ts | 2 +- src/languages/zh-hans.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index 30d292b6541e..7de2036a57c0 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2346,7 +2346,7 @@ const translations = { `7. Serás asignado como aprobador de gastos. Podrás cambiarlo a cualquier administrador una vez que lo invites a tu equipo.\n` + '\n' + `[Llévame a más funciones](${workspaceMoreFeaturesLink}).`, - }, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crea](${workspaceConfirmationLink}) un espacio de trabajo`, description: 'Crea un espacio de trabajo y configura los ajustes con la ayuda de tu especialista asignado.', diff --git a/src/languages/nl.ts b/src/languages/nl.ts index 2ee31f4007a0..0053009706fa 100644 --- a/src/languages/nl.ts +++ b/src/languages/nl.ts @@ -2370,7 +2370,7 @@ const translations = { `7. Jij wordt ingesteld als uitgaven goedkeurder. Je kunt dit wijzigen naar een beheerder zodra je team is uitgenodigd.\n` + '\n' + `[Ga naar meer functies](${workspaceMoreFeaturesLink}).`, - }, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pl.ts b/src/languages/pl.ts index ad1155e2d3ee..6b7deef735db 100644 --- a/src/languages/pl.ts +++ b/src/languages/pl.ts @@ -2366,7 +2366,7 @@ const translations = { `7. Zostaniesz ustawiony jako osoba zatwierdzająca wydatki. Możesz to zmienić na dowolnego administratora po zaproszeniu zespołu.\n` + '\n' + `[Przejdź do więcej funkcji](${workspaceMoreFeaturesLink}).`, - }, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Maak](${workspaceConfirmationLink}) een werkruimte`, description: 'Maak een werkruimte en configureer de instellingen met de hulp van uw setup specialist!', diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts index 2ef6ee3bf23b..005a72cfdad6 100644 --- a/src/languages/pt-BR.ts +++ b/src/languages/pt-BR.ts @@ -2369,7 +2369,7 @@ const translations = { `7. Você será definido como o aprovador de despesas. Pode alterar isso para qualquer administrador após convidar sua equipe.\n` + '\n' + `[Ir para mais recursos](${workspaceMoreFeaturesLink}).`, - }, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[Crie](${workspaceConfirmationLink}) um espaço de trabalho`, description: 'Crie um espaço de trabalho e configure as definições com a ajuda do seu especialista em configuração!', diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts index 9eedf44682de..1d05ac8cbbe1 100644 --- a/src/languages/zh-hans.ts +++ b/src/languages/zh-hans.ts @@ -2339,7 +2339,7 @@ const translations = { `7. 你将被设置为费用审批人。邀请团队后,你可以将其更改为任意管理员。\n` + '\n' + `[前往更多功能](${workspaceMoreFeaturesLink})。`, - }, + }, createTestDriveAdminWorkspaceTask: { title: ({workspaceConfirmationLink}) => `[创建](${workspaceConfirmationLink})一个工作区`, description: '创建一个工作区,并在您的设置专家的帮助下配置各项设置!',