File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1535,6 +1535,7 @@ const CONST = {
15351535 WAITING_TO_PAY : 'waitingToPay' ,
15361536 WAITING_FOR_POLICY_BANK_ACCOUNT : 'waitingForPolicyBankAccount' ,
15371537 WAITING_FOR_PAYMENT : 'waitingForPayment' ,
1538+ WAITING_TO_EXPORT : 'waitingToExport' ,
15381539 } ,
15391540 ICONS : {
15401541 HOURGLASS : 'hourglass' ,
Original file line number Diff line number Diff line change @@ -7611,6 +7611,17 @@ ${
76117611 return `Warten darauf, dass ein Admin die Ausgaben genehmigt.`;
76127612 }
76137613 },
7614+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7615+ // eslint-disable-next-line default-case
7616+ switch (actorType) {
7617+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7618+ return `Es wird darauf gewartet, dass <strong>Sie</strong> diesen Bericht exportieren.`;
7619+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7620+ return `Warten darauf, dass <strong>${actor}</strong> diesen Bericht exportiert.`;
7621+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7622+ return `Warten darauf, dass ein Administrator diesen Bericht exportiert.`;
7623+ }
7624+ },
76147625 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
76157626 // eslint-disable-next-line default-case
76167627 switch (actorType) {
Original file line number Diff line number Diff line change @@ -1647,6 +1647,18 @@ const translations = {
16471647 return `Waiting for an admin to approve expenses.` ;
16481648 }
16491649 } ,
1650+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} : NextStepParams ) => {
1651+ // Disabling the default-case lint rule here is actually safer as this forces us to make the switch cases exhaustive
1652+ // eslint-disable-next-line default-case
1653+ switch ( actorType ) {
1654+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
1655+ return `Waiting for <strong>you</strong> to export this report.` ;
1656+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
1657+ return `Waiting for <strong>${ actor } </strong> to export this report.` ;
1658+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
1659+ return `Waiting for an admin to export this report.` ;
1660+ }
1661+ } ,
16501662 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} : NextStepParams ) => {
16511663 // Disabling the default-case lint rule here is actually safer as this forces us to make the switch cases exhaustive
16521664 // eslint-disable-next-line default-case
Original file line number Diff line number Diff line change @@ -1296,6 +1296,17 @@ const translations: TranslationDeepObject<typeof en> = {
12961296 return `Esperando a que un administrador apruebe los gastos.` ;
12971297 }
12981298 } ,
1299+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} ) => {
1300+ // eslint-disable-next-line default-case
1301+ switch ( actorType ) {
1302+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
1303+ return `Esperando a que <strong>tú</strong> exportes este informe.` ;
1304+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
1305+ return `Esperando a que <strong>${ actor } </strong> exporte este informe.` ;
1306+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
1307+ return `Esperando a que un administrador exporte este informe.` ;
1308+ }
1309+ } ,
12991310 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} ) => {
13001311 // eslint-disable-next-line default-case
13011312 switch ( actorType ) {
Original file line number Diff line number Diff line change @@ -7615,6 +7615,17 @@ ${
76157615 return `En attente de l’approbation des dépenses par un administrateur.`;
76167616 }
76177617 },
7618+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7619+ // eslint-disable-next-line default-case
7620+ switch (actorType) {
7621+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7622+ return `En attente que <strong>vous</strong> exportiez ce rapport.`;
7623+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7624+ return `En attente que <strong>${actor}</strong> exporte ce rapport.`;
7625+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7626+ return `En attente de l’exportation de ce rapport par un administrateur.`;
7627+ }
7628+ },
76187629 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
76197630 // eslint-disable-next-line default-case
76207631 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7594,6 +7594,17 @@ ${
75947594 return `In attesa dell'approvazione delle spese da parte di un amministratore.` ;
75957595 }
75967596 } ,
7597+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} : NextStepParams ) => {
7598+ // eslint-disable-next-line default-case
7599+ switch ( actorType ) {
7600+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
7601+ return `In attesa che <strong>tu</strong> esporti questo report.` ;
7602+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
7603+ return `In attesa che <strong>${ actor } </strong> esporti questo report.` ;
7604+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
7605+ return `In attesa che un amministratore esporti questo report.` ;
7606+ }
7607+ } ,
75977608 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} : NextStepParams ) => {
75987609 // eslint-disable-next-line default-case
75997610 switch ( actorType ) {
Original file line number Diff line number Diff line change @@ -7524,6 +7524,17 @@ ${
75247524 return `管理者が経費を承認するのを待っています。`;
75257525 }
75267526 },
7527+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7528+ // eslint-disable-next-line default-case
7529+ switch (actorType) {
7530+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7531+ return `このレポートを<strong>あなた</strong>がエクスポートするのを待っています。`;
7532+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7533+ return `<strong>${actor}</strong> がこのレポートをエクスポートするのを待っています。`;
7534+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7535+ return `管理者がこのレポートをエクスポートするのを待っています。`;
7536+ }
7537+ },
75277538 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75287539 // eslint-disable-next-line default-case
75297540 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7567,6 +7567,17 @@ ${
75677567 return `Wachten tot een beheerder de uitgaven goedkeurt.`;
75687568 }
75697569 },
7570+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7571+ // eslint-disable-next-line default-case
7572+ switch (actorType) {
7573+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7574+ return `Wachten tot <strong>jij</strong> dit rapport exporteert.`;
7575+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7576+ return `Wachten tot <strong>${actor}</strong> dit rapport exporteert.`;
7577+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7578+ return `Wachten tot een beheerder dit rapport exporteert.`;
7579+ }
7580+ },
75707581 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75717582 // eslint-disable-next-line default-case
75727583 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7555,6 +7555,17 @@ ${
75557555 return `Oczekiwanie na zatwierdzenie wydatków przez administratora.`;
75567556 }
75577557 },
7558+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7559+ // eslint-disable-next-line default-case
7560+ switch (actorType) {
7561+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7562+ return `Czekamy, aż <strong>ty</strong> wyeksportujesz ten raport.`;
7563+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7564+ return `Oczekiwanie na <strong>${actor}</strong> w celu wyeksportowania tego raportu.`;
7565+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7566+ return `Oczekiwanie na eksport tego raportu przez administratora.`;
7567+ }
7568+ },
75587569 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75597570 // eslint-disable-next-line default-case
75607571 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7571,6 +7571,17 @@ ${
75717571 return `Aguardando um administrador aprovar as despesas.`;
75727572 }
75737573 },
7574+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7575+ // eslint-disable-next-line default-case
7576+ switch (actorType) {
7577+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7578+ return `Aguardando <strong>você</strong> exportar este relatório.`;
7579+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7580+ return `Aguardando <strong>${actor}</strong> exportar este relatório.`;
7581+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7582+ return `Aguardando um administrador para exportar este relatório.`;
7583+ }
7584+ },
75747585 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75757586 // eslint-disable-next-line default-case
75767587 switch (actorType) {
You can’t perform that action at this time.
0 commit comments