Repository navigation
Fix spend rule system message repeating "spend category" for each category - #92977
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b490c48b00
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/de.ts b/src/languages/de.ts
index 242dcfd04df..3cbcc6803b9 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -4123,28 +4123,31 @@ ${amount} für ${merchant} – ${date}`,
verificationFailed: 'Die Verifizierung ist fehlgeschlagen, daher benötigen wir zusätzliche Dokumente, um dich und dein Unternehmen zu überprüfen',
taxIDVerification: 'Steuer-ID-Verifizierung',
taxIDVerificationDescription: dedent(`
- Bitte lade eine der folgenden Dateien hoch:
- • IRS TIN/EIN-Zuweisungsschreiben
- • IRS TIN/EIN-Antragsbestätigung (enthält normalerweise „Congratulations! The EIN has been successfully assigned“)
- • IRS-Steuerbefreiungsschreiben mit Firmenname und EIN`),
+ Bitte lade eine der folgenden Dateien hoch:
+ • IRS TIN/EIN-Zuweisungsschreiben
+ • IRS TIN/EIN-Antragsbestätigung (enthält normalerweise „Congratulations! The EIN has been successfully assigned“)
+ • IRS-Steuerbefreiungsschreiben mit Firmenname und EIN
+ `),
nameChangeDocument: 'Dokument zur Namensänderung',
nameChangeDocumentDescription:
'Wenn sich der Name deines Unternehmens seit der Beantragung der TIN/EIN geändert hat, benötigen wir dieses Dokument zur Verifizierung der angegebenen Steuer-ID',
companyAddressVerification: 'Verifizierung der Unternehmensadresse',
companyAddressVerificationDescription: dedent(`
- Bitte lade eine der folgenden Dateien hoch:
- • Aktuelle Strom-, Wasser- oder Gasrechnung mit Firmenname und Adresse
- • Kontoauszug mit Firmenname und Adresse
- • Aktueller Miet- oder Leasingvertrag inkl. Unterschriftsseite mit Firmenname und aktueller Adresse
- • Versicherungsnachweis mit Firmenname und Adresse
- • TIN-Zuweisungsdokument mit Firmenname und Adresse`),
+ Bitte lade eine der folgenden Dateien hoch:
+ • Aktuelle Strom-, Wasser- oder Gasrechnung mit Firmenname und Adresse
+ • Kontoauszug mit Firmenname und Adresse
+ • Aktueller Miet- oder Leasingvertrag inkl. Unterschriftsseite mit Firmenname und aktueller Adresse
+ • Versicherungsnachweis mit Firmenname und Adresse
+ • TIN-Zuweisungsdokument mit Firmenname und Adresse
+ `),
userAddressVerification: 'Adressverifizierung',
userAddressVerificationDescription: dedent(`
- Bitte lade eine der folgenden Dateien hoch:
- • Wählerregistrierungskarte
- • Führerschein
- • Kontoauszug
- • Versorgungsrechnung`),
+ Bitte lade eine der folgenden Dateien hoch:
+ • Wählerregistrierungskarte
+ • Führerschein
+ • Kontoauszug
+ • Versorgungsrechnung
+ `),
userDOBVerification: 'Geburtsdatumsverifizierung',
userDOBVerificationDescription: 'Bitte lade einen in den USA ausgestellten Ausweis hoch',
finishViaChat: 'Über Chat abschließen',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 2a4da84335a..0ee336a6531 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -4003,27 +4003,30 @@ ${amount} para ${merchant} - ${date}`,
verificationFailed: 'La verificación falló, por lo que necesitaremos documentos adicionales para verificarte a ti y a tu empresa',
taxIDVerification: 'Verificación del ID fiscal',
taxIDVerificationDescription: dedent(`
- Por favor, sube uno de los siguientes archivos:
- • Carta de asignación de TIN/EIN del IRS
- • Confirmación de solicitud de TIN/EIN del IRS (normalmente indica "Congratulations! The EIN has been successfully assigned")
- • Carta de exención fiscal del IRS que incluya el nombre de la empresa y el EIN`),
+ Por favor, sube uno de los siguientes archivos:
+ • Carta de asignación de TIN/EIN del IRS
+ • Confirmación de solicitud de TIN/EIN del IRS (normalmente indica "Congratulations! The EIN has been successfully assigned")
+ • Carta de exención fiscal del IRS que incluya el nombre de la empresa y el EIN
+ `),
nameChangeDocument: 'Documento de cambio de nombre',
nameChangeDocumentDescription: 'Si el nombre de tu empresa cambió desde que solicitaste el TIN/EIN, necesitamos este documento para verificar el número de ID fiscal proporcionado',
companyAddressVerification: 'Verificación de la dirección de la empresa',
companyAddressVerificationDescription: dedent(`
- Por favor, sube uno de los siguientes archivos:
- • Factura reciente de servicios públicos con nombre y dirección de la empresa
- • Estado de cuenta bancario con nombre y dirección de la empresa
- • Contrato de arrendamiento vigente con página de firmas que muestre el nombre y la dirección actual de la empresa
- • Estado de seguro con nombre y dirección de la empresa
- • Documento de asignación de TIN con nombre y dirección de la empresa`),
+ Por favor, sube uno de los siguientes archivos:
+ • Factura reciente de servicios públicos con nombre y dirección de la empresa
+ • Estado de cuenta bancario con nombre y dirección de la empresa
+ • Contrato de arrendamiento vigente con página de firmas que muestre el nombre y la dirección actual de la empresa
+ • Estado de seguro con nombre y dirección de la empresa
+ • Documento de asignación de TIN con nombre y dirección de la empresa
+ `),
userAddressVerification: 'Verificación de dirección',
userAddressVerificationDescription: dedent(`
- Por favor, sube uno de los siguientes archivos:
- • Tarjeta de registro de votante
- • Licencia de conducir
- • Estado de cuenta bancario
- • Factura de servicios públicos`),
+ Por favor, sube uno de los siguientes archivos:
+ • Tarjeta de registro de votante
+ • Licencia de conducir
+ • Estado de cuenta bancario
+ • Factura de servicios públicos
+ `),
userDOBVerification: 'Verificación de fecha de nacimiento',
userDOBVerificationDescription: 'Por favor, sube una identificación emitida en EE. UU.',
finishViaChat: 'Finalizar por chat',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index c9bdda0ad41..0b50bbc42a8 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -4136,28 +4136,31 @@ ${amount} pour ${merchant} - ${date}`,
verificationFailed: 'La vérification a échoué, nous aurons donc besoin de documents supplémentaires pour te vérifier ainsi que ton entreprise',
taxIDVerification: 'Vérification de l’identifiant fiscal',
taxIDVerificationDescription: dedent(`
- Veuillez téléverser l’un des fichiers suivants :
- • Lettre d’attribution TIN/EIN de l’IRS
- • Confirmation de demande TIN/EIN de l’IRS (indique généralement « Congratulations! The EIN has been successfully assigned »)
- • Lettre d’exonération fiscale de l’IRS indiquant le nom de l’entreprise et l’EIN`),
+ Veuillez téléverser l’un des fichiers suivants :
+ • Lettre d’attribution TIN/EIN de l’IRS
+ • Confirmation de demande TIN/EIN de l’IRS (indique généralement « Congratulations! The EIN has been successfully assigned »)
+ • Lettre d’exonération fiscale de l’IRS indiquant le nom de l’entreprise et l’EIN
+ `),
nameChangeDocument: 'Document de changement de nom',
nameChangeDocumentDescription:
'Si le nom de ton entreprise a changé depuis la demande du TIN/EIN, ce document est nécessaire pour vérifier le numéro d’identification fiscale fourni',
companyAddressVerification: 'Vérification de l’adresse de l’entreprise',
companyAddressVerificationDescription: dedent(`
- Veuillez téléverser l’un des fichiers suivants :
- • Facture récente de services publics indiquant le nom et l’adresse de l’entreprise
- • Relevé bancaire indiquant le nom et l’adresse de l’entreprise
- • Contrat de location en cours incluant la page de signature avec le nom et l’adresse actuelle de l’entreprise
- • Attestation d’assurance indiquant le nom et l’adresse de l’entreprise
- • Document d’attribution TIN indiquant le nom et l’adresse de l’entreprise`),
+ Veuillez téléverser l’un des fichiers suivants :
+ • Facture récente de services publics indiquant le nom et l’adresse de l’entreprise
+ • Relevé bancaire indiquant le nom et l’adresse de l’entreprise
+ • Contrat de location en cours incluant la page de signature avec le nom et l’adresse actuelle de l’entreprise
+ • Attestation d’assurance indiquant le nom et l’adresse de l’entreprise
+ • Document d’attribution TIN indiquant le nom et l’adresse de l’entreprise
+ `),
userAddressVerification: 'Vérification de l’adresse',
userAddressVerificationDescription: dedent(`
- Veuillez téléverser l’un des fichiers suivants :
- • Carte d’inscription électorale
- • Permis de conduire
- • Relevé bancaire
- • Facture de services publics`),
+ Veuillez téléverser l’un des fichiers suivants :
+ • Carte d’inscription électorale
+ • Permis de conduire
+ • Relevé bancaire
+ • Facture de services publics
+ `),
userDOBVerification: 'Vérification de la date de naissance',
userDOBVerificationDescription: 'Veuillez téléverser une pièce d’identité délivrée aux États-Unis',
finishViaChat: 'Finaliser via le chat',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 5d008bbde1c..f6ed1a2462d 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -4111,28 +4111,31 @@ ${amount} per ${merchant} - ${date}`,
verificationFailed: 'La verifica non è riuscita, quindi avremo bisogno di documenti aggiuntivi per verificare te e la tua azienda',
taxIDVerification: 'Verifica dell’ID fiscale',
taxIDVerificationDescription: dedent(`
- Carica uno dei seguenti file:
- • Lettera di assegnazione TIN/EIN dell’IRS
- • Conferma della richiesta TIN/EIN dell’IRS (di solito indica "Congratulations! The EIN has been successfully assigned")
- • Lettera di esenzione fiscale dell’IRS con nome dell’azienda ed EIN`),
+ Carica uno dei seguenti file:
+ • Lettera di assegnazione TIN/EIN dell’IRS
+ • Conferma della richiesta TIN/EIN dell’IRS (di solito indica "Congratulations! The EIN has been successfully assigned")
+ • Lettera di esenzione fiscale dell’IRS con nome dell’azienda ed EIN
+ `),
nameChangeDocument: 'Documento di cambio nome',
nameChangeDocumentDescription:
'Se il nome della tua azienda è cambiato dopo la richiesta del TIN/EIN, abbiamo bisogno di questo documento per verificare il numero di ID fiscale fornito',
companyAddressVerification: 'Verifica dell’indirizzo aziendale',
companyAddressVerificationDescription: dedent(`
- Carica uno dei seguenti file:
- • Bolletta recente con nome e indirizzo dell’azienda
- • Estratto conto bancario con nome e indirizzo dell’azienda
- • Contratto di locazione attuale con pagina firme che mostri nome e indirizzo attuale dell’azienda
- • Documento assicurativo con nome e indirizzo dell’azienda
- • Documento di assegnazione TIN con nome e indirizzo dell’azienda`),
+ Carica uno dei seguenti file:
+ • Bolletta recente con nome e indirizzo dell’azienda
+ • Estratto conto bancario con nome e indirizzo dell’azienda
+ • Contratto di locazione attuale con pagina firme che mostri nome e indirizzo attuale dell’azienda
+ • Documento assicurativo con nome e indirizzo dell’azienda
+ • Documento di assegnazione TIN con nome e indirizzo dell’azienda
+ `),
userAddressVerification: 'Verifica dell’indirizzo',
userAddressVerificationDescription: dedent(`
- Carica uno dei seguenti file:
- • Tessera elettorale
- • Patente di guida
- • Estratto conto bancario
- • Bolletta`),
+ Carica uno dei seguenti file:
+ • Tessera elettorale
+ • Patente di guida
+ • Estratto conto bancario
+ • Bolletta
+ `),
userDOBVerification: 'Verifica della data di nascita',
userDOBVerificationDescription: 'Carica un documento di identità rilasciato negli Stati Uniti',
finishViaChat: 'Completa via chat',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index c18993bea8d..45e999b1125 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -4080,27 +4080,30 @@ ${integrationName === CONST.ONBOARDING_ACCOUNTING_MAPPING.other ? 'あなたの'
verificationFailed: '確認に失敗したため、追加の書類で本人および事業の確認が必要です',
taxIDVerification: '納税者番号の確認',
taxIDVerificationDescription: dedent(`
- 以下のいずれかの書類をアップロードしてください:
- • IRS TIN/EIN 割当通知書
- • IRS TIN/EIN 申請確認書(通常「Congratulations! The EIN has been successfully assigned」と記載)
- • 会社名と EIN が記載された IRS の免税通知書`),
+ 以下のいずれかの書類をアップロードしてください:
+ • IRS TIN/EIN 割当通知書
+ • IRS TIN/EIN 申請確認書(通常「Congratulations! The EIN has been successfully assigned」と記載)
+ • 会社名と EIN が記載された IRS の免税通知書
+ `),
nameChangeDocument: '名称変更書類',
nameChangeDocumentDescription: 'TIN/EIN 申請後に会社名が変更された場合、提供された納税者番号を確認するためにこの書類が必要です',
companyAddressVerification: '会社住所の確認',
companyAddressVerificationDescription: dedent(`
- 以下のいずれかの書類をアップロードしてください:
- • 会社名と住所が記載された最近の公共料金請求書
- • 会社名と住所が記載された銀行取引明細書
- • 署名ページを含む現行の賃貸契約書(会社名と現住所が記載されたもの)
- • 会社名と住所が記載された保険証書
- • 会社名と住所が記載された TIN 割当書類`),
+ 以下のいずれかの書類をアップロードしてください:
+ • 会社名と住所が記載された最近の公共料金請求書
+ • 会社名と住所が記載された銀行取引明細書
+ • 署名ページを含む現行の賃貸契約書(会社名と現住所が記載されたもの)
+ • 会社名と住所が記載された保険証書
+ • 会社名と住所が記載された TIN 割当書類
+ `),
userAddressVerification: '住所確認',
userAddressVerificationDescription: dedent(`
- 以下のいずれかの書類をアップロードしてください:
- • 有権者登録カード
- • 運転免許証
- • 銀行取引明細書
- • 公共料金請求書`),
+ 以下のいずれかの書類をアップロードしてください:
+ • 有権者登録カード
+ • 運転免許証
+ • 銀行取引明細書
+ • 公共料金請求書
+ `),
userDOBVerification: '生年月日の確認',
userDOBVerificationDescription: '米国発行の身分証明書をアップロードしてください',
finishViaChat: 'チャットで完了',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index eacac3e822f..2fe816d45c9 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -4107,27 +4107,30 @@ ${amount} voor ${merchant} - ${date}`,
verificationFailed: 'De verificatie is mislukt, daarom hebben we extra documenten nodig om jou en je bedrijf te verifiëren',
taxIDVerification: 'Belastingnummerverificatie',
taxIDVerificationDescription: dedent(`
- Upload een van de volgende bestanden:
- • IRS TIN/EIN-toewijzingsbrief
- • IRS TIN/EIN-aanvraagbevestiging (bevat meestal "Congratulations! The EIN has been successfully assigned")
- • IRS-belastingvrijstellingsbrief met bedrijfsnaam en EIN`),
+ Upload een van de volgende bestanden:
+ • IRS TIN/EIN-toewijzingsbrief
+ • IRS TIN/EIN-aanvraagbevestiging (bevat meestal "Congratulations! The EIN has been successfully assigned")
+ • IRS-belastingvrijstellingsbrief met bedrijfsnaam en EIN
+ `),
nameChangeDocument: 'Document naamswijziging',
nameChangeDocumentDescription: 'Als de naam van je bedrijf is gewijzigd sinds de TIN/EIN-aanvraag, hebben we dit document nodig om het opgegeven belastingnummer te verifiëren',
companyAddressVerification: 'Verificatie van bedrijfsadres',
companyAddressVerificationDescription: dedent(`
- Upload een van de volgende bestanden:
- • Recente energierekening met bedrijfsnaam en adres
- • Bankafschrift met bedrijfsnaam en adres
- • Huidige huur- of leaseovereenkomst inclusief ondertekeningspagina met bedrijfsnaam en huidig adres
- • Verzekeringsverklaring met bedrijfsnaam en adres
- • TIN-toewijzingsdocument met bedrijfsnaam en adres`),
+ Upload een van de volgende bestanden:
+ • Recente energierekening met bedrijfsnaam en adres
+ • Bankafschrift met bedrijfsnaam en adres
+ • Huidige huur- of leaseovereenkomst inclusief ondertekeningspagina met bedrijfsnaam en huidig adres
+ • Verzekeringsverklaring met bedrijfsnaam en adres
+ • TIN-toewijzingsdocument met bedrijfsnaam en adres
+ `),
userAddressVerification: 'Adresverificatie',
userAddressVerificationDescription: dedent(`
- Upload een van de volgende bestanden:
- • Kiezersregistratiekaart
- • Rijbewijs
- • Bankafschrift
- • Energierekening`),
+ Upload een van de volgende bestanden:
+ • Kiezersregistratiekaart
+ • Rijbewijs
+ • Bankafschrift
+ • Energierekening
+ `),
userDOBVerification: 'Verificatie van geboortedatum',
userDOBVerificationDescription: 'Upload een in de VS uitgegeven identiteitsbewijs',
finishViaChat: 'Afronden via chat',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index 89d7714948b..b390b145462 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -4099,27 +4099,30 @@ ${amount} dla ${merchant} - ${date}`,
verificationFailed: 'Weryfikacja nie powiodła się, dlatego potrzebujemy dodatkowych dokumentów do potwierdzenia Twojej tożsamości i firmy',
taxIDVerification: 'Weryfikacja numeru podatkowego',
taxIDVerificationDescription: dedent(`
- Prześlij jeden z poniższych plików:
- • List przydziału TIN/EIN z IRS
- • Potwierdzenie wniosku TIN/EIN z IRS (zwykle zawiera „Congratulations! The EIN has been successfully assigned”)
- • Pismo o zwolnieniu podatkowym z IRS zawierające nazwę firmy i EIN`),
+ Prześlij jeden z poniższych plików:
+ • List przydziału TIN/EIN z IRS
+ • Potwierdzenie wniosku TIN/EIN z IRS (zwykle zawiera „Congratulations! The EIN has been successfully assigned”)
+ • Pismo o zwolnieniu podatkowym z IRS zawierające nazwę firmy i EIN
+ `),
nameChangeDocument: 'Dokument zmiany nazwy',
nameChangeDocumentDescription: 'Jeśli nazwa firmy zmieniła się od momentu złożenia wniosku o TIN/EIN, dokument ten jest wymagany do weryfikacji podanego numeru podatkowego',
companyAddressVerification: 'Weryfikacja adresu firmy',
companyAddressVerificationDescription: dedent(`
- Prześlij jeden z poniższych plików:
- • Aktualny rachunek za media z nazwą i adresem firmy
- • Wyciąg bankowy z nazwą i adresem firmy
- • Aktualna umowa najmu z podpisaną stroną zawierającą nazwę i adres firmy
- • Dokument ubezpieczeniowy z nazwą i adresem firmy
- • Dokument przydziału TIN z nazwą i adresem firmy`),
+ Prześlij jeden z poniższych plików:
+ • Aktualny rachunek za media z nazwą i adresem firmy
+ • Wyciąg bankowy z nazwą i adresem firmy
+ • Aktualna umowa najmu z podpisaną stroną zawierającą nazwę i adres firmy
+ • Dokument ubezpieczeniowy z nazwą i adresem firmy
+ • Dokument przydziału TIN z nazwą i adresem firmy
+ `),
userAddressVerification: 'Weryfikacja adresu',
userAddressVerificationDescription: dedent(`
- Prześlij jeden z poniższych plików:
- • Karta rejestracji wyborcy
- • Prawo jazdy
- • Wyciąg bankowy
- • Rachunek za media`),
+ Prześlij jeden z poniższych plików:
+ • Karta rejestracji wyborcy
+ • Prawo jazdy
+ • Wyciąg bankowy
+ • Rachunek za media
+ `),
userDOBVerification: 'Weryfikacja daty urodzenia',
userDOBVerificationDescription: 'Prześlij dokument tożsamości wydany w USA',
finishViaChat: 'Zakończ przez czat',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index b082632485d..01030b8b462 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -4099,27 +4099,30 @@ ${amount} para ${merchant} - ${date}`,
verificationFailed: 'A verificação falhou, então precisaremos de documentos adicionais para verificar você e sua empresa',
taxIDVerification: 'Verificação de ID fiscal',
taxIDVerificationDescription: dedent(`
- Envie um dos seguintes arquivos:
- • Carta de atribuição de TIN/EIN do IRS
- • Confirmação de solicitação de TIN/EIN do IRS (normalmente contém "Congratulations! The EIN has been successfully assigned")
- • Carta de isenção fiscal do IRS com o nome da empresa e o EIN`),
+ Envie um dos seguintes arquivos:
+ • Carta de atribuição de TIN/EIN do IRS
+ • Confirmação de solicitação de TIN/EIN do IRS (normalmente contém "Congratulations! The EIN has been successfully assigned")
+ • Carta de isenção fiscal do IRS com o nome da empresa e o EIN
+ `),
nameChangeDocument: 'Documento de alteração de nome',
nameChangeDocumentDescription: 'Se o nome da sua empresa mudou desde a solicitação do TIN/EIN, precisamos deste documento para verificar o número de identificação fiscal informado',
companyAddressVerification: 'Verificação de endereço da empresa',
companyAddressVerificationDescription: dedent(`
- Envie um dos seguintes arquivos:
- • Conta recente de serviços públicos com nome e endereço da empresa
- • Extrato bancário com nome e endereço da empresa
- • Contrato de locação atual incluindo a página de assinatura com nome e endereço atual da empresa
- • Apólice ou declaração de seguro com nome e endereço da empresa
- • Documento de atribuição de TIN com nome e endereço da empresa`),
+ Envie um dos seguintes arquivos:
+ • Conta recente de serviços públicos com nome e endereço da empresa
+ • Extrato bancário com nome e endereço da empresa
+ • Contrato de locação atual incluindo a página de assinatura com nome e endereço atual da empresa
+ • Apólice ou declaração de seguro com nome e endereço da empresa
+ • Documento de atribuição de TIN com nome e endereço da empresa
+ `),
userAddressVerification: 'Verificação de endereço',
userAddressVerificationDescription: dedent(`
- Envie um dos seguintes arquivos:
- • Título de eleitor
- • Carteira de motorista
- • Extrato bancário
- • Conta de serviços públicos`),
+ Envie um dos seguintes arquivos:
+ • Título de eleitor
+ • Carteira de motorista
+ • Extrato bancário
+ • Conta de serviços públicos
+ `),
userDOBVerification: 'Verificação de data de nascimento',
userDOBVerificationDescription: 'Envie um documento de identidade emitido nos EUA',
finishViaChat: 'Finalizar pelo chat',
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 8c26717e0f3..e588afb1ec1 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -4008,27 +4008,30 @@ ${amount},商户:${merchant} - 日期:${date}`,
verificationFailed: '验证失败,因此我们需要额外的文件来验证你及你的企业',
taxIDVerification: '税务识别号验证',
taxIDVerificationDescription: dedent(`
- 请上传以下任一文件:
- • IRS TIN/EIN 分配函
- • IRS TIN/EIN 申请确认函(通常包含“Congratulations! The EIN has been successfully assigned”)
- • 显示公司名称和 EIN 的 IRS 免税函`),
+ 请上传以下任一文件:
+ • IRS TIN/EIN 分配函
+ • IRS TIN/EIN 申请确认函(通常包含“Congratulations! The EIN has been successfully assigned”)
+ • 显示公司名称和 EIN 的 IRS 免税函
+ `),
nameChangeDocument: '名称变更文件',
nameChangeDocumentDescription: '如果你的公司名称在申请 TIN/EIN 后发生更改,我们需要此文件来验证你提供的税务识别号',
companyAddressVerification: '公司地址验证',
companyAddressVerificationDescription: dedent(`
- 请上传以下任一文件:
- • 显示公司名称和地址的近期水电账单
- • 显示公司名称和地址的银行对账单
- • 包含签字页的有效租赁协议,显示公司名称和当前地址
- • 显示公司名称和地址的保险声明
- • 显示公司名称和地址的 TIN 分配文件`),
+ 请上传以下任一文件:
+ • 显示公司名称和地址的近期水电账单
+ • 显示公司名称和地址的银行对账单
+ • 包含签字页的有效租赁协议,显示公司名称和当前地址
+ • 显示公司名称和地址的保险声明
+ • 显示公司名称和地址的 TIN 分配文件
+ `),
userAddressVerification: '地址验证',
userAddressVerificationDescription: dedent(`
- 请上传以下任一文件:
- • 选民登记卡
- • 驾驶证
- • 银行对账单
- • 水电账单`),
+ 请上传以下任一文件:
+ • 选民登记卡
+ • 驾驶证
+ • 银行对账单
+ • 水电账单
+ `),
userDOBVerification: '出生日期验证',
userDOBVerificationDescription: '请上传美国签发的身份证件',
finishViaChat: '通过聊天完成',
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
|
Is it ready for review @luacmartins ? |
|
@FitseTLT yea, this should be ready |
Reviewer Checklist
Screenshots/Videos |
|
@FitseTLT updated |
FitseTLT
left a comment
There was a problem hiding this comment.
LGTM.
One suggestion is to add on the test steps an addition and removal of rules done on the same action to cover the latest changes we made @luacmartins 👍 🎉
|
Added |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.4.7-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 No help site changes are required. I reviewed the changes in this PR against the help site files under This PR is a client-side grammar/formatting fix for the auto-generated system message that posts in the #admins room when an admin edits a spend rule. Previously the message repeated the noun before every value (e.g. Why no docs update is needed:
Since no help site changes are needed, I did not create a draft docs PR. @luacmartins, please confirm you agree no help site changes are required here. If you'd like me to document any related behavior, reply with the specifics and I'll create a draft PR. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.4.7-4 🚀
|







Explanation of Change
When editing a spend rule to add multiple spend categories (or merchants) at once, the admin room system message repeated the noun before every value (e.g.
spend category 'A', spend category 'B'). This updatesjoinSpendRulePhrasesto track a noun discriminator per phrase and use a value-only body when consecutive phrases share the same noun, so the message readsadded allowed spend category 'A', 'B', and 'C'.Fixed Issues
$ #92295
Tests
added allowed spend category 'X', 'Y', 'Z'...without repeating "spend category"Offline tests
Same as Tests — system message formatting is client-side and does not depend on network state.
QA Steps
added allowed spend category 'X', 'Y', 'Z'...without repeating "spend category"PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari