Skip to content

Commit 0ba83ae

Browse files
committed
fix: remove unnecessary code
1 parent 8400d79 commit 0ba83ae

14 files changed

Lines changed: 2 additions & 138 deletions

File tree

src/languages/de.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5631,7 +5630,6 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU
56315630
reportFieldNameRequiredError: 'Bitte gib einen Berichtsfeldnamen ein',
56325631
reportFieldTypeRequiredError: 'Bitte wähle einen Berichtsfeldtyp aus',
56335632
circularReferenceError: 'Dieses Feld kann nicht auf sich selbst verweisen. Bitte aktualisieren.',
5634-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Nicht unterstützte Formel-Token(s): ${value}. Verwende unterstützte Token wie {report:id}.`,
56355633
reportFieldInitialValueRequiredError: 'Bitte wähle einen Anfangswert für ein Berichtsfeld aus',
56365634
genericFailureMessage: 'Beim Aktualisieren des Berichtfelds ist ein Fehler aufgetreten. Bitte versuche es erneut.',
56375635
},

src/languages/en.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import type {
4646
StepCounterParams,
4747
SyncStageNameConnectionsParams,
4848
UnshareParams,
49-
UnsupportedFormulaValueErrorParams,
5049
UpdatedBudgetParams,
5150
UpdatedPolicyApprovalRuleParams,
5251
UpdatedPolicyBudgetNotificationParams,
@@ -5637,7 +5636,6 @@ const translations = {
56375636
reportFieldNameRequiredError: 'Please enter a report field name',
56385637
reportFieldTypeRequiredError: 'Please choose a report field type',
56395638
circularReferenceError: "This field can't refer to itself. Please update.",
5640-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Unsupported formula token(s): ${value}. Use supported tokens such as {report:id}.`,
56415639
reportFieldInitialValueRequiredError: 'Please choose a report field initial value',
56425640
genericFailureMessage: 'An error occurred while updating the report field. Please try again.',
56435641
},

src/languages/es.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import type {
99
MultifactorAuthenticationTranslationParams,
1010
NextStepParams,
1111
PaidElsewhereParams,
12-
UnsupportedFormulaValueErrorParams,
1312
UpdatedPolicyTagParams,
1413
ViolationsRterParams,
1514
} from './params';
@@ -5526,7 +5525,6 @@ ${amount} para ${merchant} - ${date}`,
55265525
reportFieldNameRequiredError: 'Ingresa un nombre de campo de informe',
55275526
reportFieldTypeRequiredError: 'Elige un tipo de campo de informe',
55285527
circularReferenceError: 'Este campo no puede hacer referencia a sí mismo. Por favor, actualizar.',
5529-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Token(s) de fórmula no admitido(s): ${value}. Usa tokens admitidos como {report:id}.`,
55305528
reportFieldInitialValueRequiredError: 'Elige un valor inicial de campo de informe',
55315529
genericFailureMessage: 'Se ha producido un error al actualizar el campo de informe. Por favor, inténtalo de nuevo.',
55325530
},

src/languages/fr.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5652,8 +5651,6 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST.
56525651
reportFieldNameRequiredError: 'Veuillez saisir un nom de champ de note de frais',
56535652
reportFieldTypeRequiredError: 'Veuillez choisir un type de champ de note de frais',
56545653
circularReferenceError: 'Ce champ ne peut pas faire référence à lui-même. Veuillez le mettre à jour.',
5655-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) =>
5656-
`Jeton(s) de formule non pris en charge : ${value}. Utilisez des jetons pris en charge comme {report:id}.`,
56575654
reportFieldInitialValueRequiredError: 'Veuillez choisir une valeur initiale pour le champ de note de frais',
56585655
genericFailureMessage: 'Une erreur s’est produite lors de la mise à jour du champ de note de frais. Veuillez réessayer.',
56595656
},

src/languages/it.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5621,7 +5620,6 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST.
56215620
reportFieldNameRequiredError: 'Inserisci un nome per il campo del report',
56225621
reportFieldTypeRequiredError: 'Scegli un tipo di campo del report',
56235622
circularReferenceError: 'Questo campo non può fare riferimento a se stesso. Aggiorna per favore.',
5624-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Token di formula non supportati: ${value}. Usa token supportati come {report:id}.`,
56255623
reportFieldInitialValueRequiredError: 'Scegli un valore iniziale per il campo del resoconto',
56265624
genericFailureMessage: 'Si è verificato un errore durante l’aggiornamento del campo del report. Riprova.',
56275625
},

src/languages/ja.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5556,8 +5555,6 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
55565555
reportFieldNameRequiredError: 'レポート項目名を入力してください',
55575556
reportFieldTypeRequiredError: 'レポートフィールドの種類を選択してください',
55585557
circularReferenceError: 'このフィールドを自分自身に参照することはできません。更新してください。',
5559-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) =>
5560-
`サポートされていない数式トークン: ${value}。{report:id}などのサポートされているトークンを使用してください。`,
55615558
reportFieldInitialValueRequiredError: 'レポート項目の初期値を選択してください',
55625559
genericFailureMessage: 'レポートフィールドの更新中にエラーが発生しました。もう一度お試しください。',
55635560
},

src/languages/nl.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5602,7 +5601,6 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_
56025601
reportFieldNameRequiredError: 'Voer een naam voor een rapportveld in',
56035602
reportFieldTypeRequiredError: 'Kies een veldtype voor het rapport',
56045603
circularReferenceError: 'Dit veld kan niet naar zichzelf verwijzen. Werk het alsjeblieft bij.',
5605-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Niet-ondersteunde formule-token(s): ${value}. Gebruik ondersteunde tokens zoals {report:id}.`,
56065604
reportFieldInitialValueRequiredError: 'Kies een beginwaarde voor een rapportveld',
56075605
genericFailureMessage: 'Er is een fout opgetreden bij het bijwerken van het rapportveld. Probeer het opnieuw.',
56085606
},

src/languages/params.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ type MarkReimbursedFromIntegrationParams = {amount: string; currency: string};
209209

210210
type ShareParams = {to: string};
211211

212-
type UnsupportedFormulaValueErrorParams = {
213-
value: string;
214-
};
215-
216212
type UnshareParams = {to: string};
217213

218214
type ConnectionNameParams = {
@@ -341,7 +337,6 @@ export type {
341337
MarkReimbursedFromIntegrationParams,
342338
ShareParams,
343339
UnshareParams,
344-
UnsupportedFormulaValueErrorParams,
345340
ConnectionNameParams,
346341
ExportAgainModalDescriptionParams,
347342
UpdateRoleParams,

src/languages/pl.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5596,7 +5595,6 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy
55965595
reportFieldNameRequiredError: 'Wprowadź nazwę pola raportu',
55975596
reportFieldTypeRequiredError: 'Wybierz typ pola raportu',
55985597
circularReferenceError: 'To pole nie może odnosić się do siebie. Zaktualizuj je.',
5599-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Nieobsługiwane tokeny formuły: ${value}. Użyj obsługiwanych tokenów, np. {report:id}.`,
56005598
reportFieldInitialValueRequiredError: 'Wybierz początkową wartość pola raportu',
56015599
genericFailureMessage: 'Wystąpił błąd podczas aktualizowania pola raportu. Spróbuj ponownie.',
56025600
},

src/languages/pt-BR.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import type {
5858
StepCounterParams,
5959
SyncStageNameConnectionsParams,
6060
UnshareParams,
61-
UnsupportedFormulaValueErrorParams,
6261
UpdatedBudgetParams,
6362
UpdatedPolicyApprovalRuleParams,
6463
UpdatedPolicyBudgetNotificationParams,
@@ -5601,7 +5600,6 @@ _Para instruções mais detalhadas, [visite nossa central de ajuda](${CONST.NETS
56015600
reportFieldNameRequiredError: 'Insira um nome de campo de relatório',
56025601
reportFieldTypeRequiredError: 'Escolha um tipo de campo de relatório',
56035602
circularReferenceError: 'Este campo não pode fazer referência a si mesmo. Atualize, por favor.',
5604-
unsupportedFormulaValueError: ({value}: UnsupportedFormulaValueErrorParams) => `Token(s) de fórmula não suportado(s): ${value}. Use tokens suportados como {report:id}.`,
56055603
reportFieldInitialValueRequiredError: 'Escolha um valor inicial para o campo de relatório',
56065604
genericFailureMessage: 'Ocorreu um erro ao atualizar o campo do relatório. Tente novamente.',
56075605
},

0 commit comments

Comments
 (0)