diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts index 41b2e108e1f..933215a1ed3 100644 --- a/scripts/generate-locales.ts +++ b/scripts/generate-locales.ts @@ -312,7 +312,6 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) { const legacyDefinitions = ['app', 'cell_phone', 'team']; const definitionsToSkip = [ - 'finance', 'internet', 'location', 'lorem', diff --git a/src/locales/el/finance/account_type.ts b/src/locales/el/finance/account_type.ts index 5b84d30c81d..7617d6dfd5c 100644 --- a/src/locales/el/finance/account_type.ts +++ b/src/locales/el/finance/account_type.ts @@ -1 +1 @@ -export default ['Καταθετικός', 'Μισθοδοσίας', 'Δανειακός']; +export default ['Δανειακός', 'Καταθετικός', 'Μισθοδοσίας']; diff --git a/src/locales/el/finance/credit_card/discover.ts b/src/locales/el/finance/credit_card/discover.ts index f9a710c8503..7a719ee01df 100644 --- a/src/locales/el/finance/credit_card/discover.ts +++ b/src/locales/el/finance/credit_card/discover.ts @@ -1,8 +1,8 @@ export default [ '/6011-####-####-###L/', - '/65##-####-####-###L/', - '/64[4-9]#-####-####-###L/', '/6011-62##-####-####-###L/', - '/65##-62##-####-####-###L/', + '/64[4-9]#-####-####-###L/', '/64[4-9]#-62##-####-####-###L/', + '/65##-####-####-###L/', + '/65##-62##-####-####-###L/', ]; diff --git a/src/locales/el/finance/credit_card/mastercard.ts b/src/locales/el/finance/credit_card/mastercard.ts index 857493ac18c..16770c32aa4 100644 --- a/src/locales/el/finance/credit_card/mastercard.ts +++ b/src/locales/el/finance/credit_card/mastercard.ts @@ -1 +1 @@ -export default ['5[1-5]##-####-####-###L', '2[221-720]-####-####-###L']; +export default ['2[221-720]-####-####-###L', '5[1-5]##-####-####-###L']; diff --git a/src/locales/el/finance/transaction_type.ts b/src/locales/el/finance/transaction_type.ts index 51f65625093..ffd333a1e50 100644 --- a/src/locales/el/finance/transaction_type.ts +++ b/src/locales/el/finance/transaction_type.ts @@ -1 +1 @@ -export default ['κατάθεση', 'ανάληψη', 'πληρωμή', 'τιμολόγιο']; +export default ['ανάληψη', 'κατάθεση', 'πληρωμή', 'τιμολόγιο']; diff --git a/src/locales/en/finance/account_type.ts b/src/locales/en/finance/account_type.ts index 5e656c2d8ac..625151259ba 100644 --- a/src/locales/en/finance/account_type.ts +++ b/src/locales/en/finance/account_type.ts @@ -1,10 +1,10 @@ export default [ + 'Auto Loan', 'Checking', - 'Savings', - 'Money Market', - 'Investment', - 'Home Loan', 'Credit Card', - 'Auto Loan', + 'Home Loan', + 'Investment', + 'Money Market', 'Personal Loan', + 'Savings', ]; diff --git a/src/locales/en/finance/credit_card/discover.ts b/src/locales/en/finance/credit_card/discover.ts index 23a8f6d5f11..462c3f43bcc 100644 --- a/src/locales/en/finance/credit_card/discover.ts +++ b/src/locales/en/finance/credit_card/discover.ts @@ -1,8 +1,8 @@ export default [ '6011-####-####-###L', - '65##-####-####-###L', - '64[4-9]#-####-####-###L', '6011-62##-####-####-###L', - '65##-62##-####-####-###L', + '64[4-9]#-####-####-###L', '64[4-9]#-62##-####-####-###L', + '65##-####-####-###L', + '65##-62##-####-####-###L', ]; diff --git a/src/locales/en/finance/credit_card/mastercard.ts b/src/locales/en/finance/credit_card/mastercard.ts index 857493ac18c..16770c32aa4 100644 --- a/src/locales/en/finance/credit_card/mastercard.ts +++ b/src/locales/en/finance/credit_card/mastercard.ts @@ -1 +1 @@ -export default ['5[1-5]##-####-####-###L', '2[221-720]-####-####-###L']; +export default ['2[221-720]-####-####-###L', '5[1-5]##-####-####-###L']; diff --git a/src/locales/en/finance/transaction_type.ts b/src/locales/en/finance/transaction_type.ts index 56de3081036..12d109f54cc 100644 --- a/src/locales/en/finance/transaction_type.ts +++ b/src/locales/en/finance/transaction_type.ts @@ -1 +1 @@ -export default ['deposit', 'withdrawal', 'payment', 'invoice']; +export default ['deposit', 'invoice', 'payment', 'withdrawal']; diff --git a/src/locales/fa/finance/account_type.ts b/src/locales/fa/finance/account_type.ts index f550ee432f8..fb7728298eb 100644 --- a/src/locales/fa/finance/account_type.ts +++ b/src/locales/fa/finance/account_type.ts @@ -1,8 +1,8 @@ export default [ - 'پس انداز', 'سرمایه گذاری', - 'وام مسکن', - 'کارت اعتباری', 'وام خودرو', 'وام شخصی', + 'وام مسکن', + 'پس انداز', + 'کارت اعتباری', ]; diff --git a/src/locales/fa/finance/credit_card/mastercard.ts b/src/locales/fa/finance/credit_card/mastercard.ts index 857493ac18c..16770c32aa4 100644 --- a/src/locales/fa/finance/credit_card/mastercard.ts +++ b/src/locales/fa/finance/credit_card/mastercard.ts @@ -1 +1 @@ -export default ['5[1-5]##-####-####-###L', '2[221-720]-####-####-###L']; +export default ['2[221-720]-####-####-###L', '5[1-5]##-####-####-###L']; diff --git a/src/locales/fa/finance/transaction_type.ts b/src/locales/fa/finance/transaction_type.ts index 35dc53d7bb7..2db21fdea47 100644 --- a/src/locales/fa/finance/transaction_type.ts +++ b/src/locales/fa/finance/transaction_type.ts @@ -1 +1 @@ -export default ['سپرده', 'برداشت از حساب', 'پرداخت', 'صورتحساب']; +export default ['برداشت از حساب', 'سپرده', 'صورتحساب', 'پرداخت']; diff --git a/src/locales/fr/finance/account_type.ts b/src/locales/fr/finance/account_type.ts index 28b2a89e02c..a9772647059 100644 --- a/src/locales/fr/finance/account_type.ts +++ b/src/locales/fr/finance/account_type.ts @@ -1,9 +1,9 @@ export default [ + 'Carte de crédit', 'Chèque', 'Epargne', - 'Marché monétaire', 'Investissement', + 'Marché monétaire', 'Prêt immobilier', - 'Carte de crédit', 'Prêt personnel', ]; diff --git a/src/locales/fr/finance/transaction_type.ts b/src/locales/fr/finance/transaction_type.ts index bdbb578a0da..df088c36887 100644 --- a/src/locales/fr/finance/transaction_type.ts +++ b/src/locales/fr/finance/transaction_type.ts @@ -1 +1 @@ -export default ['dépôt', 'retrait', 'paiement', 'facture']; +export default ['dépôt', 'facture', 'paiement', 'retrait']; diff --git a/src/locales/hu/finance/account_type.ts b/src/locales/hu/finance/account_type.ts index 08a69d243b5..ecbc3c52400 100644 --- a/src/locales/hu/finance/account_type.ts +++ b/src/locales/hu/finance/account_type.ts @@ -1,10 +1,10 @@ export default [ + 'Befektetés', 'Fizetési', + 'Gépjármű kölcsön', + 'Hitelkártya', + 'Lakáshitel', 'Megtakaritás', 'Money Market', - 'Befektetés', - 'Lakáshitel', - 'Hitelkártya', - 'Gépjármű kölcsön', 'Személyi kölcsön', ]; diff --git a/src/locales/hu/finance/transaction_type.ts b/src/locales/hu/finance/transaction_type.ts index 49d309188b1..95e7e545df7 100644 --- a/src/locales/hu/finance/transaction_type.ts +++ b/src/locales/hu/finance/transaction_type.ts @@ -1 +1 @@ -export default ['pénzbefizetés', 'pénzfelvétel', 'fizetés', 'számlázás']; +export default ['fizetés', 'pénzbefizetés', 'pénzfelvétel', 'számlázás']; diff --git a/src/locales/ur/finance/account_type.ts b/src/locales/ur/finance/account_type.ts index 01cb226c786..02be7f8a89a 100644 --- a/src/locales/ur/finance/account_type.ts +++ b/src/locales/ur/finance/account_type.ts @@ -1 +1 @@ -export default ['Savings', 'Current']; +export default ['Current', 'Savings']; diff --git a/src/locales/ur/finance/transaction_type.ts b/src/locales/ur/finance/transaction_type.ts index 56de3081036..12d109f54cc 100644 --- a/src/locales/ur/finance/transaction_type.ts +++ b/src/locales/ur/finance/transaction_type.ts @@ -1 +1 @@ -export default ['deposit', 'withdrawal', 'payment', 'invoice']; +export default ['deposit', 'invoice', 'payment', 'withdrawal']; diff --git a/src/locales/zh_CN/finance/account_type.ts b/src/locales/zh_CN/finance/account_type.ts index 57834bea665..5da77a5bfe2 100644 --- a/src/locales/zh_CN/finance/account_type.ts +++ b/src/locales/zh_CN/finance/account_type.ts @@ -1,10 +1,10 @@ export default [ - '支票', + '个人贷款', + '信用卡', '储蓄', - '货币市场', - '投资', '房屋贷款', - '信用卡', + '投资', + '支票', '汽车贷款', - '个人贷款', + '货币市场', ]; diff --git a/src/locales/zh_CN/finance/credit_card/mastercard.ts b/src/locales/zh_CN/finance/credit_card/mastercard.ts index 857493ac18c..16770c32aa4 100644 --- a/src/locales/zh_CN/finance/credit_card/mastercard.ts +++ b/src/locales/zh_CN/finance/credit_card/mastercard.ts @@ -1 +1 @@ -export default ['5[1-5]##-####-####-###L', '2[221-720]-####-####-###L']; +export default ['2[221-720]-####-####-###L', '5[1-5]##-####-####-###L']; diff --git a/src/locales/zh_CN/finance/credit_card/unionpay.ts b/src/locales/zh_CN/finance/credit_card/unionpay.ts index b6bc8e70978..aa66fabf7a6 100644 --- a/src/locales/zh_CN/finance/credit_card/unionpay.ts +++ b/src/locales/zh_CN/finance/credit_card/unionpay.ts @@ -1,8 +1,8 @@ export default [ '62#############L', '67#############L', - '81#############L', - '81##############L', - '81###############L', '81################L', + '81###############L', + '81##############L', + '81#############L', ]; diff --git a/src/locales/zh_CN/finance/transaction_type.ts b/src/locales/zh_CN/finance/transaction_type.ts index d6e774430a9..2e0597be1c7 100644 --- a/src/locales/zh_CN/finance/transaction_type.ts +++ b/src/locales/zh_CN/finance/transaction_type.ts @@ -1 +1 @@ -export default ['存款', '取款', '支付', '开票']; +export default ['取款', '存款', '开票', '支付']; diff --git a/test/modules/__snapshots__/finance.spec.ts.snap b/test/modules/__snapshots__/finance.spec.ts.snap index bf62bcd747e..2f394c08bab 100644 --- a/test/modules/__snapshots__/finance.spec.ts.snap +++ b/test/modules/__snapshots__/finance.spec.ts.snap @@ -1,6 +1,6 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`finance > 42 > accountName 1`] = `"Money Market Account"`; +exports[`finance > 42 > accountName 1`] = `"Credit Card Account"`; exports[`finance > 42 > accountNumber > noArgs 1`] = `"39751108"`; @@ -30,11 +30,11 @@ exports[`finance > 42 > creditCardCVV 1`] = `"397"`; exports[`finance > 42 > creditCardIssuer 1`] = `"discover"`; -exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"6485-6211-0867-0982-1138"`; +exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"6575-6211-0867-0982-1139"`; exports[`finance > 42 > creditCardNumber > with issuer 1`] = `"4975110867099"`; -exports[`finance > 42 > creditCardNumber > with issuer option mastercard 1`] = `"5575-1108-6709-8213"`; +exports[`finance > 42 > creditCardNumber > with issuer option mastercard 1`] = `"2696-7511-0867-0988"`; exports[`finance > 42 > creditCardNumber > with issuer option visa 1`] = `"4975110867099"`; @@ -82,9 +82,9 @@ exports[`finance > 42 > routingNumber 1`] = `"397511082"`; exports[`finance > 42 > transactionDescription 1`] = `"deposit transaction at Reynolds, Miller and Crist using card ending with ***(...1135) for KES 374.54 in account ***08670982"`; -exports[`finance > 42 > transactionType 1`] = `"withdrawal"`; +exports[`finance > 42 > transactionType 1`] = `"invoice"`; -exports[`finance > 1211 > accountName 1`] = `"Personal Loan Account"`; +exports[`finance > 1211 > accountName 1`] = `"Savings Account"`; exports[`finance > 1211 > accountNumber > noArgs 1`] = `"98296673"`; @@ -118,7 +118,7 @@ exports[`finance > 1211 > creditCardNumber > noArgs 1`] = `"4296-6736-8768-4885" exports[`finance > 1211 > creditCardNumber > with issuer 1`] = `"4829-6673-6876-8484"`; -exports[`finance > 1211 > creditCardNumber > with issuer option mastercard 1`] = `"2667-2966-7368-7681"`; +exports[`finance > 1211 > creditCardNumber > with issuer option mastercard 1`] = `"5529-6673-6876-8484"`; exports[`finance > 1211 > creditCardNumber > with issuer option visa 1`] = `"4829-6673-6876-8484"`; @@ -166,9 +166,9 @@ exports[`finance > 1211 > routingNumber 1`] = `"982966738"`; exports[`finance > 1211 > transactionDescription 1`] = `"payment transaction at Fahey, Zieme and Osinski using card ending with ***(...8825) for CRC 928.52 in account ***73687684"`; -exports[`finance > 1211 > transactionType 1`] = `"invoice"`; +exports[`finance > 1211 > transactionType 1`] = `"withdrawal"`; -exports[`finance > 1337 > accountName 1`] = `"Money Market Account"`; +exports[`finance > 1337 > accountName 1`] = `"Credit Card Account"`; exports[`finance > 1337 > accountNumber > noArgs 1`] = `"21243529"`; @@ -202,7 +202,7 @@ exports[`finance > 1337 > creditCardNumber > noArgs 1`] = `"3014-352971-3614"`; exports[`finance > 1337 > creditCardNumber > with issuer 1`] = `"4124352971364"`; -exports[`finance > 1337 > creditCardNumber > with issuer option mastercard 1`] = `"5124-3529-7136-1949"`; +exports[`finance > 1337 > creditCardNumber > with issuer option mastercard 1`] = `"2300-2435-2971-3611"`; exports[`finance > 1337 > creditCardNumber > with issuer option visa 1`] = `"4124352971364"`; @@ -248,6 +248,6 @@ exports[`finance > 1337 > pin > with length option 1`] = `"2124352971"`; exports[`finance > 1337 > routingNumber 1`] = `"212435298"`; -exports[`finance > 1337 > transactionDescription 1`] = `"withdrawal transaction at Gottlieb - Koelpin using card ending with ***(...9477) for HUF 262.02 in account ***52971361"`; +exports[`finance > 1337 > transactionDescription 1`] = `"invoice transaction at Gottlieb - Koelpin using card ending with ***(...9477) for HUF 262.02 in account ***52971361"`; -exports[`finance > 1337 > transactionType 1`] = `"withdrawal"`; +exports[`finance > 1337 > transactionType 1`] = `"invoice"`;