Skip to content

Commit

Permalink
update singing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hungvu193 committed Sep 11, 2023
1 parent f9171ab commit 3db0427
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ import type {
OOOEventSummaryPartialDayParams,
ParentNavigationSummaryParams,
ManagerApprovedParams,
SetTheRequestParams,
UpdatedTheRequestParams,
RemovedTheRequestParams,
} from './types';
import * as ReportActionsUtils from '../libs/ReportActionsUtils';

Expand Down
5 changes: 5 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ import type {
OOOEventSummaryPartialDayParams,
ParentNavigationSummaryParams,
ManagerApprovedParams,
SetTheRequestParams,
UpdatedTheRequestParams,
RemovedTheRequestParams,
} from './types';

/* eslint-disable max-len */
Expand Down Expand Up @@ -530,6 +533,8 @@ export default {
`eliminó ${valueName === 'comerciante' ? 'el' : 'la'} ${valueName} (previamente ${oldValueToDisplay})`,
updatedTheRequest: ({valueName, newValueToDisplay, oldValueToDisplay}: UpdatedTheRequestParams) =>
`cambío ${valueName === 'comerciante' ? 'el' : 'la'} ${valueName} a ${newValueToDisplay} (previamente ${oldValueToDisplay})`,
threadRequestReportName: ({formattedAmount, comment}: ThreadRequestReportNameParams) => `Solicitud de ${formattedAmount}${comment ? ` para ${comment}` : ''}`,
threadSentMoneyReportName: ({formattedAmount, comment}: ThreadSentMoneyReportNameParams) => `${formattedAmount} enviado${comment ? ` para ${comment}` : ''}`,
error: {
invalidSplit: 'La suma de las partes no equivale al monto total',
other: 'Error inesperado, por favor inténtalo más tarde',
Expand Down
6 changes: 3 additions & 3 deletions src/languages/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,12 @@ type OOOEventSummaryPartialDayParams = {summary: string; timePeriod: string; dat

type ParentNavigationSummaryParams = {rootReportName: string; workspaceName: string};

<<<<<<< HEAD
=======
type SetTheRequestParams = {valueName: string; newValueToDisplay: string};

type RemovedTheRequestParams = {valueName: string; oldValueToDisplay: string};

type UpdatedTheRequestParams = {valueName: string; newValueToDisplay: string; oldValueToDisplay: string};

>>>>>>> dac2d87957 (fix linting)
export type {
AddressLineParams,
CharacterLimitParams,
Expand Down Expand Up @@ -261,4 +258,7 @@ export type {
OOOEventSummaryFullDayParams,
OOOEventSummaryPartialDayParams,
ParentNavigationSummaryParams,
SetTheRequestParams,
UpdatedTheRequestParams,
RemovedTheRequestParams,
};

0 comments on commit 3db0427

Please sign in to comment.