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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/AccountingConnectionConfirmationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ function AccountingConnectionConfirmationModal({integrationToConnect, onCancel,

return (
<ConfirmModal
title={translate('workspace.accounting.connectTitle', {connectionName: integrationToConnect})}
title={translate('workspace.accounting.connectTitle', integrationToConnect)}
isVisible
onConfirm={onConfirm}
onCancel={onCancel}
prompt={translate('workspace.accounting.connectPrompt', {connectionName: integrationToConnect})}
prompt={translate('workspace.accounting.connectPrompt', integrationToConnect)}
confirmText={translate('workspace.accounting.setup')}
cancelText={translate('common.cancel')}
success
Expand Down
4 changes: 2 additions & 2 deletions src/components/MoneyReportHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ function MoneyReportHeader({
}

if (hasDuplicates) {
return {icon: getStatusIcon(expensifyIcons.Flag), description: translate('iou.duplicateTransaction', {isSubmitted: isProcessingReport(moneyRequestReport)})};
return {icon: getStatusIcon(expensifyIcons.Flag), description: translate('iou.duplicateTransaction', isProcessingReport(moneyRequestReport))};
}

// Show the broken connection violation message only if it's part of transactionViolations (i.e., visible to the user).
Expand Down Expand Up @@ -972,7 +972,7 @@ function MoneyReportHeader({
return getSecondaryExportReportActions(moneyRequestReport, policy, exportTemplates);
}, [moneyRequestReport, policy, exportTemplates]);

const connectedIntegrationName = connectedIntegration ? translate('workspace.accounting.connectionName', {connectionName: connectedIntegration}) : '';
const connectedIntegrationName = connectedIntegration ? translate('workspace.accounting.connectionName', connectedIntegration) : '';
const unapproveWarningText = useMemo(
() => (
<Text>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ function MoneyRequestConfirmationList({
const splitOrRequestOptions: Array<DropdownOption<string>> = useMemo(() => {
let text;
if (expensesNumber > 1) {
text = translate('iou.createExpenses', {expensesNumber});
text = translate('iou.createExpenses', expensesNumber);
} else if (isTypeInvoice) {
if (hasInvoicingDetails(policy)) {
text = translate('iou.sendInvoice', {amount: formattedAmount});
Expand Down
114 changes: 45 additions & 69 deletions src/languages/de.ts

Large diffs are not rendered by default.

113 changes: 45 additions & 68 deletions src/languages/en.ts

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions src/languages/es.ts

Large diffs are not rendered by default.

113 changes: 45 additions & 68 deletions src/languages/fr.ts

Large diffs are not rendered by default.

113 changes: 45 additions & 68 deletions src/languages/it.ts

Large diffs are not rendered by default.

113 changes: 45 additions & 68 deletions src/languages/ja.ts

Large diffs are not rendered by default.

112 changes: 45 additions & 67 deletions src/languages/nl.ts

Large diffs are not rendered by default.

96 changes: 1 addition & 95 deletions src/languages/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {ValueOf} from 'type-fest';
import type CONST from '@src/CONST';
import type {OnyxInputOrEntry, ReportAction} from '@src/types/onyx';
import type {DelegateRole} from '@src/types/onyx/Account';
import type {AllConnectionName, ConnectionName, PolicyConnectionSyncStage, SageIntacctMappingName} from '@src/types/onyx/Policy';
import type {ConnectionName, PolicyConnectionSyncStage, SageIntacctMappingName} from '@src/types/onyx/Policy';
import type {ViolationDataType} from '@src/types/onyx/TransactionViolation';

type TagSelectionParams = {
Expand Down Expand Up @@ -140,10 +140,6 @@ type ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams = {
policyName: string;
};

type DuplicateTransactionParams = {
isSubmitted: boolean;
};

type RequestCountParams = {
scanningReceipts: number;
pendingReceipts: number;
Expand Down Expand Up @@ -207,8 +203,6 @@ type PayerOwesAmountParams = {payer: string; amount: number | string; comment?:

type PayerOwesParams = {payer: string};

type CompanyCardFeedNameParams = {feedName: string};

type PayerPaidAmountParams = {payer?: string; amount: number | string};

type ApprovedAmountParams = {amount: number | string};
Expand All @@ -221,8 +215,6 @@ type PayerPaidParams = {payer: string};

type PayerSettledParams = {amount: number | string};

type CreateExpensesParams = {expensesNumber: number};

type WaitingOnBankAccountParams = {submitterDisplayName: string};

type CanceledRequestParams = {amount: string; submitterDisplayName: string};
Expand Down Expand Up @@ -255,10 +247,6 @@ type BankAccountLastFourParams = {lastFour: string};

type NotYouParams = {user: string};

type DateShouldBeBeforeParams = {dateString: string};

type DateShouldBeAfterParams = {dateString: string};

type WeSentYouMagicSignInLinkParams = {login: string; loginType: string};

type ToValidateLoginParams = {primaryLogin: string; secondaryLogin: string};
Expand All @@ -267,8 +255,6 @@ type NoLongerHaveAccessParams = {primaryLogin: string};

type OurEmailProviderParams = {login: string};

type ConfirmThatParams = {login: string};

type UntilTimeParams = {time: string};

type StepCounterParams = {step: number; total?: number; text?: string};
Expand Down Expand Up @@ -476,10 +462,6 @@ type ApprovalWorkflowErrorParams = {
name2: string;
};

type ConnectionNameParams = {
connectionName: AllConnectionName;
};

type LastSyncDateParams = {
connectionName: string;
formattedDate: string;
Expand Down Expand Up @@ -507,8 +489,6 @@ type LeftWorkspaceParams = {nameOrEmail: string};

type RemoveMemberParams = {email: string; role: string};

type DateParams = {date: string};

type FiltersAmountBetweenParams = {greaterThan: string; lessThan: string};

type StatementPageTitleParams = {year: string | number; monthName: string};
Expand Down Expand Up @@ -595,8 +575,6 @@ type IncorrectZipFormatParams = {zipFormat?: string} | undefined;

type ExportIntegrationSelectedParams = {connectionName: ConnectionName};

type DefaultVendorDescriptionParams = {isReimbursable: boolean};

type RequiredFieldParams = {fieldName: string};

type ImportFieldParams = {importField: string};
Expand All @@ -609,8 +587,6 @@ type SyncStageNameConnectionsParams = {stage: PolicyConnectionSyncStage};

type DelegateRoleParams = {role: DelegateRole};

type DelegatorParams = {delegator: string};

type VacationDelegateParams = {nameOrEmail: string};

type SubmittedToVacationDelegateParams = {submittedToName: string; vacationDelegateName: string};
Expand Down Expand Up @@ -643,10 +619,6 @@ type AutoPayApprovedReportsLimitErrorParams = {
currency?: string;
};

type DefaultAmountParams = {
defaultAmount: string;
};

type RemovedFromApprovalWorkflowParams = {
submittersNames: string[];
};
Expand All @@ -662,10 +634,6 @@ type IntegrationExportParams = {
exportPageLink?: string;
};

type ConnectionParams = {
connection: string;
};

type MissingPropertyParams = {
propertyName: string;
};
Expand Down Expand Up @@ -730,23 +698,11 @@ type FileTypeParams = {
fileType: string;
};

type CompanyCardBankName = {
bankName: string;
};

type CurrencyCodeParams = {
currencyCode: string;
};

type WorkspaceLockedPlanTypeParams = {
count: number;
annualSubscriptionEndDate: string;
};

type CompanyNameParams = {
companyName: string;
};

type SignerInfoMessageParams = {
bankAccountLastFour: string | undefined;
currency: string | undefined;
Expand All @@ -756,10 +712,6 @@ type CustomUnitRateParams = {
rate: number;
};

type ChatWithAccountManagerParams = {
accountManagerDisplayName: string;
};

type EditDestinationSubtitleParams = {
destination: string;
};
Expand Down Expand Up @@ -788,10 +740,6 @@ type ReviewParams = {
amount: string;
};

type CurrencyInputDisabledTextParams = {
currency: string;
};

type SplitExpenseSubtitleParams = {
amount: string;
merchant: string;
Expand Down Expand Up @@ -835,14 +783,6 @@ type TravelTypeParams = {
id?: string;
};

type ContactMethodsRouteParams = {
contactMethodsRoute: string;
};

type ContactMethodParams = {
contactMethodRoute: string;
};

type BusinessTaxIDParams = {
country: string;
};
Expand Down Expand Up @@ -917,18 +857,10 @@ type UpgradeSuccessMessageParams = {
subscriptionLink: string;
};

type DomainPermissionInfoRestrictionParams = {
domain: string;
};

type SubmittedWithMemoParams = {
memo?: string;
};

type DependentMultiLevelTagsSubtitleParams = {
importSpreadsheetLink: string;
};

type PayAndDowngradeDescriptionParams = {
formattedAmount: string;
};
Expand All @@ -946,10 +878,6 @@ type SettlementAccountReconciliationParams = {
lastFourPAN: string;
};

type DisconnectYourBankAccountParams = {
bankName: string;
};

type MergeAccountIntoParams = {
login: string;
};
Expand All @@ -972,8 +900,6 @@ type FocusModeUpdateParams = {
export type {
SettlementAccountReconciliationParams,
ToggleImportTitleParams,
ContactMethodsRouteParams,
ContactMethodParams,
SplitExpenseEditTitleParams,
SplitExpenseSubtitleParams,
TotalAmountGreaterOrLessThanOriginalParams,
Expand All @@ -984,11 +910,9 @@ export type {
MissingPropertyParams,
InvalidPropertyParams,
InvalidValueParams,
ConnectionParams,
IntegrationExportParams,
RemovedFromApprovalWorkflowParams,
DemotedFromWorkspaceParams,
DefaultAmountParams,
AutoPayApprovedReportsLimitErrorParams,
FeatureNameParams,
FileLimitParams,
Expand All @@ -998,15 +922,13 @@ export type {
AssignedCardParams,
SpreadCategoriesParams,
DelegateRoleParams,
DelegatorParams,
VacationDelegateParams,
LastSyncAccountingParams,
SyncStageNameConnectionsParams,
RequiredFieldParams,
IntacctMappingTitleParams,
ImportFieldParams,
AssigneeParams,
DefaultVendorDescriptionParams,
ExportIntegrationSelectedParams,
UnapproveWithIntegrationWarningParams,
IncorrectZipFormatParams,
Expand Down Expand Up @@ -1057,10 +979,6 @@ export type {
BeginningOfChatHistoryDomainRoomParams,
CanceledRequestParams,
CharacterLimitParams,
ConfirmThatParams,
CompanyCardFeedNameParams,
DateShouldBeAfterParams,
DateShouldBeBeforeParams,
DeleteActionParams,
DeleteConfirmationParams,
DidSplitAmountMessageParams,
Expand Down Expand Up @@ -1092,7 +1010,6 @@ export type {
ParentNavigationSummaryParams,
PaySomeoneParams,
PayerOwesAmountParams,
DuplicateTransactionParams,
PayerOwesParams,
RoleNamesParams,
PayerPaidAmountParams,
Expand Down Expand Up @@ -1168,7 +1085,6 @@ export type {
StripePaidParams,
RemoveMembersWarningPrompt,
ApprovalWorkflowErrorParams,
ConnectionNameParams,
LastSyncDateParams,
CustomersOrJobsLabelParams,
ExportAgainModalDescriptionParams,
Expand All @@ -1178,10 +1094,8 @@ export type {
UpdatedCustomFieldParams,
LeftWorkspaceParams,
RemoveMemberParams,
DateParams,
FiltersAmountBetweenParams,
StatementPageTitleParams,
CompanyCardBankName,
DisconnectPromptParams,
DisconnectTitleParams,
CharacterLengthLimitParams,
Expand All @@ -1190,11 +1104,8 @@ export type {
WorkspaceYouMayJoin,
WorkspaceMemberList,
ImportPerDiemRatesSuccessfulDescriptionParams,
CurrencyCodeParams,
WorkspaceLockedPlanTypeParams,
CompanyNameParams,
CustomUnitRateParams,
ChatWithAccountManagerParams,
UpdatedPolicyCurrencyParams,
UpdatedPolicyFrequencyParams,
UpdatedPolicyCategoryParams,
Expand Down Expand Up @@ -1243,9 +1154,7 @@ export type {
SubscriptionSettingsSummaryParams,
BankAccountLastFourParams,
ReviewParams,
CreateExpensesParams,
WorkspaceMembersCountParams,
CurrencyInputDisabledTextParams,
EmployeeInviteMessageParams,
FlightParams,
AirlineParams,
Expand All @@ -1272,15 +1181,12 @@ export type {
WorkspaceShareNoteParams,
RulesEnableWorkflowsParams,
UpgradeSuccessMessageParams,
DomainPermissionInfoRestrictionParams,
SubmittedWithMemoParams,
SignerInfoMessageParams,
BusinessRegistrationNumberParams,
DependentMultiLevelTagsSubtitleParams,
PayAndDowngradeDescriptionParams,
WalletAgreementParams,
ErrorODIntegrationParams,
DisconnectYourBankAccountParams,
MergeAccountIntoParams,
NextStepParams,
ReportFieldParams,
Expand Down
Loading
Loading