Add policy copy change log messages#94189
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
🦜 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 36a66b1083b..fa697bb1ff5 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -8287,6 +8287,25 @@ Fügen Sie weitere Ausgabelimits hinzu, um den Cashflow Ihres Unternehmens zu sc
customUnitRateDateRangeFrom: (date: string) => `ab dem ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `bis ${date}`,
customUnitRateDateRangeAllDates: () => `für alle Daten`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `Übersicht von ${sourcePolicyName} kopiert`,
+ employees: (sourcePolicyName: string) => `Mitglieder von ${sourcePolicyName} kopiert`,
+ reportFields: {one: `1 Berichtsfeld von ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Berichtsfelder von ${sourcePolicyName} kopiert`},
+ accounting: (sourcePolicyName: string) => `Buchhaltungseinstellungen von ${sourcePolicyName} kopiert`,
+ receiptPartners: (sourcePolicyName: string) => `Einstellungen für Belegpartner von ${sourcePolicyName} kopiert`,
+ hr: (sourcePolicyName: string) => `HR-Einstellungen von ${sourcePolicyName} kopiert`,
+ categories: {one: `1 Kategorie von ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Kategorien von ${sourcePolicyName} kopiert`},
+ tags: {one: `1 Tag von ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Tags von ${sourcePolicyName} kopiert`},
+ taxes: {one: `1 Steuersatz aus ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Steuersätze von ${sourcePolicyName} kopiert`},
+ timeTracking: (sourcePolicyName: string) => `Zeiterfassungseinstellungen von ${sourcePolicyName} kopiert`,
+ workflows: (sourcePolicyName: string) => `Workflows von ${sourcePolicyName} kopiert`,
+ rules: (sourcePolicyName: string) => `Kopierte Regeln von ${sourcePolicyName}`,
+ codingRules: {one: `1 Händlerregel von ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Händlerregeln von ${sourcePolicyName} kopiert`},
+ distanceRates: {one: `1 Entfernungssatz aus ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Entfernungssätze aus ${sourcePolicyName} kopiert`},
+ perDiem: {one: `1 Pauschale von ${sourcePolicyName} kopiert`, other: (count: number) => `${count} Pauschalsätze pro Tag von ${sourcePolicyName} kopiert`},
+ invoices: (sourcePolicyName: string) => `Rechnungseinstellungen von ${sourcePolicyName} kopiert`,
+ travel: (sourcePolicyName: string) => `Reiseeinstellungen von ${sourcePolicyName} kopiert`,
+ },
},
roomMembersPage: {
memberNotFound: 'Mitglied nicht gefunden.',
@@ -9819,7 +9838,6 @@ Hier ist ein *Testbeleg*, um dir zu zeigen, wie es funktioniert:`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/es.ts b/src/languages/es.ts
index f85775853ca..2331076f012 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -8077,6 +8077,25 @@ ${amount} para ${merchant} - ${date}`,
customUnitRateDateRangeFrom: (date: string) => `desde ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `hasta ${date}`,
customUnitRateDateRangeAllDates: () => `para todas las fechas`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `copió la descripción general de ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `copió miembros de ${sourcePolicyName}`,
+ reportFields: {one: `se copió 1 campo de informe desde ${sourcePolicyName}`, other: (count: number) => `copió ${count} campos de informe de ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `copió la configuración de contabilidad de ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `copió la configuración de socios de recibos de ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `copió la configuración de RR. HH. de ${sourcePolicyName}`,
+ categories: {one: `copió 1 categoría de ${sourcePolicyName}`, other: (count: number) => `copió ${count} categorías de ${sourcePolicyName}`},
+ tags: {one: `se copió 1 etiqueta de ${sourcePolicyName}`, other: (count: number) => `copió ${count} etiquetas de ${sourcePolicyName}`},
+ taxes: {one: `se copió 1 tasa de impuestos de ${sourcePolicyName}`, other: (count: number) => `copió ${count} tasas de impuestos de ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `copió la configuración de registro de tiempo de ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `copió los flujos de trabajo de ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `reglas copiadas de ${sourcePolicyName}`,
+ codingRules: {one: `copió 1 regla de comercio de ${sourcePolicyName}`, other: (count: number) => `copió ${count} reglas de comercio de ${sourcePolicyName}`},
+ distanceRates: {one: `se copió 1 tarifa de distancia de ${sourcePolicyName}`, other: (count: number) => `copió ${count} tarifas por distancia de ${sourcePolicyName}`},
+ perDiem: {one: `copió 1 Per diem Tasa de ${sourcePolicyName}`, other: (count: number) => `copió ${count} tasas de per diem de ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `copió la configuración de facturas de ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `copió la configuración de viaje de ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Miembro no encontrado.',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index af7a88cf0c8..cb4294787a8 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -8322,6 +8322,25 @@ Ajoutez davantage de règles de dépenses pour protéger la trésorerie de l’e
customUnitRateDateRangeFrom: (date: string) => `à partir du ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `jusqu’au ${date}`,
customUnitRateDateRangeAllDates: () => `pour toutes les dates`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `aperçu copié depuis ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `a copié les membres depuis ${sourcePolicyName}`,
+ reportFields: {one: `1 champ de note de frais copié depuis ${sourcePolicyName}`, other: (count: number) => `${count} champs de note de frais copiés depuis ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `paramètres comptables copiés depuis ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `a copié les paramètres de reçu partenaire depuis ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `paramètres RH copiés depuis ${sourcePolicyName}`,
+ categories: {one: `1 catégorie copiée depuis ${sourcePolicyName}`, other: (count: number) => `${count} catégories copiées depuis ${sourcePolicyName}`},
+ tags: {one: `1 tag copié depuis ${sourcePolicyName}`, other: (count: number) => `${count} tags copiés depuis ${sourcePolicyName}`},
+ taxes: {one: `1 taux de taxe copié depuis ${sourcePolicyName}`, other: (count: number) => `a copié ${count} taux de taxe depuis ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `paramètres de suivi du temps copiés depuis ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `workflows copiés depuis ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `règles copiées depuis ${sourcePolicyName}`,
+ codingRules: {one: `1 règle de commerçant copiée depuis ${sourcePolicyName}`, other: (count: number) => `a copié ${count} règles de commerçant depuis ${sourcePolicyName}`},
+ distanceRates: {one: `1 taux de distance copié depuis ${sourcePolicyName}`, other: (count: number) => `${count} taux de distance copiés depuis ${sourcePolicyName}`},
+ perDiem: {one: `a copié 1 taux de per diem depuis ${sourcePolicyName}`, other: (count: number) => `a copié ${count} taux journaliers de ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `paramètres de facturation copiés depuis ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `paramètres de déplacement copiés depuis ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Membre introuvable.',
@@ -9851,7 +9870,6 @@ Voici un *reçu test* pour vous montrer comment ça fonctionne :`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 01e55b12951..b8f19bddcf0 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -8277,6 +8277,25 @@ Aggiungi altre regole di spesa per proteggere il flusso di cassa aziendale.`,
customUnitRateDateRangeFrom: (date: string) => `dal ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `fino al ${date}`,
customUnitRateDateRangeAllDates: () => `per tutte le date`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `panoramica copiata da ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `ha copiato i membri da ${sourcePolicyName}`,
+ reportFields: {one: `copiato 1 campo del report da ${sourcePolicyName}`, other: (count: number) => `copiati ${count} campi del report da ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `impostazioni contabili copiate da ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `ha copiato le impostazioni del partner di ricevute da ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `impostazioni HR copiate da ${sourcePolicyName}`,
+ categories: {one: `copiata 1 categoria da ${sourcePolicyName}`, other: (count: number) => `copiate ${count} categorie da ${sourcePolicyName}`},
+ tags: {one: `copiato 1 tag da ${sourcePolicyName}`, other: (count: number) => `copiati ${count} tag da ${sourcePolicyName}`},
+ taxes: {one: `copiata 1 aliquota fiscale da ${sourcePolicyName}`, other: (count: number) => `copiate ${count} aliquote fiscali da ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `ha copiato le impostazioni di rilevazione del tempo da ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `ha copiato i flussi di lavoro da ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `regole copiate da ${sourcePolicyName}`,
+ codingRules: {one: `copiata 1 regola esercente da ${sourcePolicyName}`, other: (count: number) => `copiate ${count} regole esercente da ${sourcePolicyName}`},
+ distanceRates: {one: `copiata 1 tariffa chilometrica da ${sourcePolicyName}`, other: (count: number) => `copiate ${count} tariffe chilometriche da ${sourcePolicyName}`},
+ perDiem: {one: `copiata 1 indennità giornaliera da ${sourcePolicyName}`, other: (count: number) => `copiati ${count} tassi di diaria da ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `impostazioni fattura copiate da ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `impostazioni di viaggio copiate da ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Membro non trovato.',
@@ -9807,7 +9826,6 @@ Ecco una *ricevuta di prova* per mostrarti come funziona:`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 38367d5cf09..5421ca86593 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -8178,6 +8178,25 @@ ${reportName}`,
customUnitRateDateRangeFrom: (date: string) => `${date} から`,
customUnitRateDateRangeUntilEnd: (date: string) => `${date}まで`,
customUnitRateDateRangeAllDates: () => `すべての日付に対して`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `${sourcePolicyName} から概要をコピーしました`,
+ employees: (sourcePolicyName: string) => `${sourcePolicyName} からメンバーをコピーしました`,
+ reportFields: {one: `${sourcePolicyName} からレポート項目を 1 件コピーしました`, other: (count: number) => `${sourcePolicyName} からレポート項目を ${count} 件コピーしました`},
+ accounting: (sourcePolicyName: string) => `${sourcePolicyName} から会計設定をコピーしました`,
+ receiptPartners: (sourcePolicyName: string) => `${sourcePolicyName} から領収書パートナー設定をコピーしました`,
+ hr: (sourcePolicyName: string) => `${sourcePolicyName} から人事設定をコピーしました`,
+ categories: {one: `${sourcePolicyName} からカテゴリを 1 件コピーしました`, other: (count: number) => `${sourcePolicyName} から ${count} 件のカテゴリをコピーしました`},
+ tags: {one: `${sourcePolicyName} からタグを 1 件コピーしました`, other: (count: number) => `${sourcePolicyName} から ${count} 個のタグをコピーしました`},
+ taxes: {one: `${sourcePolicyName} から税率を 1 件コピーしました`, other: (count: number) => `${sourcePolicyName} から税率を ${count} 件コピーしました`},
+ timeTracking: (sourcePolicyName: string) => `${sourcePolicyName} からタイムトラッキング設定をコピーしました`,
+ workflows: (sourcePolicyName: string) => `${sourcePolicyName} からワークフローをコピーしました`,
+ rules: (sourcePolicyName: string) => `${sourcePolicyName} からルールをコピーしました`,
+ codingRules: {one: `${sourcePolicyName} から取引先ルールを 1 件コピーしました`, other: (count: number) => `${sourcePolicyName} から ${count} 件の取引先ルールをコピーしました`},
+ distanceRates: {one: `${sourcePolicyName} から距離レートを1件コピーしました`, other: (count: number) => `${sourcePolicyName} から距離レートを ${count} 件コピーしました`},
+ perDiem: {one: `${sourcePolicyName} から日当レートを1件コピーしました`, other: (count: number) => `${sourcePolicyName} から日当レートを ${count} 件コピーしました`},
+ invoices: (sourcePolicyName: string) => `${sourcePolicyName} から請求書の設定をコピーしました`,
+ travel: (sourcePolicyName: string) => `${sourcePolicyName} から出張設定をコピーしました`,
+ },
},
roomMembersPage: {
memberNotFound: 'メンバーが見つかりません。',
@@ -9684,7 +9703,6 @@ ${reportName}`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index fa81b677bb7..631e3859730 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -8244,6 +8244,25 @@ er bestedingsregels toe om de kasstroom van het bedrijf te beschermen.`,
customUnitRateDateRangeFrom: (date: string) => `vanaf ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `tot ${date}`,
customUnitRateDateRangeAllDates: () => `voor alle data`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `overzicht gekopieerd van ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `leden gekopieerd van ${sourcePolicyName}`,
+ reportFields: {one: `1 rapportveld gekopieerd van ${sourcePolicyName}`, other: (count: number) => `${count} rapportvelden gekopieerd van ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `boekhoudinstellingen gekopieerd van ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `instelling bonpartner gekopieerd van ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `HR-instellingen gekopieerd van ${sourcePolicyName}`,
+ categories: {one: `1 categorie gekopieerd van ${sourcePolicyName}`, other: (count: number) => `${count} categorieën gekopieerd van ${sourcePolicyName}`},
+ tags: {one: `1 label gekopieerd van ${sourcePolicyName}`, other: (count: number) => `${count} tags gekopieerd van ${sourcePolicyName}`},
+ taxes: {one: `1 belastingtarief gekopieerd van ${sourcePolicyName}`, other: (count: number) => `heeft ${count} btw-tarieven gekopieerd van ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `tijdregistratie-instellingen gekopieerd van ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `gekopieerde workflows van ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `regels gekopieerd van ${sourcePolicyName}`,
+ codingRules: {one: `1 leveranciersregel gekopieerd van ${sourcePolicyName}`, other: (count: number) => `heeft ${count} leveranciersregels gekopieerd van ${sourcePolicyName}`},
+ distanceRates: {one: `1 kilometervergoeding gekopieerd van ${sourcePolicyName}`, other: (count: number) => `heeft ${count} kilometertarieven gekopieerd van ${sourcePolicyName}`},
+ perDiem: {one: `1 dagvergoeding gekopieerd uit ${sourcePolicyName}`, other: (count: number) => `${count} dagvergoedingen gekopieerd van ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `factuurinstellingen gekopieerd van ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `reiskosteninstellingen gekopieerd van ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Lid niet gevonden.',
@@ -9773,7 +9792,6 @@ Hier is een *proefbon* om je te laten zien hoe het werkt:`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index b76567afc41..f30606c20bf 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -8237,6 +8237,25 @@ Dodaj więcej zasad wydatków, żeby chronić płynność finansową firmy.`,
customUnitRateDateRangeFrom: (date: string) => `od ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `do ${date}`,
customUnitRateDateRangeAllDates: () => `dla wszystkich dat`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `skopiowano podsumowanie z ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `skopiowano członków z ${sourcePolicyName}`,
+ reportFields: {one: `skopiowano 1 pole raportu z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} pola raportu z ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `skopiowano ustawienia księgowe z ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `skopiowano ustawienia partnera paragonów z ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `skopiowano ustawienia HR z ${sourcePolicyName}`,
+ categories: {one: `skopiowano 1 kategorię z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} kategorie z ${sourcePolicyName}`},
+ tags: {one: `skopiowano 1 znacznik z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} tagów z ${sourcePolicyName}`},
+ taxes: {one: `skopiowano 1 stawkę podatku z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} stawki podatkowe z ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `skopiowano ustawienia śledzenia czasu z ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `skopiowano schematy pracy z ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `skopiowano zasady z ${sourcePolicyName}`,
+ codingRules: {one: `skopiowano 1 regułę sprzedawcy z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} reguł sprzedawcy z ${sourcePolicyName}`},
+ distanceRates: {one: `skopiowano 1 stawkę za dystans z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} stawki za przejazd z ${sourcePolicyName}`},
+ perDiem: {one: `skopiowano 1 stawkę ryczałtową z ${sourcePolicyName}`, other: (count: number) => `skopiowano ${count} stawki diet z ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `skopiowano ustawienia faktur z ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `skopiowano ustawienia podróży z ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Nie znaleziono członka.',
@@ -9758,7 +9777,6 @@ Oto *paragon testowy*, żeby pokazać Ci, jak to działa:`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 2eff5a16621..78d81749383 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -8235,6 +8235,25 @@ Adicione mais regras de gasto para proteger o fluxo de caixa da empresa.`,
customUnitRateDateRangeFrom: (date: string) => `de ${date}`,
customUnitRateDateRangeUntilEnd: (date: string) => `até ${date}`,
customUnitRateDateRangeAllDates: () => `para todas as datas`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `visão geral copiada de ${sourcePolicyName}`,
+ employees: (sourcePolicyName: string) => `copiou membros de ${sourcePolicyName}`,
+ reportFields: {one: `copiou 1 campo de relatório de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} campos de relatório de ${sourcePolicyName}`},
+ accounting: (sourcePolicyName: string) => `configurações de contabilidade copiadas de ${sourcePolicyName}`,
+ receiptPartners: (sourcePolicyName: string) => `configurações de parceiro de recibos copiadas de ${sourcePolicyName}`,
+ hr: (sourcePolicyName: string) => `copiou as configurações de RH de ${sourcePolicyName}`,
+ categories: {one: `copiou 1 categoria de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} categorias de ${sourcePolicyName}`},
+ tags: {one: `copiou 1 etiqueta de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} tags de ${sourcePolicyName}`},
+ taxes: {one: `copiou 1 alíquota de imposto de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} taxas de imposto de ${sourcePolicyName}`},
+ timeTracking: (sourcePolicyName: string) => `copiou as configurações de controle de horas de ${sourcePolicyName}`,
+ workflows: (sourcePolicyName: string) => `fluxos de trabalho copiados de ${sourcePolicyName}`,
+ rules: (sourcePolicyName: string) => `regras copiadas de ${sourcePolicyName}`,
+ codingRules: {one: `copiou 1 regra de comerciante de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} regras de comerciante de ${sourcePolicyName}`},
+ distanceRates: {one: `copiou 1 taxa de distância de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} taxas de distância de ${sourcePolicyName}`},
+ perDiem: {one: `copiou 1 tarifa de diária de ${sourcePolicyName}`, other: (count: number) => `copiou ${count} taxas de diária de ${sourcePolicyName}`},
+ invoices: (sourcePolicyName: string) => `configurações de fatura copiadas de ${sourcePolicyName}`,
+ travel: (sourcePolicyName: string) => `configurações de viagem copiadas de ${sourcePolicyName}`,
+ },
},
roomMembersPage: {
memberNotFound: 'Membro não encontrado.',
@@ -9762,7 +9781,6 @@ Aqui está um *comprovante de teste* para mostrar como funciona:`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index d16ae4fc4a4..071ff70e5fd 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -8016,6 +8016,25 @@ ${reportName}`,
customUnitRateDateRangeFrom: (date: string) => `自 ${date} 起`,
customUnitRateDateRangeUntilEnd: (date: string) => `直到 ${date}`,
customUnitRateDateRangeAllDates: () => `适用于所有日期`,
+ policyCopy: {
+ overview: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制概览`,
+ employees: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制成员`,
+ reportFields: {one: `已从 ${sourcePolicyName} 复制 1 个报表字段`, other: (count: number) => `已从 ${sourcePolicyName} 复制了 ${count} 个报表字段`},
+ accounting: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制会计设置`,
+ receiptPartners: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制收据合作方设置`,
+ hr: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制人力资源设置`,
+ categories: {one: `已从 ${sourcePolicyName} 复制 1 个类别`, other: (count: number) => `已从 ${sourcePolicyName} 复制了 ${count} 个类别`},
+ tags: {one: `已从 ${sourcePolicyName} 复制 1 个标签`, other: (count: number) => `已从 ${sourcePolicyName} 复制了 ${count} 个标签`},
+ taxes: {one: `已从 ${sourcePolicyName} 复制 1 个税率`, other: (count: number) => `已从 ${sourcePolicyName} 复制了 ${count} 个税率`},
+ timeTracking: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制时间跟踪设置`,
+ workflows: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制工作流`,
+ rules: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制规则`,
+ codingRules: {one: `已从 ${sourcePolicyName} 复制 1 条商家规则`, other: (count: number) => `已从 ${sourcePolicyName} 复制 ${count} 条商户规则`},
+ distanceRates: {one: `已从 ${sourcePolicyName} 复制 1 个里程费率`, other: (count: number) => `已从 ${sourcePolicyName} 复制了 ${count} 个里程费率`},
+ perDiem: {one: `已从 ${sourcePolicyName} 复制了 1 个每日补贴标准`, other: (count: number) => `已从${sourcePolicyName}复制了${count}个每日津贴标准`},
+ invoices: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制发票设置`,
+ travel: (sourcePolicyName: string) => `已从 ${sourcePolicyName} 复制出差设置`,
+ },
},
roomMembersPage: {
memberNotFound: '未找到成员。',
@@ -9500,7 +9519,6 @@ ${reportName}`,
pdfFailedBody: 'Your file could not be generated. Try again, or reach out to Concierge for help.',
readyPartialBody: ({count, total}: {count: number; total: number}) =>
`${count} of ${total} reports exported. If it didn't automatically download, use the button below. See which reports failed in <concierge-link>Concierge</concierge-link>.`,
-
close: 'Close',
},
domain: {
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
Explanation of Change
Fixed Issues
$ #88675
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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