File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1534,6 +1534,7 @@ const CONST = {
15341534 WAITING_TO_PAY : 'waitingToPay' ,
15351535 WAITING_FOR_POLICY_BANK_ACCOUNT : 'waitingForPolicyBankAccount' ,
15361536 WAITING_FOR_PAYMENT : 'waitingForPayment' ,
1537+ WAITING_TO_EXPORT : 'waitingToExport' ,
15371538 } ,
15381539 ICONS : {
15391540 HOURGLASS : 'hourglass' ,
Original file line number Diff line number Diff line change @@ -7604,6 +7604,17 @@ ${
76047604 return `Warten darauf, dass ein Admin die Ausgaben genehmigt.`;
76057605 }
76067606 },
7607+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7608+ // eslint-disable-next-line default-case
7609+ switch (actorType) {
7610+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7611+ return `Es wird darauf gewartet, dass <strong>Sie</strong> diesen Bericht exportieren.`;
7612+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7613+ return `Warten darauf, dass <strong>${actor}</strong> diesen Bericht exportiert.`;
7614+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7615+ return `Warten darauf, dass ein Administrator diesen Bericht exportiert.`;
7616+ }
7617+ },
76077618 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
76087619 // eslint-disable-next-line default-case
76097620 switch (actorType) {
Original file line number Diff line number Diff line change @@ -1640,6 +1640,18 @@ const translations = {
16401640 return `Waiting for an admin to approve expenses.` ;
16411641 }
16421642 } ,
1643+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} : NextStepParams ) => {
1644+ // Disabling the default-case lint rule here is actually safer as this forces us to make the switch cases exhaustive
1645+ // eslint-disable-next-line default-case
1646+ switch ( actorType ) {
1647+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
1648+ return `Waiting for <strong>you</strong> to export this report.` ;
1649+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
1650+ return `Waiting for <strong>${ actor } </strong> to export this report.` ;
1651+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
1652+ return `Waiting for an admin to export this report.` ;
1653+ }
1654+ } ,
16431655 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} : NextStepParams ) => {
16441656 // Disabling the default-case lint rule here is actually safer as this forces us to make the switch cases exhaustive
16451657 // eslint-disable-next-line default-case
Original file line number Diff line number Diff line change @@ -7608,6 +7608,17 @@ ${
76087608 return `En attente de l’approbation des dépenses par un administrateur.`;
76097609 }
76107610 },
7611+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7612+ // eslint-disable-next-line default-case
7613+ switch (actorType) {
7614+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7615+ return `En attente que <strong>vous</strong> exportiez ce rapport.`;
7616+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7617+ return `En attente que <strong>${actor}</strong> exporte ce rapport.`;
7618+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7619+ return `En attente de l’exportation de ce rapport par un administrateur.`;
7620+ }
7621+ },
76117622 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
76127623 // eslint-disable-next-line default-case
76137624 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7586,6 +7586,17 @@ ${
75867586 return `In attesa dell'approvazione delle spese da parte di un amministratore.` ;
75877587 }
75887588 } ,
7589+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} : NextStepParams ) => {
7590+ // eslint-disable-next-line default-case
7591+ switch ( actorType ) {
7592+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
7593+ return `In attesa che <strong>tu</strong> esporti questo report.` ;
7594+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
7595+ return `In attesa che <strong>${ actor } </strong> esporti questo report.` ;
7596+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
7597+ return `In attesa che un amministratore esporti questo report.` ;
7598+ }
7599+ } ,
75897600 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} : NextStepParams ) => {
75907601 // eslint-disable-next-line default-case
75917602 switch ( actorType ) {
Original file line number Diff line number Diff line change @@ -7517,6 +7517,17 @@ ${
75177517 return `管理者が経費を承認するのを待っています。`;
75187518 }
75197519 },
7520+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7521+ // eslint-disable-next-line default-case
7522+ switch (actorType) {
7523+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7524+ return `このレポートを<strong>あなた</strong>がエクスポートするのを待っています。`;
7525+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7526+ return `<strong>${actor}</strong> がこのレポートをエクスポートするのを待っています。`;
7527+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7528+ return `管理者がこのレポートをエクスポートするのを待っています。`;
7529+ }
7530+ },
75207531 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75217532 // eslint-disable-next-line default-case
75227533 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7560,6 +7560,17 @@ ${
75607560 return `Wachten tot een beheerder de uitgaven goedkeurt.`;
75617561 }
75627562 },
7563+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7564+ // eslint-disable-next-line default-case
7565+ switch (actorType) {
7566+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7567+ return `Wachten tot <strong>jij</strong> dit rapport exporteert.`;
7568+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7569+ return `Wachten tot <strong>${actor}</strong> dit rapport exporteert.`;
7570+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7571+ return `Wachten tot een beheerder dit rapport exporteert.`;
7572+ }
7573+ },
75637574 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75647575 // eslint-disable-next-line default-case
75657576 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7548,6 +7548,17 @@ ${
75487548 return `Oczekiwanie na zatwierdzenie wydatków przez administratora.`;
75497549 }
75507550 },
7551+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7552+ // eslint-disable-next-line default-case
7553+ switch (actorType) {
7554+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7555+ return `Czekamy, aż <strong>ty</strong> wyeksportujesz ten raport.`;
7556+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7557+ return `Oczekiwanie na <strong>${actor}</strong> w celu wyeksportowania tego raportu.`;
7558+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7559+ return `Oczekiwanie na eksport tego raportu przez administratora.`;
7560+ }
7561+ },
75517562 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
75527563 // eslint-disable-next-line default-case
75537564 switch (actorType) {
Original file line number Diff line number Diff line change @@ -7564,6 +7564,17 @@ ${
75647564 return `Aguardando um administrador aprovar as despesas.` ;
75657565 }
75667566 } ,
7567+ [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_EXPORT ] : ( { actor, actorType} : NextStepParams ) => {
7568+ // eslint-disable-next-line default-case
7569+ switch ( actorType ) {
7570+ case CONST . NEXT_STEP . ACTOR_TYPE . CURRENT_USER :
7571+ return `Aguardando <strong>you</strong> exportar este relatório.` ;
7572+ case CONST . NEXT_STEP . ACTOR_TYPE . OTHER_USER :
7573+ return `Aguardando <strong>${ actor } </strong> exportar este relatório.` ;
7574+ case CONST . NEXT_STEP . ACTOR_TYPE . UNSPECIFIED_ADMIN :
7575+ return `Aguardando um administrador para exportar este relatório.` ;
7576+ }
7577+ } ,
75677578 [ CONST . NEXT_STEP . MESSAGE_KEY . WAITING_TO_PAY ] : ( { actor, actorType} : NextStepParams ) => {
75687579 // eslint-disable-next-line default-case
75697580 switch ( actorType ) {
Original file line number Diff line number Diff line change @@ -7394,6 +7394,17 @@ ${
73947394 return `正在等待管理员批准费用。`;
73957395 }
73967396 },
7397+ [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_EXPORT]: ({actor, actorType}: NextStepParams) => {
7398+ // eslint-disable-next-line default-case
7399+ switch (actorType) {
7400+ case CONST.NEXT_STEP.ACTOR_TYPE.CURRENT_USER:
7401+ return `正在等待<strong>您</strong>导出此报告。`;
7402+ case CONST.NEXT_STEP.ACTOR_TYPE.OTHER_USER:
7403+ return `正在等待<strong>${actor}</strong>导出此报告。`;
7404+ case CONST.NEXT_STEP.ACTOR_TYPE.UNSPECIFIED_ADMIN:
7405+ return `正在等待管理员导出此报告。`;
7406+ }
7407+ },
73977408 [CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_PAY]: ({actor, actorType}: NextStepParams) => {
73987409 // eslint-disable-next-line default-case
73997410 switch (actorType) {
You can’t perform that action at this time.
0 commit comments