Skip to content

Commit e7d0020

Browse files
committed
fix: remove duplicate translations
1 parent e9c4a3c commit e7d0020

18 files changed

Lines changed: 10 additions & 60 deletions

File tree

src/hooks/usePaymentOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function usePaymentOptions({
171171
onSelected: () => onPress(CONST.IOU.PAYMENT_TYPE.ELSEWHERE),
172172
},
173173
{
174-
text: translate('workspace.invoices.paymentMethods.addBankAccount'),
174+
text: translate('bankAccount.addBankAccount'),
175175
icon: Expensicons.Bank,
176176
onSelected: () => {
177177
const bankAccountRoute = getBankAccountRoute(chatReport);
@@ -190,7 +190,7 @@ function usePaymentOptions({
190190
subMenuItems: [
191191
...(isCurrencySupported ? getPaymentSubitems(true) : []),
192192
{
193-
text: translate('workspace.invoices.paymentMethods.addBankAccount'),
193+
text: translate('bankAccount.addBankAccount'),
194194
icon: Expensicons.Bank,
195195
onSelected: () => {
196196
const bankAccountRoute = getBankAccountRoute(chatReport);

src/languages/de.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,6 @@ const translations = {
18331833
sendAndReceiveMoney: 'Senden und Empfangen von Geld mit Freunden. Nur US-Bankkonten.',
18341834
enableWallet: 'Wallet aktivieren',
18351835
addBankAccountToSendAndReceive: 'Erhalten Sie eine Rückerstattung für Ausgaben, die Sie an einen Arbeitsbereich einreichen.',
1836-
addBankAccount: 'Bankkonto hinzufügen',
18371836
assignedCards: 'Zugewiesene Karten',
18381837
assignedCardsDescription: 'Dies sind Karten, die von einem Workspace-Admin zugewiesen wurden, um die Ausgaben des Unternehmens zu verwalten.',
18391838
expensifyCard: 'Expensify Card',
@@ -1900,7 +1899,6 @@ const translations = {
19001899
addApprovalButton: 'Genehmigungsworkflow hinzufügen',
19011900
addApprovalTip: 'Dieser Standard-Workflow gilt für alle Mitglieder, es sei denn, es existiert ein spezifischerer Workflow.',
19021901
approver: 'Genehmiger',
1903-
addBankAccount: 'Bankkonto hinzufügen',
19041902
addApprovalsDescription: 'Zusätzliche Genehmigung erforderlich, bevor eine Zahlung autorisiert wird.',
19051903
makeOrTrackPaymentsTitle: 'Zahlungen vornehmen oder verfolgen',
19061904
makeOrTrackPaymentsDescription: 'Fügen Sie einen autorisierten Zahler für Zahlungen in Expensify hinzu oder verfolgen Sie Zahlungen, die anderswo getätigt wurden.',
@@ -3121,7 +3119,6 @@ const translations = {
31213119
termsAndConditions: 'Allgemeine Geschäftsbedingungen',
31223120
},
31233121
connectBankAccountStep: {
3124-
addBankAccount: 'Bankkonto hinzufügen',
31253122
finishButtonText: 'Einrichtung abschließen',
31263123
validateYourBankAccount: 'Bestätigen Sie Ihr Bankkonto',
31273124
validateButtonText: 'Validieren',
@@ -3410,7 +3407,6 @@ const translations = {
34103407
plan: 'Plan',
34113408
profile: 'Übersicht',
34123409
bankAccount: 'Bankkonto',
3413-
addBankAccount: 'Bankkonto hinzufügen',
34143410
testTransactions: 'Transaktionen testen',
34153411
issueAndManageCards: 'Karten ausstellen und verwalten',
34163412
reconcileCards: 'Karten abstimmen',
@@ -5175,7 +5171,6 @@ const translations = {
51755171
personal: 'Persönlich',
51765172
business: 'Geschäft',
51775173
chooseInvoiceMethod: 'Wählen Sie unten eine Zahlungsmethode aus:',
5178-
addBankAccount: 'Bankkonto hinzufügen',
51795174
payingAsIndividual: 'Als Einzelperson bezahlen',
51805175
payingAsBusiness: 'Als Unternehmen bezahlen',
51815176
},

src/languages/en.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,6 @@ const translations = {
18101810
sendAndReceiveMoney: 'Send and receive money with friends. US bank accounts only.',
18111811
enableWallet: 'Enable wallet',
18121812
addBankAccountToSendAndReceive: 'Get paid back for expenses you submit to a workspace.',
1813-
addBankAccount: 'Add bank account',
18141813
assignedCards: 'Assigned cards',
18151814
assignedCardsDescription: 'These are cards assigned by a workspace admin to manage company spend.',
18161815
expensifyCard: 'Expensify Card',
@@ -1875,7 +1874,6 @@ const translations = {
18751874
addApprovalButton: 'Add approval workflow',
18761875
addApprovalTip: 'This default workflow applies to all members, unless a more specific workflow exists.',
18771876
approver: 'Approver',
1878-
addBankAccount: 'Add bank account',
18791877
addApprovalsDescription: 'Require additional approval before authorizing a payment.',
18801878
makeOrTrackPaymentsTitle: 'Make or track payments',
18811879
makeOrTrackPaymentsDescription: 'Add an authorized payer for payments made in Expensify or track payments made elsewhere.',
@@ -3114,7 +3112,6 @@ const translations = {
31143112
termsAndConditions: 'terms and conditions',
31153113
},
31163114
connectBankAccountStep: {
3117-
addBankAccount: 'Add bank account',
31183115
finishButtonText: 'Finish setup',
31193116
validateYourBankAccount: 'Validate your bank account',
31203117
validateButtonText: 'Validate',
@@ -3402,7 +3399,6 @@ const translations = {
34023399
plan: 'Plan',
34033400
profile: 'Overview',
34043401
bankAccount: 'Bank account',
3405-
addBankAccount: 'Add bank account',
34063402
testTransactions: 'Test transactions',
34073403
issueAndManageCards: 'Issue and manage cards',
34083404
reconcileCards: 'Reconcile cards',
@@ -5152,7 +5148,6 @@ const translations = {
51525148
personal: 'Personal',
51535149
business: 'Business',
51545150
chooseInvoiceMethod: 'Choose a payment method below:',
5155-
addBankAccount: 'Add bank account',
51565151
payingAsIndividual: 'Paying as an individual',
51575152
payingAsBusiness: 'Paying as a business',
51585153
},

src/languages/es.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,6 @@ const translations = {
18091809
sendAndReceiveMoney: 'Envía y recibe dinero desde tu Billetera Expensify. Solo cuentas bancarias de EE. UU.',
18101810
enableWallet: 'Habilitar billetera',
18111811
addBankAccountToSendAndReceive: 'Recibe el reembolso de los gastos que envíes a un espacio de trabajo.',
1812-
addBankAccount: 'Añadir cuenta bancaria',
18131812
assignedCards: 'Tarjetas asignadas',
18141813
assignedCardsDescription: 'Son tarjetas asignadas por un administrador del espacio de trabajo para gestionar los gastos de la empresa.',
18151814
expensifyCard: 'Tarjeta Expensify',
@@ -1874,7 +1873,6 @@ const translations = {
18741873
addApprovalButton: 'Añadir flujo de aprobación',
18751874
addApprovalTip: 'Este flujo de trabajo por defecto se aplica a todos los miembros, a menos que exista un flujo de trabajo más específico.',
18761875
approver: 'Aprobador',
1877-
addBankAccount: 'Añadir cuenta bancaria',
18781876
addApprovalsDescription: 'Requiere una aprobación adicional antes de autorizar un pago.',
18791877
makeOrTrackPaymentsTitle: 'Realizar o seguir pagos',
18801878
makeOrTrackPaymentsDescription: 'Añade un pagador autorizado para los pagos realizados en Expensify o realiza un seguimiento de los pagos realizados en otro lugar.',
@@ -3106,7 +3104,6 @@ const translations = {
31063104
termsAndConditions: 'Términos y Condiciones',
31073105
},
31083106
connectBankAccountStep: {
3109-
addBankAccount: 'Añadir cuenta bancaria',
31103107
finishButtonText: 'Finalizar configuración',
31113108
validateYourBankAccount: 'Valida tu cuenta bancaria',
31123109
validateButtonText: 'Validar',
@@ -3393,7 +3390,6 @@ const translations = {
33933390
profile: 'Resumen',
33943391
bankAccount: 'Cuenta bancaria',
33953392
displayedAs: 'Mostrado como',
3396-
addBankAccount: 'Añadir cuenta bancaria',
33973393
testTransactions: 'Transacciones de prueba',
33983394
issueAndManageCards: 'Emitir y gestionar tarjetas',
33993395
reconcileCards: 'Reconciliar tarjetas',
@@ -5167,7 +5163,6 @@ const translations = {
51675163
personal: 'Personal',
51685164
business: 'Empresas',
51695165
chooseInvoiceMethod: 'Elija un método de pago:',
5170-
addBankAccount: 'Añadir cuenta bancaria',
51715166
payingAsIndividual: 'Pago individual',
51725167
payingAsBusiness: 'Pagar como una empresa',
51735168
},

src/languages/fr.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,6 @@ const translations = {
18341834
sendAndReceiveMoney: "Envoyez et recevez de l'argent avec des amis. Comptes bancaires américains uniquement.",
18351835
enableWallet: 'Activer le portefeuille',
18361836
addBankAccountToSendAndReceive: 'Soyez remboursé pour les dépenses que vous soumettez à un espace de travail.',
1837-
addBankAccount: 'Ajouter un compte bancaire',
18381837
assignedCards: 'Cartes assignées',
18391838
assignedCardsDescription: "Ce sont des cartes attribuées par un administrateur d'espace de travail pour gérer les dépenses de l'entreprise.",
18401839
expensifyCard: 'Expensify Card',
@@ -1902,7 +1901,6 @@ const translations = {
19021901
addApprovalButton: "Ajouter un flux de travail d'approbation",
19031902
addApprovalTip: "Ce flux de travail par défaut s'applique à tous les membres, sauf si un flux de travail plus spécifique existe.",
19041903
approver: 'Approbateur',
1905-
addBankAccount: 'Ajouter un compte bancaire',
19061904
addApprovalsDescription: "Exiger une approbation supplémentaire avant d'autoriser un paiement.",
19071905
makeOrTrackPaymentsTitle: 'Effectuer ou suivre des paiements',
19081906
makeOrTrackPaymentsDescription: 'Ajoutez un payeur autorisé pour les paiements effectués dans Expensify ou suivez les paiements effectués ailleurs.',
@@ -3125,7 +3123,6 @@ const translations = {
31253123
termsAndConditions: 'termes et conditions',
31263124
},
31273125
connectBankAccountStep: {
3128-
addBankAccount: 'Ajouter un compte bancaire',
31293126
finishButtonText: 'Terminer la configuration',
31303127
validateYourBankAccount: 'Validez votre compte bancaire',
31313128
validateButtonText: 'Valider',
@@ -3416,7 +3413,6 @@ const translations = {
34163413
plan: 'Planification',
34173414
profile: 'Aperçu',
34183415
bankAccount: 'Compte bancaire',
3419-
addBankAccount: 'Ajouter un compte bancaire',
34203416
testTransactions: 'Tester les transactions',
34213417
issueAndManageCards: 'Émettre et gérer des cartes',
34223418
reconcileCards: 'Rapprocher les cartes',
@@ -5187,7 +5183,6 @@ const translations = {
51875183
personal: 'Personnel',
51885184
business: 'Entreprise',
51895185
chooseInvoiceMethod: 'Choisissez un mode de paiement ci-dessous :',
5190-
addBankAccount: 'Ajouter un compte bancaire',
51915186
payingAsIndividual: "Payer en tant qu'individu",
51925187
payingAsBusiness: "Payer en tant qu'entreprise",
51935188
},

src/languages/it.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,6 @@ const translations = {
18261826
sendAndReceiveMoney: 'Invia e ricevi denaro con gli amici. Solo conti bancari statunitensi.',
18271827
enableWallet: 'Abilita portafoglio',
18281828
addBankAccountToSendAndReceive: "Ricevi il rimborso per le spese che invii a un'area di lavoro.",
1829-
addBankAccount: 'Aggiungi conto bancario',
18301829
assignedCards: 'Carte assegnate',
18311830
assignedCardsDescription: 'Queste sono carte assegnate da un amministratore del workspace per gestire le spese aziendali.',
18321831
expensifyCard: 'Expensify Card',
@@ -1893,7 +1892,6 @@ const translations = {
18931892
addApprovalButton: 'Aggiungi flusso di lavoro di approvazione',
18941893
addApprovalTip: 'Questo flusso di lavoro predefinito si applica a tutti i membri, a meno che non esista un flusso di lavoro più specifico.',
18951894
approver: 'Approvante',
1896-
addBankAccount: 'Aggiungi conto bancario',
18971895
addApprovalsDescription: "Richiedi un'approvazione aggiuntiva prima di autorizzare un pagamento.",
18981896
makeOrTrackPaymentsTitle: 'Effettua o traccia pagamenti',
18991897
makeOrTrackPaymentsDescription: 'Aggiungi un pagatore autorizzato per i pagamenti effettuati in Expensify o traccia i pagamenti effettuati altrove.',
@@ -3134,7 +3132,6 @@ const translations = {
31343132
termsAndConditions: 'termini e condizioni',
31353133
},
31363134
connectBankAccountStep: {
3137-
addBankAccount: 'Aggiungi conto bancario',
31383135
finishButtonText: 'Completa la configurazione',
31393136
validateYourBankAccount: 'Convalida il tuo conto bancario',
31403137
validateButtonText: 'Convalida',
@@ -3422,7 +3419,6 @@ const translations = {
34223419
plan: 'Piano',
34233420
profile: 'Panoramica',
34243421
bankAccount: 'Conto bancario',
3425-
addBankAccount: 'Aggiungi conto bancario',
34263422
testTransactions: 'Transazioni di prova',
34273423
issueAndManageCards: 'Emetti e gestisci carte',
34283424
reconcileCards: 'Riconcilia carte',
@@ -5187,7 +5183,6 @@ const translations = {
51875183
personal: 'Personale',
51885184
business: 'Business',
51895185
chooseInvoiceMethod: 'Scegli un metodo di pagamento qui sotto:',
5190-
addBankAccount: 'Aggiungi conto bancario',
51915186
payingAsIndividual: 'Pagare come individuo',
51925187
payingAsBusiness: "Pagare come un'azienda",
51935188
},

src/languages/ja.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,6 @@ const translations = {
18241824
sendAndReceiveMoney: '友達とお金を送受信する。米国の銀行口座のみ。',
18251825
enableWallet: 'ウォレットを有効にする',
18261826
addBankAccountToSendAndReceive: 'ワークスペースに提出した経費の払い戻しを受ける。',
1827-
addBankAccount: '銀行口座を追加',
18281827
assignedCards: '割り当てられたカード',
18291828
assignedCardsDescription: 'これらは、会社の支出を管理するためにワークスペース管理者によって割り当てられたカードです。',
18301829
expensifyCard: 'Expensify Card',
@@ -1888,7 +1887,6 @@ const translations = {
18881887
addApprovalButton: '承認ワークフローを追加',
18891888
addApprovalTip: 'このデフォルトのワークフローは、より具体的なワークフローが存在しない限り、すべてのメンバーに適用されます。',
18901889
approver: '承認者',
1891-
addBankAccount: '銀行口座を追加',
18921890
addApprovalsDescription: '支払いを承認する前に追加の承認が必要です。',
18931891
makeOrTrackPaymentsTitle: '支払いを行うまたは追跡する',
18941892
makeOrTrackPaymentsDescription: 'Expensifyでの支払いのために認可された支払者を追加するか、他の場所で行われた支払いを追跡します。',
@@ -3138,7 +3136,6 @@ const translations = {
31383136
termsAndConditions: '利用規約',
31393137
},
31403138
connectBankAccountStep: {
3141-
addBankAccount: '銀行口座を追加する',
31423139
finishButtonText: 'セットアップを完了する',
31433140
validateYourBankAccount: '銀行口座を確認してください',
31443141
validateButtonText: '検証する',
@@ -3423,7 +3420,6 @@ const translations = {
34233420
plan: '計画',
34243421
profile: '概要',
34253422
bankAccount: '銀行口座',
3426-
addBankAccount: '銀行口座を追加',
34273423
testTransactions: 'トランザクションをテストする',
34283424
issueAndManageCards: 'カードの発行と管理',
34293425
reconcileCards: 'カードを照合する',
@@ -5163,7 +5159,6 @@ const translations = {
51635159
personal: '個人用',
51645160
business: 'ビジネス',
51655161
chooseInvoiceMethod: '以下の支払い方法を選択してください:',
5166-
addBankAccount: '銀行口座を追加',
51675162
payingAsIndividual: '個人として支払う',
51685163
payingAsBusiness: 'ビジネスとして支払う',
51695164
},

src/languages/nl.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,6 @@ const translations = {
18261826
sendAndReceiveMoney: 'Stuur en ontvang geld met vrienden. Alleen Amerikaanse bankrekeningen.',
18271827
enableWallet: 'Portemonnee inschakelen',
18281828
addBankAccountToSendAndReceive: 'Word terugbetaald voor uitgaven die je indient bij een werkruimte.',
1829-
addBankAccount: 'Bankrekening toevoegen',
18301829
assignedCards: 'Toegewezen kaarten',
18311830
assignedCardsDescription: 'Dit zijn kaarten die door een werkruimtebeheerder zijn toegewezen om de uitgaven van het bedrijf te beheren.',
18321831
expensifyCard: 'Expensify Card',
@@ -1893,7 +1892,6 @@ const translations = {
18931892
addApprovalButton: 'Goedkeuringsworkflow toevoegen',
18941893
addApprovalTip: 'Deze standaard workflow is van toepassing op alle leden, tenzij er een specifiekere workflow bestaat.',
18951894
approver: 'Goedkeurder',
1896-
addBankAccount: 'Koppel een bankrekening',
18971895
addApprovalsDescription: 'Vereis extra goedkeuring voordat een betaling wordt geautoriseerd.',
18981896
makeOrTrackPaymentsTitle: 'Betalingen maken of volgen',
18991897
makeOrTrackPaymentsDescription: 'Voeg een geautoriseerde betaler toe voor betalingen gedaan in Expensify of volg betalingen die elders zijn gedaan.',
@@ -3140,7 +3138,6 @@ const translations = {
31403138
termsAndConditions: 'algemene voorwaarden',
31413139
},
31423140
connectBankAccountStep: {
3143-
addBankAccount: 'Bankrekening toevoegen',
31443141
finishButtonText: 'Voltooi de installatie',
31453142
validateYourBankAccount: 'Valideer uw bankrekening',
31463143
validateButtonText: 'Valideren',
@@ -3429,7 +3426,6 @@ const translations = {
34293426
plan: 'Plan',
34303427
profile: 'Overzicht',
34313428
bankAccount: 'Bankrekening',
3432-
addBankAccount: 'Bankrekening toevoegen',
34333429
testTransactions: 'Testtransacties',
34343430
issueAndManageCards: 'Kaarten uitgeven en beheren',
34353431
reconcileCards: 'Reconcileer kaarten',
@@ -5188,7 +5184,6 @@ const translations = {
51885184
personal: 'Persoonlijk',
51895185
business: 'Business',
51905186
chooseInvoiceMethod: 'Kies hieronder een betaalmethode:',
5191-
addBankAccount: 'Bankrekening toevoegen',
51925187
payingAsIndividual: 'Betalen als individu',
51935188
payingAsBusiness: 'Betalen als een bedrijf',
51945189
},

src/languages/pl.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,6 @@ const translations = {
18221822
sendAndReceiveMoney: 'Wysyłaj i odbieraj pieniądze z przyjaciółmi. Tylko konta bankowe w USA.',
18231823
enableWallet: 'Włącz portfel',
18241824
addBankAccountToSendAndReceive: 'Otrzymaj zwrot kosztów za wydatki, które zgłaszasz do przestrzeni roboczej.',
1825-
addBankAccount: 'Dodaj konto bankowe',
18261825
assignedCards: 'Przypisane karty',
18271826
assignedCardsDescription: 'Są to karty przypisane przez administratora przestrzeni roboczej do zarządzania wydatkami firmy.',
18281827
expensifyCard: 'Expensify Card',
@@ -1890,7 +1889,6 @@ const translations = {
18901889
addApprovalButton: 'Dodaj przepływ pracy zatwierdzania',
18911890
addApprovalTip: 'Ten domyślny przepływ pracy dotyczy wszystkich członków, chyba że istnieje bardziej szczegółowy przepływ pracy.',
18921891
approver: 'Aprobujący',
1893-
addBankAccount: 'Dodaj konto bankowe',
18941892
addApprovalsDescription: 'Wymagaj dodatkowej zgody przed autoryzacją płatności.',
18951893
makeOrTrackPaymentsTitle: 'Dokonuj lub śledź płatności',
18961894
makeOrTrackPaymentsDescription: 'Dodaj upoważnionego płatnika do płatności dokonywanych w Expensify lub śledź płatności dokonane gdzie indziej.',
@@ -3134,7 +3132,6 @@ const translations = {
31343132
termsAndConditions: 'warunki i zasady',
31353133
},
31363134
connectBankAccountStep: {
3137-
addBankAccount: 'Dodaj konto bankowe',
31383135
finishButtonText: 'Zakończ konfigurację',
31393136
validateYourBankAccount: 'Zwaliduj swoje konto bankowe',
31403137
validateButtonText: 'Zatwierdź',
@@ -3422,7 +3419,6 @@ const translations = {
34223419
plan: 'Plan',
34233420
profile: 'Przegląd',
34243421
bankAccount: 'Konto bankowe',
3425-
addBankAccount: 'Dodaj konto bankowe',
34263422
testTransactions: 'Przetestuj transakcje',
34273423
issueAndManageCards: 'Wydawaj i zarządzaj kartami',
34283424
reconcileCards: 'Uzgodnij karty',
@@ -5176,7 +5172,6 @@ const translations = {
51765172
personal: 'Osobiste',
51775173
business: 'Biznes',
51785174
chooseInvoiceMethod: 'Wybierz metodę płatności poniżej:',
5179-
addBankAccount: 'Dodaj konto bankowe',
51805175
payingAsIndividual: 'Płacenie jako osoba fizyczna',
51815176
payingAsBusiness: 'Płacenie jako firma',
51825177
},

0 commit comments

Comments
 (0)