From 72966ec492052f856c565e5500214119e0fcb2e1 Mon Sep 17 00:00:00 2001 From: jakubstec Date: Mon, 2 Mar 2026 16:48:05 +0100 Subject: [PATCH 01/10] (refactor): simplify translation param types to standalone params --- src/components/AddressForm.tsx | 2 +- .../TransactionPreviewContent.tsx | 2 +- src/components/ReportWelcomeText.tsx | 6 +-- ...SupportalPermissionDeniedModalProvider.tsx | 2 +- src/languages/de.ts | 41 +++++++----------- src/languages/en.ts | 37 +++++++--------- src/languages/es.ts | 30 ++++++------- src/languages/fr.ts | 41 +++++++----------- src/languages/it.ts | 41 +++++++----------- src/languages/ja.ts | 41 +++++++----------- src/languages/nl.ts | 43 +++++++------------ src/languages/params.ts | 10 ----- src/languages/pl.ts | 41 +++++++----------- src/languages/pt-BR.ts | 41 +++++++----------- src/languages/zh-hans.ts | 41 +++++++----------- src/libs/ReportNameUtils.ts | 2 +- src/libs/ReportUtils.ts | 4 +- src/libs/SidebarUtils.ts | 2 +- .../subPages/Address.tsx | 2 +- .../AddressFormFields.tsx | 2 +- .../inbox/report/PureReportActionItem.tsx | 2 +- src/pages/signin/SignInPage.tsx | 4 +- src/pages/workspace/WorkspaceOverviewPage.tsx | 12 ++---- src/pages/workspace/WorkspacesListPage.tsx | 12 ++---- .../members/WorkspaceMemberDetailsPage.tsx | 5 +-- 25 files changed, 173 insertions(+), 293 deletions(-) diff --git a/src/components/AddressForm.tsx b/src/components/AddressForm.tsx index 4d528067be0f..85b478d7b4ad 100644 --- a/src/components/AddressForm.tsx +++ b/src/components/AddressForm.tsx @@ -75,7 +75,7 @@ function AddressForm({ const zipSampleFormat = (country && (CONST.COUNTRY_ZIP_REGEX_DATA[country] as CountryZipRegex)?.samples) ?? ''; - const zipFormat = translate('common.zipCodeExampleFormat', {zipSampleFormat}); + const zipFormat = translate('common.zipCodeExampleFormat', zipSampleFormat); const isUSAForm = country === CONST.COUNTRY.US; diff --git a/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx b/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx index 97dbc69509bc..21916913fc2d 100644 --- a/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx +++ b/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx @@ -335,7 +335,7 @@ function TransactionPreviewContent({ {!!splitShare && ( - {translate('iou.yourSplit', {amount: convertToDisplayString(splitShare, requestCurrency)})} + {translate('iou.yourSplit', convertToDisplayString(splitShare, requestCurrency))} )} diff --git a/src/components/ReportWelcomeText.tsx b/src/components/ReportWelcomeText.tsx index 4d10f5d28eed..69063bc63793 100644 --- a/src/components/ReportWelcomeText.tsx +++ b/src/components/ReportWelcomeText.tsx @@ -94,13 +94,13 @@ function ReportWelcomeText({report, policy}: ReportWelcomeTextProps) { } else if (isInvoiceRoom) { welcomeHeroText = translate('reportActionsView.sayHello'); } else if (isChatRoom) { - welcomeHeroText = translate('reportActionsView.welcomeToRoom', {roomName: reportName}); + welcomeHeroText = translate('reportActionsView.welcomeToRoom', reportName); } else if (isSelfDM) { welcomeHeroText = translate('reportActionsView.yourSpace'); } else if (isSystemChat) { welcomeHeroText = reportName; } else if (isPolicyExpenseChat) { - welcomeHeroText = translate('reportActionsView.welcomeToRoom', {roomName: policyName}); + welcomeHeroText = translate('reportActionsView.welcomeToRoom', policyName); } // If we are the only participant (e.g. solo group chat) then keep the current user personal details so the welcome message does not show up empty. @@ -136,7 +136,7 @@ function ReportWelcomeText({report, policy}: ReportWelcomeTextProps) { {isSelfDM && ( {welcomeMessage.messageText} - {shouldShowUsePlusButtonText && {translate('reportActionsView.usePlusButton', {additionalText})}} + {shouldShowUsePlusButtonText && {translate('reportActionsView.usePlusButton', additionalText)}} )} {isSystemChat && ( diff --git a/src/components/SupportalPermissionDeniedModalProvider.tsx b/src/components/SupportalPermissionDeniedModalProvider.tsx index f38d87b0a710..3be4cd993329 100644 --- a/src/components/SupportalPermissionDeniedModalProvider.tsx +++ b/src/components/SupportalPermissionDeniedModalProvider.tsx @@ -11,7 +11,7 @@ function SupportalPermissionDeniedModalProvider({children}: React.PropsWithChild const isVisible = !!payload; const title = useMemo(() => translate('supportalNoAccess.title'), [translate]); - const prompt = useMemo(() => translate('supportalNoAccess.descriptionWithCommand', {command: payload?.command}), [translate, payload?.command]); + const prompt = useMemo(() => translate('supportalNoAccess.descriptionWithCommand', payload?.command), [translate, payload?.command]); const close = useCallback(() => { // Clear the flag so it doesn't re-open diff --git a/src/languages/de.ts b/src/languages/de.ts index a5bebe9551e0..f03b363afa35 100644 --- a/src/languages/de.ts +++ b/src/languages/de.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Bestätigen', yesContinue: 'Ja, fortfahren', websiteExample: 'z. B. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `z. B. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `z. B. ${zipSampleFormat}` : ''), description: 'Beschreibung', title: 'Titel', assignee: 'Zuständige Person', @@ -483,11 +476,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Wenn du diesen Workspace verlässt, kannst du keine Ausgaben mehr dafür einreichen.', leaveWorkspaceConfirmationAuditor: 'Wenn du diesen Workspace verlässt, kannst du seine Berichte und Einstellungen nicht mehr anzeigen.', leaveWorkspaceConfirmationAdmin: 'Wenn du diesen Workspace verlässt, kannst du seine Einstellungen nicht mehr verwalten.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Wenn du diesen Workspace verlässt, wirst du im Genehmigungsworkflow durch ${workspaceOwner}, den/die Workspace-Inhaber(in), ersetzt.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Wenn du diesen Workspace verlässt, wirst du als bevorzugte exportierende Person durch ${workspaceOwner}, die Workspace-Inhaber*in, ersetzt.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Wenn du diesen Workspace verlässt, wirst du als technischer Kontakt durch ${workspaceOwner}, den Workspace-Inhaber, ersetzt.`, leaveWorkspaceReimburser: 'Du kannst diesen Workspace als Erstattungsverantwortliche·r nicht verlassen. Bitte lege unter „Workspaces > Zahlungen senden oder nachverfolgen“ eine·n neue·n Erstattungsverantwortliche·n fest und versuche es erneut.', @@ -553,11 +546,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Nicht so schnell', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Sie sind nicht berechtigt, diese Aktion auszuführen, wenn der Support eingeloggt ist (Befehl: ${command ?? ''}). Wenn Sie der Meinung sind, dass Success in der Lage sein sollte, diese Aktion auszuführen, beginnen Sie bitte ein Gespräch in Slack.`, }, lockedAccount: { @@ -766,7 +755,7 @@ const translations: TranslationDeepObject = { phrase3: 'Deine Zahlungen kommen so schnell bei dir an, wie du deinen Standpunkt klarmachen kannst.', enterPassword: 'Bitte geben Sie Ihr Passwort ein', welcomeNewFace: (login: string) => `${login}, es ist immer schön, ein neues Gesicht hier zu sehen!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => + welcomeEnterMagicCode: (login: string) => `Bitte gib den magischen Code ein, der an ${login} gesendet wurde. Er sollte innerhalb einer oder zwei Minuten ankommen.`, }, login: { @@ -858,8 +847,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Frag mich alles!', sayHello: 'Sag hallo!', yourSpace: 'Dein Bereich', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Willkommen in ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Verwende die +‑Taste, um eine Ausgabe zu ${additionalText}.`, + welcomeToRoom: (roomName: string) => `Willkommen in ${roomName}!`, + usePlusButton: (additionalText: string) => `Verwende die +‑Taste, um eine Ausgabe zu ${additionalText}.`, askConcierge: 'Dies ist dein Chat mit Concierge, deinem persönlichen KI-Agenten. Ich kann fast alles, probier es aus!', conciergeSupport: 'Dein persönlicher KI-Agent', create: 'erstellen', @@ -892,7 +881,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Dieser Chatraum wurde archiviert.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Dieser Chat ist nicht mehr aktiv, weil ${displayName} ihr Konto geschlossen hat.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Dieser Chat ist nicht mehr aktiv, weil ${displayName} ihr Konto geschlossen hat.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Dieser Chat ist nicht mehr aktiv, weil ${oldDisplayName} sein Konto mit ${displayName} zusammengeführt hat.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1265,7 +1254,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `Verfolgen ${formattedAmount}${comment ? `für ${comment}` : ''}`, splitAmount: (amount: string) => `${amount} aufteilen`, didSplitAmount: (formattedAmount: string, comment?: string) => `aufteilen ${formattedAmount}${comment ? `für ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Dein Anteil ${amount}`, + yourSplit: (amount: string) => `Dein Anteil ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} schuldet ${amount}${comment ? `für ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} schuldet:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}hat ${amount} bezahlt`, @@ -1283,7 +1272,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `über Genehmigung durch Workspace-Regeln`, forwarded: `genehmigt`, rejectedThisReport: 'hat diesen Bericht abgelehnt', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `hat die Zahlung gestartet, wartet aber darauf, dass ${submitterDisplayName} ein Bankkonto hinzufügt.`, + waitingOnBankAccount: (submitterDisplayName: string) => `hat die Zahlung gestartet, wartet aber darauf, dass ${submitterDisplayName} ein Bankkonto hinzufügt.`, adminCanceledRequest: 'hat die Zahlung storniert', canceledRequest: (amount: string, submitterDisplayName: string) => `${amount} Zahlung storniert, weil ${submitterDisplayName} ihr Expensify Wallet nicht innerhalb von 30 Tagen aktiviert hat`, @@ -1352,7 +1341,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Fehler ausblenden', dismissReceiptErrorConfirmation: 'Achtung! Wenn du diesen Fehler schließt, wird deine hochgeladene Quittung vollständig entfernt. Bist du sicher?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `hat mit dem Ausgleich begonnen. Die Zahlung ist ausgesetzt, bis ${submitterDisplayName} das Wallet aktiviert.`, enableWallet: 'Wallet aktivieren', hold: 'Warteschleife', @@ -2506,7 +2495,7 @@ ${amount} für ${merchant} – ${date}`, groupChat: { lastMemberTitle: 'Achtung!', lastMemberWarning: 'Da du die letzte Person hier bist, wird dieser Chat für alle Mitglieder unzugänglich, wenn du gehst. Bist du sicher, dass du den Chat verlassen möchtest?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Gruppenchat von ${displayName}`, + defaultReportName: (displayName: string) => `Gruppenchat von ${displayName}`, }, languagePage: { language: 'Sprache', @@ -5602,9 +5591,9 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU invitedBySecondaryLogin: (secondaryLogin: string) => `Hinzugefügt durch sekundären Login ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Gesamtzahl der Workspace-Mitglieder: ${count}`, importMembers: 'Mitglieder importieren', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Wenn du ${approver} aus diesem Workspace entfernst, ersetzen wir diese Person im Freigabe-Workflow durch ${workspaceOwner}, den/die Workspace-Inhaber:in.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} hat ausstehende Spesenabrechnungen zur Genehmigung. Bitte bitten Sie diese Person, sie zu genehmigen, oder übernehmen Sie die Kontrolle über ihre Abrechnungen, bevor Sie sie aus dem Workspace entfernen.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Sie können ${memberName} nicht aus diesem Workspace entfernen. Bitte legen Sie unter Workflows > Zahlungen ausführen oder nachverfolgen eine*n neue*n Erstattungsverantwortliche*n fest und versuchen Sie es dann erneut.`, diff --git a/src/languages/en.ts b/src/languages/en.ts index c353385d26a6..421437d6e4b9 100644 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -37,7 +37,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -80,9 +79,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -99,11 +96,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -119,7 +113,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -359,7 +352,7 @@ const translations = { // @context Provides an example format for a website URL. websiteExample: 'e.g. https://www.expensify.com', // @context Provides an example format for a ZIP/postal code. - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `e.g. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `e.g. ${zipSampleFormat}` : ''), description: 'Description', title: 'Title', assignee: 'Assignee', @@ -503,11 +496,11 @@ const translations = { leaveWorkspaceConfirmation: "If you leave this workspace, you won't be able to submit expenses to it.", leaveWorkspaceConfirmationAuditor: "If you leave this workspace, you won't be able to view its reports and settings.", leaveWorkspaceConfirmationAdmin: "If you leave this workspace, you won't be able to manage its settings.", - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `If you leave this workspace, you'll be replaced in the approval workflow by ${workspaceOwner}, the workspace owner.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `If you leave this workspace, you'll be replaced as the preferred exporter with ${workspaceOwner}, the workspace owner.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `If you leave this workspace, you'll be replaced as the technical contact with ${workspaceOwner}, the workspace owner.`, leaveWorkspaceReimburser: "You can't leave this workspace as the reimburser. Please set a new reimburser in Workspaces > Make or track payments, then try again.", reimbursable: 'Reimbursable', @@ -572,7 +565,7 @@ const translations = { }, supportalNoAccess: { title: 'Not so fast', - descriptionWithCommand: ({command}: {command?: string} = {}) => + descriptionWithCommand: (command?: string) => `You are not authorized to take this action when support logged in (command: ${command ?? ''}). If you think that Success should be able to take this action, please start a conversation in Slack.`, }, lockedAccount: { @@ -781,7 +774,7 @@ const translations = { phrase3: 'Your payments get to you as fast as you can get your point across.', enterPassword: 'Please enter your password', welcomeNewFace: (login: string) => `${login}, it's always great to see a new face around here!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Please enter the magic code sent to ${login}. It should arrive within a minute or two.`, + welcomeEnterMagicCode: (login: string) => `Please enter the magic code sent to ${login}. It should arrive within a minute or two.`, }, login: { hero: { @@ -871,8 +864,8 @@ const translations = { askMeAnything: 'Ask me anything!', sayHello: 'Say hello!', yourSpace: 'Your space', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Welcome to ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => ` Use the + button to ${additionalText} an expense.`, + welcomeToRoom: (roomName: string) => `Welcome to ${roomName}!`, + usePlusButton: (additionalText: string) => ` Use the + button to ${additionalText} an expense.`, askConcierge: 'This is your chat with Concierge, your personal AI agent. I can do almost anything, try me!', conciergeSupport: 'Your personal AI agent', create: 'create', @@ -905,7 +898,7 @@ const translations = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'This chat room has been archived.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `This chat is no longer active because ${displayName} closed their account.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `This chat is no longer active because ${displayName} closed their account.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `This chat is no longer active because ${oldDisplayName} has merged their account with ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1283,7 +1276,7 @@ const translations = { trackedAmount: (formattedAmount: string, comment?: string) => `tracking ${formattedAmount}${comment ? ` for ${comment}` : ''}`, splitAmount: (amount: string) => `split ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `split ${formattedAmount}${comment ? ` for ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Your split ${amount}`, + yourSplit: (amount: string) => `Your split ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} owes ${amount}${comment ? ` for ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} owes: `, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}paid ${amount}`, @@ -1301,7 +1294,7 @@ const translations = { automaticallyForwarded: `approved via workspace rules`, forwarded: `approved`, rejectedThisReport: 'rejected this report', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `started payment, but is waiting for ${submitterDisplayName} to add a bank account.`, + waitingOnBankAccount: (submitterDisplayName: string) => `started payment, but is waiting for ${submitterDisplayName} to add a bank account.`, adminCanceledRequest: 'canceled the payment', canceledRequest: (amount: string, submitterDisplayName: string) => `canceled the ${amount} payment, because ${submitterDisplayName} did not enable their Expensify Wallet within 30 days`, @@ -1367,7 +1360,7 @@ const translations = { }, dismissReceiptError: 'Dismiss error', dismissReceiptErrorConfirmation: 'Heads up! Dismissing this error will remove your uploaded receipt entirely. Are you sure?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => `started settling up. Payment is on hold until ${submitterDisplayName} enables their wallet.`, + waitingOnEnabledWallet: (submitterDisplayName: string) => `started settling up. Payment is on hold until ${submitterDisplayName} enables their wallet.`, enableWallet: 'Enable wallet', hold: 'Hold', unhold: 'Remove hold', @@ -2526,7 +2519,7 @@ const translations = { groupChat: { lastMemberTitle: 'Heads up!', lastMemberWarning: "Since you're the last person here, leaving will make this chat inaccessible to all members. Are you sure you want to leave?", - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `${displayName}'s group chat`, + defaultReportName: (displayName: string) => `${displayName}'s group chat`, }, languagePage: { language: 'Language', @@ -5571,9 +5564,9 @@ const translations = { invitedBySecondaryLogin: (secondaryLogin: string) => `Added by secondary login ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Total workspace members: ${count}`, importMembers: 'Import members', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `If you remove ${approver} from this workspace, we'll replace them in the approval workflow with ${workspaceOwner}, the workspace owner.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} has outstanding expense reports to approve. Please ask them to approve, or take control of their reports before removing them from the workspace.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `You can't remove ${memberName} from this workspace. Please set a new reimburser in Workflows > Make or track payments, then try again.`, diff --git a/src/languages/es.ts b/src/languages/es.ts index b105685bfa65..b06bafd7f5a4 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -216,7 +216,7 @@ const translations: TranslationDeepObject = { verify: 'Verifique', yesContinue: 'Sí, continuar', websiteExample: 'p. ej. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}) => (zipSampleFormat ? `p. ej. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `p. ej. ${zipSampleFormat}` : ''), description: 'Descripción', title: 'Título', assignee: 'Asignado a', @@ -347,11 +347,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Si sales de este espacio de trabajo, no podrás enviar gastos en él.', leaveWorkspaceConfirmationAuditor: 'Si sales de este espacio de trabajo, no podrás ver sus informes y configuraciones.', leaveWorkspaceConfirmationAdmin: 'Si sales de este espacio de trabajo, no podrás gestionar su configuración.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Si sales de este espacio de trabajo, serás reemplazado en el flujo de aprobación por ${workspaceOwner}, el propietario del espacio de trabajo.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Si sales de este espacio de trabajo, serás reemplazado como el exportador preferido por ${workspaceOwner}, el propietario del espacio de trabajo.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Si dejas este espacio de trabajo, serás reemplazado como el contacto técnico por ${workspaceOwner}, el propietario del espacio de trabajo.`, leaveWorkspaceReimburser: 'No puedes salir de este espacio de trabajo como reembolsador. Por favor, establece un nuevo reembolsador en Espacios de trabajo > Realizar o rastrear pagos y luego inténtalo de nuevo.', @@ -417,7 +417,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'No tan rápido', - descriptionWithCommand: ({command} = {}) => + descriptionWithCommand: (command?) => `No estás autorizado para realizar esta acción cuando el soporte ha iniciado sesión (comando: ${command ?? ''}). Si crees que Success debería poder realizar esta acción, inicia una conversación en Slack.`, }, lockedAccount: { @@ -613,7 +613,7 @@ const translations: TranslationDeepObject = { phrase3: 'Tus pagos llegan tan rápido como tus mensajes.', enterPassword: 'Por favor, introduce tu contraseña', welcomeNewFace: (login) => `${login}, siempre es genial ver una cara nueva por aquí!`, - welcomeEnterMagicCode: ({login}) => `Por favor, introduce el código mágico enviado a ${login}. Debería llegar en un par de minutos.`, + welcomeEnterMagicCode: (login) => `Por favor, introduce el código mágico enviado a ${login}. Debería llegar en un par de minutos.`, }, login: { hero: { @@ -705,8 +705,8 @@ const translations: TranslationDeepObject = { askMeAnything: '¡Pregúntame lo que quieras!', sayHello: '¡Saluda!', yourSpace: 'Tu espacio', - welcomeToRoom: ({roomName}) => `¡Bienvenido a ${roomName}!`, - usePlusButton: ({additionalText}) => ` Usa el botón + para ${additionalText} un gasto`, + welcomeToRoom: (roomName) => `¡Bienvenido a ${roomName}!`, + usePlusButton: (additionalText) => ` Usa el botón + para ${additionalText} un gasto`, askConcierge: 'Este es tu chat con Concierge, tu agente personal de IA. Puedo hacer casi cualquier cosa, ¡pruébame!', conciergeSupport: 'Tu agente personal de IA', create: 'crear', @@ -739,7 +739,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Esta sala de chat ha sido eliminada.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}) => `Este chat está desactivado porque ${displayName} ha cerrado tu cuenta.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName) => `Este chat está desactivado porque ${displayName} ha cerrado tu cuenta.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}) => `Este chat está desactivado porque ${oldDisplayName} ha combinado tu cuenta con ${displayName}`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}) => shouldUseYou @@ -1114,7 +1114,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount, comment) => `realizó un seguimiento de ${formattedAmount}${comment ? ` para ${comment}` : ''}`, splitAmount: (amount) => `dividir ${amount}`, didSplitAmount: (formattedAmount, comment) => `dividió ${formattedAmount}${comment ? ` para ${comment}` : ''}`, - yourSplit: ({amount}) => `Tu parte ${amount}`, + yourSplit: (amount) => `Tu parte ${amount}`, payerOwesAmount: (amount, payer, comment) => `${payer} debe ${amount}${comment ? ` para ${comment}` : ''}`, payerOwes: (payer) => `${payer} debe: `, payerPaidAmount: (amount, payer) => `${payer ? `${payer} ` : ''}pagó ${amount}`, @@ -1132,7 +1132,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `aprobó mediante reglas del espacio de trabajo`, forwarded: `aprobó`, rejectedThisReport: 'rechazó este informe', - waitingOnBankAccount: ({submitterDisplayName}) => `inició el pago, pero está esperando a que ${submitterDisplayName} añada una cuenta bancaria.`, + waitingOnBankAccount: (submitterDisplayName) => `inició el pago, pero está esperando a que ${submitterDisplayName} añada una cuenta bancaria.`, adminCanceledRequest: 'canceló el pago', canceledRequest: (amount, submitterDisplayName) => `canceló el pago ${amount}, porque ${submitterDisplayName} no habilitó tu Billetera Expensify en un plazo de 30 días.`, settledAfterAddedBankAccount: (submitterDisplayName, amount) => `${submitterDisplayName} añadió una cuenta bancaria. El pago de ${amount} se ha realizado.`, @@ -1200,7 +1200,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Descartar error', dismissReceiptErrorConfirmation: '¡Atención! Descartar este error eliminará completamente tu recibo cargado. ¿Estás seguro?', - waitingOnEnabledWallet: ({submitterDisplayName}) => `inició el pago, pero no se procesará hasta que ${submitterDisplayName} active su billetera`, + waitingOnEnabledWallet: (submitterDisplayName) => `inició el pago, pero no se procesará hasta que ${submitterDisplayName} active su billetera`, enableWallet: 'Habilitar billetera', holdExpense: () => ({ one: 'Retener gasto', @@ -2346,7 +2346,7 @@ ${amount} para ${merchant} - ${date}`, groupChat: { lastMemberTitle: '¡Atención!', lastMemberWarning: 'Ya que eres la última persona aquí, si te vas, este chat quedará inaccesible para todos los miembros. ¿Estás seguro de que quieres salir del chat?', - defaultReportName: ({displayName}) => `Chat de grupo de ${displayName}`, + defaultReportName: (displayName) => `Chat de grupo de ${displayName}`, }, languagePage: { language: 'Idioma', @@ -5417,7 +5417,7 @@ ${amount} para ${merchant} - ${date}`, invitedBySecondaryLogin: (secondaryLogin) => `Agregado por nombre de usuario secundario ${secondaryLogin}.`, workspaceMembersCount: ({count}) => `Total de miembros del espacio de trabajo: ${count}`, importMembers: 'Importar miembros', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Si eliminas a ${approver} de este espacio de trabajo, lo reemplazaremos en el flujo de aprobación por ${workspaceOwner}, el propietario del espacio de trabajo.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `No puedes eliminar a ${memberName} de este espacio de trabajo. Por favor, establece un nuevo reembolsador en Flujos de trabajo > Realizar o rastrear pagos y vuelve a intentarlo.`, @@ -5425,7 +5425,7 @@ ${amount} para ${merchant} - ${date}`, `Si eliminas a ${memberName} de este espacio de trabajo, lo reemplazaremos como el exportador preferido por ${workspaceOwner}, el propietario del espacio de trabajo.`, removeMemberPromptTechContact: ({memberName, workspaceOwner}: {memberName: string; workspaceOwner: string}) => `Si eliminas a ${memberName} de este espacio de trabajo, lo reemplazaremos como contacto técnico por ${workspaceOwner}, el propietario del espacio de trabajo.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} tiene gastos pendientes por aprobar. Por favor, pídeles que aprueben o tomen el control de sus informes antes de eliminarlos del espacio de trabajo.`, cannotRemoveUserDueToReport: ({memberName}: {memberName: string}) => `${memberName} tiene un informe en proceso pendiente de acción. Pídele que complete la acción requerida antes de eliminarlo del espacio de trabajo.`, diff --git a/src/languages/fr.ts b/src/languages/fr.ts index 9b2d67a19d6b..41f2ce8a6511 100644 --- a/src/languages/fr.ts +++ b/src/languages/fr.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Vérifier', yesContinue: 'Oui, continuer', websiteExample: 'p. ex. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `par ex. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `par ex. ${zipSampleFormat}` : ''), description: 'Description', title: 'Titre', assignee: 'Attribué', @@ -483,11 +476,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Si vous quittez cet espace de travail, vous ne pourrez plus lui soumettre de dépenses.', leaveWorkspaceConfirmationAuditor: 'Si vous quittez cet espace de travail, vous ne pourrez plus voir ses notes de frais ni ses paramètres.', leaveWorkspaceConfirmationAdmin: 'Si vous quittez cet espace de travail, vous ne pourrez plus gérer ses paramètres.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Si vous quittez cet espace de travail, vous serez remplacé dans le flux d’approbation par ${workspaceOwner}, le responsable de l’espace de travail.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Si vous quittez cet espace de travail, vous serez remplacé en tant qu’exportateur préféré par ${workspaceOwner}, le responsable de l’espace de travail.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Si vous quittez cet espace de travail, vous serez remplacé en tant que contact technique par ${workspaceOwner}, le responsable de l'espace de travail.`, leaveWorkspaceReimburser: 'Vous ne pouvez pas quitter cet espace de travail en tant que rembourseur. Définissez un nouveau rembourseur dans Espaces de travail > Effectuer ou suivre les paiements, puis réessayez.', @@ -553,11 +546,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Pas si vite', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Vous n’êtes pas autorisé à effectuer cette action lorsque le support est connecté (commande : ${command ?? ''}). Si vous pensez que Success devrait pouvoir effectuer cette action, veuillez démarrer une conversation dans Slack.`, }, lockedAccount: { @@ -769,7 +758,7 @@ const translations: TranslationDeepObject = { phrase3: 'Vos paiements vous parviennent aussi vite que vous faites passer votre message.', enterPassword: 'Veuillez saisir votre mot de passe', welcomeNewFace: (login: string) => `${login}, c’est toujours un plaisir de voir un nouveau visage par ici !`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Veuillez saisir le code magique envoyé à ${login}. Il devrait arriver dans une minute ou deux.`, + welcomeEnterMagicCode: (login: string) => `Veuillez saisir le code magique envoyé à ${login}. Il devrait arriver dans une minute ou deux.`, }, login: { hero: { @@ -861,8 +850,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Posez-moi vos questions !', sayHello: 'Dites bonjour !', yourSpace: 'Votre espace', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Bienvenue dans ${roomName} !`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Utilisez le bouton + pour ${additionalText} une dépense.`, + welcomeToRoom: (roomName: string) => `Bienvenue dans ${roomName} !`, + usePlusButton: (additionalText: string) => `Utilisez le bouton + pour ${additionalText} une dépense.`, askConcierge: 'Ceci est votre chat avec Concierge, votre agent IA personnel. Je peux faire presque tout, essayez-moi !', conciergeSupport: 'Votre agent IA personnel', create: 'créer', @@ -895,7 +884,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Ce salon de discussion a été archivé.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Cette discussion n’est plus active, car ${displayName} a fermé son compte.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Cette discussion n’est plus active, car ${displayName} a fermé son compte.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Cette discussion n’est plus active, car ${oldDisplayName} a fusionné son compte avec ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1269,7 +1258,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `suivi de ${formattedAmount}${comment ? `pour ${comment}` : ''}`, splitAmount: (amount: string) => `diviser ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `diviser ${formattedAmount}${comment ? `pour ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Votre part ${amount}`, + yourSplit: (amount: string) => `Votre part ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} doit ${amount}${comment ? `pour ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} doit :`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}a payé ${amount}`, @@ -1287,7 +1276,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `approuvé via les règles de l'espace de travail`, forwarded: `approuvé`, rejectedThisReport: 'a rejeté cette note de frais', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `a commencé le paiement, mais attend que ${submitterDisplayName} ajoute un compte bancaire.`, + waitingOnBankAccount: (submitterDisplayName: string) => `a commencé le paiement, mais attend que ${submitterDisplayName} ajoute un compte bancaire.`, adminCanceledRequest: 'a annulé le paiement', canceledRequest: (amount: string, submitterDisplayName: string) => `a annulé le paiement de ${amount}, car ${submitterDisplayName} n’a pas activé son Portefeuille Expensify dans un délai de 30 jours`, @@ -1356,7 +1345,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Ignorer l’erreur', dismissReceiptErrorConfirmation: 'Attention ! Ignorer cette erreur supprimera complètement votre reçu téléversé. Êtes-vous sûr ?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `a commencé à régler. Le paiement est en attente jusqu’à ce que ${submitterDisplayName} active son portefeuille.`, enableWallet: 'Activer le portefeuille', hold: 'En attente', @@ -2511,7 +2500,7 @@ ${amount} pour ${merchant} - ${date}`, groupChat: { lastMemberTitle: 'Attention !', lastMemberWarning: 'Comme vous êtes la dernière personne ici, partir rendra cette discussion inaccessible à tous les membres. Êtes-vous sûr de vouloir partir ?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Discussion de groupe de ${displayName}`, + defaultReportName: (displayName: string) => `Discussion de groupe de ${displayName}`, }, languagePage: { language: 'Langue', @@ -5621,9 +5610,9 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST. invitedBySecondaryLogin: (secondaryLogin: string) => `Ajouté par la connexion secondaire ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Nombre total de membres de l'espace de travail : ${count}`, importMembers: 'Importer des membres', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Si vous supprimez ${approver} de cet espace de travail, nous le remplacerons dans le workflow d’approbation par ${workspaceOwner}, le responsable de l’espace de travail.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} a des notes de frais en attente d’approbation. Veuillez lui demander de les approuver ou prendre le contrôle de ses notes de frais avant de le retirer de l’espace de travail.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Vous ne pouvez pas supprimer ${memberName} de cet espace de travail. Veuillez définir un nouveau responsable des remboursements dans Workflows > Effectuer ou suivre les paiements, puis réessayez.`, diff --git a/src/languages/it.ts b/src/languages/it.ts index 0c9f5fb84bf8..4bd4ecfafc7c 100644 --- a/src/languages/it.ts +++ b/src/languages/it.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Verifica', yesContinue: 'Sì, continua', websiteExample: 'es. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `ad es. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `ad es. ${zipSampleFormat}` : ''), description: 'Descrizione', title: 'Titolo', assignee: 'Assegnatario', @@ -483,11 +476,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Se lasci questo spazio di lavoro, non potrai più inviarvi note spese.', leaveWorkspaceConfirmationAuditor: 'Se lasci questo spazio di lavoro, non potrai visualizzarne i report e le impostazioni.', leaveWorkspaceConfirmationAdmin: 'Se lasci questo spazio di lavoro, non potrai più gestirne le impostazioni.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Se lasci questo spazio di lavoro, verrai sostituito nel flusso di approvazione da ${workspaceOwner}, il proprietario dello spazio di lavoro.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Se lasci questo spazio di lavoro, verrai sostituito come esportatore preferito con ${workspaceOwner}, il proprietario dello spazio di lavoro.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Se lasci questo workspace, verrai sostituito come referente tecnico con ${workspaceOwner}, il proprietario del workspace.`, leaveWorkspaceReimburser: 'Non puoi lasciare questo spazio di lavoro come rimborsatore. Imposta un nuovo rimborsatore in Spazi di lavoro > Effettua o monitora pagamenti, quindi riprova.', @@ -553,11 +546,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Non così in fretta', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Non sei autorizzato a eseguire questa azione quando il supporto ha effettuato l’accesso (comando: ${command ?? ''}). Se ritieni che Success debba poter eseguire questa azione, avvia una conversazione in Slack.`, }, lockedAccount: { @@ -767,7 +756,7 @@ const translations: TranslationDeepObject = { phrase3: 'I tuoi rimborsi arrivano veloci quanto riesci a farti capire.', enterPassword: 'Inserisci la tua password', welcomeNewFace: (login: string) => `${login}, è sempre un piacere vedere un volto nuovo da queste parti!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Inserisci il codice magico inviato a ${login}. Dovrebbe arrivare entro uno o due minuti.`, + welcomeEnterMagicCode: (login: string) => `Inserisci il codice magico inviato a ${login}. Dovrebbe arrivare entro uno o due minuti.`, }, login: { hero: { @@ -858,8 +847,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Chiedimi qualsiasi cosa!', sayHello: 'Di’ ciao!', yourSpace: 'Il tuo spazio', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Benvenuto in ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Usa il pulsante + per ${additionalText} una spesa.`, + welcomeToRoom: (roomName: string) => `Benvenuto in ${roomName}!`, + usePlusButton: (additionalText: string) => `Usa il pulsante + per ${additionalText} una spesa.`, askConcierge: 'Questa è la tua chat con Concierge, il tuo agente IA personale. Posso fare quasi tutto, mettimi alla prova!', conciergeSupport: 'Il tuo agente IA personale', create: 'crea', @@ -892,7 +881,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Questa chat room è stata archiviata.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Questa chat non è più attiva perché ${displayName} ha chiuso il proprio account.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Questa chat non è più attiva perché ${displayName} ha chiuso il proprio account.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Questa chat non è più attiva perché ${oldDisplayName} ha unito il proprio account con quello di ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1263,7 +1252,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `monitoraggio di ${formattedAmount}${comment ? `per ${comment}` : ''}`, splitAmount: (amount: string) => `dividi ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `suddividi ${formattedAmount}${comment ? `per ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `La tua quota ${amount}`, + yourSplit: (amount: string) => `La tua quota ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} deve ${amount}${comment ? `per ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} deve:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}ha pagato ${amount}`, @@ -1281,7 +1270,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `approvata tramite le regole dello spazio di lavoro`, forwarded: `approvato`, rejectedThisReport: 'ha rifiutato questo report', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `ha avviato il pagamento, ma sta aspettando che ${submitterDisplayName} aggiunga un conto bancario.`, + waitingOnBankAccount: (submitterDisplayName: string) => `ha avviato il pagamento, ma sta aspettando che ${submitterDisplayName} aggiunga un conto bancario.`, adminCanceledRequest: 'ha annullato il pagamento', canceledRequest: (amount: string, submitterDisplayName: string) => `ha annullato il pagamento di ${amount}, perché ${submitterDisplayName} non ha abilitato il proprio Expensify Wallet entro 30 giorni`, @@ -1349,7 +1338,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Ignora errore', dismissReceiptErrorConfirmation: 'Attenzione! Chiudere questo errore rimuoverà completamente la ricevuta che hai caricato. Sei sicuro?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `ha iniziato a saldare il conto. Il pagamento è in sospeso finché ${submitterDisplayName} non abilita il proprio portafoglio.`, enableWallet: 'Abilita portafoglio', hold: 'Metti in attesa', @@ -2501,7 +2490,7 @@ ${amount} per ${merchant} - ${date}`, groupChat: { lastMemberTitle: 'Attenzione!', lastMemberWarning: 'Dato che sei l’ultima persona qui, se lasci la chat diventerà inaccessibile a tutti i membri. Sei sicuro di voler uscire?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Chat di gruppo di ${displayName}`, + defaultReportName: (displayName: string) => `Chat di gruppo di ${displayName}`, }, languagePage: { language: 'Lingua', @@ -5591,9 +5580,9 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST. invitedBySecondaryLogin: (secondaryLogin: string) => `Aggiunto dall’accesso secondario ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Totale membri dello spazio di lavoro: ${count}`, importMembers: 'Importa membri', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Se rimuovi ${approver} da questo workspace, lo sostituiremo nel flusso di approvazione con ${workspaceOwner}, il proprietario del workspace.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} ha note spese in sospeso da approvare. Chiedi loro di approvarle o di prendere il controllo delle loro note spese prima di rimuoverli dallo spazio di lavoro.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Non puoi rimuovere ${memberName} da questo workspace. Imposta un nuovo rimborsatore in Flussi di lavoro > Effettua o tieni traccia dei pagamenti, quindi riprova.`, diff --git a/src/languages/ja.ts b/src/languages/ja.ts index dd0dce0bc271..3e882b659861 100644 --- a/src/languages/ja.ts +++ b/src/languages/ja.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: '確認', yesContinue: 'はい、続行', websiteExample: '例:https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `例:${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `例:${zipSampleFormat}` : ''), description: '説明', title: 'タイトル', assignee: '担当者', @@ -482,11 +475,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'このワークスペースを退出すると、そこへ経費を提出できなくなります。', leaveWorkspaceConfirmationAuditor: 'このワークスペースを退出すると、そのレポートや設定を表示できなくなります。', leaveWorkspaceConfirmationAdmin: 'このワークスペースを退出すると、その設定を管理できなくなります。', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `このワークスペースを退出すると、あなたの承認ワークフロー上での役割はワークスペースのオーナーである${workspaceOwner}に引き継がれます。`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `このワークスペースを退出すると、優先エクスポーターとしてあなたの代わりにワークスペースのオーナーである${workspaceOwner}が設定されます。`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `このワークスペースを退出すると、あなたに代わってワークスペースのオーナーである${workspaceOwner}が技術連絡先になります。`, leaveWorkspaceReimburser: '支払担当者であるため、このワークスペースを退出することはできません。[ワークスペース]>[支払いの作成または追跡]で新しい支払担当者を設定してから、もう一度お試しください。', @@ -552,11 +545,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'ちょっと待ってください', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `サポートとしてログインしている場合、この操作を行う権限がありません(コマンド: ${command ?? ''})。Success がこの操作を行えるようにすべきだと思われる場合は、Slack で会話を開始してください。`, }, lockedAccount: { @@ -762,7 +751,7 @@ const translations: TranslationDeepObject = { phrase3: 'あなたが要点を伝える速さで、支払いもあなたのもとに届きます。', enterPassword: 'パスワードを入力してください', welcomeNewFace: (login: string) => `${login} さん、ここで新しい顔にお会いできるのはいつでもうれしいです!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `${login} に送信されたマジックコードを入力してください。1~2分以内に届きます。`, + welcomeEnterMagicCode: (login: string) => `${login} に送信されたマジックコードを入力してください。1~2分以内に届きます。`, }, login: { hero: { @@ -853,8 +842,8 @@ const translations: TranslationDeepObject = { askMeAnything: '何でも聞いてください!', sayHello: '挨拶しよう!', yourSpace: 'あなたのスペース', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `${roomName} へようこそ!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `+ ボタンを使って経費を${additionalText}します。`, + welcomeToRoom: (roomName: string) => `${roomName} へようこそ!`, + usePlusButton: (additionalText: string) => `+ ボタンを使って経費を${additionalText}します。`, askConcierge: 'こちらはあなた専属のAIエージェント、Conciergeとのチャットです。ほぼ何でもできますので、お試しください!', conciergeSupport: 'あなた専用のAIエージェント', create: '作成', @@ -887,7 +876,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'このチャットルームはアーカイブされました。', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `${displayName} がアカウントを閉鎖したため、このチャットは現在利用できません。`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `${displayName} がアカウントを閉鎖したため、このチャットは現在利用できません。`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `このチャットは、${oldDisplayName} が自分のアカウントを ${displayName} と統合したため、現在はアクティブではありません。`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1258,7 +1247,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `追跡中 ${formattedAmount}${comment ? `${comment}用` : ''}`, splitAmount: (amount: string) => `${amount} を分割`, didSplitAmount: (formattedAmount: string, comment?: string) => `${formattedAmount}${comment ? `${comment}用` : ''} を分割`, - yourSplit: ({amount}: UserSplitParams) => `あなたの分担額 ${amount}`, + yourSplit: (amount: string) => `あなたの分担額 ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} は ${amount}${comment ? `${comment}用` : ''} を支払う必要があります`, payerOwes: (payer: string) => `${payer} の負担額:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}が${amount}を支払いました`, @@ -1276,7 +1265,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `ワークスペースルールにより承認済み`, forwarded: `承認済み`, rejectedThisReport: 'このレポートを却下しました', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `支払いを開始しましたが、${submitterDisplayName}が銀行口座を追加するのを待っています。`, + waitingOnBankAccount: (submitterDisplayName: string) => `支払いを開始しましたが、${submitterDisplayName}が銀行口座を追加するのを待っています。`, adminCanceledRequest: '支払いをキャンセルしました', canceledRequest: (amount: string, submitterDisplayName: string) => `${submitterDisplayName} が30日以内に Expensify Wallet を有効化しなかったため、${amount} の支払いをキャンセルしました`, @@ -1343,7 +1332,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'エラーを閉じる', dismissReceiptErrorConfirmation: 'ご注意ください!このエラーを閉じると、アップロード済みのレシートが完全に削除されます。本当に続行しますか?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => `清算を開始しました。${submitterDisplayName} がウォレットを有効にするまで、支払いは保留されます。`, + waitingOnEnabledWallet: (submitterDisplayName: string) => `清算を開始しました。${submitterDisplayName} がウォレットを有効にするまで、支払いは保留されます。`, enableWallet: 'ウォレットを有効にする', hold: '保留', unhold: '保留を解除', @@ -2484,7 +2473,7 @@ ${date} の ${merchant} への ${amount}`, groupChat: { lastMemberTitle: 'ご注意ください!', lastMemberWarning: 'ここにいる最後のメンバーのため、退出するとこのチャットには誰もアクセスできなくなります。本当に退出してもよろしいですか?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `${displayName}のグループチャット`, + defaultReportName: (displayName: string) => `${displayName}のグループチャット`, }, languagePage: { language: '言語', @@ -5537,9 +5526,9 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO invitedBySecondaryLogin: (secondaryLogin: string) => `セカンダリログイン${secondaryLogin}によって追加されました。`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `ワークスペースメンバー合計:${count}`, importMembers: 'メンバーをインポート', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `このワークスペースから${approver}を削除すると、承認ワークフロー内ではワークスペースのオーナーである${workspaceOwner}に置き換えられます。`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} には未承認の経費精算書があります。ワークスペースから削除する前に、承認してもらうか、その精算書の管理を引き継いでください。`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `このワークスペースから${memberName}を削除することはできません。ワークフロー > 支払いの作成または追跡 で新しい払い戻し担当者を設定してから、もう一度お試しください。`, diff --git a/src/languages/nl.ts b/src/languages/nl.ts index a39f1fa5c45a..3b1675b41a79 100644 --- a/src/languages/nl.ts +++ b/src/languages/nl.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Verifiëren', yesContinue: 'Ja, ga door', websiteExample: 'bijv. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `bijv. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `bijv. ${zipSampleFormat}` : ''), description: 'Beschrijving', title: 'Titel', assignee: 'Toegewezene', @@ -482,12 +475,12 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Als je deze workspace verlaat, kun je er geen declaraties meer naartoe indienen.', leaveWorkspaceConfirmationAuditor: 'Als je deze workspace verlaat, kun je de bijbehorende rapporten en instellingen niet meer bekijken.', leaveWorkspaceConfirmationAdmin: 'Als je deze workspace verlaat, kun je de instellingen ervan niet meer beheren.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Als je deze workspace verlaat, word je in de goedkeuringsworkflow vervangen door ${workspaceOwner}, de eigenaar van de workspace.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Als je deze workspace verlaat, word je als voorkeurs-exporteur vervangen door ${workspaceOwner}, de eigenaar van de workspace.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => - `Als je deze workspace verlaat, word je als technisch contactpersoon vervangen door ${workspaceOwner}, de eigenaar van de workspace.`, + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => + `Als je deze workfspace verlaat, word je als technisch contactpersoon vervangen door ${workspaceOwner}, de eigenaar van de workspace.`, leaveWorkspaceReimburser: 'Je kunt deze workspace niet verlaten als terugbetaler. Stel een nieuwe terugbetaler in via Workspaces > Betalingen doen of volgen en probeer het dan opnieuw.', reimbursable: 'Vergoedbaar', @@ -552,11 +545,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Niet zo snel', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Je bent niet gemachtigd om deze actie uit te voeren wanneer support is ingelogd (opdracht: ${command ?? ''}). Als je denkt dat Success deze actie zou moeten kunnen uitvoeren, start dan een gesprek in Slack.`, }, lockedAccount: { @@ -765,7 +754,7 @@ const translations: TranslationDeepObject = { phrase3: 'Je betalingen komen net zo snel bij je aan als jij je punt kunt maken.', enterPassword: 'Voer uw wachtwoord in', welcomeNewFace: (login: string) => `${login}, het is altijd leuk om een nieuw gezicht hier te zien!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Voer de magische code in die naar ${login} is gestuurd. Deze zou binnen een tot twee minuten moeten aankomen.`, + welcomeEnterMagicCode: (login: string) => `Voer de magische code in die naar ${login} is gestuurd. Deze zou binnen een tot twee minuten moeten aankomen.`, }, login: { hero: { @@ -856,8 +845,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Vraag me alles!', sayHello: 'Zeg hallo!', yourSpace: 'Jouw ruimte', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Welkom bij ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Gebruik de +-knop om een uitgave te ${additionalText}.`, + welcomeToRoom: (roomName: string) => `Welkom bij ${roomName}!`, + usePlusButton: (additionalText: string) => `Gebruik de +-knop om een uitgave te ${additionalText}.`, askConcierge: 'Dit is je chat met Concierge, je persoonlijke AI-agent. Ik kan bijna alles, probeer het maar!', conciergeSupport: 'Jouw persoonlijke AI-agent', create: 'maken', @@ -890,7 +879,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Deze chatruimte is gearchiveerd.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Deze chat is niet meer actief omdat ${displayName} de account heeft gesloten.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Deze chat is niet meer actief omdat ${displayName} de account heeft gesloten.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Deze chat is niet langer actief omdat ${oldDisplayName} zijn of haar account heeft samengevoegd met ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1262,7 +1251,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `volgt ${formattedAmount}${comment ? `voor ${comment}` : ''}`, splitAmount: (amount: string) => `verdeel ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `splitsen ${formattedAmount}${comment ? `voor ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Jouw deel ${amount}`, + yourSplit: (amount: string) => `Jouw deel ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} is ${amount}${comment ? `voor ${comment}` : ''} verschuldigd`, payerOwes: (payer: string) => `${payer} is nog verschuldigd:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}heeft ${amount} betaald`, @@ -1280,7 +1269,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `goedgekeurd via werkruimteregels`, forwarded: `goedgekeurd`, rejectedThisReport: 'heeft dit rapport afgekeurd', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `is een betaling gestart, maar wacht tot ${submitterDisplayName} een bankrekening toevoegt.`, + waitingOnBankAccount: (submitterDisplayName: string) => `is een betaling gestart, maar wacht tot ${submitterDisplayName} een bankrekening toevoegt.`, adminCanceledRequest: 'heeft de betaling geannuleerd', canceledRequest: (amount: string, submitterDisplayName: string) => `heeft de betaling van ${amount} geannuleerd, omdat ${submitterDisplayName} hun Expensify Wallet niet binnen 30 dagen heeft geactiveerd`, @@ -1347,7 +1336,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Foutmelding sluiten', dismissReceiptErrorConfirmation: 'Let op! Dit foutbericht negeren verwijdert je geüploade bon volledig. Weet je het zeker?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `is begonnen met afrekenen. Betaling wordt vastgehouden totdat ${submitterDisplayName} hun wallet inschakelt.`, enableWallet: 'Portemonnee inschakelen', hold: 'Vasthouden', @@ -2500,7 +2489,7 @@ ${amount} voor ${merchant} - ${date}`, groupChat: { lastMemberTitle: 'Let op!', lastMemberWarning: 'Omdat jij de laatste persoon hier bent, wordt deze chat ontoegankelijk voor alle leden als je vertrekt. Weet je zeker dat je wilt vertrekken?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Groepschat van ${displayName}`, + defaultReportName: (displayName: string) => `Groepschat van ${displayName}`, }, languagePage: { language: 'Taal', @@ -5572,9 +5561,9 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_ invitedBySecondaryLogin: (secondaryLogin: string) => `Toegevoegd door secundair login ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Totaal aantal werkruimteleden: ${count}`, importMembers: 'Leden importeren', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Als je ${approver} uit deze workspace verwijdert, vervangen we diegene in de goedkeuringsworkflow door ${workspaceOwner}, de eigenaar van de workspace.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} heeft openstaande onkostendeclaraties om goed te keuren. Vraag hen deze goed te keuren, of neem de controle over hun declaraties voordat je hen uit de workspace verwijdert.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Je kunt ${memberName} niet uit deze werkruimte verwijderen. Stel eerst een nieuwe terugbetaler in via Workflows > Betalingen doen of volgen en probeer het dan opnieuw.`, diff --git a/src/languages/params.ts b/src/languages/params.ts index 8a5112bbb527..8fecf3fd99cc 100644 --- a/src/languages/params.ts +++ b/src/languages/params.ts @@ -10,14 +10,6 @@ type MultifactorAuthenticationTranslationParams = { registered?: boolean; }; -type ZipCodeExampleFormatParams = { - zipSampleFormat: string; -}; - -type WelcomeEnterMagicCodeParams = { - login: string; -}; - type EditActionParams = { action: OnyxInputOrEntry; }; @@ -444,9 +436,7 @@ export type { WaitingOnBankAccountParams, WalletProgramParams, WeSentYouMagicSignInLinkParams, - WelcomeEnterMagicCodeParams, WelcomeToRoomParams, - ZipCodeExampleFormatParams, ChangeFieldParams, ExportedToIntegrationParams, IntegrationsMessageParams, diff --git a/src/languages/pl.ts b/src/languages/pl.ts index eff540d830f5..88e1726c710b 100644 --- a/src/languages/pl.ts +++ b/src/languages/pl.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Zweryfikuj', yesContinue: 'Tak, kontynuuj', websiteExample: 'np. https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `np. ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `np. ${zipSampleFormat}` : ''), description: 'Opis', title: 'Tytuł', assignee: 'Osoba przypisana', @@ -482,11 +475,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Jeśli opuścisz ten obszar roboczy, nie będziesz mógł przesyłać do niego wydatków.', leaveWorkspaceConfirmationAuditor: 'Jeśli opuścisz tę przestrzeń roboczą, nie będziesz mieć dostępu do jej raportów ani ustawień.', leaveWorkspaceConfirmationAdmin: 'Jeśli opuścisz tę przestrzeń roboczą, nie będziesz mógł zarządzać jej ustawieniami.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Jeśli opuścisz tę przestrzeń roboczą, w ścieżce zatwierdzania zastąpi Cię ${workspaceOwner}, właściciel przestrzeni roboczej.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Jeśli opuścisz tę przestrzeń roboczą, zostaniesz zastąpiony jako preferowany eksporter przez ${workspaceOwner}, właściciela przestrzeni roboczej.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Jeśli opuścisz tę przestrzeń roboczą, zostaniesz zastąpiony jako kontakt techniczny przez ${workspaceOwner}, właściciela przestrzeni roboczej.`, leaveWorkspaceReimburser: 'Nie możesz opuścić tej przestrzeni roboczej jako osoba rozliczająca wydatki. Ustaw nową osobę rozliczającą w Przestrzenie robocze > Dokonuj lub śledź płatności, a następnie spróbuj ponownie.', @@ -552,11 +545,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Nie tak szybko', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Nie masz uprawnień do wykonania tej akcji, gdy wsparcie jest zalogowane (polecenie: ${command ?? ''}). Jeśli uważasz, że Success powinien móc wykonać tę akcję, rozpocznij proszę rozmowę na Slacku.`, }, lockedAccount: { @@ -766,7 +755,7 @@ const translations: TranslationDeepObject = { phrase3: 'Twoje płatności docierają do Ciebie tak szybko, jak szybko potrafisz przekazać swoją myśl.', enterPassword: 'Wprowadź swoje hasło', welcomeNewFace: (login: string) => `${login}, zawsze miło zobaczyć tu nową twarz!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Wprowadź magiczny kod wysłany na ${login}. Powinien dotrzeć w ciągu minuty lub dwóch.`, + welcomeEnterMagicCode: (login: string) => `Wprowadź magiczny kod wysłany na ${login}. Powinien dotrzeć w ciągu minuty lub dwóch.`, }, login: { hero: { @@ -857,8 +846,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Zapytaj mnie o cokolwiek!', sayHello: 'Przywitaj się!', yourSpace: 'Twoja przestrzeń', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Witaj w ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Użyj przycisku +, aby ${additionalText} wydatek.`, + welcomeToRoom: (roomName: string) => `Witaj w ${roomName}!`, + usePlusButton: (additionalText: string) => `Użyj przycisku +, aby ${additionalText} wydatek.`, askConcierge: 'To Twój czat z Concierge, Twoim osobistym agentem AI. Mogę zrobić prawie wszystko, wypróbuj mnie!', conciergeSupport: 'Twój osobisty agent AI', create: 'utwórz', @@ -891,7 +880,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Ten czat został zarchiwizowany.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Ten czat nie jest już aktywny, ponieważ ${displayName} zamknął(-ęła) swoje konto.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Ten czat nie jest już aktywny, ponieważ ${oldDisplayName} połączył(-a) swoje konto z ${displayName}.`, @@ -1262,7 +1251,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `śledzenie ${formattedAmount}${comment ? `za ${comment}` : ''}`, splitAmount: (amount: string) => `podziel ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `podziel ${formattedAmount}${comment ? `za ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Twój podział ${amount}`, + yourSplit: (amount: string) => `Twój podział ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} jest winien ${amount}${comment ? `za ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} jest winien:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}zapłacił(a) ${amount}`, @@ -1280,7 +1269,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `zatwierdzone przez reguły przestrzeni roboczej`, forwarded: `zatwierdzono`, rejectedThisReport: 'odrzucił(-a) ten raport', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `rozpoczęto płatność, ale oczekuje na to, aż ${submitterDisplayName} doda konto bankowe.`, + waitingOnBankAccount: (submitterDisplayName: string) => `rozpoczęto płatność, ale oczekuje na to, aż ${submitterDisplayName} doda konto bankowe.`, adminCanceledRequest: 'anulowano płatność', canceledRequest: (amount: string, submitterDisplayName: string) => `anulowano płatność ${amount}, ponieważ ${submitterDisplayName} nie aktywował(-a) swojego portfela Expensify w ciągu 30 dni`, @@ -1346,7 +1335,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Odrzuć błąd', dismissReceiptErrorConfirmation: 'Uwaga! Zamknięcie tego błędu spowoduje całkowite usunięcie przesłanego paragonu. Czy na pewno chcesz kontynuować?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `rozpoczął rozliczanie. Płatność jest wstrzymana, dopóki ${submitterDisplayName} nie włączy swojego portfela.`, enableWallet: 'Włącz portfel', hold: 'Wstrzymaj', @@ -2492,7 +2481,7 @@ ${amount} dla ${merchant} - ${date}`, groupChat: { lastMemberTitle: 'Uwaga!', lastMemberWarning: 'Ponieważ jesteś ostatnią osobą w tym czacie, wyjście spowoduje, że stanie się on niedostępny dla wszystkich członków. Czy na pewno chcesz opuścić czat?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Czat grupowy ${displayName}`, + defaultReportName: (displayName: string) => `Czat grupowy ${displayName}`, }, languagePage: { language: 'Język', @@ -5567,9 +5556,9 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy invitedBySecondaryLogin: (secondaryLogin: string) => `Dodane przez dodatkowy login ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Łączna liczba członków przestrzeni roboczej: ${count}`, importMembers: 'Zaimportuj członków', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Jeśli usuniesz ${approver} z tego obszaru roboczego, zastąpimy tę osobę w procesie zatwierdzania przez ${workspaceOwner}, właściciela obszaru roboczego.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} ma zaległe raporty wydatków do zatwierdzenia. Poproś tę osobę o ich zatwierdzenie lub przejmij kontrolę nad jej raportami, zanim usuniesz ją z przestrzeni roboczej.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Nie możesz usunąć ${memberName} z tego przestrzeni roboczej. Ustaw nową osobę zwracającą wydatki w Workflows > Make or track payments, a następnie spróbuj ponownie.`, diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts index a98b7a4af556..e3091a2410d8 100644 --- a/src/languages/pt-BR.ts +++ b/src/languages/pt-BR.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: 'Verificar', yesContinue: 'Sim, continuar', websiteExample: 'por exemplo, https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `por exemplo, ${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `por exemplo, ${zipSampleFormat}` : ''), description: 'Descrição', title: 'Título', assignee: 'Responsável', @@ -482,11 +475,11 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: 'Se você sair deste workspace, não poderá enviar despesas para ele.', leaveWorkspaceConfirmationAuditor: 'Se você sair deste espaço de trabalho, não poderá visualizar seus relatórios e configurações.', leaveWorkspaceConfirmationAdmin: 'Se você sair deste workspace, não poderá mais gerenciar as configurações dele.', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `Se você sair deste workspace, você será substituído no fluxo de aprovação por ${workspaceOwner}, o proprietário do workspace.`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `Se você sair deste espaço de trabalho, você será substituído como exportador preferencial por ${workspaceOwner}, o proprietário do espaço de trabalho.`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `Se você sair deste workspace, você será substituído como contato técnico por ${workspaceOwner}, o proprietário do workspace.`, leaveWorkspaceReimburser: 'Você não pode sair deste workspace sendo o reembolsador. Defina um novo reembolsador em Workspaces > Fazer ou acompanhar pagamentos e tente novamente.', reimbursable: 'Reembolsável', @@ -551,11 +544,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: 'Calma aí', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => + descriptionWithCommand: (command?: string) => `Você não tem autorização para realizar esta ação quando o suporte estiver conectado (comando: ${command ?? ''}). Se você acha que o time de Success deveria poder realizar esta ação, inicie uma conversa no Slack.`, }, lockedAccount: { @@ -765,7 +754,7 @@ const translations: TranslationDeepObject = { phrase3: 'Seus pagamentos chegam tão rápido quanto você consegue transmitir seu ponto.', enterPassword: 'Insira sua senha', welcomeNewFace: (login: string) => `${login}, é sempre ótimo ver um novo rosto por aqui!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Insira o código mágico enviado para ${login}. Ele deve chegar em um ou dois minutos.`, + welcomeEnterMagicCode: (login: string) => `Insira o código mágico enviado para ${login}. Ele deve chegar em um ou dois minutos.`, }, login: { hero: { @@ -856,8 +845,8 @@ const translations: TranslationDeepObject = { askMeAnything: 'Pergunte-me qualquer coisa!', sayHello: 'Diga olá!', yourSpace: 'Seu espaço', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Bem-vindo(a) a ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `Use o botão + para ${additionalText} uma despesa.`, + welcomeToRoom: (roomName: string) => `Bem-vindo(a) a ${roomName}!`, + usePlusButton: (additionalText: string) => `Use o botão + para ${additionalText} uma despesa.`, askConcierge: 'Este é o seu chat com o Concierge, seu agente pessoal de IA. Posso fazer quase tudo, experimente!', conciergeSupport: 'Seu agente de IA pessoal', create: 'criar', @@ -890,7 +879,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Esta sala de chat foi arquivada.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Este chat não está mais ativo porque ${displayName} encerrou a conta.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Este chat não está mais ativo porque ${displayName} encerrou a conta.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Este chat não está mais ativo porque ${oldDisplayName} uniu a conta a ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1261,7 +1250,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `rastreamento de ${formattedAmount}${comment ? `para ${comment}` : ''}`, splitAmount: (amount: string) => `dividir ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `dividir ${formattedAmount}${comment ? `para ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `Sua parte ${amount}`, + yourSplit: (amount: string) => `Sua parte ${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} deve ${amount}${comment ? `para ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} deve:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}pagou ${amount}`, @@ -1279,7 +1268,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `aprovado por meio das regras do workspace`, forwarded: `aprovado`, rejectedThisReport: 'rejeitou este relatório', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `iniciou o pagamento, mas está aguardando ${submitterDisplayName} adicionar uma conta bancária.`, + waitingOnBankAccount: (submitterDisplayName: string) => `iniciou o pagamento, mas está aguardando ${submitterDisplayName} adicionar uma conta bancária.`, adminCanceledRequest: 'cancelou o pagamento', canceledRequest: (amount: string, submitterDisplayName: string) => `cancelou o pagamento de ${amount} porque ${submitterDisplayName} não ativou a Carteira Expensify em 30 dias`, settledAfterAddedBankAccount: (submitterDisplayName: string, amount: string) => `${submitterDisplayName} adicionou uma conta bancária. O pagamento de ${amount} foi efetuado.`, @@ -1344,7 +1333,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: 'Dispensar erro', dismissReceiptErrorConfirmation: 'Atenção! Ignorar este erro removerá completamente o comprovante que você enviou. Tem certeza?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => + waitingOnEnabledWallet: (submitterDisplayName: string) => `começou a acertar as contas. O pagamento está em espera até ${submitterDisplayName} ativar a carteira.`, enableWallet: 'Ativar carteira', hold: 'Reter', @@ -2493,7 +2482,7 @@ ${amount} para ${merchant} - ${date}`, groupChat: { lastMemberTitle: 'Atenção!', lastMemberWarning: 'Como você é a última pessoa aqui, sair tornará este chat inacessível para todos os membros. Tem certeza de que deseja sair?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `Chat em grupo de ${displayName}`, + defaultReportName: (displayName: string) => `Chat em grupo de ${displayName}`, }, languagePage: { language: 'Idioma', @@ -5572,9 +5561,9 @@ _Para instruções mais detalhadas, [visite nossa central de ajuda](${CONST.NETS invitedBySecondaryLogin: (secondaryLogin: string) => `Adicionado pelo login secundário ${secondaryLogin}.`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Total de membros no workspace: ${count}`, importMembers: 'Importar membros', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Se você remover ${approver} deste workspace, nós o substituiremos no fluxo de aprovação por ${workspaceOwner}, o proprietário do workspace.`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} tem relatórios de despesas pendentes de aprovação. Peça para que os aprove ou assuma o controle dos relatórios antes de removê-lo(a) do espaço de trabalho.`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `Você não pode remover ${memberName} deste workspace. Defina um novo reembolsador em Fluxos de trabalho > Fazer ou acompanhar pagamentos e tente novamente.`, diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts index 86ee5da0881d..e14234d3e4fa 100644 --- a/src/languages/zh-hans.ts +++ b/src/languages/zh-hans.ts @@ -49,7 +49,6 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsClosedParams, ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsMergedParams, ReportArchiveReasonsRemovedFromPolicyParams, @@ -92,9 +91,7 @@ import type { UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, VacationDelegateParams, ViolationsCashExpenseWithNoReceiptParams, ViolationsConversionSurchargeParams, @@ -111,11 +108,8 @@ import type { ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, WalletAgreementParams, WalletProgramParams, - WelcomeEnterMagicCodeParams, - WelcomeToRoomParams, WeSentYouMagicSignInLinkParams, WorkEmailMergingBlockedParams, WorkEmailResendCodeParams, @@ -131,7 +125,6 @@ import type { WorkspaceYouMayJoin, YourPlanPriceParams, YourPlanPriceValueParams, - ZipCodeExampleFormatParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -350,7 +343,7 @@ const translations: TranslationDeepObject = { verify: '验证', yesContinue: '是,继续', websiteExample: '例如:https://www.expensify.com', - zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `例如:${zipSampleFormat}` : ''), + zipCodeExampleFormat: (zipSampleFormat: string) => (zipSampleFormat ? `例如:${zipSampleFormat}` : ''), description: '描述', title: '标题', assignee: '受托人', @@ -482,9 +475,9 @@ const translations: TranslationDeepObject = { leaveWorkspaceConfirmation: '如果你离开此工作区,将无法再向其提交报销。', leaveWorkspaceConfirmationAuditor: '如果你离开此工作区,将无法查看其报表和设置。', leaveWorkspaceConfirmationAdmin: '如果你离开此工作区,将无法管理其设置。', - leaveWorkspaceConfirmationApprover: ({workspaceOwner}: {workspaceOwner: string}) => `如果你离开此工作区,你在审批流程中的角色将由工作区所有者 ${workspaceOwner} 接替。`, - leaveWorkspaceConfirmationExporter: ({workspaceOwner}: {workspaceOwner: string}) => `如果你离开此工作区,你将被工作区所有者 ${workspaceOwner} 取代,成为首选导出人。`, - leaveWorkspaceConfirmationTechContact: ({workspaceOwner}: {workspaceOwner: string}) => `如果你离开此工作区,你将由工作区所有者 ${workspaceOwner} 接任技术联系人。`, + leaveWorkspaceConfirmationApprover: (workspaceOwner: string) => `如果你离开此工作区,你在审批流程中的角色将由工作区所有者 ${workspaceOwner} 接替。`, + leaveWorkspaceConfirmationExporter: (workspaceOwner: string) => `如果你离开此工作区,你将被工作区所有者 ${workspaceOwner} 取代,成为首选导出人。`, + leaveWorkspaceConfirmationTechContact: (workspaceOwner: string) => `如果你离开此工作区,你将由工作区所有者 ${workspaceOwner} 接任技术联系人。`, leaveWorkspaceReimburser: '作为报销人,您无法离开此工作区。请前往“工作区”>“进行或跟踪付款”中设置新的报销人,然后重试。', reimbursable: '可报销', editYourProfile: '编辑个人资料', @@ -548,11 +541,7 @@ const translations: TranslationDeepObject = { }, supportalNoAccess: { title: '先别急', - descriptionWithCommand: ({ - command, - }: { - command?: string; - } = {}) => `当以支持身份登录时,你无权执行此操作(命令:${command ?? ''})。如果你认为 Success 应该能够执行此操作,请在 Slack 中发起一次会话。`, + descriptionWithCommand: (command?: string) => `当以支持身份登录时,你无权执行此操作(命令:${command ?? ''})。如果你认为 Success 应该能够执行此操作,请在 Slack 中发起一次会话。`, }, lockedAccount: { title: '账户已锁定', @@ -757,7 +746,7 @@ const translations: TranslationDeepObject = { phrase3: '只要你把理由说清楚,款项就能同样快地到你手中。', enterPassword: '请输入您的密码', welcomeNewFace: (login: string) => `${login},很高兴在这里见到新面孔!`, - welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `请输入发送到 ${login} 的魔法验证码。它应会在一两分钟内送达。`, + welcomeEnterMagicCode: (login: string) => `请输入发送到 ${login} 的魔法验证码。它应会在一两分钟内送达。`, }, login: { hero: { @@ -846,8 +835,8 @@ const translations: TranslationDeepObject = { askMeAnything: '尽管问我任何问题!', sayHello: '打个招呼!', yourSpace: '你的空间', - welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `欢迎来到 ${roomName}!`, - usePlusButton: ({additionalText}: UsePlusButtonParams) => `使用 + 按钮来${additionalText}一笔费用。`, + welcomeToRoom: (roomName: string) => `欢迎来到 ${roomName}!`, + usePlusButton: (additionalText: string) => `使用 + 按钮来${additionalText}一笔费用。`, askConcierge: '这是您与 Concierge(您的个人 AI 代理)的聊天。我几乎什么都能做,来试试吧!', conciergeSupport: '您的专属AI助手', create: '创建', @@ -879,7 +868,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: '此聊天室已被归档。', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `此聊天已不再活动,因为 ${displayName} 已关闭其账户。`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `此聊天已不再活动,因为 ${displayName} 已关闭其账户。`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `此聊天已不再活跃,因为${oldDisplayName}已将其账户与${displayName}合并。`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1239,7 +1228,7 @@ const translations: TranslationDeepObject = { trackedAmount: (formattedAmount: string, comment?: string) => `跟踪 ${formattedAmount}${comment ? `用于 ${comment}` : ''}`, splitAmount: (amount: string) => `拆分 ${amount}`, didSplitAmount: (formattedAmount: string, comment?: string) => `拆分 ${formattedAmount}${comment ? `用于 ${comment}` : ''}`, - yourSplit: ({amount}: UserSplitParams) => `您分摊的${amount}`, + yourSplit: (amount: string) => `您分摊的${amount}`, payerOwesAmount: (amount: number | string, payer: string, comment?: string) => `${payer} 欠款 ${amount}${comment ? `用于 ${comment}` : ''}`, payerOwes: (payer: string) => `${payer} 应付:`, payerPaidAmount: (amount: number | string, payer?: string) => `${payer ? `${payer} ` : ''}已支付 ${amount}`, @@ -1257,7 +1246,7 @@ const translations: TranslationDeepObject = { automaticallyForwarded: `通过工作区规则批准`, forwarded: `已批准`, rejectedThisReport: '已拒绝此报表', - waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `已开始付款,但正在等待${submitterDisplayName}添加银行账户。`, + waitingOnBankAccount: (submitterDisplayName: string) => `已开始付款,但正在等待${submitterDisplayName}添加银行账户。`, adminCanceledRequest: '已取消付款', canceledRequest: (amount: string, submitterDisplayName: string) => `已取消金额为 ${amount} 的付款,因为 ${submitterDisplayName} 未在 30 天内启用其 Expensify 钱包`, settledAfterAddedBankAccount: (submitterDisplayName: string, amount: string) => `${submitterDisplayName} 已添加了一个银行账户。已完成 ${amount} 付款。`, @@ -1321,7 +1310,7 @@ const translations: TranslationDeepObject = { }, dismissReceiptError: '忽略错误', dismissReceiptErrorConfirmation: '提醒:关闭此错误将彻底删除你上传的收据。确定要继续吗?', - waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => `已开始结算。在 ${submitterDisplayName} 启用其钱包之前,付款将被暂挂。`, + waitingOnEnabledWallet: (submitterDisplayName: string) => `已开始结算。在 ${submitterDisplayName} 启用其钱包之前,付款将被暂挂。`, enableWallet: '启用钱包', hold: '暂挂', unhold: '解除保留', @@ -2447,7 +2436,7 @@ ${amount},商户:${merchant} - 日期:${date}`, groupChat: { lastMemberTitle: '注意!', lastMemberWarning: '由于你是这里的最后一位成员,一旦离开,所有成员都将无法再访问此聊天。确定要离开吗?', - defaultReportName: ({displayName}: ReportArchiveReasonsClosedParams) => `${displayName} 的群聊`, + defaultReportName: (displayName: string) => `${displayName} 的群聊`, }, languagePage: { language: '语言', @@ -5456,9 +5445,9 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM invitedBySecondaryLogin: (secondaryLogin: string) => `由次要登录账号 ${secondaryLogin} 添加。`, workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `工作区成员总数:${count}`, importMembers: '导入成员', - removeMemberPromptApprover: ({approver, workspaceOwner}: {approver: string; workspaceOwner: string}) => + removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `如果你将 ${approver} 从此工作区中移除,我们会在审批流程中用工作区所有者 ${workspaceOwner} 替换 TA。`, - removeMemberPromptPendingApproval: ({memberName}: {memberName: string}) => `${memberName} 还有待审批的报销报告。请先让 TA 审批,或在将其从工作区中移除之前接管 TA 的报告。`, + removeMemberPromptPendingApproval: (memberName: string) => `${memberName} 还有待审批的报销报告。请先让 TA 审批,或在将其从工作区中移除之前接管 TA 的报告。`, removeMemberPromptReimburser: ({memberName}: {memberName: string}) => `您无法将${memberName}从此工作区中移除。请在“工作流”>“进行或跟踪付款”中设置新的报销人,然后重试。`, removeMemberPromptExporter: ({memberName, workspaceOwner}: {memberName: string; workspaceOwner: string}) => `如果您将 ${memberName} 从此工作区中移除,我们会将其首选导出人替换为工作区所有者 ${workspaceOwner}。`, diff --git a/src/libs/ReportNameUtils.ts b/src/libs/ReportNameUtils.ts index ab2010c5bd44..c195e67b45bc 100644 --- a/src/libs/ReportNameUtils.ts +++ b/src/libs/ReportNameUtils.ts @@ -245,7 +245,7 @@ function getGroupChatName( .concat(shouldAddEllipsis ? '...' : ''); } // eslint-disable-next-line @typescript-eslint/no-deprecated - return translateLocal('groupChat.defaultReportName', {displayName: getDisplayNameForParticipant({accountID: participantAccountIDs.at(0), formatPhoneNumber})}); + return translateLocal('groupChat.defaultReportName', getDisplayNameForParticipant({accountID: participantAccountIDs.at(0), formatPhoneNumber})); } /** diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 9bac157a49b8..1fad0fd22b80 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -4007,7 +4007,7 @@ function getReimbursementQueuedActionMessage({ } else { messageKey = 'iou.waitingOnBankAccount'; } - return translate(messageKey, {submitterDisplayName}); + return translate(messageKey, submitterDisplayName); } /** @@ -5369,7 +5369,7 @@ function getReportPreviewMessage( if (report.isWaitingOnBankAccount) { const submitterDisplayName = getDisplayNameForParticipant({accountID: report.ownerAccountID, shouldUseShortForm: true, formatPhoneNumber: formatPhoneNumberPhoneUtils}) ?? ''; // eslint-disable-next-line @typescript-eslint/no-deprecated - return translateLocal('iou.waitingOnBankAccount', {submitterDisplayName}); + return translateLocal('iou.waitingOnBankAccount', submitterDisplayName); } const lastActorID = iouReportAction?.actorAccountID; diff --git a/src/libs/SidebarUtils.ts b/src/libs/SidebarUtils.ts index bc509a066f2e..0c469e90de36 100644 --- a/src/libs/SidebarUtils.ts +++ b/src/libs/SidebarUtils.ts @@ -1217,7 +1217,7 @@ function getWelcomeMessage( // Append additional text for plus button or Concierge if (shouldShowUsePlusButtonText) { - messageHtml += translate('reportActionsView.usePlusButton', {additionalText}); + messageHtml += translate('reportActionsView.usePlusButton', additionalText); } if (isConciergeChatReport(report)) { messageHtml = translate('reportActionsView.askConcierge'); diff --git a/src/pages/MissingPersonalDetails/subPages/Address.tsx b/src/pages/MissingPersonalDetails/subPages/Address.tsx index e6622062fdd2..2f31bcaa8f18 100644 --- a/src/pages/MissingPersonalDetails/subPages/Address.tsx +++ b/src/pages/MissingPersonalDetails/subPages/Address.tsx @@ -115,7 +115,7 @@ function AddressStep({isEditing, onNext, personalDetailsValues}: CustomSubPagePr const zipSampleFormat = (currentCountry && (CONST.COUNTRY_ZIP_REGEX_DATA[currentCountry] as CountryZipRegex)?.samples) ?? ''; - const zipFormat = translate('common.zipCodeExampleFormat', {zipSampleFormat}); + const zipFormat = translate('common.zipCodeExampleFormat', zipSampleFormat); return ( <> {missingPaymentMethod === 'bankAccount' && ( diff --git a/src/pages/signin/SignInPage.tsx b/src/pages/signin/SignInPage.tsx index d8099146c1b8..bc764a3764db 100644 --- a/src/pages/signin/SignInPage.tsx +++ b/src/pages/signin/SignInPage.tsx @@ -245,8 +245,8 @@ function SignInPage({ref}: SignInPageProps) { } else { welcomeHeader = shouldUseNarrowLayout ? '' : translate('welcomeText.welcome'); welcomeText = shouldUseNarrowLayout - ? `${translate('welcomeText.welcome')} ${translate('welcomeText.welcomeEnterMagicCode', {login: userLoginToDisplay})}` - : translate('welcomeText.welcomeEnterMagicCode', {login: userLoginToDisplay}); + ? `${translate('welcomeText.welcome')} ${translate('welcomeText.welcomeEnterMagicCode', userLoginToDisplay)}` + : translate('welcomeText.welcomeEnterMagicCode', userLoginToDisplay); } } else if (shouldShowUnlinkLoginForm || shouldShowEmailDeliveryFailurePage || shouldShowChooseSSOOrMagicCode || shouldShowSMSDeliveryFailurePage) { welcomeHeader = shouldUseNarrowLayout ? headerText : translate('welcomeText.welcome'); diff --git a/src/pages/workspace/WorkspaceOverviewPage.tsx b/src/pages/workspace/WorkspaceOverviewPage.tsx index 6d0dd62cd5e0..7a91f9ca5966 100644 --- a/src/pages/workspace/WorkspaceOverviewPage.tsx +++ b/src/pages/workspace/WorkspaceOverviewPage.tsx @@ -375,21 +375,15 @@ function WorkspaceOverviewPage({policyDraft, policy: policyProp, route}: Workspa } if (technicalContact === userEmail) { - return translate('common.leaveWorkspaceConfirmationTechContact', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationTechContact', policyOwnerDisplayName); } if (exporters.some((exporter) => exporter === userEmail)) { - return translate('common.leaveWorkspaceConfirmationExporter', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationExporter', policyOwnerDisplayName); } if (isApprover) { - return translate('common.leaveWorkspaceConfirmationApprover', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationApprover', policyOwnerDisplayName); } if (isPolicyAdminPolicyUtils(policy)) { diff --git a/src/pages/workspace/WorkspacesListPage.tsx b/src/pages/workspace/WorkspacesListPage.tsx index 3ed37e8cf06f..a3e174dd8b63 100755 --- a/src/pages/workspace/WorkspacesListPage.tsx +++ b/src/pages/workspace/WorkspacesListPage.tsx @@ -275,21 +275,15 @@ function WorkspacesListPage() { } if (technicalContact === userEmail) { - return translate('common.leaveWorkspaceConfirmationTechContact', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationTechContact', policyOwnerDisplayName); } if (exporters.some((exporter) => exporter === userEmail)) { - return translate('common.leaveWorkspaceConfirmationExporter', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationExporter', policyOwnerDisplayName); } if (isApprover) { - return translate('common.leaveWorkspaceConfirmationApprover', { - workspaceOwner: policyOwnerDisplayName, - }); + return translate('common.leaveWorkspaceConfirmationApprover', policyOwnerDisplayName); } if (isPolicyAdmin(policyToLeave)) { diff --git a/src/pages/workspace/members/WorkspaceMemberDetailsPage.tsx b/src/pages/workspace/members/WorkspaceMemberDetailsPage.tsx index e83e853e9110..2b560250c86d 100644 --- a/src/pages/workspace/members/WorkspaceMemberDetailsPage.tsx +++ b/src/pages/workspace/members/WorkspaceMemberDetailsPage.tsx @@ -156,10 +156,7 @@ function WorkspaceMemberDetailsPage({personalDetails, policy, route}: WorkspaceM } else if (!isApprover) { confirmModalPrompt = translate('workspace.people.removeMemberPrompt', displayName); } else if (isApprover) { - confirmModalPrompt = translate('workspace.people.removeMemberPromptApprover', { - approver: displayName, - workspaceOwner: policyOwnerDisplayName, - }); + confirmModalPrompt = translate('workspace.people.removeMemberPromptApprover', displayName, policyOwnerDisplayName); } useEffect(() => { From 3d8ad12a4df67c4ea20f77bc53aae3b40bf24782 Mon Sep 17 00:00:00 2001 From: jakubstec Date: Tue, 3 Mar 2026 10:36:02 +0100 Subject: [PATCH 02/10] (refactor): simplify translation param types to standalone params part2 --- .../OnboardingMergingAccountBlockedView.tsx | 2 +- src/components/UploadFile.tsx | 2 +- src/languages/de.ts | 120 ++++++--------- src/languages/en.ts | 121 ++++++--------- src/languages/es.ts | 90 +++++------ src/languages/fr.ts | 124 ++++++--------- src/languages/it.ts | 120 ++++++--------- src/languages/ja.ts | 120 ++++++--------- src/languages/nl.ts | 120 ++++++--------- src/languages/params.ts | 141 +----------------- src/languages/pl.ts | 120 ++++++--------- src/languages/pt-BR.ts | 120 ++++++--------- src/languages/zh-hans.ts | 120 ++++++--------- src/libs/ReportActionsUtils.ts | 20 +-- src/libs/SubscriptionUtils.ts | 6 +- src/libs/Violations/ViolationsUtils.ts | 24 +-- src/libs/fileDownload/FileUtils.ts | 10 +- .../FeesAndTerms/substeps/TermsStep.tsx | 2 +- .../TermsPage/ShortTermsForm.tsx | 12 +- src/pages/EnablePayments/TermsStep.tsx | 2 +- .../BaseOnboardingWorkEmailValidation.tsx | 2 +- .../ReimbursementAccountPage.tsx | 2 +- src/pages/ReportChangeApproverPage.tsx | 6 +- .../WorkspaceAdminRestrictedAction.tsx | 2 +- .../inbox/report/ReportActionItemSingle.tsx | 4 +- .../CustomStatus/VacationDelegatePage.tsx | 2 +- .../Subscription/PaymentCard/index.tsx | 2 +- .../RequestEarlyCancellationPage/index.tsx | 2 +- .../Wallet/ExpensifyCardPage/index.tsx | 2 +- src/pages/workspace/WorkspaceMembersPage.tsx | 2 +- .../workspace/WorkspaceOverviewSharePage.tsx | 2 +- src/pages/workspace/upgrade/UpgradeIntro.tsx | 2 +- tests/ui/WorkEmailOnboarding.tsx | 6 +- 33 files changed, 515 insertions(+), 917 deletions(-) diff --git a/src/components/OnboardingMergingAccountBlockedView.tsx b/src/components/OnboardingMergingAccountBlockedView.tsx index 46319e7dd026..2d25a6d66906 100644 --- a/src/components/OnboardingMergingAccountBlockedView.tsx +++ b/src/components/OnboardingMergingAccountBlockedView.tsx @@ -30,7 +30,7 @@ function OnboardingMergingAccountBlockedView({workEmail, isVsb}: OnboardingMergi return translate(onboardingErrorMessage); } // Fallback to generic error message - return translate('onboarding.mergeBlockScreen.subtitle', {workEmail}); + return translate('onboarding.mergeBlockScreen.subtitle', workEmail); }; return ( diff --git a/src/components/UploadFile.tsx b/src/components/UploadFile.tsx index 385648ab87dc..109b513b1a61 100644 --- a/src/components/UploadFile.tsx +++ b/src/components/UploadFile.tsx @@ -77,7 +77,7 @@ function UploadFile({ if (totalFilesSizeLimit) { if (totalSize > totalFilesSizeLimit) { - setError(translate('attachmentPicker.sizeExceededWithValue', {maxUploadSizeInMB: totalFilesSizeLimit / (1024 * 1024)})); + setError(translate('attachmentPicker.sizeExceededWithValue', totalFilesSizeLimit / (1024 * 1024))); return; } } diff --git a/src/languages/de.ts b/src/languages/de.ts index f03b363afa35..df1f9895b302 100644 --- a/src/languages/de.ts +++ b/src/languages/de.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -582,7 +554,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Datei auswählen', attachmentTooLarge: 'Anhang ist zu groß', sizeExceeded: 'Die Anhangsgröße überschreitet das Limit von 24 MB', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `Die Anhangsgröße überschreitet das Limit von ${maxUploadSizeInMB} MB`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `Die Anhangsgröße überschreitet das Limit von ${maxUploadSizeInMB} MB`, attachmentTooSmall: 'Anhang ist zu klein', sizeNotMet: 'Die Anhangsgröße muss größer als 240 Bytes sein', wrongFileType: 'Ungültiger Dateityp', @@ -593,9 +565,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Dieses Bild ist zu groß, um vor dem Hochladen eine Vorschau anzuzeigen.', imageDimensionsTooLarge: 'Die Bildabmessungen sind zu groß zum Verarbeiten. Bitte verwenden Sie ein kleineres Bild.', tooManyFiles: (fileLimit: number) => `Sie können jeweils nur bis zu ${fileLimit} Dateien hochladen.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Dateien überschreiten ${maxUploadSizeInMB} MB. Bitte versuche es erneut.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `Dateien überschreiten ${maxUploadSizeInMB} MB. Bitte versuche es erneut.`, someFilesCantBeUploaded: 'Einige Dateien können nicht hochgeladen werden', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Dateien dürfen nicht größer als ${maxUploadSizeInMB} MB sein. Größere Dateien werden nicht hochgeladen.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `Dateien dürfen nicht größer als ${maxUploadSizeInMB} MB sein. Größere Dateien werden nicht hochgeladen.`, maxFileLimitExceeded: 'Sie können bis zu 30 Belege auf einmal hochladen. Weitere darüber hinaus werden nicht hochgeladen.', unsupportedFileType: (fileType: string) => `${fileType}-Dateien werden nicht unterstützt. Es werden nur unterstützte Dateitypen hochgeladen.`, learnMoreAboutSupportedFiles: 'Erfahren Sie mehr über unterstützte Formate.', @@ -881,7 +853,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Dieser Chatraum wurde archiviert.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Dieser Chat ist nicht mehr aktiv, weil ${displayName} ihr Konto geschlossen hat.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Dieser Chat ist nicht mehr aktiv, weil ${displayName} ihr Konto geschlossen hat.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Dieser Chat ist nicht mehr aktiv, weil ${oldDisplayName} sein Konto mit ${displayName} zusammengeführt hat.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1469,7 +1441,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'Sie können Pauschalspesen nicht in Berichte anderer Arbeitsbereiche verschieben, da die Pauschalsätze je nach Arbeitsbereich unterschiedlich sein können.', changeApprover: { title: 'Genehmigende Person ändern', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Wähle eine Option, um die approvierende Person für diesen Bericht zu ändern. (Aktualisiere deine Workspace-Einstellungen, um dies dauerhaft für alle Berichte zu ändern.)`, changedApproverMessage: (managerID: number) => `Genehmigenden in geändert`, actions: { @@ -1560,10 +1532,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Foto ansehen', imageUploadFailed: 'Bildupload fehlgeschlagen', deleteWorkspaceError: 'Entschuldigung, beim Löschen deines Arbeitsbereichsavatars ist ein unerwartetes Problem aufgetreten', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Das ausgewählte Bild überschreitet die maximale Uploadgröße von ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `Das ausgewählte Bild überschreitet die maximale Uploadgröße von ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Bitte laden Sie ein Bild hoch, das größer als ${minHeightInPx}x${minWidthInPx} Pixel und kleiner als ${maxHeightInPx}x${maxWidthInPx} Pixel ist.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `Das Profilbild muss einer der folgenden Typen sein: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `Das Profilbild muss einer der folgenden Typen sein: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Profilbild bearbeiten', @@ -2152,16 +2124,16 @@ const translations: TranslationDeepObject = { availableSpend: 'Verbleibendes Limit', smartLimit: { name: 'Smartes Limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Sie können mit dieser Karte bis zu ${formattedLimit} ausgeben, und das Limit wird zurückgesetzt, sobald Ihre eingereichten Ausgaben genehmigt wurden.`, }, fixedLimit: { name: 'Fester Grenzwert', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Sie können bis zu ${formattedLimit} mit dieser Karte ausgeben, danach wird sie deaktiviert.`, + title: (formattedLimit) => `Sie können bis zu ${formattedLimit} mit dieser Karte ausgeben, danach wird sie deaktiviert.`, }, monthlyLimit: { name: 'Monatliches Limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Sie können mit dieser Karte bis zu ${formattedLimit} pro Monat ausgeben. Das Limit wird am 1. Tag eines jeden Kalendermonats zurückgesetzt.`, }, virtualCardNumber: 'Virtuelle Kartennummer', @@ -2624,7 +2596,7 @@ ${amount} für ${merchant} – ${date}`, }, workEmailValidation: { title: 'Bestätige deine Arbeits-E-Mail-Adresse', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Bitte gib den magischen Code ein, der an ${workEmail} gesendet wurde. Er sollte in ein bis zwei Minuten ankommen.`, + magicCodeSent: (workEmail) => `Bitte gib den magischen Code ein, der an ${workEmail} gesendet wurde. Er sollte in ein bis zwei Minuten ankommen.`, }, workEmailValidationError: { publicEmail: 'Bitte gib eine gültige geschäftliche E-Mail-Adresse von einer privaten Domain ein, z. B. mitch@company.com', @@ -2632,7 +2604,7 @@ ${amount} für ${merchant} – ${date}`, }, mergeBlockScreen: { title: 'Arbeits-E-Mail konnte nicht hinzugefügt werden', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `Wir konnten ${workEmail} nicht hinzufügen. Bitte versuche es später in den Einstellungen erneut oder chatte mit Concierge, um Unterstützung zu erhalten.`, }, tasks: { @@ -3073,9 +3045,9 @@ ${ setVacationDelegate: `Lege eine Vertretung für den Urlaub fest, die Berichte in deiner Abwesenheit in deinem Namen genehmigt.`, cannotSetVacationDelegate: `Du kannst keinen Urlaubsvertreter festlegen, da du derzeit der Vertreter für die folgenden Mitglieder bist:`, vacationDelegateError: 'Beim Aktualisieren Ihrer Vertretung im Urlaub ist ein Fehler aufgetreten.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `als Urlaubsvertretung von ${nameOrEmail}`, + asVacationDelegate: (nameOrEmail) => `als Urlaubsvertretung von ${nameOrEmail}`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `an ${submittedToName} als Urlaubsvertretung für ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Sie weisen ${nameOrEmail} als Ihre Urlaubsvertretung zu. Diese Person ist noch nicht in all Ihren Arbeitsbereichen. Wenn Sie fortfahren, wird eine E-Mail an alle Admins Ihrer Arbeitsbereiche gesendet, damit sie hinzugefügt wird.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3116,7 +3088,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Um ein Bankkonto zu verknüpfen, bitte füge eine E-Mail-Adresse als deine primäre Anmeldung hinzu und versuche es erneut. Du kannst deine Telefonnummer als sekundäre Anmeldung hinzufügen.`, hasBeenThrottledError: 'Beim Hinzufügen Ihres Bankkontos ist ein Fehler aufgetreten. Bitte warten Sie ein paar Minuten und versuchen Sie es erneut.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Ups! Es scheint, dass die Währung deines Arbeitsbereichs auf eine andere Währung als USD eingestellt ist. Um fortzufahren, gehe bitte zu deinen Arbeitsbereichseinstellungen, stelle sie auf USD ein und versuche es erneut.`, bbaAdded: 'Geschäftsbankkonto hinzugefügt!', bbaAddedDescription: 'Es ist bereit, für Zahlungen verwendet zu werden.', @@ -3243,7 +3215,7 @@ ${ haveReadAndAgreePlain: 'Ich habe die Informationen gelesen und bin damit einverstanden, elektronische Hinweise zu erhalten.', haveReadAndAgree: `Ich habe die elektronischen Hinweise gelesen und stimme zu, sie zu erhalten.`, agreeToThePlain: 'Ich stimme der Datenschutz- und Wallet-Vereinbarung zu.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `Ich stimme der Datenschutzerklärung und der Wallet-Vereinbarung zu.`, enablePayments: 'Zahlungen aktivieren', monthlyFee: 'Monatliche Gebühr', @@ -3255,7 +3227,7 @@ ${ checkTheBoxes: 'Bitte kreuzen Sie die Kästchen unten an.', agreeToTerms: 'Stimme den Bedingungen zu und du bist startklar!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Die Expensify-Wallet wird von ${walletProgram} herausgegeben.`, + expensifyPaymentsAccount: (walletProgram) => `Die Expensify-Wallet wird von ${walletProgram} herausgegeben.`, perPurchase: 'Pro Einkauf', atmWithdrawal: 'Geldautomat-Abhebung', cashReload: 'Bargeldaufladung', @@ -3908,7 +3880,7 @@ ${ appliedOnExport: 'Nicht in Expensify importiert, beim Export angewendet', shareNote: { header: 'Teile deinen Workspace mit anderen Mitgliedern', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Teile diesen QR-Code oder kopiere den Link unten, damit Mitglieder ganz einfach Zugriff auf deinen Workspace anfordern können. Alle Anfragen zum Beitritt zum Workspace werden zur Überprüfung im Raum ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} angezeigt.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Mit ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} verbinden`, @@ -5589,7 +5561,7 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU }, addedWithPrimary: 'Einige Mitglieder wurden mit ihren primären Anmeldungen hinzugefügt.', invitedBySecondaryLogin: (secondaryLogin: string) => `Hinzugefügt durch sekundären Login ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Gesamtzahl der Workspace-Mitglieder: ${count}`, + workspaceMembersCount: (count) => `Gesamtzahl der Workspace-Mitglieder: ${count}`, importMembers: 'Mitglieder importieren', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Wenn du ${approver} aus diesem Workspace entfernst, ersetzen wir diese Person im Freigabe-Workflow durch ${workspaceOwner}, den/die Workspace-Inhaber:in.`, @@ -6221,7 +6193,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und perActiveMember: 'pro aktivem Mitglied und Monat.', perMember: 'pro Mitglied und Monat.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Upgrade, um auf diese Funktion zuzugreifen, oder erfahre mehr über unsere Tarife und Preise.`, upgradeToUnlock: 'Diese Funktion freischalten', completed: { @@ -6289,7 +6261,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und restrictedAction: { restricted: 'Eingeschränkt', actionsAreCurrentlyRestricted: (workspaceName: string) => `Aktionen im Workspace ${workspaceName} sind derzeit eingeschränkt`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `Der/die Workspace-Inhaber:in ${workspaceOwnerName} muss die hinterlegte Zahlungskarte hinzufügen oder aktualisieren, um neue Workspace-Aktivitäten freizuschalten.`, youWillNeedToAddOrUpdatePaymentCard: 'Du musst die hinterlegte Zahlungskarte hinzufügen oder aktualisieren, um neue Aktivitäten im Workspace freizuschalten.', addPaymentCardToUnlock: 'Füge eine Zahlungskarte hinzu, um das freizuschalten!', @@ -6638,7 +6610,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `hat ${updatedField} der benutzerdefinierten Einheit ${customUnitName} von „${oldValue}“ auf „${newValue}“ geändert`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? 'aktiviert' : 'deaktiviert'} Steuerverfolgung bei Entfernungsraten`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? 'aktiviert' : 'deaktiviert'} Steuerverfolgung bei Entfernungsraten`, addCustomUnitRate: (customUnitName: string, rateName: string) => `hat einen neuen ${customUnitName}-Satz „${rateName}“ hinzugefügt`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `hat den Satz des/der ${customUnitName} ${updatedField} „${customUnitRateName}“ auf „${newValue}“ geändert (zuvor „${oldValue}“)`, @@ -6815,7 +6787,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und previousReimburser ? `hat die/den autorisierte:n Zahler:in in „${newReimburser}“ geändert (zuvor „${previousReimburser}“)` : `den/die autorisierte/n Zahler/in in „${newReimburser}“ geändert`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'aktiviert' : 'deaktiviert'} Rückerstattungen`, + updateReimbursementEnabled: (enabled) => `${enabled ? 'aktiviert' : 'deaktiviert'} Rückerstattungen`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `benutzerdefinierten Steuernamen in „${newName}" geändert (zuvor „${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `Standard-Steuerbetrag der Workspace-Währung auf „${newName}" geändert (zuvor „${oldName}")`, updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) => @@ -6852,15 +6824,15 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und removedMaxExpenseAmount: (oldValue: string) => `maximale Ausgabenhöhe entfernt (zuvor „${oldValue}“)`, setMaxExpenseAge: (newValue: string) => `maximales Ausgabenalter auf „${newValue}“ Tage festlegen`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `maximales Ausgabenalter auf „${newValue}“ Tage geändert (zuvor „${oldValue}“)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `${count} Kategorien aktualisiert`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `Tags in der Liste „${tagListName}“ aktualisiert`, + updateCategories: (count) => `${count} Kategorien aktualisiert`, + updateTagList: (tagListName) => `Tags in der Liste „${tagListName}“ aktualisiert`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `Tag-Liste „${tagListsName}“ in ${isRequired ? 'erforderlich' : 'nicht erforderlich'} geändert`, importTags: 'Tags aus einer Tabelle importiert', deletedAllTags: 'alle Tags gelöscht', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `hat die Standardkategorie für ${customUnitName} in „${newValue}“ geändert ${oldValue ? `(zuvor „${oldValue}“)` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `importierte Preise für benutzerdefinierte Einheit „${customUnitName}“`, + importCustomUnitRates: (customUnitName) => `importierte Preise für benutzerdefinierte Einheit „${customUnitName}“`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `hat Tarif „${customUnitName}“ mit Satz „${customUnitRateName}“ und Untersatz „${customUnitSubRateName}“ ${updatedField} auf „${newValue}“ geändert (zuvor „${oldValue}“)`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6934,7 +6906,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und } return `Budget aus dem ${entityType} „${entityName}“ entfernt`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? 'aktiviert' : 'deaktiviert'} Zeiterfassung`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6949,7 +6921,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und `benutzerdefinierte Berichtstitelformel in „${newDefaultTitle}“ geändert (zuvor „${oldDefaultTitle}“)`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `hat die Inhaberschaft von ${policyName} von ${oldOwnerName} (${oldOwnerEmail}) übernommen`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `${enabled ? 'aktiviert' : 'deaktiviert'} geplante Einreichung`, + updatedAutoHarvesting: (enabled) => `${enabled ? 'aktiviert' : 'deaktiviert'} geplante Einreichung`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7686,15 +7658,15 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und allTagLevelsRequired: 'Alle Tags erforderlich', autoReportedRejectedExpense: 'Diese Ausgabe wurde abgelehnt.', billableExpense: 'Abrechenbar nicht mehr gültig', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Beleg erforderlich${formattedLimit ? `über ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Beleg erforderlich${formattedLimit ? `über ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Kategorie nicht mehr gültig', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `${surcharge}% Umrechnungszuschlag angewendet`, + conversionSurcharge: (surcharge) => `${surcharge}% Umrechnungszuschlag angewendet`, customUnitOutOfPolicy: 'Satz für diesen Workspace ungültig', duplicatedTransaction: 'Möglicherweise dupliziert', fieldRequired: 'Berichtsfelder sind erforderlich', futureDate: 'Zukünftiges Datum nicht erlaubt', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Um ${invoiceMarkup}% erhöht`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Datum ist älter als ${maxAge} Tage`, + invoiceMarkup: (invoiceMarkup) => `Um ${invoiceMarkup}% erhöht`, + maxAge: (maxAge) => `Datum ist älter als ${maxAge} Tage`, missingCategory: 'Fehlende Kategorie', missingComment: 'Beschreibung für die ausgewählte Kategorie erforderlich', missingAttendees: 'Für diese Kategorie sind mehrere Teilnehmende erforderlich', @@ -7714,12 +7686,12 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und }, modifiedDate: 'Datum weicht vom gescannten Beleg ab', nonExpensiworksExpense: 'Nicht-Expensiworks-Ausgabe', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Ausgabe überschreitet das Auto-Genehmigungslimit von ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Betrag über dem Kategorie-Limit von ${formattedLimit}/Person`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Betrag über dem Limit von ${formattedLimit}/Person`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Betrag über dem Limit von ${formattedLimit}/Reise`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Betrag über dem Limit von ${formattedLimit}/Person`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Betrag über dem täglichen Kategorienlimit von ${formattedLimit}/Person`, + overAutoApprovalLimit: (formattedLimit) => `Ausgabe überschreitet das Auto-Genehmigungslimit von ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Betrag über dem Kategorie-Limit von ${formattedLimit}/Person`, + overLimit: (formattedLimit) => `Betrag über dem Limit von ${formattedLimit}/Person`, + overTripLimit: (formattedLimit) => `Betrag über dem Limit von ${formattedLimit}/Reise`, + overLimitAttendee: (formattedLimit) => `Betrag über dem Limit von ${formattedLimit}/Person`, + perDayLimit: (formattedLimit) => `Betrag über dem täglichen Kategorienlimit von ${formattedLimit}/Person`, receiptNotSmartScanned: 'Beleg- und Ausgabendetails manuell hinzugefügt.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7733,7 +7705,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und } return 'Beleg erforderlich'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Einzelpostenbeleg erforderlich${formattedLimit ? `über ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Einzelpostenbeleg erforderlich${formattedLimit ? `über ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Unzulässige Ausgabe:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7763,7 +7735,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Überprüfung erforderlich', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7987,9 +7959,9 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und title: 'Ihr Tarif', exploreAllPlans: 'Alle Tarife anzeigen', customPricing: 'Individuelle Preise', - asLowAs: ({price}: YourPlanPriceValueParams) => `schon ab ${price} pro aktivem Mitglied/Monat`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} pro Mitglied/Monat`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} pro Mitglied und Monat`, + asLowAs: (price) => `schon ab ${price} pro aktivem Mitglied/Monat`, + pricePerMemberMonth: (price) => `${price} pro Mitglied/Monat`, + pricePerMemberPerMonth: (price) => `${price} pro Mitglied und Monat`, perMemberMonth: 'pro Mitglied/Monat', collect: { title: 'Einziehen', @@ -8106,7 +8078,7 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und title: 'Abonnement gekündigt', subtitle: 'Dein Jahresabonnement wurde gekündigt.', info: 'Wenn du deine(n) Arbeitsbereich(e) weiterhin nutzungsbasiert bezahlen möchtest, bist du startklar.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Wenn du zukünftige Aktivitäten und Gebühren verhindern möchtest, musst du deinen Workspace bzw. deine Workspaces löschen. Bitte beachte, dass dir beim Löschen deines Workspace bzw. deiner Workspaces alle ausstehenden Aktivitäten in Rechnung gestellt werden, die im aktuellen Kalendermonat angefallen sind.`, }, requestSubmitted: { diff --git a/src/languages/en.ts b/src/languages/en.ts index 421437d6e4b9..b397492846f2 100644 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -22,7 +22,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -31,26 +30,23 @@ import type { MovedFromPersonalSpaceParams, MultifactorAuthenticationTranslationParams, NextStepParams, - NotAllowedExtensionParams, OptionalParam, PaidElsewhereParams, ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -61,58 +57,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -601,7 +572,7 @@ const translations = { chooseDocument: 'Choose file', attachmentTooLarge: 'Attachment is too large', sizeExceeded: 'Attachment size is larger than 24 MB limit', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `Attachment size is larger than ${maxUploadSizeInMB} MB limit`, + sizeExceededWithLimit: (maxUploadSizeInMB: number) => `Attachment size is larger than ${maxUploadSizeInMB} MB limit`, attachmentTooSmall: 'Attachment is too small', sizeNotMet: 'Attachment size must be greater than 240 bytes', wrongFileType: 'Invalid file type', @@ -612,9 +583,9 @@ const translations = { attachmentImageTooLarge: 'This image is too large to preview before uploading.', imageDimensionsTooLarge: 'Image dimensions are too large to process. Please use a smaller image.', tooManyFiles: (fileLimit: number) => `You can only upload up to ${fileLimit} files at a time.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Files exceeds ${maxUploadSizeInMB} MB. Please try again.`, + sizeExceededWithValue: (maxUploadSizeInMB: number) => `Files exceeds ${maxUploadSizeInMB} MB. Please try again.`, someFilesCantBeUploaded: "Some files can't be uploaded", - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Files must be under ${maxUploadSizeInMB} MB. Any larger files won't be uploaded.`, + sizeLimitExceeded: (maxUploadSizeInMB: number) => `Files must be under ${maxUploadSizeInMB} MB. Any larger files won't be uploaded.`, maxFileLimitExceeded: "You can upload up to 30 receipts at a time. Any extras won't be uploaded.", unsupportedFileType: (fileType: string) => `${fileType} files aren't supported. Only supported file types will be uploaded.`, learnMoreAboutSupportedFiles: 'Learn more about supported formats.', @@ -898,7 +869,7 @@ const translations = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'This chat room has been archived.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `This chat is no longer active because ${displayName} closed their account.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `This chat is no longer active because ${displayName} closed their account.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `This chat is no longer active because ${oldDisplayName} has merged their account with ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1487,7 +1458,7 @@ const translations = { moveExpensesError: "You can't move per diem expenses to reports on other workspaces, because the per diem rates may differ between workspaces.", changeApprover: { title: 'Change approver', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink: string) => `Choose an option to change the approver for this report. (Update your workspace settings to change this permanently for all reports.)`, changedApproverMessage: (managerID: number) => `changed the approver to `, actions: { @@ -1578,10 +1549,10 @@ const translations = { viewPhoto: 'View photo', imageUploadFailed: 'Image upload failed', deleteWorkspaceError: 'Sorry, there was an unexpected problem deleting your workspace avatar', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `The selected image exceeds the maximum upload size of ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB: number) => `The selected image exceeds the maximum upload size of ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Please upload an image larger than ${minHeightInPx}x${minWidthInPx} pixels and smaller than ${maxHeightInPx}x${maxWidthInPx} pixels.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `Profile picture must be one of the following types: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions: string[]) => `Profile picture must be one of the following types: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Edit profile picture', @@ -2192,15 +2163,15 @@ const translations = { availableSpend: 'Remaining limit', smartLimit: { name: 'Smart limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => `You can spend up to ${formattedLimit} on this card, and the limit will reset as your submitted expenses are approved.`, + title: (formattedLimit: string) => `You can spend up to ${formattedLimit} on this card, and the limit will reset as your submitted expenses are approved.`, }, fixedLimit: { name: 'Fixed limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => `You can spend up to ${formattedLimit} on this card, and then it will deactivate.`, + title: (formattedLimit: string) => `You can spend up to ${formattedLimit} on this card, and then it will deactivate.`, }, monthlyLimit: { name: 'Monthly limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit: string) => `You can spend up to ${formattedLimit} on this card per month. The limit will reset on the 1st day of each calendar month.`, }, virtualCardNumber: 'Virtual card number', @@ -2646,7 +2617,7 @@ const translations = { }, workEmailValidation: { title: 'Verify your work email', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Please enter the magic code sent to ${workEmail}. It should arrive in a minute or two.`, + magicCodeSent: (workEmail: string | undefined) => `Please enter the magic code sent to ${workEmail}. It should arrive in a minute or two.`, }, workEmailValidationError: { publicEmail: 'Please enter a valid work email from a private domain e.g. mitch@company.com', @@ -2654,7 +2625,7 @@ const translations = { }, mergeBlockScreen: { title: 'Couldn’t add work email', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => `We couldn’t add ${workEmail}. Please try again later in Settings or chat with Concierge for guidance.`, + subtitle: (workEmail: string | undefined) => `We couldn’t add ${workEmail}. Please try again later in Settings or chat with Concierge for guidance.`, }, tasks: { testDriveAdminTask: { @@ -3104,9 +3075,9 @@ const translations = { setVacationDelegate: `Set a vacation delegate to approve reports on your behalf while you're out of office.`, cannotSetVacationDelegate: `You can't set a vacation delegate because you're currently the delegate for the following members:`, vacationDelegateError: 'There was an error updating your vacation delegate.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `as ${nameOrEmail}'s vacation delegate`, + asVacationDelegate: (nameOrEmail: string) => `as ${nameOrEmail}'s vacation delegate`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `to ${submittedToName} as vacation delegate for ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail: string) => `You're assigning ${nameOrEmail} as your vacation delegate. They're not on all your workspaces yet. If you choose to continue, an email will be sent to all your workspace admins to add them.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3148,7 +3119,7 @@ const translations = { hasPhoneLoginError: (contactMethodRoute: string) => `To connect a bank account, please add an email as your primary login and try again. You can add your phone number as a secondary login.`, hasBeenThrottledError: 'An error occurred while adding your bank account. Please wait a few minutes and try again.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute: string) => `Oops! It appears that your workspace currency is set to a different currency than USD. To proceed, please go to your workspace settings to set it to USD and try again.`, bbaAdded: 'Business bank account added!', bbaAddedDescription: "It's ready to be used for payments.", @@ -3273,7 +3244,7 @@ const translations = { haveReadAndAgreePlain: 'I have read and agree to receive electronic disclosures.', haveReadAndAgree: `I have read and agree to receive electronic disclosures.`, agreeToThePlain: 'I agree to the Privacy and Wallet agreement.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl: string) => `I agree to the Privacy and Wallet agreement.`, enablePayments: 'Enable payments', monthlyFee: 'Monthly fee', @@ -3285,7 +3256,7 @@ const translations = { checkTheBoxes: 'Please check the boxes below.', agreeToTerms: 'Agree to the terms and you’ll be good to go!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `The Expensify Wallet is issued by ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram: string) => `The Expensify Wallet is issued by ${walletProgram}.`, perPurchase: 'Per purchase', atmWithdrawal: 'ATM withdrawal', cashReload: 'Cash reload', @@ -3939,7 +3910,7 @@ const translations = { appliedOnExport: 'Not imported into Expensify, applied on export', shareNote: { header: 'Share your workspace with other members', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink: string) => `Share this QR code or copy the link below to make it easy for members to request access to your workspace. All requests to join the workspace will show up in the ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} room for your review.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Connect to ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5562,7 +5533,7 @@ const translations = { }, addedWithPrimary: 'Some members were added with their primary logins.', invitedBySecondaryLogin: (secondaryLogin: string) => `Added by secondary login ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Total workspace members: ${count}`, + workspaceMembersCount: (count: number) => `Total workspace members: ${count}`, importMembers: 'Import members', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `If you remove ${approver} from this workspace, we'll replace them in the approval workflow with ${workspaceOwner}, the workspace owner.`, @@ -6176,7 +6147,7 @@ const translations = { perActiveMember: 'per active member per month.', perMember: 'per member per month.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink: string) => `Upgrade to access this feature, or learn more about our plans and pricing.`, upgradeToUnlock: 'Unlock this feature', completed: { @@ -6242,7 +6213,7 @@ const translations = { restrictedAction: { restricted: 'Restricted', actionsAreCurrentlyRestricted: (workspaceName: string) => `Actions on the ${workspaceName} workspace are currently restricted`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName: string) => `Workspace owner, ${workspaceOwnerName} will need to add or update the payment card on file to unlock new workspace activity.`, youWillNeedToAddOrUpdatePaymentCard: "You'll need to add or update the payment card on file to unlock new workspace activity.", addPaymentCardToUnlock: 'Add a payment card to unlock!', @@ -6580,9 +6551,9 @@ const translations = { ? `added the description hint "${newValue}" to the category "${categoryName}"` : `changed the "${categoryName}" category description hint to “${newValue}” (previously “${oldValue}”)`; }, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `updated ${count} categories`, + updateCategories: (count: number) => `updated ${count} categories`, updateTagListName: (oldName: string, newName: string) => `changed the tag list name to "${newName}" (previously "${oldName}")`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `updated tags on the list "${tagListName}"`, + updateTagList: (tagListName: string) => `updated tags on the list "${tagListName}"`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `changed tag list "${tagListsName}" to ${isRequired ? 'required' : 'not required'}`, importTags: 'imported tags from a spreadsheet', deletedAllTags: 'deleted all tags', @@ -6599,10 +6570,10 @@ const translations = { }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `changed the ${customUnitName} ${updatedField} to "${newValue}" (previously "${oldValue}")`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? 'enabled' : 'disabled'} tax tracking on distance rates`, + updateCustomUnitTaxEnabled: (newValue: boolean) => `${newValue ? 'enabled' : 'disabled'} tax tracking on distance rates`, updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `changed the ${customUnitName} default category to "${newValue}" ${oldValue ? `(previously "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `imported rates for custom unit "${customUnitName}"`, + importCustomUnitRates: (customUnitName: string) => `imported rates for custom unit "${customUnitName}"`, addCustomUnitRate: (customUnitName: string, rateName: string) => `added a new ${customUnitName} rate "${rateName}"`, deleteCustomUnitRate: ({customUnitName, rateName}: AddOrDeletePolicyCustomUnitRateParams) => `removed the "${customUnitName}" rate "${rateName}"`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => @@ -6758,7 +6729,7 @@ const translations = { } return `removed budget from the ${entityType} "${entityName}"`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled: boolean | undefined) => { return `${enabled ? 'enabled' : 'disabled'} time tracking`; }, @@ -6775,7 +6746,7 @@ const translations = { `changed custom report name formula to "${newDefaultTitle}" (previously "${oldDefaultTitle}")`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `took over ownership of ${policyName} from ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `${enabled ? 'enabled' : 'disabled'} scheduled submit`, + updatedAutoHarvesting: (enabled: boolean) => `${enabled ? 'enabled' : 'disabled'} scheduled submit`, updatedIndividualBudgetNotification: ({ budgetAmount, @@ -6900,7 +6871,7 @@ const translations = { oldValue ? `changed the invoice company website to "${newValue}" (previously "${oldValue}")` : `set the invoice company website to "${newValue}"`, changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) => previousReimburser ? `changed the authorized payer to "${newReimburser}" (previously "${previousReimburser}")` : `changed the authorized payer to "${newReimburser}"`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'enabled' : 'disabled'} reimbursements`, + updateReimbursementEnabled: (enabled: boolean) => `${enabled ? 'enabled' : 'disabled'} reimbursements`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `changed the custom tax name to "${newName}" (previously "${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `changed the workspace currency default tax rate to "${newName}" (previously "${oldName}")`, updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) => @@ -7644,15 +7615,15 @@ const translations = { allTagLevelsRequired: 'All tags required', autoReportedRejectedExpense: 'This expense was rejected.', billableExpense: 'Billable no longer valid', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Receipt required${formattedLimit ? ` over ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Receipt required${formattedLimit ? ` over ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Category no longer valid', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Applied ${surcharge}% conversion surcharge`, + conversionSurcharge: (surcharge: number) => `Applied ${surcharge}% conversion surcharge`, customUnitOutOfPolicy: 'Rate not valid for this workspace', duplicatedTransaction: 'Potential duplicate', fieldRequired: 'Report fields are required', futureDate: 'Future date not allowed', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Marked up by ${invoiceMarkup}%`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Date older than ${maxAge} days`, + invoiceMarkup: (invoiceMarkup: number) => `Marked up by ${invoiceMarkup}%`, + maxAge: (maxAge: number) => `Date older than ${maxAge} days`, missingCategory: 'Missing category', missingComment: 'Description required for selected category', missingAttendees: 'Multiple attendees required for this category', @@ -7672,12 +7643,12 @@ const translations = { }, modifiedDate: 'Date differs from scanned receipt', nonExpensiworksExpense: 'Non-Expensiworks expense', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Expense exceeds auto-approval limit of ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Amount over ${formattedLimit}/person category limit`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Amount over ${formattedLimit}/person limit`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Amount over ${formattedLimit}/trip limit`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Amount over ${formattedLimit}/person limit`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Amount over daily ${formattedLimit}/person category limit`, + overAutoApprovalLimit: (formattedLimit: string) => `Expense exceeds auto-approval limit of ${formattedLimit}`, + overCategoryLimit: (formattedLimit: string) => `Amount over ${formattedLimit}/person category limit`, + overLimit: (formattedLimit: string) => `Amount over ${formattedLimit}/person limit`, + overTripLimit: (formattedLimit: string) => `Amount over ${formattedLimit}/trip limit`, + overLimitAttendee: (formattedLimit: string) => `Amount over ${formattedLimit}/person limit`, + perDayLimit: (formattedLimit: string) => `Amount over daily ${formattedLimit}/person category limit`, receiptNotSmartScanned: 'Receipt and expense details added manually.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7694,7 +7665,7 @@ const translations = { return 'Receipt required'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Itemized receipt required${formattedLimit ? ` over ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Itemized receipt required${formattedLimit ? ` over ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Prohibited expense:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7724,7 +7695,7 @@ const translations = { } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message: string) => message, reviewRequired: 'Review required', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7943,9 +7914,9 @@ const translations = { title: 'Your plan', exploreAllPlans: 'Explore all plans', customPricing: 'Custom pricing', - asLowAs: ({price}: YourPlanPriceValueParams) => `as low as ${price} per active member/month`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} per member/month`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} per member per month`, + asLowAs: (price: string) => `as low as ${price} per active member/month`, + pricePerMemberMonth: (price: string) => `${price} per member/month`, + pricePerMemberPerMonth: (price: string) => `${price} per member per month`, perMemberMonth: 'per member/month', collect: { title: 'Collect', @@ -8062,7 +8033,7 @@ const translations = { title: 'Subscription canceled', subtitle: 'Your annual subscription has been canceled.', info: 'If you want to keep using your workspace(s) on a pay-per-use basis, you’re all set.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute: string) => `If you'd like to prevent future activity and charges, you must delete your workspace(s). Note that when you delete your workspace(s), you'll be charged for any outstanding activity that was incurred during the current calendar month.`, }, requestSubmitted: { diff --git a/src/languages/es.ts b/src/languages/es.ts index b06bafd7f5a4..99d972a36b14 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -457,7 +457,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Elegir un archivo', attachmentTooLarge: 'Archivo adjunto demasiado grande', sizeExceeded: 'El archivo adjunto supera el límite de 24 MB.', - sizeExceededWithLimit: ({maxUploadSizeInMB}) => `El archivo adjunto supera el límite de ${maxUploadSizeInMB} MB.`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `El archivo adjunto supera el límite de ${maxUploadSizeInMB} MB.`, attachmentTooSmall: 'Archivo adjunto demasiado pequeño', sizeNotMet: 'El archivo adjunto debe ser más grande que 240 bytes.', wrongFileType: 'Tipo de archivo inválido', @@ -468,9 +468,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Esta imagen es demasiado grande para obtener una vista previa antes de subirla.', imageDimensionsTooLarge: 'Las dimensiones de la imagen son demasiado grandes para procesar. Por favor, usa una imagen más pequeña.', tooManyFiles: (fileLimit: number) => `Solamente puedes suber ${fileLimit} archivos a la vez.`, - sizeExceededWithValue: ({maxUploadSizeInMB}) => `El archivo supera los ${maxUploadSizeInMB} MB. Por favor, vuelve a intentarlo.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `El archivo supera los ${maxUploadSizeInMB} MB. Por favor, vuelve a intentarlo.`, someFilesCantBeUploaded: 'Algunos archivos no se pueden subir', - sizeLimitExceeded: ({maxUploadSizeInMB}) => `Los archivos deben ser menores a ${maxUploadSizeInMB} MB. Los archivos más grandes no se subirán.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `Los archivos deben ser menores a ${maxUploadSizeInMB} MB. Los archivos más grandes no se subirán.`, maxFileLimitExceeded: 'Puedes subir hasta 30 recibos a la vez. Los extras no se subirán.', unsupportedFileType: (fileType) => `${fileType} archivos no son compatibles. Solo se subirán los archivos compatibles.`, learnMoreAboutSupportedFiles: 'Obtén más información sobre los formatos compatibles.', @@ -739,7 +739,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Esta sala de chat ha sido eliminada.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName) => `Este chat está desactivado porque ${displayName} ha cerrado tu cuenta.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}) => `Este chat está desactivado porque ${displayName} ha cerrado tu cuenta.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}) => `Este chat está desactivado porque ${oldDisplayName} ha combinado tu cuenta con ${displayName}`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}) => shouldUseYou @@ -1328,7 +1328,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'No puedes mover gastos per diem a informes de otros espacios de trabajo, porque las tarifas de dietas pueden diferir entre espacios de trabajo.', changeApprover: { title: 'Cambiar aprobador', - header: ({workflowSettingLink}) => + header: (workflowSettingLink) => `Elige una opción para cambiar el aprobador de este informe. (Actualiza la configuración del espacio de trabajo para cambiarlo de forma permanente en todos los informes.)`, changedApproverMessage: (managerID) => `cambió el aprobador a `, actions: { @@ -1414,10 +1414,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Ver foto', imageUploadFailed: 'Error al cargar la imagen', deleteWorkspaceError: 'Lo sentimos, hubo un problema eliminando el avatar de tu espacio de trabajo', - sizeExceeded: ({maxUploadSizeInMB}) => `La imagen supera el tamaño máximo de ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `La imagen supera el tamaño máximo de ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}) => `Por favor, elige una imagen más grande que ${minHeightInPx}x${minWidthInPx} píxeles y más pequeña que ${maxHeightInPx}x${maxWidthInPx} píxeles.`, - notAllowedExtension: ({allowedExtensions}) => `La foto de perfil debe ser de uno de los siguientes tipos: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `La foto de perfil debe ser de uno de los siguientes tipos: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Editar foto de perfil', @@ -2017,15 +2017,15 @@ const translations: TranslationDeepObject = { availableSpend: 'Límite restante', smartLimit: { name: 'Límite inteligente', - title: ({formattedLimit}) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta al mes. El límite se restablecerá el primer día del mes.`, + title: (formattedLimit) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta al mes. El límite se restablecerá el primer día del mes.`, }, fixedLimit: { name: 'Límite fijo', - title: ({formattedLimit}) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta, luego se desactivará.`, + title: (formattedLimit) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta, luego se desactivará.`, }, monthlyLimit: { name: 'Límite mensual', - title: ({formattedLimit}) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta y el límite se restablecerá a medida que se aprueben tus gastos.`, + title: (formattedLimit) => `Puedes gastar hasta ${formattedLimit} en esta tarjeta y el límite se restablecerá a medida que se aprueben tus gastos.`, }, virtualCardNumber: 'Número de la tarjeta virtual', travelCardCvv: 'CVV de la tarjeta de viaje', @@ -2473,7 +2473,7 @@ ${amount} para ${merchant} - ${date}`, }, workEmailValidation: { title: 'Verifica tu correo electrónico de trabajo', - magicCodeSent: ({workEmail}) => `Por favor, introduce el código mágico enviado a ${workEmail}. Debería llegar en uno o dos minutos.`, + magicCodeSent: (workEmail) => `Por favor, introduce el código mágico enviado a ${workEmail}. Debería llegar en uno o dos minutos.`, }, workEmailValidationError: { publicEmail: 'Por favor, introduce un correo electrónico laboral válido de un dominio privado, por ejemplo: mitch@company.com', @@ -2481,7 +2481,7 @@ ${amount} para ${merchant} - ${date}`, }, mergeBlockScreen: { title: 'No se pudo añadir el correo electrónico de trabajo', - subtitle: ({workEmail}) => `No pudimos añadir ${workEmail}. Por favor, inténtalo de nuevo más tarde en Configuración o chatea con Concierge para obtener ayuda.`, + subtitle: (workEmail) => `No pudimos añadir ${workEmail}. Por favor, inténtalo de nuevo más tarde en Configuración o chatea con Concierge para obtener ayuda.`, }, tasks: { testDriveAdminTask: { @@ -2937,9 +2937,9 @@ ${amount} para ${merchant} - ${date}`, setVacationDelegate: 'Configura un delegado de vacaciones para aprobar informes en tu nombre mientras estás fuera de la oficina.', cannotSetVacationDelegate: `No puedes establecer un delegado de vacaciones porque actualmente eres el delegado de los siguientes miembros:`, vacationDelegateError: 'Hubo un error al actualizar tu delegado de vacaciones.', - asVacationDelegate: ({nameOrEmail: managerName}) => `como delegado de vacaciones de ${managerName}`, + asVacationDelegate: (managerName) => `como delegado de vacaciones de ${managerName}`, toAsVacationDelegate: (submittedToName, vacationDelegateName) => `a ${submittedToName} como delegado de vacaciones de ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}) => + vacationDelegateWarning: (nameOrEmail) => `Está asignando a ${nameOrEmail} como su delegado de vacaciones. Aún no está en todos sus espacios de trabajo. Si decide continuar, se enviará un correo electrónico a todos los administradores de sus espacios de trabajo para agregarlo.`, }, stepCounter: ({step, total, text}) => { @@ -2981,7 +2981,7 @@ ${amount} para ${merchant} - ${date}`, hasPhoneLoginError: (contactMethodRoute) => `Para añadir una cuenta bancaria verificada, asegúrate de que tu nombre de usuario principal sea un correo electrónico válido y vuelve a intentarlo. Puedes añadir tu número de teléfono como nombre de usuario secundario.`, hasBeenThrottledError: 'Se ha producido un error al intentar añadir tu cuenta bancaria. Por favor, espera unos minutos e inténtalo de nuevo.', - hasCurrencyError: ({workspaceRoute}) => + hasCurrencyError: (workspaceRoute) => `¡Ups! Parece que la moneda de tu espacio de trabajo no está configurada en USD. Para continuar, ve a la configuración del área de trabajo, configúrala en USD e inténtalo nuevamente.`, bbaAdded: '¡Cuenta bancaria empresarial agregada!', bbaAddedDescription: 'Está lista para ser utilizada en pagos.', @@ -3108,7 +3108,7 @@ ${amount} para ${merchant} - ${date}`, haveReadAndAgreePlain: 'He leído y acepto recibir divulgaciones electrónicas.', haveReadAndAgree: `He leído y acepto recibir divulgaciones electrónicas.`, agreeToThePlain: 'Estoy de acuerdo con el Privacidad y Acuerdo de la billetera.', - agreeToThe: ({walletAgreementUrl}) => + agreeToThe: (walletAgreementUrl) => `Estoy de acuerdo con el Privacidad y Acuerdo de la billetera.`, enablePayments: 'Habilitar pagos', monthlyFee: 'Cuota mensual', @@ -3120,7 +3120,7 @@ ${amount} para ${merchant} - ${date}`, checkTheBoxes: 'Por favor, marca las siguientes casillas.', agreeToTerms: 'Debes aceptar los términos y condiciones para continuar.', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}) => `La Billetera Expensify es emitida por ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `La Billetera Expensify es emitida por ${walletProgram}.`, perPurchase: 'Por compra', atmWithdrawal: 'Retiro en cajeros automáticos', cashReload: 'Recarga de efectivo', @@ -3769,7 +3769,7 @@ ${amount} para ${merchant} - ${date}`, appliedOnExport: 'No se importa en Expensify, se aplica en la exportación', shareNote: { header: 'Comparte tu espacio de trabajo con otros miembros', - content: ({adminsRoomLink}) => + content: (adminsRoomLink) => `Comparte este código QR o copia el enlace de abajo para facilitar que los miembros soliciten acceso a tu espacio de trabajo. Todas las solicitudes para unirse al espacio de trabajo aparecerán en la sala ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} para tu revisión.`, }, connectTo: ({connectionName}) => `Conéctate a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5415,7 +5415,7 @@ ${amount} para ${merchant} - ${date}`, }, addedWithPrimary: 'Se agregaron algunos miembros con sus nombres de usuario principales.', invitedBySecondaryLogin: (secondaryLogin) => `Agregado por nombre de usuario secundario ${secondaryLogin}.`, - workspaceMembersCount: ({count}) => `Total de miembros del espacio de trabajo: ${count}`, + workspaceMembersCount: (count) => `Total de miembros del espacio de trabajo: ${count}`, importMembers: 'Importar miembros', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Si eliminas a ${approver} de este espacio de trabajo, lo reemplazaremos en el flujo de aprobación por ${workspaceOwner}, el propietario del espacio de trabajo.`, @@ -6050,7 +6050,7 @@ ${amount} para ${merchant} - ${date}`, onlyAvailableOnPlan: ({formattedPrice, hasTeam2025Pricing}) => `Los múltiples niveles de aprobación solo están disponibles en el plan Controlar, a partir de ${formattedPrice} ${hasTeam2025Pricing ? `por miembro al mes.` : `por miembro activo al mes.`}`, }, - note: ({subscriptionLink}) => `Mejore para acceder a esta función, o más información sobre nuestros planes y precios.`, + note: (subscriptionLink) => `Mejore para acceder a esta función, o más información sobre nuestros planes y precios.`, pricing: { perActiveMember: 'por miembro activo al mes.', perMember: 'por miembro al mes.', @@ -6121,7 +6121,7 @@ ${amount} para ${merchant} - ${date}`, restrictedAction: { restricted: 'Restringido', actionsAreCurrentlyRestricted: (workspaceName) => `Las acciones en el espacio de trabajo ${workspaceName} están actualmente restringidas`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `El propietario del espacio de trabajo, ${workspaceOwnerName} tendrá que añadir o actualizar la tarjeta de pago registrada para desbloquear nueva actividad en el espacio de trabajo.`, youWillNeedToAddOrUpdatePaymentCard: 'Debes añadir o actualizar la tarjeta de pago registrada para desbloquear nueva actividad en el espacio de trabajo.', addPaymentCardToUnlock: 'Añade una tarjeta para desbloquearlo!', @@ -6437,9 +6437,9 @@ ${amount} para ${merchant} - ${date}`, return `cambió los Recibos detallados de la categoría "${categoryName}" a ${newValue} (previamente ${oldValue})`; }, setCategoryName: (oldName, newName) => `renombró la categoría "${oldName}" a "${newName}"`, - updateCategories: ({count}) => `actualizó ${count} categorías`, + updateCategories: (count) => `actualizó ${count} categorías`, updateTagListName: (oldName, newName) => `cambió el nombre de la lista de etiquetas a "${newName}" (previamente "${oldName}")`, - updateTagList: ({tagListName}) => `actualizó las etiquetas de la lista "${tagListName}"`, + updateTagList: (tagListName) => `actualizó las etiquetas de la lista "${tagListName}"`, updateTagListRequired: ({tagListsName, isRequired}) => `cambió la lista de etiquetas "${tagListsName}" a ${isRequired ? 'requerida' : 'no requerida'}`, importTags: 'importó etiquetas desde una hoja de cálculo', deletedAllTags: 'eliminó todas las etiquetas', @@ -6455,10 +6455,10 @@ ${amount} para ${merchant} - ${date}`, return `actualizó la etiqueta "${tagName}" en la lista "${tagListName}" añadiendo un ${updatedField} de "${newValue}"`; }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}) => `cambió el ${customUnitName} ${updatedField} a "${newValue}" (previamente "${oldValue}")`, - updateCustomUnitTaxEnabled: ({newValue}) => `${newValue ? 'habilitó' : 'deshabilitó'} el seguimiento de impuestos en tasas de distancia`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? 'habilitó' : 'deshabilitó'} el seguimiento de impuestos en tasas de distancia`, updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}) => `cambió la categoría predeterminada de ${customUnitName} a "${newValue}" ${oldValue ? `(anteriormente "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}) => `importó tasas para la unidad personalizada "${customUnitName}"`, + importCustomUnitRates: (customUnitName) => `importó tasas para la unidad personalizada "${customUnitName}"`, addCustomUnitRate: (customUnitName, rateName) => `añadió una nueva tasa de "${rateName}" para "${customUnitName}"`, deleteCustomUnitRate: ({customUnitName, rateName}) => `eliminó la tasa "${rateName}" de "${customUnitName}"`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}) => @@ -6550,7 +6550,7 @@ ${amount} para ${merchant} - ${date}`, `cambió la tasa de informes enviados aleatoriamente para aprobación manual a ${Math.round(newAuditRate * 100)}% (previamente ${Math.round(oldAuditRate * 100)}%)`, changedReimburser: ({newReimburser, previousReimburser}) => previousReimburser ? `cambió el pagador autorizado a "${newReimburser}" (previamente "${previousReimburser}")` : `cambió el pagador autorizado a "${newReimburser}"`, - updateReimbursementEnabled: ({enabled}) => `${enabled ? 'habilitó' : 'deshabilitó'} los reembolsos`, + updateReimbursementEnabled: (enabled) => `${enabled ? 'habilitó' : 'deshabilitó'} los reembolsos`, updatedManualApprovalThreshold: ({oldLimit, newLimit}) => `cambió el límite de aprobación manual para todos los gastos a ${newLimit} (previamente ${oldLimit})`, addBudget: ({frequency, entityName, entityType, shared, individual, notificationThreshold}) => { const thresholdSuffix = typeof notificationThreshold === 'number' ? ` con umbral de notificación de "${notificationThreshold}%"` : ''; @@ -6641,16 +6641,16 @@ ${amount} para ${merchant} - ${date}`, } return `eliminó el presupuesto de ${entityLabel} "${entityName}"`; }, - updatedTimeEnabled: ({enabled}) => `${enabled ? 'habilitó' : 'deshabilitó'} el seguimiento de tiempo`, + updatedTimeEnabled: (enabled) => `${enabled ? 'habilitó' : 'deshabilitó'} el seguimiento de tiempo`, updatedTimeRate: ({newRate, oldRate}) => `cambió la tarifa por hora a "${newRate}" (anteriormente "${oldRate}")`, addedProhibitedExpense: ({prohibitedExpense}) => `añadió "${prohibitedExpense}" a los gastos prohibidos`, removedProhibitedExpense: ({prohibitedExpense}) => `eliminó "${prohibitedExpense}" de los gastos prohibidos`, updatedReimbursementChoice: ({newReimbursementChoice, oldReimbursementChoice}) => `cambió el método de reembolso a "${newReimbursementChoice}" (previamente "${oldReimbursementChoice}")`, - setAutoJoin: ({enabled}) => `${enabled ? 'habilitó' : 'deshabilitó'} la aprobación previa de solicitudes para unirse al espacio de trabajo`, + setAutoJoin: (enabled) => `${enabled ? 'habilitó' : 'deshabilitó'} la aprobación previa de solicitudes para unirse al espacio de trabajo`, updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}) => `cambió la fórmula personalizada del nombre del informe a "${newDefaultTitle}" (previamente "${oldDefaultTitle}")`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}) => `asumió la propiedad del espacio de trabajo ${policyName} de ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}) => `${enabled ? 'habilitó' : 'deshabilitó'} el envío programado`, + updatedAutoHarvesting: (enabled) => `${enabled ? 'habilitó' : 'deshabilitó'} el envío programado`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7890,15 +7890,15 @@ ${amount} para ${merchant} - ${date}`, allTagLevelsRequired: 'Todas las etiquetas son obligatorias', autoReportedRejectedExpense: 'Este gasto fue rechazado.', billableExpense: 'La opción facturable ya no es válida', - cashExpenseWithNoReceipt: ({formattedLimit} = {}) => `Recibo obligatorio para cantidades mayores de ${formattedLimit}`, + cashExpenseWithNoReceipt: (formattedLimit) => `Recibo obligatorio para cantidades mayores de ${formattedLimit}`, categoryOutOfPolicy: 'La categoría ya no es válida', - conversionSurcharge: ({surcharge}) => `${surcharge}% de recargo aplicado`, + conversionSurcharge: (surcharge) => `${surcharge}% de recargo aplicado`, customUnitOutOfPolicy: 'Tasa inválida para este espacio de trabajo', duplicatedTransaction: 'Posible duplicado', fieldRequired: 'Los campos del informe son obligatorios', futureDate: 'Fecha futura no permitida', - invoiceMarkup: ({invoiceMarkup}) => `Incrementado un ${invoiceMarkup}%`, - maxAge: ({maxAge}) => `Fecha de más de ${maxAge} días`, + invoiceMarkup: (invoiceMarkup) => `Incrementado un ${invoiceMarkup}%`, + maxAge: (maxAge) => `Fecha de más de ${maxAge} días`, missingCategory: 'Falta categoría', missingComment: 'Descripción obligatoria para la categoría seleccionada', missingAttendees: 'Se requieren múltiples asistentes para esta categoría', @@ -7918,12 +7918,12 @@ ${amount} para ${merchant} - ${date}`, }, modifiedDate: 'Fecha difiere del recibo escaneado', nonExpensiworksExpense: 'Gasto no proviene de Expensiworks', - overAutoApprovalLimit: ({formattedLimit}) => `Importe supera el límite de aprobación automática${formattedLimit ? ` de ${formattedLimit}` : ''}`, - overCategoryLimit: ({formattedLimit}) => `Importe supera el límite para la categoría${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, - overLimit: ({formattedLimit}) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, - overTripLimit: ({formattedLimit}) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/viaje` : ''}`, - overLimitAttendee: ({formattedLimit}) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, - perDayLimit: ({formattedLimit}) => `Importe supera el límite diario de la categoría${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, + overAutoApprovalLimit: (formattedLimit) => `Importe supera el límite de aprobación automática${formattedLimit ? ` de ${formattedLimit}` : ''}`, + overCategoryLimit: (formattedLimit) => `Importe supera el límite para la categoría${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, + overLimit: (formattedLimit) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, + overTripLimit: (formattedLimit) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/viaje` : ''}`, + overLimitAttendee: (formattedLimit) => `Importe supera el límite${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, + perDayLimit: (formattedLimit) => `Importe supera el límite diario de la categoría${formattedLimit ? ` de ${formattedLimit}/persona` : ''}`, receiptNotSmartScanned: 'Detalles del recibo y del gasto añadidos manualmente.', receiptRequired: ({formattedLimit, category}) => { if (formattedLimit && category) { @@ -7940,7 +7940,7 @@ ${amount} para ${merchant} - ${date}`, return 'Recibo obligatorio'; }, - itemizedReceiptRequired: ({formattedLimit}) => `Recibo detallado requerido${formattedLimit ? ` para importes sobre ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit) => `Recibo detallado requerido${formattedLimit ? ` para importes sobre ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}) => { const preMessage = 'Gastos prohibidos:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7970,7 +7970,7 @@ ${amount} para ${merchant} - ${date}`, } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}) => message, + customRules: (message) => message, reviewRequired: 'Revisión requerida', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -8193,9 +8193,9 @@ ${amount} para ${merchant} - ${date}`, title: 'Tu plan', exploreAllPlans: 'Explorar todos los planes', customPricing: 'Precios personalizados', - asLowAs: ({price}) => `desde ${price} por miembro activo/mes`, - pricePerMemberMonth: ({price}) => `${price} por miembro/mes`, - pricePerMemberPerMonth: ({price}) => `${price} por miembro por mes`, + asLowAs: (price) => `desde ${price} por miembro activo/mes`, + pricePerMemberMonth: (price) => `${price} por miembro/mes`, + pricePerMemberPerMonth: (price) => `${price} por miembro por mes`, perMemberMonth: 'por miembro/mes', collect: { title: 'Recopilar', @@ -8312,7 +8312,7 @@ ${amount} para ${merchant} - ${date}`, title: 'Suscripción cancelada', subtitle: 'Tu suscripción anual ha sido cancelada.', info: 'Ya puedes seguir utilizando tu(s) espacio(s) de trabajo en la modalidad de pago por uso.', - preventFutureActivity: ({workspacesListRoute}) => + preventFutureActivity: (workspacesListRoute) => `Si quieres evitar actividad y cargos futuros, debes eliminar tu(s) espacio(s) de trabajo. Ten en cuenta que cuando elimines tu(s) espacio(s) de trabajo, se te cobrará cualquier actividad pendienteque se haya incurrido durante el mes en curso.`, }, requestSubmitted: { diff --git a/src/languages/fr.ts b/src/languages/fr.ts index 41f2ce8a6511..2d060501d177 100644 --- a/src/languages/fr.ts +++ b/src/languages/fr.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -582,7 +554,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Choisir un fichier', attachmentTooLarge: 'La pièce jointe est trop volumineuse', sizeExceeded: 'La taille de la pièce jointe dépasse la limite de 24 Mo', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `La taille de la pièce jointe dépasse la limite de ${maxUploadSizeInMB} Mo`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `La taille de la pièce jointe dépasse la limite de ${maxUploadSizeInMB} Mo`, attachmentTooSmall: 'La pièce jointe est trop petite', sizeNotMet: 'La taille de la pièce jointe doit être supérieure à 240 octets', wrongFileType: 'Type de fichier non valide', @@ -593,9 +565,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Cette image est trop volumineuse pour être prévisualisée avant le téléversement.', imageDimensionsTooLarge: "Les dimensions de l'image sont trop grandes pour être traitées. Veuillez utiliser une image plus petite.", tooManyFiles: (fileLimit: number) => `Vous pouvez téléverser au maximum ${fileLimit} fichiers à la fois.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Les fichiers dépassent ${maxUploadSizeInMB} Mo. Veuillez réessayer.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `Les fichiers dépassent ${maxUploadSizeInMB} Mo. Veuillez réessayer.`, someFilesCantBeUploaded: 'Certains fichiers ne peuvent pas être téléversés', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => + sizeLimitExceeded: (maxUploadSizeInMB) => `Les fichiers doivent être inférieurs à ${maxUploadSizeInMB} Mo. Les fichiers plus volumineux ne seront pas téléversés.`, maxFileLimitExceeded: "Vous pouvez téléverser jusqu'à 30 reçus à la fois. Les reçus supplémentaires ne seront pas téléversés.", unsupportedFileType: (fileType: string) => `Les fichiers ${fileType} ne sont pas pris en charge. Seuls les types de fichiers pris en charge seront téléchargés.`, @@ -884,16 +856,16 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Ce salon de discussion a été archivé.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Cette discussion n’est plus active, car ${displayName} a fermé son compte.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Cette discussion n’est plus active, car ${displayName} a fermé son compte.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Cette discussion n’est plus active, car ${oldDisplayName} a fusionné son compte avec ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => shouldUseYou ? `Cette discussion n’est plus active, car vous n’êtes plus membre de l’espace de travail ${policyName}.` : `Cette discussion n’est plus active, car ${displayName} n’est plus membre de l’espace de travail ${policyName}.`, - [CONST.REPORT.ARCHIVE_REASON.POLICY_DELETED]: ({policyName}: ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams) => + [CONST.REPORT.ARCHIVE_REASON.POLICY_DELETED]: (policyName) => `Cette discussion n’est plus active, car ${policyName} n’est plus un espace de travail actif.`, - [CONST.REPORT.ARCHIVE_REASON.INVOICE_RECEIVER_POLICY_DELETED]: ({policyName}: ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams) => + [CONST.REPORT.ARCHIVE_REASON.INVOICE_RECEIVER_POLICY_DELETED]: (policyName) => `Cette discussion n’est plus active, car ${policyName} n’est plus un espace de travail actif.`, [CONST.REPORT.ARCHIVE_REASON.BOOKING_END_DATE_HAS_PASSED]: 'Cette réservation est archivée.', }, @@ -1474,7 +1446,7 @@ const translations: TranslationDeepObject = { 'Vous ne pouvez pas déplacer des frais de per diem vers des notes de frais d’autres espaces de travail, car les taux de per diem peuvent varier d’un espace de travail à l’autre.', changeApprover: { title: 'Modifier l’approbateur', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Choisissez une option pour modifier l’approbateur de cette note de frais. (Mettez à jour vos paramètres d’espace de travail pour changer cela définitivement pour toutes les notes de frais.)`, changedApproverMessage: (managerID: number) => `a changé l'approbateur en `, actions: { @@ -1565,10 +1537,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Voir la photo', imageUploadFailed: 'Échec du téléversement de l’image', deleteWorkspaceError: 'Désolé, un problème inattendu est survenu lors de la suppression de l’avatar de votre espace de travail', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `L’image sélectionnée dépasse la taille maximale de téléversement de ${maxUploadSizeInMB} Mo.`, + sizeExceeded: (maxUploadSizeInMB) => `L’image sélectionnée dépasse la taille maximale de téléversement de ${maxUploadSizeInMB} Mo.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Veuillez téléverser une image plus grande que ${minHeightInPx}x${minWidthInPx} pixels et plus petite que ${maxHeightInPx}x${maxWidthInPx} pixels.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `La photo de profil doit être de l’un des types suivants : ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `La photo de profil doit être de l’un des types suivants : ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Modifier la photo de profil', @@ -2158,16 +2130,16 @@ const translations: TranslationDeepObject = { availableSpend: 'Plafond restant', smartLimit: { name: 'Limite intelligente', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Vous pouvez dépenser jusqu'à ${formattedLimit} avec cette carte, et la limite sera réinitialisée au fur et à mesure que vos dépenses soumises seront approuvées.`, }, fixedLimit: { name: 'Limite fixe', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Vous pouvez dépenser jusqu’à ${formattedLimit} avec cette carte, après quoi elle sera désactivée.`, + title: (formattedLimit) => `Vous pouvez dépenser jusqu’à ${formattedLimit} avec cette carte, après quoi elle sera désactivée.`, }, monthlyLimit: { name: 'Plafond mensuel', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Vous pouvez dépenser jusqu’à ${formattedLimit} avec cette carte par mois. La limite sera réinitialisée le 1er jour de chaque mois calendaire.`, }, virtualCardNumber: 'Numéro de carte virtuelle', @@ -2629,7 +2601,7 @@ ${amount} pour ${merchant} - ${date}`, }, workEmailValidation: { title: 'Vérifiez votre adresse e-mail professionnelle', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Veuillez saisir le code magique envoyé à ${workEmail}. Il devrait arriver d’ici une à deux minutes.`, + magicCodeSent: (workEmail) => `Veuillez saisir le code magique envoyé à ${workEmail}. Il devrait arriver d’ici une à deux minutes.`, }, workEmailValidationError: { publicEmail: 'Veuillez saisir une adresse e-mail professionnelle valide provenant d’un domaine privé, par ex. mitch@company.com', @@ -2637,7 +2609,7 @@ ${amount} pour ${merchant} - ${date}`, }, mergeBlockScreen: { title: 'Impossible d’ajouter l’adresse e-mail professionnelle', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `Nous n’avons pas pu ajouter ${workEmail}. Veuillez réessayer plus tard dans les Paramètres ou discuter avec Concierge pour obtenir de l’aide.`, }, tasks: { @@ -3081,9 +3053,9 @@ ${ setVacationDelegate: `Définissez un délégué de vacances pour approuver les notes de frais en votre nom pendant votre absence du bureau.`, cannotSetVacationDelegate: `Vous ne pouvez pas définir un délégué de vacances car vous êtes actuellement le délégué des membres suivants :`, vacationDelegateError: 'Une erreur s’est produite lors de la mise à jour de votre remplaçant de congés.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `en tant que délégué de vacances de ${nameOrEmail}`, + asVacationDelegate: (nameOrEmail) => `en tant que délégué de vacances de ${nameOrEmail}`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `à ${submittedToName} en tant que délégué de congés pour ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Vous assignez ${nameOrEmail} comme remplaçant pendant vos congés. Cette personne n’est pas encore présente dans tous vos espaces de travail. Si vous choisissez de continuer, un e-mail sera envoyé aux administrateurs de tous vos espaces de travail pour l’ajouter.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3124,7 +3096,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Pour connecter un compte bancaire, veuillez ajouter une adresse e-mail comme identifiant principal puis réessayer. Vous pouvez ajouter votre numéro de téléphone comme identifiant secondaire.`, hasBeenThrottledError: 'Une erreur s’est produite lors de l’ajout de votre compte bancaire. Veuillez patienter quelques minutes, puis réessayer.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Oups ! Il semble que la devise de votre espace de travail soit définie sur une devise différente du dollar américain (USD). Pour continuer, veuillez accéder aux paramètres de votre espace de travail, la définir sur USD, puis réessayer.`, bbaAdded: 'Compte bancaire professionnel ajouté !', bbaAddedDescription: 'Il est prêt à être utilisé pour les paiements.', @@ -3252,7 +3224,7 @@ ${ haveReadAndAgreePlain: 'J’ai lu et j’accepte de recevoir les communications électroniques.', haveReadAndAgree: `J’ai lu et j’accepte de recevoir les notifications électroniques.`, agreeToThePlain: "J'accepte la politique de confidentialité et l'accord de portefeuille.", - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `J’accepte la politique de confidentialité et le contrat du portefeuille.`, enablePayments: 'Activer les paiements', monthlyFee: 'Frais mensuels', @@ -3264,7 +3236,7 @@ ${ checkTheBoxes: 'Veuillez cocher les cases ci-dessous.', agreeToTerms: 'Acceptez les conditions et vous serez prêt à démarrer !', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Le portefeuille Expensify est émis par ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `Le portefeuille Expensify est émis par ${walletProgram}.`, perPurchase: 'Par achat', atmWithdrawal: 'Retrait au distributeur', cashReload: 'Rechargement en espèces', @@ -3916,7 +3888,7 @@ ${ appliedOnExport: 'Non importé dans Expensify, appliqué à l’export', shareNote: { header: 'Partagez votre espace de travail avec d’autres membres', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Partagez ce code QR ou copiez le lien ci-dessous pour permettre aux membres de demander facilement l’accès à votre espace de travail. Toutes les demandes pour rejoindre l’espace de travail apparaîtront dans le salon ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} pour votre examen.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Se connecter à ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5608,7 +5580,7 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST. }, addedWithPrimary: 'Certains membres ont été ajoutés avec leurs identifiants principaux.', invitedBySecondaryLogin: (secondaryLogin: string) => `Ajouté par la connexion secondaire ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Nombre total de membres de l'espace de travail : ${count}`, + workspaceMembersCount: (count) => `Nombre total de membres de l'espace de travail : ${count}`, importMembers: 'Importer des membres', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Si vous supprimez ${approver} de cet espace de travail, nous le remplacerons dans le workflow d’approbation par ${workspaceOwner}, le responsable de l’espace de travail.`, @@ -6243,7 +6215,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip perActiveMember: 'par membre actif et par mois.', perMember: 'par membre et par mois.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Mettez à niveau pour accéder à cette fonctionnalité, ou en savoir plus sur nos offres et nos tarifs.`, upgradeToUnlock: 'Débloquer cette fonctionnalité', completed: { @@ -6310,7 +6282,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip restrictedAction: { restricted: 'Restreint', actionsAreCurrentlyRestricted: (workspaceName: string) => `Les actions sur l’espace de travail ${workspaceName} sont actuellement restreintes`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `Le responsable de l’espace de travail, ${workspaceOwnerName}, doit ajouter ou mettre à jour la carte de paiement enregistrée pour débloquer la nouvelle activité de l’espace de travail.`, youWillNeedToAddOrUpdatePaymentCard: 'Vous devez ajouter ou mettre à jour la carte de paiement enregistrée afin de débloquer la nouvelle activité de l’espace de travail.', addPaymentCardToUnlock: 'Ajoutez une carte de paiement pour tout débloquer !', @@ -6660,7 +6632,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `a modifié le ${customUnitName} ${updatedField} en « ${newValue} » (auparavant « ${oldValue} »)`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `Suivi fiscal ${newValue ? 'activé' : 'Désactivé'} sur les taux de distance`, + updateCustomUnitTaxEnabled: (newValue) => `Suivi fiscal ${newValue ? 'activé' : 'Désactivé'} sur les taux de distance`, addCustomUnitRate: (customUnitName: string, rateName: string) => `a ajouté un nouveau taux ${customUnitName} « ${rateName} »`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `a modifié le taux de ${customUnitName} ${updatedField} « ${customUnitRateName} » en « ${newValue} » (auparavant « ${oldValue} »)`, @@ -6836,7 +6808,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip : `définir le site web de l’entreprise de la facture sur « ${newValue} »`, changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) => previousReimburser ? `a modifié le payeur autorisé en « ${newReimburser} » (auparavant « ${previousReimburser} »)` : `a modifié le payeur autorisé en « ${newReimburser} »`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `Remboursements ${enabled ? 'Activé' : 'Désactivé'}`, + updateReimbursementEnabled: (enabled) => `Remboursements ${enabled ? 'Activé' : 'Désactivé'}`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `a modifié le nom de taxe personnalisé en « ${newName} » (auparavant « ${oldName} »)`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `a modifié le taux de taxe par défaut de la devise de l'espace de travail en « ${newName} » (auparavant « ${oldName} »)`, @@ -6875,15 +6847,15 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip setMaxExpenseAge: (newValue: string) => `définir l’ancienneté maximale des dépenses à « ${newValue} » jours`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `âge maximal de dépense modifié à « ${newValue} » jours (auparavant « ${oldValue} »)`, removedMaxExpenseAge: (oldValue: string) => `âge maximal de dépense supprimé (auparavant « ${oldValue} » jours)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `${count} catégories mises à jour`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `a mis à jour les tags dans la liste « ${tagListName} »`, + updateCategories: (count) => `${count} catégories mises à jour`, + updateTagList: (tagListName) => `a mis à jour les tags dans la liste « ${tagListName} »`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `a modifié la liste de tags « ${tagListsName} » en ${isRequired ? 'obligatoire' : 'non obligatoire'}`, importTags: 'tags importés depuis une feuille de calcul', deletedAllTags: 'a supprimé tous les tags', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `a modifié la catégorie par défaut pour ${customUnitName} en « ${newValue} » ${oldValue ? `(auparavant « ${oldValue} »)` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `taux importés pour l’unité personnalisée « ${customUnitName} »`, + importCustomUnitRates: (customUnitName) => `taux importés pour l’unité personnalisée « ${customUnitName} »`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `a modifié le taux « ${customUnitName} », le sous-taux « ${customUnitRateName} », le sous-taux « ${customUnitSubRateName} » ${updatedField} en « ${newValue} » (auparavant « ${oldValue} »)`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6957,7 +6929,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip } return `a supprimé le budget de ${entityType} « ${entityName} »`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `Suivi du temps ${enabled ? 'activé' : 'désactivé'}`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6972,7 +6944,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip `a modifié la formule du nom de note de frais personnalisée en « ${newDefaultTitle} » (précédemment « ${oldDefaultTitle} »)`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `a pris la responsabilité de ${policyName} à la place de ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `Soumission planifiée pour ${enabled ? 'activé' : 'désactivé'}`, + updatedAutoHarvesting: (enabled) => `Soumission planifiée pour ${enabled ? 'activé' : 'désactivé'}`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7709,15 +7681,15 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip allTagLevelsRequired: 'Tous les tags sont obligatoires', autoReportedRejectedExpense: 'Cette dépense a été rejetée.', billableExpense: 'Facturable n’est plus valide', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Reçu obligatoire${formattedLimit ? `au-delà de ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Reçu obligatoire${formattedLimit ? `au-delà de ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Catégorie plus valide', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Surcharge de conversion de ${surcharge}% appliquée`, + conversionSurcharge: (surcharge) => `Surcharge de conversion de ${surcharge}% appliquée`, customUnitOutOfPolicy: 'Taux non valide pour cet espace de travail', duplicatedTransaction: 'Doublon potentiel', fieldRequired: 'Les champs de note de frais sont obligatoires', futureDate: 'Date future non autorisée', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Majoration de ${invoiceMarkup} %`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Date antérieure de plus de ${maxAge} jours`, + invoiceMarkup: (invoiceMarkup) => `Majoration de ${invoiceMarkup} %`, + maxAge: (maxAge) => `Date antérieure de plus de ${maxAge} jours`, missingCategory: 'Catégorie manquante', missingComment: 'Description requise pour la catégorie sélectionnée', missingAttendees: 'Plusieurs participants sont requis pour cette catégorie', @@ -7737,12 +7709,12 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip }, modifiedDate: 'La date diffère du reçu scanné', nonExpensiworksExpense: 'Dépense non Expensiworks', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `La dépense dépasse la limite d’auto-approbation de ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Montant dépassant la limite de catégorie de ${formattedLimit}/personne`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Montant dépassant la limite de ${formattedLimit}/personne`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Montant dépassant la limite de ${formattedLimit}/trajet`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Montant dépassant la limite de ${formattedLimit}/personne`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Montant dépassant la limite quotidienne de catégorie de ${formattedLimit}/personne`, + overAutoApprovalLimit: (formattedLimit) => `La dépense dépasse la limite d’auto-approbation de ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Montant dépassant la limite de catégorie de ${formattedLimit}/personne`, + overLimit: (formattedLimit) => `Montant dépassant la limite de ${formattedLimit}/personne`, + overTripLimit: (formattedLimit) => `Montant dépassant la limite de ${formattedLimit}/trajet`, + overLimitAttendee: (formattedLimit) => `Montant dépassant la limite de ${formattedLimit}/personne`, + perDayLimit: (formattedLimit) => `Montant dépassant la limite quotidienne de catégorie de ${formattedLimit}/personne`, receiptNotSmartScanned: 'Détails du reçu et de la dépense ajoutés manuellement.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7756,7 +7728,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip } return 'Reçu obligatoire'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Reçu détaillé requis${formattedLimit ? `au-delà de ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Reçu détaillé requis${formattedLimit ? `au-delà de ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Dépense interdite :'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7786,7 +7758,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Examen requis', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -8008,9 +7980,9 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip title: 'Votre offre', exploreAllPlans: 'Découvrir toutes les offres', customPricing: 'Tarification personnalisée', - asLowAs: ({price}: YourPlanPriceValueParams) => `à partir de ${price} par membre actif/mois`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} par membre/mois`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} par membre et par mois`, + asLowAs: (price) => `à partir de ${price} par membre actif/mois`, + pricePerMemberMonth: (price) => `${price} par membre/mois`, + pricePerMemberPerMonth: (price) => `${price} par membre et par mois`, perMemberMonth: 'par membre/mois', collect: { title: 'Encaisser', @@ -8127,7 +8099,7 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip title: 'Abonnement annulé', subtitle: 'Votre abonnement annuel a été annulé.', info: 'Si vous souhaitez continuer à utiliser votre/vos espace(s) de travail à l’utilisation, tout est prêt.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Si vous souhaitez empêcher toute activité et tout prélèvement futurs, vous devez supprimer votre/vos espace(s) de travail. Notez que lorsque vous supprimez votre/vos espace(s) de travail, vous serez facturé pour toute activité en cours survenue durant le mois civil en cours.`, }, requestSubmitted: { diff --git a/src/languages/it.ts b/src/languages/it.ts index 4bd4ecfafc7c..4906f903be5f 100644 --- a/src/languages/it.ts +++ b/src/languages/it.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -582,7 +554,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Scegli file', attachmentTooLarge: 'L’allegato è troppo grande', sizeExceeded: 'La dimensione dell’allegato supera il limite di 24 MB', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `La dimensione dell'allegato supera il limite di ${maxUploadSizeInMB} MB`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `La dimensione dell'allegato supera il limite di ${maxUploadSizeInMB} MB`, attachmentTooSmall: 'L’allegato è troppo piccolo', sizeNotMet: "La dimensione dell'allegato deve essere maggiore di 240 byte", wrongFileType: 'Tipo di file non valido', @@ -593,9 +565,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Questa immagine è troppo grande per essere visualizzata in anteprima prima del caricamento.', imageDimensionsTooLarge: "Le dimensioni dell'immagine sono troppo grandi per essere elaborate. Utilizza un'immagine più piccola.", tooManyFiles: (fileLimit: number) => `Puoi caricare al massimo ${fileLimit} file alla volta.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `I file superano ${maxUploadSizeInMB} MB. Riprova.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `I file superano ${maxUploadSizeInMB} MB. Riprova.`, someFilesCantBeUploaded: 'Impossibile caricare alcuni file', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `I file devono essere inferiori a ${maxUploadSizeInMB} MB. I file più grandi non verranno caricati.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `I file devono essere inferiori a ${maxUploadSizeInMB} MB. I file più grandi non verranno caricati.`, maxFileLimitExceeded: 'Puoi caricare fino a 30 ricevute alla volta. Le eventuali aggiuntive non verranno caricate.', unsupportedFileType: (fileType: string) => `I file ${fileType} non sono supportati. Verranno caricati solo i tipi di file supportati.`, learnMoreAboutSupportedFiles: 'Ulteriori informazioni sui formati supportati.', @@ -881,7 +853,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Questa chat room è stata archiviata.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Questa chat non è più attiva perché ${displayName} ha chiuso il proprio account.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Questa chat non è più attiva perché ${displayName} ha chiuso il proprio account.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Questa chat non è più attiva perché ${oldDisplayName} ha unito il proprio account con quello di ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1466,7 +1438,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'Non puoi spostare le spese di diaria nei report di altri spazi di lavoro, perché le tariffe di diaria possono variare tra gli spazi di lavoro.', changeApprover: { title: 'Cambia approvatore', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Scegli un'opzione per cambiare l'approvatore di questo report. (Aggiorna le impostazioni dello spazio di lavoro per cambiarlo in modo permanente per tutti i report.)`, changedApproverMessage: (managerID: number) => `ha cambiato l’approvatore in `, actions: { @@ -1556,10 +1528,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Vedi foto', imageUploadFailed: 'Caricamento immagine non riuscito', deleteWorkspaceError: 'Spiacenti, si è verificato un problema imprevisto durante l’eliminazione dell’avatar del tuo workspace', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `L'immagine selezionata supera la dimensione massima di caricamento di ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `L'immagine selezionata supera la dimensione massima di caricamento di ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Carica un'immagine più grande di ${minHeightInPx}x${minWidthInPx} pixel e più piccola di ${maxHeightInPx}x${maxWidthInPx} pixel.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `L’immagine del profilo deve essere di uno dei seguenti tipi: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `L’immagine del profilo deve essere di uno dei seguenti tipi: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Modifica immagine del profilo', @@ -2149,16 +2121,16 @@ const translations: TranslationDeepObject = { availableSpend: 'Limite rimanente', smartLimit: { name: 'Limite intelligente', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Puoi spendere fino a ${formattedLimit} con questa carta e il limite verrà reimpostato man mano che le tue spese inviate vengono approvate.`, }, fixedLimit: { name: 'Limite fisso', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Puoi spendere fino a ${formattedLimit} con questa carta, dopodiché verrà disattivata.`, + title: (formattedLimit) => `Puoi spendere fino a ${formattedLimit} con questa carta, dopodiché verrà disattivata.`, }, monthlyLimit: { name: 'Limite mensile', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Puoi spendere fino a ${formattedLimit} al mese con questa carta. Il limite verrà reimpostato il primo giorno di ogni mese di calendario.`, }, virtualCardNumber: 'Numero carta virtuale', @@ -2617,7 +2589,7 @@ ${amount} per ${merchant} - ${date}`, }, workEmailValidation: { title: 'Verifica la tua email di lavoro', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Inserisci il codice magico inviato a ${workEmail}. Dovrebbe arrivare tra un minuto o due.`, + magicCodeSent: (workEmail) => `Inserisci il codice magico inviato a ${workEmail}. Dovrebbe arrivare tra un minuto o due.`, }, workEmailValidationError: { publicEmail: 'Inserisci un’email di lavoro valida con dominio privato, ad es. mitch@company.com', @@ -2625,7 +2597,7 @@ ${amount} per ${merchant} - ${date}`, }, mergeBlockScreen: { title: "Impossibile aggiungere l'email di lavoro", - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `Non è stato possibile aggiungere ${workEmail}. Riprova più tardi in Impostazioni oppure chatta con Concierge per ricevere assistenza.`, }, tasks: { @@ -3064,9 +3036,9 @@ ${ setVacationDelegate: `Imposta un delegato per le ferie per approvare i report per tuo conto mentre sei fuori ufficio.`, cannotSetVacationDelegate: `Non puoi impostare un delegato per le ferie perché al momento sei il delegato per i seguenti membri:`, vacationDelegateError: 'Si è verificato un errore durante l’aggiornamento del tuo delegato per le ferie.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `come delegato per le ferie di ${nameOrEmail}`, + asVacationDelegate: (nameOrEmail) => `come delegato per le ferie di ${nameOrEmail}`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `a ${submittedToName} come delegato ferie per ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Stai assegnando ${nameOrEmail} come tuo delegato per le ferie. Non fa ancora parte di tutti i tuoi spazi di lavoro. Se scegli di continuare, verrà inviata un’email a tutti gli amministratori dei tuoi spazi di lavoro per aggiungerlo.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3106,7 +3078,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Per collegare un conto bancario, aggiungi un’email come accesso principale e riprova. Puoi aggiungere il tuo numero di telefono come accesso secondario.`, hasBeenThrottledError: 'Si è verificato un errore durante l’aggiunta del tuo conto bancario. Attendi qualche minuto e riprova.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Ops! Sembra che la valuta del tuo workspace sia impostata su una valuta diversa da USD. Per procedere, vai alle impostazioni del tuo workspace, impostala su USD e riprova.`, bbaAdded: 'Conto bancario aziendale aggiunto!', bbaAddedDescription: 'È pronto per essere utilizzato per i pagamenti.', @@ -3232,7 +3204,7 @@ ${ haveReadAndAgreePlain: 'Ho letto e accetto di ricevere comunicazioni elettroniche.', haveReadAndAgree: `Ho letto e accetto di ricevere le informative elettroniche.`, agreeToThePlain: 'Accetto l’Informativa sulla privacy e l’Accordo sul portafoglio.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `Accetto l’informativa sulla privacy e il contratto del Wallet.`, enablePayments: 'Abilita pagamenti', monthlyFee: 'Commissione mensile', @@ -3244,7 +3216,7 @@ ${ checkTheBoxes: 'Seleziona le caselle qui sotto.', agreeToTerms: 'Accetta i termini e sarai pronto per iniziare!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Il Portafoglio Expensify è emesso da ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `Il Portafoglio Expensify è emesso da ${walletProgram}.`, perPurchase: 'Per acquisto', atmWithdrawal: 'Prelievo bancomat', cashReload: 'Ricarica in contanti', @@ -3893,7 +3865,7 @@ ${ appliedOnExport: 'Non importato in Expensify, applicato all’esportazione', shareNote: { header: 'Condividi il tuo spazio di lavoro con altri membri', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Condividi questo codice QR o copia il link qui sotto per facilitare ai membri la richiesta di accesso al tuo spazio di lavoro. Tutte le richieste di adesione allo spazio di lavoro verranno visualizzate nella stanza ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} per la tua revisione.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Connetti a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5578,7 +5550,7 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST. }, addedWithPrimary: 'Alcuni membri sono stati aggiunti con i loro accessi principali.', invitedBySecondaryLogin: (secondaryLogin: string) => `Aggiunto dall’accesso secondario ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Totale membri dello spazio di lavoro: ${count}`, + workspaceMembersCount: (count) => `Totale membri dello spazio di lavoro: ${count}`, importMembers: 'Importa membri', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Se rimuovi ${approver} da questo workspace, lo sostituiremo nel flusso di approvazione con ${workspaceOwner}, il proprietario del workspace.`, @@ -6207,7 +6179,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo perActiveMember: 'per membro attivo al mese.', perMember: 'per utente al mese.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Effettua l’upgrade per accedere a questa funzione oppure scopri di più sui nostri piani e prezzi.`, upgradeToUnlock: 'Sblocca questa funzionalità', completed: { @@ -6274,7 +6246,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo restrictedAction: { restricted: 'Limitato', actionsAreCurrentlyRestricted: (workspaceName: string) => `Le azioni nello spazio di lavoro ${workspaceName} sono attualmente limitate`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `Il/La proprietario/a dello spazio di lavoro, ${workspaceOwnerName}, deve aggiungere o aggiornare la carta di pagamento registrata per sbloccare la nuova attività dello spazio di lavoro.`, youWillNeedToAddOrUpdatePaymentCard: 'Dovrai aggiungere o aggiornare la carta di pagamento registrata per sbloccare le nuove attività dello spazio di lavoro.', addPaymentCardToUnlock: 'Aggiungi una carta di pagamento per sbloccare!', @@ -6623,7 +6595,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `ha modificato ${customUnitName} ${updatedField} in "${newValue}" (precedentemente "${oldValue}")`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? 'abilitato' : 'disabilitato'} monitoraggio delle tasse sulle tariffe chilometriche`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? 'abilitato' : 'disabilitato'} monitoraggio delle tasse sulle tariffe chilometriche`, addCustomUnitRate: (customUnitName: string, rateName: string) => `ha aggiunto una nuova tariffa ${customUnitName} "${rateName}"`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `ha modificato il valore di ${customUnitName} ${updatedField} "${customUnitRateName}" in "${newValue}" (in precedenza "${oldValue}")`, @@ -6801,7 +6773,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo previousReimburser ? `ha modificato il pagatore autorizzato in "${newReimburser}" (in precedenza "${previousReimburser}")` : `ha modificato il pagatore autorizzato in "${newReimburser}"`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `Rimborsi ${enabled ? 'abilitato' : 'disattivato'}`, + updateReimbursementEnabled: (enabled) => `Rimborsi ${enabled ? 'abilitato' : 'disattivato'}`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `ha cambiato il nome dell'imposta personalizzata in "${newName}" (precedentemente "${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `ha modificato l'aliquota fiscale predefinita della valuta dello spazio di lavoro in "${newName}" (in precedenza "${oldName}")`, @@ -6840,15 +6812,15 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo setMaxExpenseAge: (newValue: string) => `imposta età massima della spesa a "${newValue}" giorni`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `età massima della spesa cambiata a "${newValue}" giorni (in precedenza "${oldValue}")`, removedMaxExpenseAge: (oldValue: string) => `età massima spesa rimossa (precedentemente "${oldValue}" giorni)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `categorie aggiornate: ${count}`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `tag aggiornati nell’elenco "${tagListName}"`, + updateCategories: (count) => `categorie aggiornate: ${count}`, + updateTagList: (tagListName) => `tag aggiornati nell’elenco "${tagListName}"`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `ha modificato l’elenco tag "${tagListsName}" in ${isRequired ? 'obbligatorio' : 'non obbligatorio'}`, importTags: 'tag importati da un foglio di calcolo', deletedAllTags: 'ha eliminato tutti i tag', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `ha cambiato la categoria predefinita di ${customUnitName} in "${newValue}" ${oldValue ? `(precedentemente "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `tariffe importate per l'unità personalizzata "${customUnitName}"`, + importCustomUnitRates: (customUnitName) => `tariffe importate per l'unità personalizzata "${customUnitName}"`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `ha modificato l’aliquota di "${customUnitName}", tariffa "${customUnitRateName}", sotto-tariffa "${customUnitSubRateName}" ${updatedField} in "${newValue}" (precedentemente "${oldValue}")`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6922,7 +6894,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo } return `ha rimosso il budget da ${entityType} «${entityName}»`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? 'abilitato' : 'disabilitato'} monitoraggio del tempo`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6936,7 +6908,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}: UpdatedPolicyDefaultTitleParams) => `ha modificato la formula del nome del report personalizzato in "${newDefaultTitle}" (in precedenza "${oldDefaultTitle}")`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `ha assunto la proprietà di ${policyName} da ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `Invio pianificato ${enabled ? 'abilitato' : 'disabilitato'}`, + updatedAutoHarvesting: (enabled) => `Invio pianificato ${enabled ? 'abilitato' : 'disabilitato'}`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7674,15 +7646,15 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo allTagLevelsRequired: 'Tutti i tag obbligatori', autoReportedRejectedExpense: 'Questa spesa è stata rifiutata.', billableExpense: 'Addebitabile non più valido', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Ricevuta obbligatoria${formattedLimit ? `oltre ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Ricevuta obbligatoria${formattedLimit ? `oltre ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Categoria non più valida', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Applicato un sovrapprezzo di conversione del ${surcharge}%`, + conversionSurcharge: (surcharge) => `Applicato un sovrapprezzo di conversione del ${surcharge}%`, customUnitOutOfPolicy: 'Tariffa non valida per questo spazio di lavoro', duplicatedTransaction: 'Duplice potenziale', fieldRequired: 'I campi del report sono obbligatori', futureDate: 'Data futura non consentita', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Maggiorato del ${invoiceMarkup}%`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Data precedente a ${maxAge} giorni`, + invoiceMarkup: (invoiceMarkup) => `Maggiorato del ${invoiceMarkup}%`, + maxAge: (maxAge) => `Data precedente a ${maxAge} giorni`, missingCategory: 'Categoria mancante', missingComment: 'Descrizione obbligatoria per la categoria selezionata', missingAttendees: 'Per questa categoria sono richiesti più partecipanti', @@ -7702,12 +7674,12 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo }, modifiedDate: 'Data diversa dalla ricevuta scansionata', nonExpensiworksExpense: 'Spesa non-Expensiworks', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `La spesa supera il limite di approvazione automatica di ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Importo superiore al limite di categoria di ${formattedLimit}/persona`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Importo oltre il limite di ${formattedLimit}/persona`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Importo oltre il limite di ${formattedLimit}/viaggio`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Importo oltre il limite di ${formattedLimit}/persona`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Importo oltre il limite giornaliero di categoria di ${formattedLimit}/persona`, + overAutoApprovalLimit: (formattedLimit) => `La spesa supera il limite di approvazione automatica di ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Importo superiore al limite di categoria di ${formattedLimit}/persona`, + overLimit: (formattedLimit) => `Importo oltre il limite di ${formattedLimit}/persona`, + overTripLimit: (formattedLimit) => `Importo oltre il limite di ${formattedLimit}/viaggio`, + overLimitAttendee: (formattedLimit) => `Importo oltre il limite di ${formattedLimit}/persona`, + perDayLimit: (formattedLimit) => `Importo oltre il limite giornaliero di categoria di ${formattedLimit}/persona`, receiptNotSmartScanned: 'Dettagli di ricevuta e spesa aggiunti manualmente.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7721,7 +7693,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo } return 'Ricevuta obbligatoria'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Ricevuta dettagliata richiesta${formattedLimit ? `oltre ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Ricevuta dettagliata richiesta${formattedLimit ? `oltre ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Spesa vietata:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7751,7 +7723,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Revisione richiesta', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7973,9 +7945,9 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo title: 'Il tuo piano', exploreAllPlans: 'Esplora tutti i piani', customPricing: 'Prezzi personalizzati', - asLowAs: ({price}: YourPlanPriceValueParams) => `a partire da ${price} per membro attivo/mese`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} per membro/mese`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} per membro al mese`, + asLowAs: (price) => `a partire da ${price} per membro attivo/mese`, + pricePerMemberMonth: (price) => `${price} per membro/mese`, + pricePerMemberPerMonth: (price) => `${price} per membro al mese`, perMemberMonth: 'per membro/mese', collect: { title: 'Riscuoti', @@ -8092,7 +8064,7 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo title: 'Abbonamento annullato', subtitle: 'Il tuo abbonamento annuale è stato annullato.', info: 'Se vuoi continuare a usare il tuo workspace (o i tuoi workspace) con pagamento a consumo, è tutto pronto.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Se desideri evitare attività e addebiti futuri, devi eliminare il tuo spazio di lavoro (o i tuoi spazi di lavoro). Tieni presente che, quando elimini il tuo spazio di lavoro (o i tuoi spazi di lavoro), ti verrà addebitata qualsiasi attività in sospeso sostenuta durante il mese di calendario in corso.`, }, requestSubmitted: { diff --git a/src/languages/ja.ts b/src/languages/ja.ts index 3e882b659861..cec87b7e176e 100644 --- a/src/languages/ja.ts +++ b/src/languages/ja.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -581,7 +553,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'ファイルを選択', attachmentTooLarge: '添付ファイルが大きすぎます', sizeExceeded: '添付ファイルのサイズが24MBの上限を超えています', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `添付ファイルのサイズが上限の ${maxUploadSizeInMB} MB を超えています`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `添付ファイルのサイズが上限の ${maxUploadSizeInMB} MB を超えています`, attachmentTooSmall: '添付ファイルが小さすぎます', sizeNotMet: '添付ファイルのサイズは240バイトより大きくする必要があります', wrongFileType: '無効なファイル形式', @@ -592,9 +564,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'この画像は大きすぎるため、アップロード前にプレビューできません。', imageDimensionsTooLarge: '画像のサイズが大きすぎて処理できません。小さい画像を使用してください。', tooManyFiles: (fileLimit: number) => `一度にアップロードできるファイルは最大${fileLimit}件までです。`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `ファイルが ${maxUploadSizeInMB} MB を超えています。もう一度お試しください。`, + sizeExceededWithValue: (maxUploadSizeInMB) => `ファイルが ${maxUploadSizeInMB} MB を超えています。もう一度お試しください。`, someFilesCantBeUploaded: '一部のファイルをアップロードできません', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `ファイルサイズは${maxUploadSizeInMB}MB以下である必要があります。これより大きいファイルはアップロードされません。`, + sizeLimitExceeded: (maxUploadSizeInMB) => `ファイルサイズは${maxUploadSizeInMB}MB以下である必要があります。これより大きいファイルはアップロードされません。`, maxFileLimitExceeded: '一度にアップロードできるレシートは最大30枚です。超過分はアップロードされません。', unsupportedFileType: (fileType: string) => `${fileType} ファイルはサポートされていません。サポートされているファイルタイプのみアップロードされます。`, learnMoreAboutSupportedFiles: '対応している形式の詳細を確認する', @@ -876,7 +848,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'このチャットルームはアーカイブされました。', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `${displayName} がアカウントを閉鎖したため、このチャットは現在利用できません。`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `${displayName} がアカウントを閉鎖したため、このチャットは現在利用できません。`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `このチャットは、${oldDisplayName} が自分のアカウントを ${displayName} と統合したため、現在はアクティブではありません。`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1459,7 +1431,7 @@ const translations: TranslationDeepObject = { moveExpensesError: '日当経費は、ワークスペースごとに日当レートが異なる場合があるため、他のワークスペースのレポートに移動することはできません。', changeApprover: { title: '承認者を変更', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `このレポートの承認者を変更する方法を選択してください。(すべてのレポートで恒久的に変更するには、ワークスペース設定を更新してください。)`, changedApproverMessage: (managerID: number) => `承認者を に変更しました`, actions: { @@ -1549,10 +1521,10 @@ const translations: TranslationDeepObject = { viewPhoto: '写真を見る', imageUploadFailed: '画像のアップロードに失敗しました', deleteWorkspaceError: '申し訳ありません、ワークスペースのアバターを削除する際に予期せぬ問題が発生しました', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `選択された画像は、アップロード可能な最大サイズ ${maxUploadSizeInMB} MB を超えています。`, + sizeExceeded: (maxUploadSizeInMB) => `選択された画像は、アップロード可能な最大サイズ ${maxUploadSizeInMB} MB を超えています。`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `${minHeightInPx}x${minWidthInPx}ピクセルより大きく、${maxHeightInPx}x${maxWidthInPx}ピクセルより小さい画像をアップロードしてください。`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `プロフィール写真は次のいずれかのタイプである必要があります:${allowedExtensions.join(', ')}。`, + notAllowedExtension: (allowedExtensions) => `プロフィール写真は次のいずれかのタイプである必要があります:${allowedExtensions.join(', ')}。`, }, avatarPage: { title: 'プロフィール写真を編集', @@ -2138,15 +2110,15 @@ const translations: TranslationDeepObject = { availableSpend: '残りの上限', smartLimit: { name: 'スマート上限', - title: ({formattedLimit}: ViolationsOverLimitParams) => `このカードでは最大で${formattedLimit}まで使用でき、提出した経費が承認されると、その限度額はリセットされます。`, + title: (formattedLimit) => `このカードでは最大で${formattedLimit}まで使用でき、提出した経費が承認されると、その限度額はリセットされます。`, }, fixedLimit: { name: '固定上限', - title: ({formattedLimit}: ViolationsOverLimitParams) => `このカードでは最大で${formattedLimit}まで利用できます。その後、自動的に無効になります。`, + title: (formattedLimit) => `このカードでは最大で${formattedLimit}まで利用できます。その後、自動的に無効になります。`, }, monthlyLimit: { name: '月ごとの上限', - title: ({formattedLimit}: ViolationsOverLimitParams) => `このカードでは月あたり最大 ${formattedLimit} まで利用できます。利用限度額は毎月、暦月の1日目にリセットされます。`, + title: (formattedLimit) => `このカードでは月あたり最大 ${formattedLimit} まで利用できます。利用限度額は毎月、暦月の1日目にリセットされます。`, }, virtualCardNumber: 'バーチャルカード番号', travelCardCvv: 'トラベルカードのCVV', @@ -2601,7 +2573,7 @@ ${date} の ${merchant} への ${amount}`, }, workEmailValidation: { title: '勤務先メールを確認してください', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `${workEmail} に送信されたマジックコードを入力してください。1~2分以内に届きます。`, + magicCodeSent: (workEmail) => `${workEmail} に送信されたマジックコードを入力してください。1~2分以内に届きます。`, }, workEmailValidationError: { publicEmail: 'プライベートドメインの有効な勤務先メールアドレスを入力してください(例:mitch@company.com)', @@ -2609,7 +2581,7 @@ ${date} の ${merchant} への ${amount}`, }, mergeBlockScreen: { title: '勤務用メールアドレスを追加できませんでした', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `${workEmail} を追加できませんでした。後で「設定」からもう一度お試しいただくか、ガイダンスについて Concierge にチャットでお問い合わせください。`, }, tasks: { @@ -3047,9 +3019,9 @@ ${ setVacationDelegate: `休暇中に不在の間、あなたに代わってレポートを承認する代理人を設定しましょう。`, cannotSetVacationDelegate: `現在、次のメンバーの代理人になっているため、休暇代理人を設定できません:`, vacationDelegateError: '休暇の代理人を更新中にエラーが発生しました。', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `${nameOrEmail} さんの休暇代理として`, + asVacationDelegate: (nameOrEmail) => `${nameOrEmail} さんの休暇代理として`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `${vacationDelegateName} の休暇代理人として ${submittedToName} に`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `${nameOrEmail} さんをあなたの休暇代理人に指定しようとしています。この人は、まだすべてのワークスペースに参加していません。続行すると、すべてのワークスペース管理者に、この人を追加するようメールが送信されます。`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3089,7 +3061,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `銀行口座を連携するには、まずメールアドレスをプライマリログインとして追加してから、もう一度お試しください。電話番号はセカンダリログインとして追加できます。`, hasBeenThrottledError: '銀行口座の追加中にエラーが発生しました。数分待ってから、もう一度お試しください。', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `おっと!ワークスペースの通貨がUSD以外に設定されているようです。続行するには、ワークスペース設定で通貨をUSDに変更してから、もう一度お試しください。`, bbaAdded: 'ビジネス用銀行口座を追加しました!', bbaAddedDescription: '支払いに利用できる状態です。', @@ -3214,7 +3186,7 @@ ${ haveReadAndAgreePlain: '電子開示を受け取ることを読み理解し、同意します。', haveReadAndAgree: `電子開示書面を受け取ることを確認し、同意します。`, agreeToThePlain: 'プライバシーおよびウォレット規約に同意します。', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `プライバシーポリシーおよびウォレット利用規約に同意します。`, enablePayments: '支払いを有効にする', monthlyFee: '月額料金', @@ -3226,7 +3198,7 @@ ${ checkTheBoxes: '以下のチェックボックスを選択してください。', agreeToTerms: '利用規約に同意すれば、すぐに始められます!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Expensifyウォレットは${walletProgram}によって発行されています。`, + expensifyPaymentsAccount: (walletProgram) => `Expensifyウォレットは${walletProgram}によって発行されています。`, perPurchase: '購入ごと', atmWithdrawal: 'ATM引き出し', cashReload: '現金リロード', @@ -3874,7 +3846,7 @@ ${ appliedOnExport: 'Expensify にはインポートされず、エクスポート時に適用されます', shareNote: { header: 'ワークスペースを他のメンバーと共有する', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `このQRコードを共有するか、以下のリンクをコピーしてメンバーがあなたのワークスペースへのアクセスを簡単にリクエストできるようにしましょう。ワークスペースへの参加リクエストはすべて、あなたが確認できるように${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS}ルームに表示されます。`, }, connectTo: ({connectionName}: ConnectionNameParams) => `${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} に接続`, @@ -5524,7 +5496,7 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO }, addedWithPrimary: '一部のメンバーは、プライマリーログインで追加されました。', invitedBySecondaryLogin: (secondaryLogin: string) => `セカンダリログイン${secondaryLogin}によって追加されました。`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `ワークスペースメンバー合計:${count}`, + workspaceMembersCount: (count) => `ワークスペースメンバー合計:${count}`, importMembers: 'メンバーをインポート', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `このワークスペースから${approver}を削除すると、承認ワークフロー内ではワークスペースのオーナーである${workspaceOwner}に置き換えられます。`, @@ -6148,7 +6120,7 @@ ${reportName} perActiveMember: 'アクティブメンバー1人あたり月額', perMember: 'メンバー1人あたり月額', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `この機能を利用するにはアップグレードするか、プランと料金の詳細はこちらをご覧ください。`, upgradeToUnlock: 'この機能を有効にする', completed: { @@ -6214,7 +6186,7 @@ ${reportName} restrictedAction: { restricted: '制限あり', actionsAreCurrentlyRestricted: (workspaceName: string) => `${workspaceName} ワークスペースでの操作は現在制限されています`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `ワークスペースオーナーである${workspaceOwnerName}が、ワークスペースの新しいアクティビティを有効にするために、登録済みの支払いカードを追加または更新する必要があります。`, youWillNeedToAddOrUpdatePaymentCard: '新しいワークスペースのアクティビティを有効にするには、登録済みの支払いカードを追加または更新する必要があります。', addPaymentCardToUnlock: 'ロック解除のために支払いカードを追加してください!', @@ -6559,7 +6531,7 @@ ${reportName} }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `${customUnitName} の${updatedField}を「${newValue}」(以前は「${oldValue}」)に変更しました`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? '有効' : '無効'} 距離レートでの税金追跡`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? '有効' : '無効'} 距離レートでの税金追跡`, addCustomUnitRate: (customUnitName: string, rateName: string) => `新しい${customUnitName}レート「${rateName}」を追加しました`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `${customUnitName} の ${updatedField}「${customUnitRateName}」のレートを「${newValue}」(以前は「${oldValue}」)に変更しました`, @@ -6729,7 +6701,7 @@ ${reportName} oldValue ? `請求書の会社ウェブサイトを「${newValue}」(以前は「${oldValue}」)に変更しました` : `請求書の会社ウェブサイトを「${newValue}」に設定しました`, changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) => previousReimburser ? `認可された支払者を「${newReimburser}」(以前は「${previousReimburser}」)に変更しました` : `承認済み支払担当者を「${newReimburser}」に変更しました`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? '有効' : '無効'}件の精算`, + updateReimbursementEnabled: (enabled) => `${enabled ? '有効' : '無効'}件の精算`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `カスタム税区分名を「${newName}」(以前は「${oldName}」)に変更しました`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `ワークスペースの通貨デフォルト税率を「${newName}」(以前は「${oldName}」)に変更しました`, updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) => `外貨のデフォルト税率を「${newName}」に変更しました(以前は「${oldName}」)。`, @@ -6766,15 +6738,15 @@ ${reportName} setMaxExpenseAge: (newValue: string) => `最大経費日数を「${newValue}」日に設定`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `最大経費期限を「${newValue}」日に変更しました(以前は「${oldValue}」日)`, removedMaxExpenseAge: (oldValue: string) => `最大経費日数を削除(以前は「${oldValue}」日)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `${count} 個のカテゴリーを更新しました`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `リスト「${tagListName}」のタグを更新しました`, + updateCategories: (count) => `${count} 個のカテゴリーを更新しました`, + updateTagList: (tagListName) => `リスト「${tagListName}」のタグを更新しました`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `タグリスト「${tagListsName}」を${isRequired ? '必須' : '必須ではありません'}に変更しました`, importTags: 'スプレッドシートからタグをインポートしました', deletedAllTags: 'すべてのタグを削除しました', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `${customUnitName}のデフォルトカテゴリを「${newValue}」に変更しました ${oldValue ? `(以前の値 "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `カスタム単位「${customUnitName}」のレートをインポートしました`, + importCustomUnitRates: (customUnitName) => `カスタム単位「${customUnitName}」のレートをインポートしました`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `「${customUnitName}」のレート「${customUnitRateName}」、サブレート「${customUnitSubRateName}」の${updatedField}を「${newValue}」(以前は「${oldValue}」)に変更しました`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6848,7 +6820,7 @@ ${reportName} } return `${entityType}「${entityName}」から予算を削除しました`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? '有効' : '無効'} 時間追跡`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6862,7 +6834,7 @@ ${reportName} updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}: UpdatedPolicyDefaultTitleParams) => `カスタムレポート名の数式を「${newDefaultTitle}」に変更しました(以前は「${oldDefaultTitle}」)`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `${oldOwnerName}(${oldOwnerEmail})から${policyName}の所有権を引き継ぎました`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `${enabled ? '有効' : '無効'} の送信を予約しました`, + updatedAutoHarvesting: (enabled) => `${enabled ? '有効' : '無効'} の送信を予約しました`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7590,15 +7562,15 @@ ${reportName} allTagLevelsRequired: 'すべてのタグが必須です', autoReportedRejectedExpense: 'この経費精算は却下されました。', billableExpense: '請求可能区分は無効になりました', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `領収書が必要です${formattedLimit ? `${formattedLimit} を超過` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `領収書が必要です${formattedLimit ? `${formattedLimit} を超過` : ''}`, categoryOutOfPolicy: 'カテゴリは無効です', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `${surcharge}% の換算手数料を適用しました`, + conversionSurcharge: (surcharge) => `${surcharge}% の換算手数料を適用しました`, customUnitOutOfPolicy: 'このワークスペースでは有効なレートではありません', duplicatedTransaction: '重複の可能性', fieldRequired: 'レポートの項目は必須です', futureDate: '将来の日付は使用できません', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `${invoiceMarkup}%値上げ済み`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `日付が${maxAge}日より前です`, + invoiceMarkup: (invoiceMarkup) => `${invoiceMarkup}%値上げ済み`, + maxAge: (maxAge) => `日付が${maxAge}日より前です`, missingCategory: 'カテゴリが未選択です', missingComment: '選択したカテゴリには説明が必要です', missingAttendees: 'このカテゴリには複数の参加者が必要です', @@ -7618,12 +7590,12 @@ ${reportName} }, modifiedDate: '日付がスキャンしたレシートと異なります', nonExpensiworksExpense: 'Expensiworks 以外の経費', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `経費が自動承認限度額 ${formattedLimit} を超えています`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `1人あたりのカテゴリ上限 ${formattedLimit} を超えた金額`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `1人あたりの上限額 ${formattedLimit} を超過した金額`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `1回の出張あたりの上限${formattedLimit}超過額`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `1人あたりの上限額 ${formattedLimit} を超過した金額`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `1人あたりの1日上限額 ${formattedLimit} を超えたカテゴリ金額`, + overAutoApprovalLimit: (formattedLimit) => `経費が自動承認限度額 ${formattedLimit} を超えています`, + overCategoryLimit: (formattedLimit) => `1人あたりのカテゴリ上限 ${formattedLimit} を超えた金額`, + overLimit: (formattedLimit) => `1人あたりの上限額 ${formattedLimit} を超過した金額`, + overTripLimit: (formattedLimit) => `1回の出張あたりの上限${formattedLimit}超過額`, + overLimitAttendee: (formattedLimit) => `1人あたりの上限額 ${formattedLimit} を超過した金額`, + perDayLimit: (formattedLimit) => `1人あたりの1日上限額 ${formattedLimit} を超えたカテゴリ金額`, receiptNotSmartScanned: 'レシートと経費の詳細が手動で追加されました。', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7637,7 +7609,7 @@ ${reportName} } return '領収書が必要です'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `項目別の領収書が必要です${formattedLimit ? `${formattedLimit} を超過` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `項目別の領収書が必要です${formattedLimit ? `${formattedLimit} を超過` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = '禁止経費:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7667,7 +7639,7 @@ ${reportName} } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: '要レビュー', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7885,9 +7857,9 @@ ${reportName} title: 'あなたのプラン', exploreAllPlans: 'すべてのプランを表示', customPricing: 'カスタム料金', - asLowAs: ({price}: YourPlanPriceValueParams) => `アクティブメンバー1人あたり月額${price}〜`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `メンバー1人あたり/月 ${price}`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price}(メンバー1人あたり/月)`, + asLowAs: (price) => `アクティブメンバー1人あたり月額${price}〜`, + pricePerMemberMonth: (price) => `メンバー1人あたり/月 ${price}`, + pricePerMemberPerMonth: (price) => `${price}(メンバー1人あたり/月)`, perMemberMonth: 'メンバー1人あたり/月', collect: { title: '回収', @@ -8003,7 +7975,7 @@ ${reportName} title: 'サブスクリプションを解約しました', subtitle: '年間サブスクリプションは解約されました。', info: 'ワークスペースを従量課金制で使い続けたい場合は、これで準備完了です。', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `今後のアクティビティや請求を防ぎたい場合は、ワークスペースを削除する必要があります。ワークスペースを削除すると、当月中に発生した未精算のアクティビティについて請求が行われることにご注意ください。`, }, requestSubmitted: { diff --git a/src/languages/nl.ts b/src/languages/nl.ts index 3b1675b41a79..9f1c5253a23d 100644 --- a/src/languages/nl.ts +++ b/src/languages/nl.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -581,7 +553,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Bestand kiezen', attachmentTooLarge: 'Bijlage is te groot', sizeExceeded: 'Bijlage is groter dan de limiet van 24 MB', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `De bijlage is groter dan de limiet van ${maxUploadSizeInMB} MB`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `De bijlage is groter dan de limiet van ${maxUploadSizeInMB} MB`, attachmentTooSmall: 'Bijlage is te klein', sizeNotMet: 'Bijlagegrootte moet groter zijn dan 240 bytes', wrongFileType: 'Ongeldig bestandstype', @@ -592,9 +564,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Deze afbeelding is te groot om een voorbeeld te tonen vóór het uploaden.', imageDimensionsTooLarge: 'De afmetingen van de afbeelding zijn te groot om te verwerken. Gebruik een kleinere afbeelding.', tooManyFiles: (fileLimit: number) => `Je kunt maximaal ${fileLimit} bestanden tegelijk uploaden.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Bestanden zijn groter dan ${maxUploadSizeInMB} MB. Probeer het opnieuw.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `Bestanden zijn groter dan ${maxUploadSizeInMB} MB. Probeer het opnieuw.`, someFilesCantBeUploaded: 'Sommige bestanden kunnen niet worden geüpload', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Bestanden moeten kleiner zijn dan ${maxUploadSizeInMB} MB. Grotere bestanden worden niet geüpload.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `Bestanden moeten kleiner zijn dan ${maxUploadSizeInMB} MB. Grotere bestanden worden niet geüpload.`, maxFileLimitExceeded: 'Je kunt tot 30 bonnetjes tegelijk uploaden. Extra bonnetjes worden niet geüpload.', unsupportedFileType: (fileType: string) => `${fileType}-bestanden worden niet ondersteund. Alleen ondersteunde bestandstypen worden geüpload.`, learnMoreAboutSupportedFiles: 'Meer informatie over ondersteunde indelingen.', @@ -879,7 +851,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Deze chatruimte is gearchiveerd.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Deze chat is niet meer actief omdat ${displayName} de account heeft gesloten.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Deze chat is niet meer actief omdat ${displayName} de account heeft gesloten.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Deze chat is niet langer actief omdat ${oldDisplayName} zijn of haar account heeft samengevoegd met ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1464,7 +1436,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'Je kunt dagvergoedingdeclaraties niet naar rapporten in andere werkruimten verplaatsen, omdat de dagvergoedingsbedragen per werkruimte kunnen verschillen.', changeApprover: { title: 'Goedkeurder wijzigen', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Kies een optie om de fiatteur voor dit rapport te wijzigen. (Werk je werkruimteninstellingen bij om dit permanent voor alle rapporten te wijzigen.)`, changedApproverMessage: (managerID: number) => `heeft de goedkeurder gewijzigd naar `, actions: { @@ -1554,10 +1526,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Foto bekijken', imageUploadFailed: 'Uploaden van afbeelding is mislukt', deleteWorkspaceError: 'Sorry, er is een onverwacht probleem opgetreden bij het verwijderen van je workspace-avatar', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `De geselecteerde afbeelding overschrijdt de maximale uploadgrootte van ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `De geselecteerde afbeelding overschrijdt de maximale uploadgrootte van ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Upload een afbeelding die groter is dan ${minHeightInPx}x${minWidthInPx} pixels en kleiner dan ${maxHeightInPx}x${maxWidthInPx} pixels.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `Profielfoto moet een van de volgende typen zijn: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `Profielfoto moet een van de volgende typen zijn: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Profielfoto bewerken', @@ -2148,16 +2120,16 @@ const translations: TranslationDeepObject = { availableSpend: 'Resterende limiet', smartLimit: { name: 'Slimme limiet', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Je kunt tot ${formattedLimit} uitgeven met deze kaart, en de limiet wordt opnieuw ingesteld zodra je ingediende uitgaven zijn goedgekeurd.`, }, fixedLimit: { name: 'Vast limiet', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Je kunt tot ${formattedLimit} uitgeven met deze kaart, daarna wordt hij gedeactiveerd.`, + title: (formattedLimit) => `Je kunt tot ${formattedLimit} uitgeven met deze kaart, daarna wordt hij gedeactiveerd.`, }, monthlyLimit: { name: 'Maandlimiet', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Je kunt met deze kaart tot ${formattedLimit} per maand uitgeven. De limiet wordt op de 1e dag van elke kalendermaand opnieuw ingesteld.`, }, virtualCardNumber: 'Nummer van virtuele kaart', @@ -2617,7 +2589,7 @@ ${amount} voor ${merchant} - ${date}`, }, workEmailValidation: { title: 'Verifieer je werk-e-mailadres', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Voer de magische code in die is verzonden naar ${workEmail}. Deze zou binnen een of twee minuten moeten aankomen.`, + magicCodeSent: (workEmail) => `Voer de magische code in die is verzonden naar ${workEmail}. Deze zou binnen een of twee minuten moeten aankomen.`, }, workEmailValidationError: { publicEmail: 'Voer een geldig zakelijk e-mailadres in van een privédomein, bijv. mitch@company.com', @@ -2625,7 +2597,7 @@ ${amount} voor ${merchant} - ${date}`, }, mergeBlockScreen: { title: 'Werkmail kon niet worden toegevoegd', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => `We konden ${workEmail} niet toevoegen. Probeer het later opnieuw in Instellingen of chat met Concierge voor hulp.`, + subtitle: (workEmail) => `We konden ${workEmail} niet toevoegen. Probeer het later opnieuw in Instellingen of chat met Concierge voor hulp.`, }, tasks: { testDriveAdminTask: { @@ -3062,9 +3034,9 @@ ${ setVacationDelegate: `Stel een vervangende fiatteur in om rapporten namens jou goed te keuren terwijl je afwezig bent.`, cannotSetVacationDelegate: `Je kunt geen vakantiedelegaat instellen omdat je momenteel de delegaat bent voor de volgende leden:`, vacationDelegateError: 'Er is een fout opgetreden bij het bijwerken van je vervanger tijdens vakantie.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `als vakantiewaarnemer van ${nameOrEmail}`, + asVacationDelegate: (nameOrEmail) => `als vakantiewaarnemer van ${nameOrEmail}`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `aan ${submittedToName} als vakantieplaatsvervanger voor ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Je wijst ${nameOrEmail} aan als jouw vervang(st)er tijdens afwezigheid. Diegene zit nog niet in al je werkruimtes. Als je doorgaat, wordt er een e-mail naar alle beheerders van je werkruimtes gestuurd om diegene toe te voegen.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3104,7 +3076,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Om een bankrekening te koppelen, voeg eerst een e-mailadres toe als je primaire login en probeer het daarna opnieuw. Je kunt je telefoonnummer toevoegen als secundaire login.`, hasBeenThrottledError: 'Er is een fout opgetreden bij het toevoegen van je bankrekening. Wacht een paar minuten en probeer het opnieuw.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Oeps! Het lijkt erop dat de valuta van je workspace is ingesteld op een andere valuta dan USD. Ga naar de instellingen van je workspace, stel deze in op USD en probeer het opnieuw.`, bbaAdded: 'Zakelijke bankrekening toegevoegd!', bbaAddedDescription: 'Het is klaar om voor betalingen te worden gebruikt.', @@ -3230,7 +3202,7 @@ ${ haveReadAndAgreePlain: 'Ik heb gelezen en ga ermee akkoord elektronische bekendmakingen te ontvangen.', haveReadAndAgree: `Ik heb gelezen en ga ermee akkoord om elektronische openbaarmakingen te ontvangen.`, agreeToThePlain: 'Ik ga akkoord met het privacy- en walletcontract.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `Ik ga akkoord met het privacybeleid en de walletovereenkomst.`, enablePayments: 'Betalingen inschakelen', monthlyFee: 'Maandelijkse vergoeding', @@ -3242,7 +3214,7 @@ ${ checkTheBoxes: 'Vink de onderstaande vakjes aan.', agreeToTerms: 'Ga akkoord met de voorwaarden en je bent klaar om te beginnen!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `De Expensify Wallet wordt uitgegeven door ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `De Expensify Wallet wordt uitgegeven door ${walletProgram}.`, perPurchase: 'Per aankoop', atmWithdrawal: 'Geldopname bij geldautomaat', cashReload: 'Cash-opwaardering', @@ -3891,7 +3863,7 @@ ${ appliedOnExport: 'Niet geïmporteerd in Expensify, toegepast bij export', shareNote: { header: 'Deel je werkruimte met andere leden', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Deel deze QR-code of kopieer de link hieronder om het leden makkelijk te maken toegang tot je werkruimte aan te vragen. Alle verzoeken om lid te worden van de werkruimte verschijnen in de ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS}-ruimte ter beoordeling.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Verbind met ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5559,7 +5531,7 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_ }, addedWithPrimary: 'Sommige leden zijn toegevoegd met hun primaire login.', invitedBySecondaryLogin: (secondaryLogin: string) => `Toegevoegd door secundair login ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Totaal aantal werkruimteleden: ${count}`, + workspaceMembersCount: (count) => `Totaal aantal werkruimteleden: ${count}`, importMembers: 'Leden importeren', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Als je ${approver} uit deze workspace verwijdert, vervangen we diegene in de goedkeuringsworkflow door ${workspaceOwner}, de eigenaar van de workspace.`, @@ -6188,7 +6160,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar perActiveMember: 'per actieve deelnemer per maand.', perMember: 'per lid per maand.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Upgrade om toegang te krijgen tot deze functie, of lees meer over onze abonnementen en prijzen.`, upgradeToUnlock: 'Deze functie ontgrendelen', completed: { @@ -6254,7 +6226,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar restrictedAction: { restricted: 'Beperkt', actionsAreCurrentlyRestricted: (workspaceName: string) => `Acties in de ${workspaceName}-werkruimte zijn momenteel beperkt`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `De eigenaar van de workspace, ${workspaceOwnerName}, moet de betaalkaart in het dossier toevoegen of bijwerken om nieuwe workspace-activiteit te ontgrendelen.`, youWillNeedToAddOrUpdatePaymentCard: 'Je moet de opgeslagen betaalkaart toevoegen of bijwerken om nieuwe werkruimte-activiteiten te ontgrendelen.', addPaymentCardToUnlock: 'Voeg een betaalkaart toe om te ontgrendelen!', @@ -6604,7 +6576,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `heeft de ${customUnitName} ${updatedField} gewijzigd naar "${newValue}" (voorheen "${oldValue}")`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? 'ingeschakeld' : 'uitgeschakeld'} belastingregistratie op afstandstarieven`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? 'ingeschakeld' : 'uitgeschakeld'} belastingregistratie op afstandstarieven`, addCustomUnitRate: (customUnitName: string, rateName: string) => `heeft een nieuw ${customUnitName}-tarief "${rateName}" toegevoegd`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `heeft het tarief van de ${customUnitName} ${updatedField} "${customUnitRateName}" gewijzigd naar "${newValue}" (voorheen "${oldValue}")`, @@ -6780,7 +6752,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar previousReimburser ? `heeft de gemachtigde betaler gewijzigd in „${newReimburser}” (voorheen „${previousReimburser}”)` : `heeft de gemachtigde betaler gewijzigd naar ‘${newReimburser}’`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} terugbetalingen`, + updateReimbursementEnabled: (enabled) => `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} terugbetalingen`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `de aangepaste belastingnaam gewijzigd in "${newName}" (voorheen "${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `heeft het standaardbelastingtarief van de werkruimtevaluta gewijzigd in "${newName}" (voorheen "${oldName}")`, @@ -6819,15 +6791,15 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar setMaxExpenseAge: (newValue: string) => `stel maximale leeftijd uitgave in op "${newValue}" dagen`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `maximale uitgaafleeftijd gewijzigd naar "${newValue}" dagen (voorheen "${oldValue}")`, removedMaxExpenseAge: (oldValue: string) => `maximale onkostendatum verwijderd (voorheen "${oldValue}" dagen)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `${count} categorieën bijgewerkt`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `tags op de lijst "${tagListName}" bijgewerkt`, + updateCategories: (count) => `${count} categorieën bijgewerkt`, + updateTagList: (tagListName) => `tags op de lijst "${tagListName}" bijgewerkt`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `heeft taglijst "${tagListsName}" gewijzigd naar ${isRequired ? 'vereist' : 'niet vereist'}`, importTags: 'geïmporteerde labels uit een spreadsheet', deletedAllTags: 'alle tags verwijderd', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `heeft de standaardcategorie voor ${customUnitName} gewijzigd in „${newValue}” ${oldValue ? `(eerder "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `geïmporteerde tarieven voor aangepaste eenheid "${customUnitName}"`, + importCustomUnitRates: (customUnitName) => `geïmporteerde tarieven voor aangepaste eenheid "${customUnitName}"`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `heeft "${customUnitName}" tarief "${customUnitRateName}" subtarief "${customUnitSubRateName}" ${updatedField} gewijzigd naar "${newValue}" (voorheen "${oldValue}")`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6901,7 +6873,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar } return `heeft budget verwijderd uit de ${entityType} "${entityName}"`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} tijdregistratie`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6916,7 +6888,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar `heeft aangepaste rapportnaamformule gewijzigd in "${newDefaultTitle}" (voorheen "${oldDefaultTitle}")`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `heeft het eigendom van ${policyName} overgenomen van ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} gepland indienen`, + updatedAutoHarvesting: (enabled) => `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} gepland indienen`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7652,15 +7624,15 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar allTagLevelsRequired: 'Alle tags verplicht', autoReportedRejectedExpense: 'Deze uitgave is afgewezen.', billableExpense: 'Factureerbaar niet langer geldig', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Bon vereist${formattedLimit ? `boven ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Bon vereist${formattedLimit ? `boven ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Categorie niet meer geldig', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `${surcharge}% omrekeningsopslag toegepast`, + conversionSurcharge: (surcharge) => `${surcharge}% omrekeningsopslag toegepast`, customUnitOutOfPolicy: 'Tarief niet geldig voor deze werkruimte', duplicatedTransaction: 'Mogelijke duplicaat', fieldRequired: 'Rapportvelden zijn verplicht', futureDate: 'Toekomstige datum niet toegestaan', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Met ${invoiceMarkup}% verhoogd`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Datum ouder dan ${maxAge} dagen`, + invoiceMarkup: (invoiceMarkup) => `Met ${invoiceMarkup}% verhoogd`, + maxAge: (maxAge) => `Datum ouder dan ${maxAge} dagen`, missingCategory: 'Ontbrekende categorie', missingComment: 'Beschrijving vereist voor geselecteerde categorie', missingAttendees: 'Meerdere deelnemers vereist voor deze categorie', @@ -7680,12 +7652,12 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar }, modifiedDate: 'Datum wijkt af van gescande bon', nonExpensiworksExpense: 'Niet-Expensiworks-uitgave', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Kosten overschrijden de automatische goedkeuringslimiet van ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Bedrag boven de categorielimiet van ${formattedLimit} per persoon`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Bedrag boven de limiet van ${formattedLimit} per persoon`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Bedrag boven limiet van ${formattedLimit} per reis`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Bedrag boven de limiet van ${formattedLimit} per persoon`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Bedrag boven de dagelijkse ${formattedLimit}/persoon-categorielimiet`, + overAutoApprovalLimit: (formattedLimit) => `Kosten overschrijden de automatische goedkeuringslimiet van ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Bedrag boven de categorielimiet van ${formattedLimit} per persoon`, + overLimit: (formattedLimit) => `Bedrag boven de limiet van ${formattedLimit} per persoon`, + overTripLimit: (formattedLimit) => `Bedrag boven limiet van ${formattedLimit} per reis`, + overLimitAttendee: (formattedLimit) => `Bedrag boven de limiet van ${formattedLimit} per persoon`, + perDayLimit: (formattedLimit) => `Bedrag boven de dagelijkse ${formattedLimit}/persoon-categorielimiet`, receiptNotSmartScanned: 'Ontvangst- en onkostendetails handmatig toegevoegd.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7699,7 +7671,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar } return 'Bon vereist'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Gespecificeerde bon vereist${formattedLimit ? `boven ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Gespecificeerde bon vereist${formattedLimit ? `boven ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Verboden uitgave:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7729,7 +7701,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Beoordeling vereist', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7950,9 +7922,9 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar title: 'Uw abonnement', exploreAllPlans: 'Bekijk alle abonnementen', customPricing: 'Aangepaste prijsstelling', - asLowAs: ({price}: YourPlanPriceValueParams) => `al vanaf ${price} per actieve deelnemer/maand`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} per lid/maand`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} per lid per maand`, + asLowAs: (price) => `al vanaf ${price} per actieve deelnemer/maand`, + pricePerMemberMonth: (price) => `${price} per lid/maand`, + pricePerMemberPerMonth: (price) => `${price} per lid per maand`, perMemberMonth: 'per lid/maand', collect: { title: 'Incasseren', @@ -8069,7 +8041,7 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar title: 'Abonnement geannuleerd', subtitle: 'Je jaarlijkse abonnement is opgezegd.', info: 'Als je je werkruimte(s) op basis van betalen-per-gebruik wilt blijven gebruiken, ben je helemaal klaar.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Als je toekomstige activiteit en kosten wilt voorkomen, moet je je werkruimte(s) verwijderen. Let op: wanneer je je werkruimte(s) verwijdert, worden eventuele openstaande activiteiten die in de huidige kalendermaand hebben plaatsgevonden alsnog in rekening gebracht.`, }, requestSubmitted: { diff --git a/src/languages/params.ts b/src/languages/params.ts index 8fecf3fd99cc..6186f9388800 100644 --- a/src/languages/params.ts +++ b/src/languages/params.ts @@ -22,18 +22,6 @@ type DeleteConfirmationParams = { action: OnyxInputOrEntry; }; -type BeginningOfChatHistoryAnnounceRoomPartTwo = { - workspaceName: string; -}; - -type WelcomeToRoomParams = { - roomName: string; -}; - -type UsePlusButtonParams = { - additionalText: string; -}; - type ReportArchiveReasonsClosedParams = { displayName: string; }; @@ -43,14 +31,14 @@ type ReportArchiveReasonsMergedParams = { oldDisplayName: string; }; -type ReportArchiveReasonsRemovedFromPolicyParams = { - displayName: string; +type ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams = { policyName: string; - shouldUseYou?: boolean; }; -type ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams = { +type ReportArchiveReasonsRemovedFromPolicyParams = { + displayName: string; policyName: string; + shouldUseYou?: boolean; }; type CreatedReportForUnapprovedTransactionsParams = { @@ -58,24 +46,10 @@ type CreatedReportForUnapprovedTransactionsParams = { reportName: string; }; -type WorkspacesListRouteParams = { - workspacesListRoute: string; -}; - -type WorkspaceRouteParams = { - workspaceRoute: string; -}; - -type UserSplitParams = {amount: string}; - type PaidElsewhereParams = {payer?: string; comment?: string}; -type WaitingOnBankAccountParams = {submitterDisplayName: string}; - type MovedFromPersonalSpaceParams = {workspaceName?: string; reportName?: string}; -type SizeExceededParams = {maxUploadSizeInMB: number}; - type ResolutionConstraintsParams = {minHeightInPx: number; minWidthInPx: number; maxHeightInPx: number; maxWidthInPx: number}; type NotAllowedExtensionParams = {allowedExtensions: string[]}; @@ -92,32 +66,12 @@ type UpdatedTheRequestParams = {valueName: string; newValueToDisplay: string; ol type UpdatedTheDistanceMerchantParams = {translatedChangedField: string; newMerchant: string; oldMerchant: string; newAmountToDisplay: string; oldAmountToDisplay: string}; -type WalletProgramParams = {walletProgram: string}; - -type ViolationsCashExpenseWithNoReceiptParams = {formattedLimit?: string} | undefined; - -type ViolationsConversionSurchargeParams = {surcharge: number}; - -type ViolationsInvoiceMarkupParams = {invoiceMarkup: number}; - -type ViolationsMaxAgeParams = {maxAge: number}; - type ViolationsMissingTagParams = {tagName?: string} | undefined; type ViolationsModifiedAmountParams = {type?: ViolationDataType; displayPercentVariance?: number}; -type ViolationsOverAutoApprovalLimitParams = {formattedLimit: string}; - -type ViolationsOverCategoryLimitParams = {formattedLimit: string}; - -type ViolationsOverLimitParams = {formattedLimit: string}; - -type ViolationsPerDayLimitParams = {formattedLimit: string}; - type ViolationsReceiptRequiredParams = {formattedLimit?: string; category?: string}; -type ViolationsCustomRulesParams = {message: string}; - type ViolationsRterParams = { brokenBankConnection: boolean; isAdmin: boolean; @@ -152,14 +106,8 @@ type UpdatedPolicyTagNameParams = {oldName: string; newName: string; tagListName type UpdatedPolicyTagFieldParams = {oldValue?: string; newValue: string; tagName: string; tagListName: string; updatedField: string}; -type UpdatedPolicyTagListParams = {tagListName: string}; - type UpdatedPolicyTagListRequiredParams = {tagListsName: string; isRequired: boolean}; -type UpdatePolicyCustomUnitTaxEnabledParams = {newValue: boolean}; - -type ImportPolicyCustomUnitRatesParams = {customUnitName: string}; - type UpdatePolicyCustomUnitDefaultCategoryParams = {customUnitName: string; newValue?: string; oldValue?: string}; type UpdatePolicyCustomUnitParams = {oldValue: string; newValue: string; customUnitName: string; updatedField: string}; @@ -178,12 +126,8 @@ type UpdatedPolicyPreventSelfApprovalParams = {oldValue: string; newValue: strin type UpdatedPolicyOwnershipParams = {oldOwnerEmail: string; oldOwnerName: string; policyName: string}; -type UpdatedPolicyTimeEnabledParams = {enabled?: boolean}; - type UpdatedPolicyTimeRateParams = {newRate?: string; oldRate?: string}; -type UpdatedPolicyAutoHarvestingParams = {enabled: boolean}; - type UpdatedPolicyBudgetNotificationParams = { budgetAmount: string; budgetFrequency: string; @@ -204,8 +148,6 @@ type UpdatedPolicyDefaultTitleParams = {newDefaultTitle: string; oldDefaultTitle type UpdatedPolicyManualApprovalThresholdParams = {oldLimit: string; newLimit: string}; -type UpdatedPolicyReimbursementEnabledParams = {enabled: boolean}; - type UpdatedPolicyCustomTaxNameParams = {oldName: string; newName: string}; type UpdatedPolicyCurrencyDefaultTaxParams = {oldName: string; newName: string}; @@ -280,20 +222,10 @@ type DisconnectPromptParams = {currentIntegration?: ConnectionName} | undefined; type DisconnectTitleParams = {integration?: ConnectionName} | undefined; -type AmountWithCurrencyParams = {amountWithCurrency: string}; - type LowerUpperParams = {lower: string; upper: string}; -type UpdatedPolicyCategoriesParams = {count: number}; - -type WorkspaceMembersCountParams = {count: number}; - -type WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams = {workspaceOwnerName: string}; - type YourPlanPriceParams = {lower: string; upper: string}; -type YourPlanPriceValueParams = {price: string}; - type ExportIntegrationSelectedParams = {connectionName: ConnectionName}; type IntacctMappingTitleParams = {mappingName: SageIntacctMappingName}; @@ -302,8 +234,6 @@ type SyncStageNameConnectionsParams = {stage: PolicyConnectionSyncStage}; type DelegateRoleParams = {role: DelegateRole}; -type VacationDelegateParams = {nameOrEmail: string}; - type RemovedFromApprovalWorkflowParams = { submittersNames: string[]; }; @@ -326,14 +256,6 @@ type WorkspaceYouMayJoin = { email: string; }; -type WorkEmailResendCodeParams = { - workEmail: string | undefined; -}; - -type WorkEmailMergingBlockedParams = { - workEmail: string | undefined; -}; - type WorkspaceMemberList = { employeeCount: number; policyOwner: string; @@ -344,29 +266,11 @@ type WorkspaceLockedPlanTypeParams = { annualSubscriptionEndDate: string; }; -type CustomUnitRateParams = { - rate: number; -}; - -type WorkspaceUpgradeNoteParams = { - subscriptionLink: string; -}; - -type WorkflowSettingsParam = {workflowSettingLink: string}; - -type WorkspaceShareNoteParams = { - adminsRoomLink: string; -}; - type UpgradeSuccessMessageParams = { policyName: string; subscriptionLink: string; }; -type WalletAgreementParams = { - walletAgreementUrl: string; -}; - type NextStepParams = { actor: string; actorType: ValueOf; @@ -385,17 +289,12 @@ export type { InvalidValueParams, RemovedFromApprovalWorkflowParams, DelegateRoleParams, - VacationDelegateParams, SyncStageNameConnectionsParams, IntacctMappingTitleParams, ExportIntegrationSelectedParams, YourPlanPriceParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - UpdatedPolicyCategoriesParams, - AmountWithCurrencyParams, LowerUpperParams, LogSizeAndDateParams, - BeginningOfChatHistoryAnnounceRoomPartTwo, DeleteActionParams, DeleteConfirmationParams, EditActionParams, @@ -410,33 +309,18 @@ export type { CreatedReportForUnapprovedTransactionsParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, - SizeExceededParams, StepCounterParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, - UsePlusButtonParams, UserIsAlreadyMemberParams, - UserSplitParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverAutoApprovalLimitParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsReceiptRequiredParams, - ViolationsCustomRulesParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsProhibitedExpenseParams, ViolationsTaxOutOfPolicyParams, - WaitingOnBankAccountParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WelcomeToRoomParams, ChangeFieldParams, ExportedToIntegrationParams, IntegrationsMessageParams, @@ -454,14 +338,9 @@ export type { WorkspaceYouMayJoin, WorkspaceMemberList, WorkspaceLockedPlanTypeParams, - CustomUnitRateParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyPreventSelfApprovalParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, - WorkEmailResendCodeParams, - WorkEmailMergingBlockedParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, UpdatedPolicyTagNameParams, @@ -469,35 +348,23 @@ export type { UpdatedPolicyReportFieldDefaultValueParams, RemovedPolicyCustomUnitSubRateParams, UpdatedPolicyCustomUnitSubRateParams, - YourPlanPriceValueParams, AddedOrDeletedPolicyReportFieldParams, UpdatedPolicyManualApprovalThresholdParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyCustomTaxNameParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyForeignCurrencyDefaultTaxParams, UpdatedPolicyReimburserParams, - UpdatePolicyCustomUnitTaxEnabledParams, - ImportPolicyCustomUnitRatesParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, UpdatedPolicyApprovalRuleParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, - WorkspaceMembersCountParams, - WorkspacesListRouteParams, - WorkspaceRouteParams, AddBudgetParams, UpdatedBudgetParams, DeleteBudgetParams, AddOrDeletePolicyCustomUnitRateParams, - WorkspaceUpgradeNoteParams, - WorkflowSettingsParam, - WorkspaceShareNoteParams, UpgradeSuccessMessageParams, - WalletAgreementParams, NextStepParams, UpdatedPolicyOwnershipParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, UpdatedPolicyReimbursementChoiceParams, UpdatedPolicyDefaultTitleParams, diff --git a/src/languages/pl.ts b/src/languages/pl.ts index 88e1726c710b..c2c72e72b646 100644 --- a/src/languages/pl.ts +++ b/src/languages/pl.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -581,7 +553,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Wybierz plik', attachmentTooLarge: 'Załącznik jest zbyt duży', sizeExceeded: 'Rozmiar załącznika przekracza limit 24 MB', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `Rozmiar załącznika przekracza limit ${maxUploadSizeInMB} MB`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `Rozmiar załącznika przekracza limit ${maxUploadSizeInMB} MB`, attachmentTooSmall: 'Załącznik jest za mały', sizeNotMet: 'Rozmiar załącznika musi być większy niż 240 bajtów', wrongFileType: 'Nieprawidłowy typ pliku', @@ -592,9 +564,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Ten obraz jest zbyt duży, aby wyświetlić podgląd przed przesłaniem.', imageDimensionsTooLarge: 'Wymiary obrazu są zbyt duże do przetworzenia. Użyj mniejszego obrazu.', tooManyFiles: (fileLimit: number) => `Możesz jednorazowo przesłać maksymalnie ${fileLimit} plików.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Plik przekracza ${maxUploadSizeInMB} MB. Spróbuj ponownie.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `Plik przekracza ${maxUploadSizeInMB} MB. Spróbuj ponownie.`, someFilesCantBeUploaded: 'Niektórych plików nie można przesłać', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Pliki muszą mieć mniej niż ${maxUploadSizeInMB} MB. Większe pliki nie zostaną przesłane.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `Pliki muszą mieć mniej niż ${maxUploadSizeInMB} MB. Większe pliki nie zostaną przesłane.`, maxFileLimitExceeded: 'Możesz jednocześnie przesłać maksymalnie 30 paragonów. Dodatkowe paragony nie zostaną przesłane.', unsupportedFileType: (fileType: string) => `Pliki typu ${fileType} nie są obsługiwane. Zostaną przesłane tylko obsługiwane typy plików.`, learnMoreAboutSupportedFiles: 'Dowiedz się więcej o obsługiwanych formatach.', @@ -880,7 +852,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Ten czat został zarchiwizowany.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Ten czat nie jest już aktywny, ponieważ ${displayName} zamknął(-ęła) swoje konto.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Ten czat nie jest już aktywny, ponieważ ${oldDisplayName} połączył(-a) swoje konto z ${displayName}.`, @@ -1463,7 +1435,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'Nie możesz przenosić diet do raportów w innych przestrzeniach roboczych, ponieważ stawki diet mogą się różnić między przestrzeniami roboczymi.', changeApprover: { title: 'Zmień osobę zatwierdzającą', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Wybierz opcję, aby zmienić osobę zatwierdzającą ten raport. (Zaktualizuj swoje ustawienia przestrzeni roboczej, aby zmienić to na stałe dla wszystkich raportów).`, changedApproverMessage: (managerID: number) => `zmienił(a) akceptującego na `, actions: { @@ -1554,10 +1526,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Zobacz zdjęcie', imageUploadFailed: 'Nie udało się przesłać obrazu', deleteWorkspaceError: 'Przepraszamy, wystąpił nieoczekiwany problem podczas usuwania awatara Twojego przestrzeni roboczej', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Wybrany obraz przekracza maksymalny rozmiar przesyłania ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `Wybrany obraz przekracza maksymalny rozmiar przesyłania ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Prześlij obraz o rozmiarze większym niż ${minHeightInPx}x${minWidthInPx} pikseli i mniejszym niż ${maxHeightInPx}x${maxWidthInPx} pikseli.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `Zdjęcie profilowe musi być jednym z następujących typów: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `Zdjęcie profilowe musi być jednym z następujących typów: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Edytuj zdjęcie profilowe', @@ -2145,15 +2117,15 @@ const translations: TranslationDeepObject = { availableSpend: 'Pozostały limit', smartLimit: { name: 'Inteligentny limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Możesz wydać do ${formattedLimit} tą kartą, a limit będzie się odnawiał w miarę zatwierdzania zgłoszonych wydatków.`, + title: (formattedLimit) => `Możesz wydać do ${formattedLimit} tą kartą, a limit będzie się odnawiał w miarę zatwierdzania zgłoszonych wydatków.`, }, fixedLimit: { name: 'Stały limit', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Możesz wydać do ${formattedLimit} na tej karcie, a następnie zostanie ona dezaktywowana.`, + title: (formattedLimit) => `Możesz wydać do ${formattedLimit} na tej karcie, a następnie zostanie ona dezaktywowana.`, }, monthlyLimit: { name: 'Limit miesięczny', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Możesz wydawać do ${formattedLimit} miesięcznie na tej karcie. Limit zostanie zresetowany pierwszego dnia każdego miesiąca kalendarzowego.`, }, virtualCardNumber: 'Numer karty wirtualnej', @@ -2608,7 +2580,7 @@ ${amount} dla ${merchant} - ${date}`, }, workEmailValidation: { title: 'Zweryfikuj służbowy adres e-mail', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Wprowadź magiczny kod wysłany na adres ${workEmail}. Powinien dotrzeć w ciągu minuty lub dwóch.`, + magicCodeSent: (workEmail) => `Wprowadź magiczny kod wysłany na adres ${workEmail}. Powinien dotrzeć w ciągu minuty lub dwóch.`, }, workEmailValidationError: { publicEmail: 'Wpisz poprawny służbowy adres e‑mail z prywatnej domeny, np. mitch@company.com', @@ -2616,7 +2588,7 @@ ${amount} dla ${merchant} - ${date}`, }, mergeBlockScreen: { title: 'Nie udało się dodać służbowego adresu e-mail', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `Nie udało się dodać ${workEmail}. Spróbuj ponownie później w Ustawieniach lub porozmawiaj z Concierge, aby uzyskać pomoc.`, }, tasks: { @@ -3054,9 +3026,9 @@ ${ setVacationDelegate: `Ustaw zastępcę na czas urlopu, aby zatwierdzał raporty w Twoim imieniu, gdy jesteś poza biurem.`, cannotSetVacationDelegate: `Nie możesz ustawić delegata urlopowego, ponieważ obecnie jesteś delegatem dla następujących członków:`, vacationDelegateError: 'Wystąpił błąd podczas aktualizowania Twojego zastępcy urlopowego.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `jako osoba zastępująca ${nameOrEmail} podczas urlopu`, + asVacationDelegate: (nameOrEmail) => `jako osoba zastępująca ${nameOrEmail} podczas urlopu`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `do ${submittedToName} jako zastępca urlopowy dla ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Przydzielasz ${nameOrEmail} jako osobę zastępującą Cię podczas urlopu. Nie jest ona jeszcze we wszystkich Twoich przestrzeniach roboczych. Jeśli zdecydujesz się kontynuować, do wszystkich administratorów Twoich przestrzeni roboczych zostanie wysłany e-mail z prośbą o dodanie jej.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3096,7 +3068,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Aby połączyć konto bankowe, dodaj adres e‑mail jako swój główny login i spróbuj ponownie. Numer telefonu możesz dodać jako login dodatkowy.`, hasBeenThrottledError: 'Wystąpił błąd podczas dodawania Twojego konta bankowego. Poczekaj kilka minut i spróbuj ponownie.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Ups! Wygląda na to, że waluta Twojego przestrzeni roboczej jest inna niż USD. Aby kontynuować, przejdź do ustawień swojej przestrzeni roboczej, ustaw ją na USD i spróbuj ponownie.`, bbaAdded: 'Dodano firmowe konto bankowe!', bbaAddedDescription: 'Jest gotowe do używania do płatności.', @@ -3222,7 +3194,7 @@ ${ haveReadAndAgreePlain: 'Przeczytałem(-am) i zgadzam się na otrzymywanie ujawnień w formie elektronicznej.', haveReadAndAgree: `Przeczytałem(-am) i wyrażam zgodę na otrzymywanie elektronicznych powiadomień.`, agreeToThePlain: 'Zgadzam się na Politykę prywatności i warunki portfela.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `Zgadzam się z polityką prywatności oraz warunkami korzystania z portfela.`, enablePayments: 'Włącz płatności', monthlyFee: 'Miesięczna opłata', @@ -3234,7 +3206,7 @@ ${ checkTheBoxes: 'Zaznacz pola poniżej.', agreeToTerms: 'Zaakceptuj warunki i wszystko będzie gotowe!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Portfel Expensify jest wydawany przez ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `Portfel Expensify jest wydawany przez ${walletProgram}.`, perPurchase: 'Za zakup', atmWithdrawal: 'Wypłata z bankomatu', cashReload: 'Doładowanie gotówką', @@ -3884,7 +3856,7 @@ ${ appliedOnExport: 'Nie zaimportowano do Expensify, zastosowane przy eksporcie', shareNote: { header: 'Udostępnij swoją przestrzeń roboczą innym członkom', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Udostępnij ten kod QR lub skopiuj poniższy link, aby członkowie mogli łatwo poprosić o dostęp do Twojego obszaru roboczego. Wszystkie prośby o dołączenie do obszaru roboczego pojawią się w pokoju ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} do Twojej weryfikacji.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Połącz z ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5554,7 +5526,7 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy }, addedWithPrimary: 'Niektóre osoby zostały dodane za pomocą swoich głównych loginów.', invitedBySecondaryLogin: (secondaryLogin: string) => `Dodane przez dodatkowy login ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Łączna liczba członków przestrzeni roboczej: ${count}`, + workspaceMembersCount: (count) => `Łączna liczba członków przestrzeni roboczej: ${count}`, importMembers: 'Zaimportuj członków', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Jeśli usuniesz ${approver} z tego obszaru roboczego, zastąpimy tę osobę w procesie zatwierdzania przez ${workspaceOwner}, właściciela obszaru roboczego.`, @@ -6181,7 +6153,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i perActiveMember: 'na aktywnego członka miesięcznie.', perMember: 'za użytkownika miesięcznie.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Uaktualnij, aby uzyskać dostęp do tej funkcji, lub dowiedz się więcej o naszych planach i cenach.`, upgradeToUnlock: 'Odblokuj tę funkcję', completed: { @@ -6249,7 +6221,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i restrictedAction: { restricted: 'Ograniczone', actionsAreCurrentlyRestricted: (workspaceName: string) => `Działania w przestrzeni roboczej ${workspaceName} są obecnie ograniczone`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `Właściciel przestrzeni roboczej, ${workspaceOwnerName}, musi dodać lub zaktualizować zapisaną kartę płatniczą, aby odblokować nową aktywność w przestrzeni roboczej.`, youWillNeedToAddOrUpdatePaymentCard: 'Aby odblokować nowe działania w przestrzeni roboczej, musisz dodać lub zaktualizować zapisaną kartę płatniczą.', addPaymentCardToUnlock: 'Dodaj kartę płatniczą, aby odblokować!', @@ -6597,7 +6569,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `zmienił(a) ${updatedField} jednostki ${customUnitName} na „${newValue}” (wcześniej „${oldValue}”)`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? 'włączone' : 'wyłączone'} śledzenie podatku dla stawek za dystans`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? 'włączone' : 'wyłączone'} śledzenie podatku dla stawek za dystans`, addCustomUnitRate: (customUnitName: string, rateName: string) => `dodano nową stawkę ${customUnitName} „${rateName}”`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `zmienił(a) stawkę ${customUnitName} ${updatedField} „${customUnitRateName}” na „${newValue}” (wcześniej „${oldValue}”)`, @@ -6770,7 +6742,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i previousReimburser ? `zmienił(a) upoważnioną osobę zwracającą wydatki na „${newReimburser}” (wcześniej „${previousReimburser}”)` : `zmienił(a) upoważnionego płatnika na „${newReimburser}”`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'włączone' : 'wyłączone'} zwrotów kosztów`, + updateReimbursementEnabled: (enabled) => `${enabled ? 'włączone' : 'wyłączone'} zwrotów kosztów`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `zmieniono niestandardową nazwę podatku na „${newName}" (poprzednio „${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `zmienił domyślną stawkę podatku waluty w przestrzeni roboczej na „${newName}" (wcześniej „${oldName}")`, @@ -6809,14 +6781,14 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i setMaxExpenseAge: (newValue: string) => `ustaw maksymalny wiek wydatku na „${newValue}” dni`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `zmieniono maksymalny wiek wydatku na „${newValue}” dni (wcześniej „${oldValue}”)`, removedMaxExpenseAge: (oldValue: string) => `usunięto maksymalny wiek wydatku (wcześniej „${oldValue}” dni)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `zaktualizowano ${count} kategorie`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `zaktualizowano tagi na liście „${tagListName}”`, + updateCategories: (count) => `zaktualizowano ${count} kategorie`, + updateTagList: (tagListName) => `zaktualizowano tagi na liście „${tagListName}”`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `zmieniono listę tagów „${tagListsName}” na ${isRequired ? 'wymagane' : 'niewymagane'}`, importTags: 'zaimportowano tagi z arkusza kalkulacyjnego', deletedAllTags: 'usunął(-ę) wszystkie tagi', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `zmienił(a) domyślną kategorię jednostki ${customUnitName} na „${newValue}” ${oldValue ? `(uprzednio „${oldValue}”)` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `zaimportowano stawki dla niestandardowej jednostki „${customUnitName}”`, + importCustomUnitRates: (customUnitName) => `zaimportowano stawki dla niestandardowej jednostki „${customUnitName}”`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `zmieniono stawkę „${customUnitName}” stawka „${customUnitRateName}” stawka podrzędna „${customUnitSubRateName}” ${updatedField} na „${newValue}” (wcześniej „${oldValue}”)`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6890,7 +6862,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i } return `usunięto budżet z ${entityType} „${entityName}”`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? 'włączone' : 'wyłączone'} śledzenie czasu`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6904,7 +6876,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}: UpdatedPolicyDefaultTitleParams) => `zmieniono formułę nazwy niestandardowego raportu na „${newDefaultTitle}” (wcześniej „${oldDefaultTitle}”)`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `przejął(a) własność ${policyName} od ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `Zaplanowane przesłanie ${enabled ? 'włączone' : 'wyłączone'}`, + updatedAutoHarvesting: (enabled) => `Zaplanowane przesłanie ${enabled ? 'włączone' : 'wyłączone'}`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7639,15 +7611,15 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i allTagLevelsRequired: 'Wszystkie tagi są wymagane', autoReportedRejectedExpense: 'Ten wydatek został odrzucony.', billableExpense: 'Rozliczalne już nieważne', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Wymagany paragon${formattedLimit ? `powyżej ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Wymagany paragon${formattedLimit ? `powyżej ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Kategoria nie jest już prawidłowa', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Zastosowano prowizję za przewalutowanie w wysokości ${surcharge}%`, + conversionSurcharge: (surcharge) => `Zastosowano prowizję za przewalutowanie w wysokości ${surcharge}%`, customUnitOutOfPolicy: 'Stawka nie jest ważna dla tego workspace’u', duplicatedTransaction: 'Potencjalny duplikat', fieldRequired: 'Pola raportu są wymagane', futureDate: 'Przyszła data jest niedozwolona', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Podwyższono o ${invoiceMarkup}%`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Data starsza niż ${maxAge} dni`, + invoiceMarkup: (invoiceMarkup) => `Podwyższono o ${invoiceMarkup}%`, + maxAge: (maxAge) => `Data starsza niż ${maxAge} dni`, missingCategory: 'Brak kategorii', missingComment: 'Wymagany opis dla wybranej kategorii', missingAttendees: 'Wymaganych jest wielu uczestników dla tej kategorii', @@ -7667,12 +7639,12 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i }, modifiedDate: 'Data różni się od zeskanowanego paragonu', nonExpensiworksExpense: 'Wydatek spoza Expensiworks', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Wydatek przekracza automatyczny limit zatwierdzania w wysokości ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Kwota przekracza limit kategorii w wysokości ${formattedLimit}/osobę`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Kwota powyżej limitu ${formattedLimit}/osobę`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Kwota powyżej limitu ${formattedLimit}/podróż`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Kwota powyżej limitu ${formattedLimit}/osobę`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Kwota przekraczająca dzienny limit kategorii ${formattedLimit}/osobę`, + overAutoApprovalLimit: (formattedLimit) => `Wydatek przekracza automatyczny limit zatwierdzania w wysokości ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Kwota przekracza limit kategorii w wysokości ${formattedLimit}/osobę`, + overLimit: (formattedLimit) => `Kwota powyżej limitu ${formattedLimit}/osobę`, + overTripLimit: (formattedLimit) => `Kwota powyżej limitu ${formattedLimit}/podróż`, + overLimitAttendee: (formattedLimit) => `Kwota powyżej limitu ${formattedLimit}/osobę`, + perDayLimit: (formattedLimit) => `Kwota przekraczająca dzienny limit kategorii ${formattedLimit}/osobę`, receiptNotSmartScanned: 'Ręcznie dodano paragon i szczegóły wydatku.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7686,7 +7658,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i } return 'Wymagany paragon'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Wymagany paragon z wyszczególnieniem pozycji${formattedLimit ? `powyżej ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Wymagany paragon z wyszczególnieniem pozycji${formattedLimit ? `powyżej ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Zabroniony wydatek:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7716,7 +7688,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Wymagana weryfikacja', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7937,9 +7909,9 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i title: 'Twój plan', exploreAllPlans: 'Poznaj wszystkie plany', customPricing: 'Niestandardowe ceny', - asLowAs: ({price}: YourPlanPriceValueParams) => `już od ${price} za aktywnego członka/miesiąc`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} za członka/miesiąc`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} za członka miesięcznie`, + asLowAs: (price) => `już od ${price} za aktywnego członka/miesiąc`, + pricePerMemberMonth: (price) => `${price} za członka/miesiąc`, + pricePerMemberPerMonth: (price) => `${price} za członka miesięcznie`, perMemberMonth: 'za użytkownika/miesiąc', collect: { title: 'Zbierz', @@ -8056,7 +8028,7 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i title: 'Subskrypcja anulowana', subtitle: 'Twoja subskrypcja roczna została anulowana.', info: 'Jeśli chcesz nadal korzystać ze swojego(-ich) workspace’u(-ów) w modelu płatności za użycie, wszystko jest gotowe.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Jeśli chcesz zapobiec przyszłej aktywności i obciążeniom, musisz usunąć swoje przestrzenie robocze. Pamiętaj, że po usunięciu przestrzeni roboczych zostaniesz obciążony za wszelką nierozliczoną aktywność z bieżącego miesiąca kalendarzowego.`, }, requestSubmitted: { diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts index e3091a2410d8..72b9d9e0e536 100644 --- a/src/languages/pt-BR.ts +++ b/src/languages/pt-BR.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -580,7 +552,7 @@ const translations: TranslationDeepObject = { chooseDocument: 'Escolher arquivo', attachmentTooLarge: 'O anexo é grande demais', sizeExceeded: 'O tamanho do anexo é maior que o limite de 24 MB', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `O tamanho do anexo é maior que o limite de ${maxUploadSizeInMB} MB`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `O tamanho do anexo é maior que o limite de ${maxUploadSizeInMB} MB`, attachmentTooSmall: 'O anexo é muito pequeno', sizeNotMet: 'O tamanho do anexo deve ser maior que 240 bytes', wrongFileType: 'Tipo de arquivo inválido', @@ -591,9 +563,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: 'Esta imagem é grande demais para ser visualizada antes do envio.', imageDimensionsTooLarge: 'As dimensões da imagem são muito grandes para processar. Por favor, use uma imagem menor.', tooManyFiles: (fileLimit: number) => `Você só pode enviar até ${fileLimit} arquivos por vez.`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `Os arquivos excedem ${maxUploadSizeInMB} MB. Tente novamente.`, + sizeExceededWithValue: (maxUploadSizeInMB) => `Os arquivos excedem ${maxUploadSizeInMB} MB. Tente novamente.`, someFilesCantBeUploaded: 'Alguns arquivos não podem ser enviados', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `Os arquivos devem ter menos de ${maxUploadSizeInMB} MB. Qualquer arquivo maior não será enviado.`, + sizeLimitExceeded: (maxUploadSizeInMB) => `Os arquivos devem ter menos de ${maxUploadSizeInMB} MB. Qualquer arquivo maior não será enviado.`, maxFileLimitExceeded: 'Você pode enviar até 30 recibos por vez. Quaisquer extras não serão enviados.', unsupportedFileType: (fileType: string) => `Arquivos ${fileType} não são compatíveis. Somente tipos de arquivo compatíveis serão enviados.`, learnMoreAboutSupportedFiles: 'Saiba mais sobre os formatos compatíveis.', @@ -879,7 +851,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'Esta sala de chat foi arquivada.', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `Este chat não está mais ativo porque ${displayName} encerrou a conta.`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `Este chat não está mais ativo porque ${displayName} encerrou a conta.`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `Este chat não está mais ativo porque ${oldDisplayName} uniu a conta a ${displayName}.`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1461,7 +1433,7 @@ const translations: TranslationDeepObject = { moveExpensesError: 'Você não pode mover despesas de diária para relatórios em outros workspaces, porque as tarifas de diária podem ser diferentes entre os workspaces.', changeApprover: { title: 'Alterar aprovador', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `Escolha uma opção para alterar o aprovador deste relatório. (Atualize as configurações do espaço de trabalho para alterar isso permanentemente para todos os relatórios.)`, changedApproverMessage: (managerID: number) => `alterou o aprovador para `, actions: { @@ -1551,10 +1523,10 @@ const translations: TranslationDeepObject = { viewPhoto: 'Ver foto', imageUploadFailed: 'Falha no envio da imagem', deleteWorkspaceError: 'Desculpe, ocorreu um problema inesperado ao excluir o avatar do seu workspace', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `A imagem selecionada excede o tamanho máximo de upload de ${maxUploadSizeInMB} MB.`, + sizeExceeded: (maxUploadSizeInMB) => `A imagem selecionada excede o tamanho máximo de upload de ${maxUploadSizeInMB} MB.`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `Envie uma imagem maior que ${minHeightInPx}x${minWidthInPx} pixels e menor que ${maxHeightInPx}x${maxWidthInPx} pixels.`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `A foto do perfil deve ser um dos seguintes tipos: ${allowedExtensions.join(', ')}.`, + notAllowedExtension: (allowedExtensions) => `A foto do perfil deve ser um dos seguintes tipos: ${allowedExtensions.join(', ')}.`, }, avatarPage: { title: 'Editar foto do perfil', @@ -2143,16 +2115,16 @@ const translations: TranslationDeepObject = { availableSpend: 'Limite restante', smartLimit: { name: 'Limite inteligente', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Você pode gastar até ${formattedLimit} neste cartão, e o limite será redefinido conforme suas despesas enviadas forem aprovadas.`, }, fixedLimit: { name: 'Limite fixo', - title: ({formattedLimit}: ViolationsOverLimitParams) => `Você pode gastar até ${formattedLimit} neste cartão e, depois disso, ele será desativado.`, + title: (formattedLimit) => `Você pode gastar até ${formattedLimit} neste cartão e, depois disso, ele será desativado.`, }, monthlyLimit: { name: 'Limite mensal', - title: ({formattedLimit}: ViolationsOverLimitParams) => + title: (formattedLimit) => `Você pode gastar até ${formattedLimit} neste cartão por mês. O limite será reiniciado no 1º dia de cada mês do calendário.`, }, virtualCardNumber: 'Número do cartão virtual', @@ -2609,7 +2581,7 @@ ${amount} para ${merchant} - ${date}`, }, workEmailValidation: { title: 'Verifique seu e-mail de trabalho', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `Insira o código mágico enviado para ${workEmail}. Ele deve chegar em um ou dois minutos.`, + magicCodeSent: (workEmail) => `Insira o código mágico enviado para ${workEmail}. Ele deve chegar em um ou dois minutos.`, }, workEmailValidationError: { publicEmail: 'Insira um e-mail de trabalho válido de um domínio privado, por exemplo: mitch@company.com', @@ -2617,7 +2589,7 @@ ${amount} para ${merchant} - ${date}`, }, mergeBlockScreen: { title: 'Não foi possível adicionar o e-mail de trabalho', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => + subtitle: (workEmail) => `Não foi possível adicionar ${workEmail}. Tente novamente mais tarde em Configurações ou converse com o Concierge para obter orientação.`, }, tasks: { @@ -3054,9 +3026,9 @@ ${ setVacationDelegate: `Defina um delegado de férias para aprovar relatórios em seu nome enquanto você estiver fora do escritório.`, cannotSetVacationDelegate: `Você não pode definir um delegado de férias porque atualmente é o delegado dos seguintes membros:`, vacationDelegateError: 'Ocorreu um erro ao atualizar seu delegado de férias.', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `como delegado de férias de ${nameOrEmail}`, + asVacationDelegate: (nameOrEmail) => `como delegado de férias de ${nameOrEmail}`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `para ${submittedToName} como delegado(a) de férias de ${vacationDelegateName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `Você está atribuindo ${nameOrEmail} como seu delegado de férias. Elu ainda não está em todos os seus espaços de trabalho. Se você decidir continuar, será enviado um e-mail a todos os admins dos seus espaços de trabalho para que elu seja adicionado.`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3096,7 +3068,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `Para conectar uma conta bancária, adicione um e-mail como seu login principal e tente novamente. Você pode adicionar seu número de telefone como login secundário.`, hasBeenThrottledError: 'Ocorreu um erro ao adicionar sua conta bancária. Aguarde alguns minutos e tente novamente.', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `Ops! Parece que a moeda do seu workspace está definida como diferente de USD. Para continuar, acesse as configurações do seu workspace, defina-a como USD e tente novamente.`, bbaAdded: 'Conta bancária empresarial adicionada!', bbaAddedDescription: 'Está pronto para ser usado para pagamentos.', @@ -3222,7 +3194,7 @@ ${ haveReadAndAgreePlain: 'Li e concordo em receber divulgações eletrônicas.', haveReadAndAgree: `Li e concordo em receber comunicados eletrônicos.`, agreeToThePlain: 'Eu concordo com o contrato de Privacidade e Carteira.', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => + agreeToThe: (walletAgreementUrl) => `Concordo com a Política de Privacidade e com o Contrato da carteira.`, enablePayments: 'Ativar pagamentos', monthlyFee: 'Taxa mensal', @@ -3234,7 +3206,7 @@ ${ checkTheBoxes: 'Marque as caixas abaixo.', agreeToTerms: 'Concorde com os termos e você estará pronto para começar!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `A Carteira Expensify é emitida por ${walletProgram}.`, + expensifyPaymentsAccount: (walletProgram) => `A Carteira Expensify é emitida por ${walletProgram}.`, perPurchase: 'Por compra', atmWithdrawal: 'Saque em caixa eletrônico', cashReload: 'Recarga em dinheiro', @@ -3884,7 +3856,7 @@ ${ appliedOnExport: 'Não importado para o Expensify, aplicado na exportação', shareNote: { header: 'Compartilhe seu workspace com outras pessoas', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `Compartilhe este código QR ou copie o link abaixo para facilitar que membros solicitem acesso ao seu espaço de trabalho. Todas as solicitações para entrar no espaço de trabalho aparecerão na sala ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} para sua análise.`, }, connectTo: ({connectionName}: ConnectionNameParams) => `Conectar a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5559,7 +5531,7 @@ _Para instruções mais detalhadas, [visite nossa central de ajuda](${CONST.NETS }, addedWithPrimary: 'Alguns membros foram adicionados com seus logins principais.', invitedBySecondaryLogin: (secondaryLogin: string) => `Adicionado pelo login secundário ${secondaryLogin}.`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `Total de membros no workspace: ${count}`, + workspaceMembersCount: (count) => `Total de membros no workspace: ${count}`, importMembers: 'Importar membros', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `Se você remover ${approver} deste workspace, nós o substituiremos no fluxo de aprovação por ${workspaceOwner}, o proprietário do workspace.`, @@ -6187,7 +6159,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e perActiveMember: 'por membro ativo por mês.', perMember: 'por membro por mês.', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => + note: (subscriptionLink) => `Faça upgrade para acessar este recurso ou saiba mais sobre nossos planos e preços.`, upgradeToUnlock: 'Desbloquear este recurso', completed: { @@ -6254,7 +6226,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e restrictedAction: { restricted: 'Restrito', actionsAreCurrentlyRestricted: (workspaceName: string) => `As ações no workspace ${workspaceName} estão atualmente restritas`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `O proprietário do espaço de trabalho, ${workspaceOwnerName}, precisa adicionar ou atualizar o cartão de pagamento em arquivo para desbloquear novas atividades no espaço de trabalho.`, youWillNeedToAddOrUpdatePaymentCard: 'Você precisa adicionar ou atualizar o cartão de pagamento em arquivo para desbloquear novas atividades no espaço de trabalho.', addPaymentCardToUnlock: 'Adicione um cartão de pagamento para desbloquear!', @@ -6600,7 +6572,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `alterou o campo ${updatedField} da unidade personalizada ${customUnitName} para "${newValue}" (antes "${oldValue}")`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `rastreamento de impostos em taxas de distância ${newValue ? 'ativado' : 'desativado'}`, + updateCustomUnitTaxEnabled: (newValue) => `rastreamento de impostos em taxas de distância ${newValue ? 'ativado' : 'desativado'}`, addCustomUnitRate: (customUnitName: string, rateName: string) => `adicionou uma nova taxa de ${customUnitName} "${rateName}"`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `alterou a taxa de ${customUnitName} ${updatedField} "${customUnitRateName}" para "${newValue}" (antes "${oldValue}")`, @@ -6772,7 +6744,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e oldValue ? `alterou o site da empresa da fatura para "${newValue}" (antes "${oldValue}")` : `definir o site da empresa da fatura como "${newValue}"`, changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) => previousReimburser ? `alterou o pagador autorizado para "${newReimburser}" (anteriormente "${previousReimburser}")` : `alterou o pagador autorizado para "${newReimburser}"`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `reembolsos ${enabled ? 'ativado' : 'desativado'}`, + updateReimbursementEnabled: (enabled) => `reembolsos ${enabled ? 'ativado' : 'desativado'}`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `alterou o nome do imposto personalizado para "${newName}" (antes "${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `alterou a taxa de imposto padrão da moeda do workspace para "${newName}" (anteriormente "${oldName}")`, @@ -6811,15 +6783,15 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e setMaxExpenseAge: (newValue: string) => `definir idade máxima da despesa como "${newValue}" dias`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `alterou a idade máxima da despesa para "${newValue}" dias (antes "${oldValue}")`, removedMaxExpenseAge: (oldValue: string) => `removeu a idade máxima de despesa (anteriormente "${oldValue}" dias)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `atualizou ${count} categorias`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `atualizou as tags na lista "${tagListName}"`, + updateCategories: (count) => `atualizou ${count} categorias`, + updateTagList: (tagListName) => `atualizou as tags na lista "${tagListName}"`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `alterou a lista de tags "${tagListsName}" para ${isRequired ? 'obrigatório' : 'não obrigatório'}`, importTags: 'importou tags de uma planilha', deletedAllTags: 'excluiu todas as tags', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `alterou a categoria padrão de ${customUnitName} para "${newValue}" ${oldValue ? `(antes "${oldValue}")` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `taxas importadas para a unidade personalizada "${customUnitName}"`, + importCustomUnitRates: (customUnitName) => `taxas importadas para a unidade personalizada "${customUnitName}"`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `alterou a tarifa "${customUnitName}" taxa "${customUnitRateName}" sub‑taxa "${customUnitSubRateName}" ${updatedField} para "${newValue}" (antes "${oldValue}")`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6893,7 +6865,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e } return `removeu o orçamento do(a) ${entityType} "${entityName}"`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? 'ativado' : 'desativado'} controle de tempo`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6907,7 +6879,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}: UpdatedPolicyDefaultTitleParams) => `alterou a fórmula do nome do relatório personalizado para "${newDefaultTitle}" (antes "${oldDefaultTitle}")`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `assumiu a propriedade de ${policyName} de ${oldOwnerName} (${oldOwnerEmail})`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `Envio agendado ${enabled ? 'ativado' : 'desativado'}`, + updatedAutoHarvesting: (enabled) => `Envio agendado ${enabled ? 'ativado' : 'desativado'}`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7644,15 +7616,15 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e allTagLevelsRequired: 'Todas as tags são obrigatórias', autoReportedRejectedExpense: 'Esta despesa foi rejeitada.', billableExpense: 'Faturável não é mais válido', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `Recibo obrigatório${formattedLimit ? `acima de ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `Recibo obrigatório${formattedLimit ? `acima de ${formattedLimit}` : ''}`, categoryOutOfPolicy: 'Categoria não é mais válida', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Aplicado sobretaxa de conversão de ${surcharge}%`, + conversionSurcharge: (surcharge) => `Aplicado sobretaxa de conversão de ${surcharge}%`, customUnitOutOfPolicy: 'Tarifa inválida para este espaço de trabalho', duplicatedTransaction: 'Possível duplicata', fieldRequired: 'Os campos do relatório são obrigatórios', futureDate: 'Data futura não permitida', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Reajustado em ${invoiceMarkup}%`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `Data anterior a ${maxAge} dias`, + invoiceMarkup: (invoiceMarkup) => `Reajustado em ${invoiceMarkup}%`, + maxAge: (maxAge) => `Data anterior a ${maxAge} dias`, missingCategory: 'Categoria ausente', missingComment: 'Descrição obrigatória para a categoria selecionada', missingAttendees: 'Vários participantes são obrigatórios para esta categoria', @@ -7672,12 +7644,12 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e }, modifiedDate: 'Data diferente do recibo digitalizado', nonExpensiworksExpense: 'Despesa fora do Expensiworks', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Despesa excede o limite de aprovação automática de ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `Valor acima do limite de categoria de ${formattedLimit}/pessoa`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Valor acima do limite de ${formattedLimit}/pessoa`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `Valor acima do limite de ${formattedLimit}/viagem`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `Valor acima do limite de ${formattedLimit}/pessoa`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `Valor acima do limite diário de categoria de ${formattedLimit}/pessoa`, + overAutoApprovalLimit: (formattedLimit) => `Despesa excede o limite de aprovação automática de ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `Valor acima do limite de categoria de ${formattedLimit}/pessoa`, + overLimit: (formattedLimit) => `Valor acima do limite de ${formattedLimit}/pessoa`, + overTripLimit: (formattedLimit) => `Valor acima do limite de ${formattedLimit}/viagem`, + overLimitAttendee: (formattedLimit) => `Valor acima do limite de ${formattedLimit}/pessoa`, + perDayLimit: (formattedLimit) => `Valor acima do limite diário de categoria de ${formattedLimit}/pessoa`, receiptNotSmartScanned: 'Recibo e detalhes da despesa adicionados manualmente.', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7691,7 +7663,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e } return 'Recibo obrigatório'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `Recibo detalhado obrigatório${formattedLimit ? `acima de ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `Recibo detalhado obrigatório${formattedLimit ? `acima de ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = 'Despesa proibida:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7721,7 +7693,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: 'Revisão necessária', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7942,9 +7914,9 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e title: 'Seu plano', exploreAllPlans: 'Explorar todos os planos', customPricing: 'Preço personalizado', - asLowAs: ({price}: YourPlanPriceValueParams) => `a partir de ${price} por membro ativo/mês`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `${price} por membro/mês`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `${price} por membro por mês`, + asLowAs: (price) => `a partir de ${price} por membro ativo/mês`, + pricePerMemberMonth: (price) => `${price} por membro/mês`, + pricePerMemberPerMonth: (price) => `${price} por membro por mês`, perMemberMonth: 'por membro/mês', collect: { title: 'Cobrar', @@ -8061,7 +8033,7 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e title: 'Assinatura cancelada', subtitle: 'Sua assinatura anual foi cancelada.', info: 'Se você quiser continuar usando seu(s) espaço(s) de trabalho com pagamento por uso, está tudo pronto.', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `Se você quiser evitar atividades e cobranças futuras, você deve excluir seu(s) workspace(s). Observe que, ao excluir seu(s) workspace(s), será cobrado qualquer valor pendente referente à atividade ocorrida durante o mês calendário atual.`, }, requestSubmitted: { diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts index e14234d3e4fa..28ccb0f85834 100644 --- a/src/languages/zh-hans.ts +++ b/src/languages/zh-hans.ts @@ -34,7 +34,6 @@ import type { EditActionParams, ExportAgainModalDescriptionParams, ExportIntegrationSelectedParams, - ImportPolicyCustomUnitRatesParams, IntacctMappingTitleParams, InvalidPropertyParams, InvalidValueParams, @@ -49,20 +48,18 @@ import type { ParentNavigationSummaryParams, RemovedFromApprovalWorkflowParams, RemovedPolicyCustomUnitSubRateParams, - ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, + ReportArchiveReasonsClosedParams, ReportArchiveReasonsMergedParams, + ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams, ReportArchiveReasonsRemovedFromPolicyParams, ResolutionConstraintsParams, ShareParams, - SizeExceededParams, StepCounterParams, SyncStageNameConnectionsParams, UnshareParams, UpdatedBudgetParams, UpdatedPolicyApprovalRuleParams, - UpdatedPolicyAutoHarvestingParams, UpdatedPolicyBudgetNotificationParams, - UpdatedPolicyCategoriesParams, UpdatedPolicyCategoryMaxAmountNoReceiptParams, UpdatedPolicyCurrencyDefaultTaxParams, UpdatedPolicyCustomTaxNameParams, @@ -73,58 +70,33 @@ import type { UpdatedPolicyOwnershipParams, UpdatedPolicyPreventSelfApprovalParams, UpdatedPolicyReimbursementChoiceParams, - UpdatedPolicyReimbursementEnabledParams, UpdatedPolicyReimburserParams, UpdatedPolicyReportFieldDefaultValueParams, UpdatedPolicyTagFieldParams, - UpdatedPolicyTagListParams, UpdatedPolicyTagListRequiredParams, UpdatedPolicyTagNameParams, UpdatedPolicyTagParams, UpdatedPolicyTaxParams, - UpdatedPolicyTimeEnabledParams, UpdatedPolicyTimeRateParams, UpdatedTheDistanceMerchantParams, UpdatedTheRequestParams, UpdatePolicyCustomUnitDefaultCategoryParams, UpdatePolicyCustomUnitParams, - UpdatePolicyCustomUnitTaxEnabledParams, UpdateRoleParams, UpgradeSuccessMessageParams, UserIsAlreadyMemberParams, - VacationDelegateParams, - ViolationsCashExpenseWithNoReceiptParams, - ViolationsConversionSurchargeParams, - ViolationsCustomRulesParams, - ViolationsInvoiceMarkupParams, - ViolationsMaxAgeParams, ViolationsMissingTagParams, ViolationsModifiedAmountParams, - ViolationsOverCategoryLimitParams, - ViolationsOverLimitParams, - ViolationsPerDayLimitParams, ViolationsProhibitedExpenseParams, ViolationsReceiptRequiredParams, ViolationsRterParams, ViolationsTagOutOfPolicyParams, ViolationsTaxOutOfPolicyParams, - WalletAgreementParams, - WalletProgramParams, WeSentYouMagicSignInLinkParams, - WorkEmailMergingBlockedParams, - WorkEmailResendCodeParams, - WorkflowSettingsParam, WorkspaceLockedPlanTypeParams, WorkspaceMemberList, - WorkspaceMembersCountParams, - WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams, - WorkspaceRouteParams, - WorkspaceShareNoteParams, - WorkspacesListRouteParams, - WorkspaceUpgradeNoteParams, WorkspaceYouMayJoin, YourPlanPriceParams, - YourPlanPriceValueParams, } from './params'; import type {TranslationDeepObject} from './types'; @@ -576,7 +548,7 @@ const translations: TranslationDeepObject = { chooseDocument: '选择文件', attachmentTooLarge: '附件过大', sizeExceeded: '附件大小超过 24 MB 上限', - sizeExceededWithLimit: ({maxUploadSizeInMB}: SizeExceededParams) => `附件大小超过 ${maxUploadSizeInMB} MB 的限制`, + sizeExceededWithLimit: (maxUploadSizeInMB) => `附件大小超过 ${maxUploadSizeInMB} MB 的限制`, attachmentTooSmall: '附件太小', sizeNotMet: '附件大小必须大于 240 字节', wrongFileType: '文件类型无效', @@ -587,9 +559,9 @@ const translations: TranslationDeepObject = { attachmentImageTooLarge: '此图片过大,无法在上传前预览。', imageDimensionsTooLarge: '图片尺寸过大,无法处理。请使用较小的图片。', tooManyFiles: (fileLimit: number) => `您一次最多只能上传 ${fileLimit} 个文件。`, - sizeExceededWithValue: ({maxUploadSizeInMB}: SizeExceededParams) => `文件超过 ${maxUploadSizeInMB} MB。请重试。`, + sizeExceededWithValue: (maxUploadSizeInMB) => `文件超过 ${maxUploadSizeInMB} MB。请重试。`, someFilesCantBeUploaded: '某些文件无法上传', - sizeLimitExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `文件大小必须小于 ${maxUploadSizeInMB} MB。更大的文件将不会被上传。`, + sizeLimitExceeded: (maxUploadSizeInMB) => `文件大小必须小于 ${maxUploadSizeInMB} MB。更大的文件将不会被上传。`, maxFileLimitExceeded: '您一次最多可上传 30 张收据,超出的将不会被上传。', unsupportedFileType: (fileType: string) => `不支持 ${fileType} 文件。只有受支持的文件类型会被上传。`, learnMoreAboutSupportedFiles: '了解支持的格式详情。', @@ -868,7 +840,7 @@ const translations: TranslationDeepObject = { }, reportArchiveReasons: { [CONST.REPORT.ARCHIVE_REASON.DEFAULT]: '此聊天室已被归档。', - [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: (displayName: string) => `此聊天已不再活动,因为 ${displayName} 已关闭其账户。`, + [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `此聊天已不再活动,因为 ${displayName} 已关闭其账户。`, [CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) => `此聊天已不再活跃,因为${oldDisplayName}已将其账户与${displayName}合并。`, [CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) => @@ -1435,7 +1407,7 @@ const translations: TranslationDeepObject = { moveExpensesError: '您无法将每日津贴报销移动到其他工作区的报表中,因为不同工作区的每日津贴标准可能不同。', changeApprover: { title: '更改审批人', - header: ({workflowSettingLink}: WorkflowSettingsParam) => + header: (workflowSettingLink) => `选择一个选项来更改此报表的审批人。(更新你的工作区设置,以将其永久应用于所有报表。)`, changedApproverMessage: (managerID: number) => `已将审批人更改为 `, actions: { @@ -1525,10 +1497,10 @@ const translations: TranslationDeepObject = { viewPhoto: '查看照片', imageUploadFailed: '图片上传失败', deleteWorkspaceError: '抱歉,删除您的工作区头像时出现了意外问题', - sizeExceeded: ({maxUploadSizeInMB}: SizeExceededParams) => `所选图片超过了最大上传大小 ${maxUploadSizeInMB} MB。`, + sizeExceeded: (maxUploadSizeInMB) => `所选图片超过了最大上传大小 ${maxUploadSizeInMB} MB。`, resolutionConstraints: ({minHeightInPx, minWidthInPx, maxHeightInPx, maxWidthInPx}: ResolutionConstraintsParams) => `请上传尺寸大于 ${minHeightInPx}x${minWidthInPx} 像素且小于 ${maxHeightInPx}x${maxWidthInPx} 像素的图片。`, - notAllowedExtension: ({allowedExtensions}: NotAllowedExtensionParams) => `头像必须为以下类型之一:${allowedExtensions.join(', ')}。`, + notAllowedExtension: (allowedExtensions) => `头像必须为以下类型之一:${allowedExtensions.join(', ')}。`, }, avatarPage: { title: '编辑头像', @@ -2105,15 +2077,15 @@ const translations: TranslationDeepObject = { availableSpend: '剩余额度', smartLimit: { name: '智能限额', - title: ({formattedLimit}: ViolationsOverLimitParams) => `您可以在此卡上消费最高 ${formattedLimit},当您提交的报销获得批准后,该额度将重置。`, + title: (formattedLimit) => `您可以在此卡上消费最高 ${formattedLimit},当您提交的报销获得批准后,该额度将重置。`, }, fixedLimit: { name: '固定限额', - title: ({formattedLimit}: ViolationsOverLimitParams) => `您可以在此卡上消费最高 ${formattedLimit},之后此卡将被停用。`, + title: (formattedLimit) => `您可以在此卡上消费最高 ${formattedLimit},之后此卡将被停用。`, }, monthlyLimit: { name: '月度限额', - title: ({formattedLimit}: ViolationsOverLimitParams) => `您每月最多可在此卡上消费 ${formattedLimit}。额度将在每个日历月的第 1 天重置。`, + title: (formattedLimit) => `您每月最多可在此卡上消费 ${formattedLimit}。额度将在每个日历月的第 1 天重置。`, }, virtualCardNumber: '虚拟卡号', travelCardCvv: '差旅卡验证码(CVV)', @@ -2563,7 +2535,7 @@ ${amount},商户:${merchant} - 日期:${date}`, }, workEmailValidation: { title: '验证你的工作邮箱', - magicCodeSent: ({workEmail}: WorkEmailResendCodeParams) => `请输入发送到 ${workEmail} 的验证码。它应会在一两分钟内送达。`, + magicCodeSent: (workEmail) => `请输入发送到 ${workEmail} 的验证码。它应会在一两分钟内送达。`, }, workEmailValidationError: { publicEmail: '请输入来自私有域的有效工作邮箱,例如:mitch@company.com', @@ -2571,7 +2543,7 @@ ${amount},商户:${merchant} - 日期:${date}`, }, mergeBlockScreen: { title: '无法添加工作邮箱', - subtitle: ({workEmail}: WorkEmailMergingBlockedParams) => `我们无法添加 ${workEmail}。请稍后在设置中重试,或与 Concierge 聊天以获取指导。`, + subtitle: (workEmail) => `我们无法添加 ${workEmail}。请稍后在设置中重试,或与 Concierge 聊天以获取指导。`, }, tasks: { testDriveAdminTask: { @@ -3004,9 +2976,9 @@ ${ setVacationDelegate: `设置一个休假代理人在你不在办公室时代你审批报销报告。`, cannotSetVacationDelegate: `由于你目前是以下成员的代理人,因此无法设置休假代理人:`, vacationDelegateError: '更新你的休假代理时出错。', - asVacationDelegate: ({nameOrEmail}: VacationDelegateParams) => `作为 ${nameOrEmail} 的休假代理`, + asVacationDelegate: (nameOrEmail) => `作为 ${nameOrEmail} 的休假代理`, toAsVacationDelegate: (submittedToName: string, vacationDelegateName: string) => `作为 ${vacationDelegateName} 的休假代理人提交给 ${submittedToName}`, - vacationDelegateWarning: ({nameOrEmail}: VacationDelegateParams) => + vacationDelegateWarning: (nameOrEmail) => `您正在将 ${nameOrEmail} 设为您的休假代理人。TA 还未加入您所有的工作区。如果继续操作,将会向您所有工作区的管理员发送一封邮件,请他们将 TA 添加进来。`, }, stepCounter: ({step, total, text}: StepCounterParams) => { @@ -3046,7 +3018,7 @@ ${ hasPhoneLoginError: (contactMethodRoute: string) => `要连接银行账户,请先添加一个邮箱作为您的主要登录方式,然后重试。您可以将手机号添加为次要登录方式。`, hasBeenThrottledError: '添加您的银行账户时出错。请稍等几分钟后重试。', - hasCurrencyError: ({workspaceRoute}: WorkspaceRouteParams) => + hasCurrencyError: (workspaceRoute) => `哎呀!看起来您的工作区货币不是 USD。要继续操作,请前往工作区设置将其设置为 USD,然后再试一次。`, bbaAdded: '已添加企业银行账户!', bbaAddedDescription: '它已准备好用于付款。', @@ -3169,7 +3141,7 @@ ${ haveReadAndAgreePlain: '我已阅读并同意接收电子披露文件。', haveReadAndAgree: `我已阅读并同意接收电子披露文件。`, agreeToThePlain: '我同意《隐私和钱包协议》。', - agreeToThe: ({walletAgreementUrl}: WalletAgreementParams) => `我同意隐私政策和钱包协议。`, + agreeToThe: (walletAgreementUrl) => `我同意隐私政策和钱包协议。`, enablePayments: '启用付款', monthlyFee: '月费', inactivity: '不活跃', @@ -3180,7 +3152,7 @@ ${ checkTheBoxes: '请勾选下面的复选框。', agreeToTerms: '同意条款后,你就可以开始使用了!', shortTermsForm: { - expensifyPaymentsAccount: ({walletProgram}: WalletProgramParams) => `Expensify 钱包由 ${walletProgram} 发行。`, + expensifyPaymentsAccount: (walletProgram) => `Expensify 钱包由 ${walletProgram} 发行。`, perPurchase: '按次购买', atmWithdrawal: 'ATM 取款', cashReload: '现金充值', @@ -3819,7 +3791,7 @@ ${ appliedOnExport: '未导入 Expensify,在导出时应用', shareNote: { header: '与其他成员共享你的工作区', - content: ({adminsRoomLink}: WorkspaceShareNoteParams) => + content: (adminsRoomLink) => `将此二维码分享给他人或复制下方链接,方便成员请求访问你的工作区。所有加入工作区的请求都会显示在 ${CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} 聊天室中,供你审核。`, }, connectTo: ({connectionName}: ConnectionNameParams) => `连接到 ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`, @@ -5443,7 +5415,7 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM }, addedWithPrimary: '某些成员已通过其主登录名添加。', invitedBySecondaryLogin: (secondaryLogin: string) => `由次要登录账号 ${secondaryLogin} 添加。`, - workspaceMembersCount: ({count}: WorkspaceMembersCountParams) => `工作区成员总数:${count}`, + workspaceMembersCount: (count) => `工作区成员总数:${count}`, importMembers: '导入成员', removeMemberPromptApprover: (approver: string, workspaceOwner: string) => `如果你将 ${approver} 从此工作区中移除,我们会在审批流程中用工作区所有者 ${workspaceOwner} 替换 TA。`, @@ -6053,7 +6025,7 @@ ${reportName} perActiveMember: '每位活跃成员每月。', perMember: '每位成员每月。', }, - note: ({subscriptionLink}: WorkspaceUpgradeNoteParams) => `升级以使用此功能,或了解更多我们的方案和价格。`, + note: (subscriptionLink) => `升级以使用此功能,或了解更多我们的方案和价格。`, upgradeToUnlock: '解锁此功能', completed: { headline: `您已升级您的工作区!`, @@ -6117,7 +6089,7 @@ ${reportName} restrictedAction: { restricted: '受限', actionsAreCurrentlyRestricted: (workspaceName: string) => `当前对 ${workspaceName} 工作区的操作受到限制`, - workspaceOwnerWillNeedToAddOrUpdatePaymentCard: ({workspaceOwnerName}: WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams) => + workspaceOwnerWillNeedToAddOrUpdatePaymentCard: (workspaceOwnerName) => `工作区所有者 ${workspaceOwnerName} 需要新增或更新已保存的付款卡,才能解锁新的工作区活动。`, youWillNeedToAddOrUpdatePaymentCard: '您需要新增或更新档案中的付款卡片,才能解锁新的工作区活动。', addPaymentCardToUnlock: '添加付款卡以解锁!', @@ -6456,7 +6428,7 @@ ${reportName} }, updateCustomUnit: ({customUnitName, newValue, oldValue, updatedField}: UpdatePolicyCustomUnitParams) => `已将${customUnitName}的${updatedField}更改为“${newValue}”(之前为“${oldValue}”)`, - updateCustomUnitTaxEnabled: ({newValue}: UpdatePolicyCustomUnitTaxEnabledParams) => `${newValue ? '已启用' : '已禁用'} 距离费率的税务跟踪`, + updateCustomUnitTaxEnabled: (newValue) => `${newValue ? '已启用' : '已禁用'} 距离费率的税务跟踪`, addCustomUnitRate: (customUnitName: string, rateName: string) => `已添加新的 ${customUnitName} 费率“${rateName}”`, updatedCustomUnitRate: (customUnitName: string, customUnitRateName: string, updatedField: string, newValue: string, oldValue: string) => `将 ${customUnitName} 的 ${updatedField} 费率“${customUnitRateName}”更改为“${newValue}”(之前为“${oldValue}”)`, @@ -6619,7 +6591,7 @@ ${reportName} oldValue ? `将发票公司的网站更改为“${newValue}”(原为“${oldValue}”)` : `将发票公司网站设置为“${newValue}”`, changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) => previousReimburser ? `将授权付款人更改为“${newReimburser}”(之前为“${previousReimburser}”)` : `已将授权付款人更改为“${newReimburser}”`, - updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? '已启用' : '已禁用'} 笔报销`, + updateReimbursementEnabled: (enabled) => `${enabled ? '已启用' : '已禁用'} 笔报销`, updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `将自定义税种名称更改为"${newName}"(之前为"${oldName}")`, updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `将工作区货币的默认税率更改为"${newName}"(之前为"${oldName}")`, updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) => `将外币默认税率更改为"${newName}"(之前为"${oldName}")`, @@ -6656,14 +6628,14 @@ ${reportName} setMaxExpenseAge: (newValue: string) => `将最大报销天数设置为“${newValue}”天`, changedMaxExpenseAge: (oldValue: string, newValue: string) => `将最大报销单据天数更改为 “${newValue}” 天(之前为 “${oldValue}”)`, removedMaxExpenseAge: (oldValue: string) => `已移除费用最长期限(之前为“${oldValue}”天)`, - updateCategories: ({count}: UpdatedPolicyCategoriesParams) => `已更新 ${count} 个类别`, - updateTagList: ({tagListName}: UpdatedPolicyTagListParams) => `已更新列表“${tagListName}”上的标签`, + updateCategories: (count) => `已更新 ${count} 个类别`, + updateTagList: (tagListName) => `已更新列表“${tagListName}”上的标签`, updateTagListRequired: ({tagListsName, isRequired}: UpdatedPolicyTagListRequiredParams) => `将标签列表“${tagListsName}”更改为 ${isRequired ? '必填' : '非必填'}`, importTags: '已从电子表格导入标签', deletedAllTags: '已删除所有标签', updateCustomUnitDefaultCategory: ({customUnitName, newValue, oldValue}: UpdatePolicyCustomUnitDefaultCategoryParams) => `已将${customUnitName}的默认类别更改为“${newValue}” ${oldValue ? `(原为“${oldValue}”)` : ''}`, - importCustomUnitRates: ({customUnitName}: ImportPolicyCustomUnitRatesParams) => `已导入自定义单位“${customUnitName}”的费率`, + importCustomUnitRates: (customUnitName) => `已导入自定义单位“${customUnitName}”的费率`, updateCustomUnitSubRate: ({customUnitName, customUnitRateName, customUnitSubRateName, oldValue, newValue, updatedField}: UpdatedPolicyCustomUnitSubRateParams) => `已将“${customUnitName}”费率“${customUnitRateName}”子费率“${customUnitSubRateName}”的${updatedField}修改为“${newValue}”(之前为“${oldValue}”)`, removedCustomUnitSubRate: ({customUnitName, customUnitRateName, removedSubRateName}: RemovedPolicyCustomUnitSubRateParams) => @@ -6737,7 +6709,7 @@ ${reportName} } return `已从${entityType}“${entityName}”中移除预算`; }, - updatedTimeEnabled: ({enabled}: UpdatedPolicyTimeEnabledParams) => { + updatedTimeEnabled: (enabled) => { return `${enabled ? '已启用' : '已禁用'} 时间追踪`; }, updatedTimeRate: ({newRate, oldRate}: UpdatedPolicyTimeRateParams) => { @@ -6750,7 +6722,7 @@ ${reportName} setAutoJoin: ({enabled}: {enabled: boolean}) => `${enabled ? '已启用' : '已禁用'} 预先批准加入工作区的请求`, updatedDefaultTitle: ({newDefaultTitle, oldDefaultTitle}: UpdatedPolicyDefaultTitleParams) => `将自定义报表名称公式更改为“${newDefaultTitle}”(之前为“${oldDefaultTitle}”)`, updatedOwnership: ({oldOwnerEmail, oldOwnerName, policyName}: UpdatedPolicyOwnershipParams) => `从 ${oldOwnerName}(${oldOwnerEmail})接管了 ${policyName} 的所有权`, - updatedAutoHarvesting: ({enabled}: UpdatedPolicyAutoHarvestingParams) => `已计划提交 ${enabled ? '已启用' : '已禁用'}`, + updatedAutoHarvesting: (enabled) => `已计划提交 ${enabled ? '已启用' : '已禁用'}`, updatedIndividualBudgetNotification: ({ budgetAmount, budgetFrequency, @@ -7467,15 +7439,15 @@ ${reportName} allTagLevelsRequired: '所有标签为必填项', autoReportedRejectedExpense: '此报销已被拒绝。', billableExpense: '可计费项不再有效', - cashExpenseWithNoReceipt: ({formattedLimit}: ViolationsCashExpenseWithNoReceiptParams = {}) => `需要收据${formattedLimit ? `超过 ${formattedLimit}` : ''}`, + cashExpenseWithNoReceipt: (formattedLimit?: string) => `需要收据${formattedLimit ? `超过 ${formattedLimit}` : ''}`, categoryOutOfPolicy: '类别不再有效', - conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `已应用 ${surcharge}% 的转换附加费`, + conversionSurcharge: (surcharge) => `已应用 ${surcharge}% 的转换附加费`, customUnitOutOfPolicy: '此工作区的费率无效', duplicatedTransaction: '可能重复', fieldRequired: '报表字段为必填项', futureDate: '不允许使用未来日期', - invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `加价 ${invoiceMarkup}%`, - maxAge: ({maxAge}: ViolationsMaxAgeParams) => `日期早于 ${maxAge} 天`, + invoiceMarkup: (invoiceMarkup) => `加价 ${invoiceMarkup}%`, + maxAge: (maxAge) => `日期早于 ${maxAge} 天`, missingCategory: '缺少类别', missingComment: '所选类别需要填写说明', missingAttendees: '此类别需要多个参与者', @@ -7495,12 +7467,12 @@ ${reportName} }, modifiedDate: '日期与已扫描收据不符', nonExpensiworksExpense: '非 Expensiworks 报销', - overAutoApprovalLimit: ({formattedLimit}: ViolationsOverLimitParams) => `报销金额超出自动审批上限 ${formattedLimit}`, - overCategoryLimit: ({formattedLimit}: ViolationsOverCategoryLimitParams) => `金额超出每人 ${formattedLimit} 的类别限额`, - overLimit: ({formattedLimit}: ViolationsOverLimitParams) => `超出每人限额 ${formattedLimit} 的金额`, - overTripLimit: ({formattedLimit}: ViolationsOverLimitParams) => `超出每次行程限额 ${formattedLimit} 的金额`, - overLimitAttendee: ({formattedLimit}: ViolationsOverLimitParams) => `超出每人限额 ${formattedLimit} 的金额`, - perDayLimit: ({formattedLimit}: ViolationsPerDayLimitParams) => `金额超过每日 ${formattedLimit}/人类别限额`, + overAutoApprovalLimit: (formattedLimit) => `报销金额超出自动审批上限 ${formattedLimit}`, + overCategoryLimit: (formattedLimit) => `金额超出每人 ${formattedLimit} 的类别限额`, + overLimit: (formattedLimit) => `超出每人限额 ${formattedLimit} 的金额`, + overTripLimit: (formattedLimit) => `超出每次行程限额 ${formattedLimit} 的金额`, + overLimitAttendee: (formattedLimit) => `超出每人限额 ${formattedLimit} 的金额`, + perDayLimit: (formattedLimit) => `金额超过每日 ${formattedLimit}/人类别限额`, receiptNotSmartScanned: '已手动添加收据和报销详情。', receiptRequired: ({formattedLimit, category}: ViolationsReceiptRequiredParams) => { if (formattedLimit && category) { @@ -7514,7 +7486,7 @@ ${reportName} } return '需要收据'; }, - itemizedReceiptRequired: ({formattedLimit}: {formattedLimit?: string}) => `需要逐项明细收据${formattedLimit ? `超过 ${formattedLimit}` : ''}`, + itemizedReceiptRequired: (formattedLimit?: string) => `需要逐项明细收据${formattedLimit ? `超过 ${formattedLimit}` : ''}`, prohibitedExpense: ({prohibitedExpenseTypes}: ViolationsProhibitedExpenseParams) => { const preMessage = '禁止报销的费用:'; const getProhibitedExpenseTypeText = (prohibitedExpenseType: string) => { @@ -7544,7 +7516,7 @@ ${reportName} } return `${preMessage} ${types.map(getProhibitedExpenseTypeText).join(', ')}`; }, - customRules: ({message}: ViolationsCustomRulesParams) => message, + customRules: (message) => message, reviewRequired: '需要审核', rter: ({brokenBankConnection, isAdmin, isTransactionOlderThan7Days, member, rterType, companyCardPageURL, connectionLink, isPersonalCard, isMarkAsCash}: ViolationsRterParams) => { if (rterType === CONST.RTER_VIOLATION_TYPES.BROKEN_CARD_CONNECTION_530) { @@ -7756,9 +7728,9 @@ ${reportName} title: '您的方案', exploreAllPlans: '查看所有方案', customPricing: '自定义定价', - asLowAs: ({price}: YourPlanPriceValueParams) => `每位活跃成员每月最低 ${price}`, - pricePerMemberMonth: ({price}: YourPlanPriceValueParams) => `每位成员每月 ${price}`, - pricePerMemberPerMonth: ({price}: YourPlanPriceValueParams) => `每位成员每月 ${price}`, + asLowAs: (price) => `每位活跃成员每月最低 ${price}`, + pricePerMemberMonth: (price) => `每位成员每月 ${price}`, + pricePerMemberPerMonth: (price) => `每位成员每月 ${price}`, perMemberMonth: '每位成员/月', collect: { title: '收款', @@ -7873,7 +7845,7 @@ ${reportName} title: '订阅已取消', subtitle: '您的年度订阅已被取消。', info: '如果你想按次付费继续使用你的工作区,你就都准备好了。', - preventFutureActivity: ({workspacesListRoute}: WorkspacesListRouteParams) => + preventFutureActivity: (workspacesListRoute) => `如果你想阻止未来的活动和收费,你必须删除你的工作区。请注意,当你删除工作区时,你将被收取在当前日历月内产生的所有未结活动费用。`, }, requestSubmitted: { diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index 2f9ba2aaf85d..31fb2ed9f249 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -2740,7 +2740,7 @@ function getWorkspaceCategoriesUpdatedMessage(translate: LocalizedTranslate, act const parsedCount = typeof count === 'number' ? count : Number(count); if (!Number.isNaN(parsedCount)) { - return translate('workspaceActions.updateCategories', {count: parsedCount}); + return translate('workspaceActions.updateCategories', parsedCount); } return getReportActionText(action); @@ -2874,9 +2874,7 @@ function getTagListNameUpdatedMessage(translate: LocalizedTranslate, action: Rep function getTagListUpdatedMessage(translate: LocalizedTranslate, action: ReportAction): string { const {tagListName} = getOriginalMessage(action as ReportAction) ?? {}; if (tagListName) { - return translate('workspaceActions.updateTagList', { - tagListName, - }); + return translate('workspaceActions.updateTagList', tagListName); } return getReportActionText(action); } @@ -2896,9 +2894,7 @@ function getWorkspaceCustomUnitUpdatedMessage(translate: LocalizedTranslate, act const {oldValue, newValue, customUnitName, updatedField} = getOriginalMessage(action as ReportAction) ?? {}; if (customUnitName === 'Distance' && updatedField === 'taxEnabled' && typeof newValue === 'boolean') { - return translate('workspaceActions.updateCustomUnitTaxEnabled', { - newValue, - }); + return translate('workspaceActions.updateCustomUnitTaxEnabled', newValue); } if (customUnitName && typeof oldValue === 'string' && typeof newValue === 'string' && updatedField === 'defaultCategory') { @@ -2925,9 +2921,7 @@ function getWorkspaceCustomUnitRateImportedMessage(translate: LocalizedTranslate const {customUnitName} = getOriginalMessage(action as ReportAction) ?? {}; if (customUnitName) { - return translate('workspaceActions.importCustomUnitRates', { - customUnitName, - }); + return translate('workspaceActions.importCustomUnitRates', customUnitName); } return getReportActionText(action); @@ -3364,7 +3358,7 @@ function getWorkspaceReimbursementUpdateMessage(translate: LocalizedTranslate, a const {enabled} = getOriginalMessage(action as ReportAction) ?? {}; if (action.actionName === CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.UPDATE_REIMBURSEMENT_ENABLED && typeof enabled === 'boolean') { - return translate('workspaceActions.updateReimbursementEnabled', {enabled}); + return translate('workspaceActions.updateReimbursementEnabled', enabled); } return getReportActionText(action); @@ -3741,7 +3735,7 @@ function getUpdatedTimeEnabledMessage(translate: LocalizedTranslate, reportActio const {enabled} = getOriginalMessage(reportAction as ReportAction) ?? {}; if (typeof enabled === 'boolean') { - return translate('workspaceActions.updatedTimeEnabled', {enabled}); + return translate('workspaceActions.updatedTimeEnabled', enabled); } return getReportActionText(reportAction); @@ -3817,7 +3811,7 @@ function getUpdatedAutoHarvestingMessage(translate: LocalizedTranslate, reportAc const {value} = getOriginalMessage(reportAction as ReportAction) ?? {}; if (typeof value === 'boolean') { - return translate('workspaceActions.updatedAutoHarvesting', {enabled: value}); + return translate('workspaceActions.updatedAutoHarvesting', value); } return getReportActionText(reportAction); diff --git a/src/libs/SubscriptionUtils.ts b/src/libs/SubscriptionUtils.ts index a0992495fa36..9431ebbe540e 100644 --- a/src/libs/SubscriptionUtils.ts +++ b/src/libs/SubscriptionUtils.ts @@ -577,14 +577,14 @@ function getSubscriptionPlanInfo( if (subscriptionPlan === CONST.POLICY.TYPE.TEAM) { let subtitle = translate('subscription.yourPlan.customPricing'); - let note: string | undefined = translate('subscription.yourPlan.asLowAs', {price}); + let note: string | undefined = translate('subscription.yourPlan.asLowAs', price); if (hasTeam2025Pricing) { if (isFromComparisonModal) { subtitle = price; note = translate('subscription.yourPlan.perMemberMonth'); } else { - subtitle = translate('subscription.yourPlan.pricePerMemberMonth', {price}); + subtitle = translate('subscription.yourPlan.pricePerMemberMonth', price); note = undefined; } } @@ -611,7 +611,7 @@ function getSubscriptionPlanInfo( return { title: translate('subscription.yourPlan.control.title'), subtitle: translate('subscription.yourPlan.customPricing'), - note: translate('subscription.yourPlan.asLowAs', {price}), + note: translate('subscription.yourPlan.asLowAs', price), benefits: [ translate('subscription.yourPlan.control.benefit1'), translate('subscription.yourPlan.control.benefit2'), diff --git a/src/libs/Violations/ViolationsUtils.ts b/src/libs/Violations/ViolationsUtils.ts index 94ffd0fb4aab..8a2f3cd14d26 100644 --- a/src/libs/Violations/ViolationsUtils.ts +++ b/src/libs/Violations/ViolationsUtils.ts @@ -674,11 +674,11 @@ const ViolationsUtils = { case 'billableExpense': return translate('violations.billableExpense'); case 'cashExpenseWithNoReceipt': - return translate('violations.cashExpenseWithNoReceipt', {formattedLimit}); + return translate('violations.cashExpenseWithNoReceipt', formattedLimit); case 'categoryOutOfPolicy': return translate('violations.categoryOutOfPolicy'); case 'conversionSurcharge': - return translate('violations.conversionSurcharge', {surcharge}); + return translate('violations.conversionSurcharge', surcharge); case 'customUnitOutOfPolicy': return translate('violations.customUnitOutOfPolicy'); case 'duplicatedTransaction': @@ -688,9 +688,9 @@ const ViolationsUtils = { case 'futureDate': return translate('violations.futureDate'); case 'invoiceMarkup': - return translate('violations.invoiceMarkup', {invoiceMarkup}); + return translate('violations.invoiceMarkup', invoiceMarkup); case 'maxAge': - return translate('violations.maxAge', {maxAge}); + return translate('violations.maxAge', maxAge); case 'missingCategory': return translate('violations.missingCategory'); case 'missingComment': @@ -706,25 +706,25 @@ const ViolationsUtils = { case 'nonExpensiworksExpense': return translate('violations.nonExpensiworksExpense'); case 'overAutoApprovalLimit': - return translate('violations.overAutoApprovalLimit', {formattedLimit}); + return translate('violations.overAutoApprovalLimit', formattedLimit); case 'overCategoryLimit': - return translate('violations.overCategoryLimit', {formattedLimit}); + return translate('violations.overCategoryLimit', formattedLimit); case 'overLimit': - return translate('violations.overLimit', {formattedLimit}); + return translate('violations.overLimit', formattedLimit); case 'overTripLimit': - return translate('violations.overTripLimit', {formattedLimit}); + return translate('violations.overTripLimit', formattedLimit); case 'overLimitAttendee': - return translate('violations.overLimitAttendee', {formattedLimit}); + return translate('violations.overLimitAttendee', formattedLimit); case 'perDayLimit': - return translate('violations.perDayLimit', {formattedLimit}); + return translate('violations.perDayLimit', formattedLimit); case 'receiptNotSmartScanned': return translate('violations.receiptNotSmartScanned'); case 'receiptRequired': return translate('violations.receiptRequired', {formattedLimit, category: getDecodedCategoryName(category ?? '')}); case 'itemizedReceiptRequired': - return translate('violations.itemizedReceiptRequired', {formattedLimit}); + return translate('violations.itemizedReceiptRequired', formattedLimit); case 'customRules': - return translate('violations.customRules', {message}); + return translate('violations.customRules', message); case 'rter': { let isPersonalCardViolation = false; if (cardID !== undefined && cardID !== null && card) { diff --git a/src/libs/fileDownload/FileUtils.ts b/src/libs/fileDownload/FileUtils.ts index 8b48f565e7f8..81dc7f146e33 100644 --- a/src/libs/fileDownload/FileUtils.ts +++ b/src/libs/fileDownload/FileUtils.ts @@ -718,17 +718,13 @@ const getFileValidationErrorText = ( return { title: translate('attachmentPicker.attachmentTooLarge'), reason: isValidatingReceipt - ? translate('attachmentPicker.sizeExceededWithLimit', { - maxUploadSizeInMB: additionalData.maxUploadSizeInMB ?? CONST.API_ATTACHMENT_VALIDATIONS.RECEIPT_MAX_SIZE / 1024 / 1024, - }) + ? translate('attachmentPicker.sizeExceededWithLimit', additionalData.maxUploadSizeInMB ?? CONST.API_ATTACHMENT_VALIDATIONS.RECEIPT_MAX_SIZE / 1024 / 1024) : translate('attachmentPicker.sizeExceeded'), }; case CONST.FILE_VALIDATION_ERRORS.FILE_TOO_LARGE_MULTIPLE: return { title: translate('attachmentPicker.someFilesCantBeUploaded'), - reason: translate('attachmentPicker.sizeLimitExceeded', { - maxUploadSizeInMB: additionalData.maxUploadSizeInMB ?? maxSize / 1024 / 1024, - }), + reason: translate('attachmentPicker.sizeLimitExceeded', additionalData.maxUploadSizeInMB ?? maxSize / 1024 / 1024), }; case CONST.FILE_VALIDATION_ERRORS.FILE_TOO_SMALL: return { @@ -773,7 +769,7 @@ const getConfirmModalPrompt = (translate: LocalizedTranslate, attachmentInvalidR return ''; } if (attachmentInvalidReason === 'attachmentPicker.sizeExceededWithLimit') { - return translate(attachmentInvalidReason, {maxUploadSizeInMB: CONST.API_ATTACHMENT_VALIDATIONS.RECEIPT_MAX_SIZE / (1024 * 1024)}); + return translate(attachmentInvalidReason, CONST.API_ATTACHMENT_VALIDATIONS.RECEIPT_MAX_SIZE / (1024 * 1024)); } return translate(attachmentInvalidReason); }; diff --git a/src/pages/EnablePayments/FeesAndTerms/substeps/TermsStep.tsx b/src/pages/EnablePayments/FeesAndTerms/substeps/TermsStep.tsx index 743424719e04..429af610158c 100644 --- a/src/pages/EnablePayments/FeesAndTerms/substeps/TermsStep.tsx +++ b/src/pages/EnablePayments/FeesAndTerms/substeps/TermsStep.tsx @@ -26,7 +26,7 @@ function AgreeToTheLabel() { ? CONST.OLD_DOT_PUBLIC_URLS.BANCORP_WALLET_AGREEMENT_URL : CONST.OLD_DOT_PUBLIC_URLS.WALLET_AGREEMENT_URL; - return ; + return ; } function TermsStep({onNext}: SubStepProps) { diff --git a/src/pages/EnablePayments/TermsPage/ShortTermsForm.tsx b/src/pages/EnablePayments/TermsPage/ShortTermsForm.tsx index 8321312ef197..43ff092c8de3 100644 --- a/src/pages/EnablePayments/TermsPage/ShortTermsForm.tsx +++ b/src/pages/EnablePayments/TermsPage/ShortTermsForm.tsx @@ -20,12 +20,12 @@ function ShortTermsForm(props: ShortTermsFormProps) { return ( <> - {translate('termsStep.shortTermsForm.expensifyPaymentsAccount', { - walletProgram: - props.userWallet && props.userWallet?.walletProgramID === CONST.WALLET.BANCORP_WALLET_PROGRAM_ID - ? CONST.WALLET.PROGRAM_ISSUERS.BANCORP_BANK - : CONST.WALLET.PROGRAM_ISSUERS.EXPENSIFY_PAYMENTS, - })} + {translate( + 'termsStep.shortTermsForm.expensifyPaymentsAccount', + props.userWallet && props.userWallet?.walletProgramID === CONST.WALLET.BANCORP_WALLET_PROGRAM_ID + ? CONST.WALLET.PROGRAM_ISSUERS.BANCORP_BANK + : CONST.WALLET.PROGRAM_ISSUERS.EXPENSIFY_PAYMENTS, + )} diff --git a/src/pages/EnablePayments/TermsStep.tsx b/src/pages/EnablePayments/TermsStep.tsx index 9a2aae858ef1..472ce0b23e17 100644 --- a/src/pages/EnablePayments/TermsStep.tsx +++ b/src/pages/EnablePayments/TermsStep.tsx @@ -35,7 +35,7 @@ function AgreeToTheLabel() { ? CONST.OLD_DOT_PUBLIC_URLS.BANCORP_WALLET_AGREEMENT_URL : CONST.OLD_DOT_PUBLIC_URLS.WALLET_AGREEMENT_URL; - return ; + return ; } function TermsStep(props: TermsStepProps) { diff --git a/src/pages/OnboardingWorkEmailValidation/BaseOnboardingWorkEmailValidation.tsx b/src/pages/OnboardingWorkEmailValidation/BaseOnboardingWorkEmailValidation.tsx index 90252da64952..240a37eeaae8 100644 --- a/src/pages/OnboardingWorkEmailValidation/BaseOnboardingWorkEmailValidation.tsx +++ b/src/pages/OnboardingWorkEmailValidation/BaseOnboardingWorkEmailValidation.tsx @@ -108,7 +108,7 @@ function BaseOnboardingWorkEmailValidation({shouldUseNativeStyles}: BaseOnboardi > {translate('onboarding.workEmailValidation.title')} - {translate('onboarding.workEmailValidation.magicCodeSent', {workEmail})} + {translate('onboarding.workEmailValidation.magicCodeSent', workEmail)} {translate('bankAccount.hasBeenThrottledError')}; } else if (hasUnsupportedCurrency) { - errorText = ; + errorText = ; } if (errorText) { diff --git a/src/pages/ReportChangeApproverPage.tsx b/src/pages/ReportChangeApproverPage.tsx index 3a806ab334e3..11b9635a4457 100644 --- a/src/pages/ReportChangeApproverPage.tsx +++ b/src/pages/ReportChangeApproverPage.tsx @@ -128,11 +128,7 @@ function ReportChangeApproverPage({report, policy, isLoadingReportData}: ReportC const listHeader = useMemo( () => ( - + ), [environmentURL, policy?.id, styles.flexRow, styles.mb5, styles.ph5, styles.renderHTML, translate], diff --git a/src/pages/RestrictedAction/Workspace/WorkspaceAdminRestrictedAction.tsx b/src/pages/RestrictedAction/Workspace/WorkspaceAdminRestrictedAction.tsx index 3ae000ac7469..4e0a641fffe7 100644 --- a/src/pages/RestrictedAction/Workspace/WorkspaceAdminRestrictedAction.tsx +++ b/src/pages/RestrictedAction/Workspace/WorkspaceAdminRestrictedAction.tsx @@ -53,7 +53,7 @@ function WorkspaceAdminRestrictedAction({policyID}: WorkspaceAdminRestrictedActi {translate('workspace.restrictedAction.actionsAreCurrentlyRestricted', policy?.name ?? '')} - {translate('workspace.restrictedAction.workspaceOwnerWillNeedToAddOrUpdatePaymentCard', {workspaceOwnerName: policy?.owner ?? ''})} + {translate('workspace.restrictedAction.workspaceOwnerWillNeedToAddOrUpdatePaymentCard', policy?.owner ?? '')}