Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,9 @@ const CONST = {
UPDATE_DEFAULT_APPROVER: 'POLICYCHANGELOG_UPDATE_DEFAULT_APPROVER',
UPDATE_SUBMITS_TO: 'POLICYCHANGELOG_UPDATE_SUBMITS_TO',
UPDATE_FORWARDS_TO: 'POLICYCHANGELOG_UPDATE_FORWARDS_TO',
UPDATE_CUSTOM_TAX_NAME: 'POLICYCHANGELOG_UPDATE_CUSTOM_TAX_NAME',
UPDATE_CURRENCY_DEFAULT_TAX: 'POLICYCHANGELOG_UPDATE_CURRENCY_DEFAULT_TAX',
UPDATE_FOREIGN_CURRENCY_DEFAULT_TAX: 'POLICYCHANGELOG_UPDATE_FOREIGN_CURRENCY_DEFAULT_TAX',
UPDATE_INVOICE_COMPANY_NAME: 'POLICYCHANGELOG_UPDATE_INVOICE_COMPANY_NAME',
UPDATE_INVOICE_COMPANY_WEBSITE: 'POLICYCHANGELOG_UPDATE_INVOICE_COMPANY_WEBSITE',
UPDATE_MANUAL_APPROVAL_THRESHOLD: 'POLICYCHANGELOG_UPDATE_MANUAL_APPROVAL_THRESHOLD',
Expand Down
9 changes: 8 additions & 1 deletion src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ import type {
UpdatedPolicyReportFieldDefaultValueParams,
UpdatedPolicyTagFieldParams,
UpdatedPolicyTagListParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyTagListRequiredParams,
UpdatedPolicyTagNameParams,
UpdatedPolicyTagParams,
Expand Down Expand Up @@ -6819,7 +6822,11 @@ Fordern Sie Spesendetails wie Belege und Beschreibungen an, legen Sie Limits und
? `hat die/den autorisierte:n Zahler:in in „${newReimburser}“ geändert (zuvor „${previousReimburser}“)`
: `den/die autorisierte/n Zahler/in in „${newReimburser}“ geändert`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'aktiviert' : 'deaktiviert'} Rückerstattungen`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `hat die Steuer „${taxName}“ hinzugefügt`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `benutzerdefinierten Steuernamen in „${newName}" geändert (zuvor „${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `Standard-Steuerbetrag der Workspace-Währung auf „${newName}" geändert (zuvor „${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`den Standardsteuersatz für Fremdwährungen in „${newName}" geändert (zuvor „${oldName}")`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `die Steuer „${taxName}" hinzugefügt`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `hat die Steuer „${taxName}“ entfernt`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
if (!updatedField) {
Expand Down
7 changes: 7 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6895,6 +6898,10 @@ const translations = {
changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) =>
previousReimburser ? `changed the authorized payer to "${newReimburser}" (previously "${previousReimburser}")` : `changed the authorized payer to "${newReimburser}"`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'enabled' : 'disabled'} reimbursements`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `changed the custom tax name to "${newName}" (previously "${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `changed the workspace currency default tax rate to "${newName}" (previously "${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`changed the foreign currency default tax rate to "${newName}" (previously "${oldName}")`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `added the tax "${taxName}"`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `removed the tax "${taxName}"`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
3 changes: 3 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6758,6 +6758,9 @@ ${amount} para ${merchant} - ${date}`,
previousForwardsTo
? `cambió el flujo de aprobación para ${approver} para dejar de reenviar informes aprobados (anteriormente reenviados a ${previousForwardsTo})`
: `cambió el flujo de aprobación para ${approver} para dejar de reenviar informes aprobados`,
updateCustomTaxName: ({oldName, newName}) => `cambió el nombre del impuesto personalizado a "${newName}" (antes "${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}) => `cambió la tasa impositiva predeterminada de la moneda del espacio de trabajo a "${newName}" (anteriormente "${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}) => `cambió la tasa impositiva predeterminada de la moneda extranjera a "${newName}" (anteriormente "${oldName}")`,
changedInvoiceCompanyName: ({newValue, oldValue}: {newValue: string; oldValue?: string}) =>
oldValue ? `cambió el nombre de la empresa de la factura a "${newValue}" (previamente "${oldValue}")` : `estableció el nombre de la empresa de la factura como "${newValue}"`,
changedInvoiceCompanyWebsite: ({newValue, oldValue}: {newValue: string; oldValue?: string}) =>
Expand Down
8 changes: 8 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6840,6 +6843,11 @@ Rendez obligatoires des informations de dépense comme les reçus et les descrip
changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) =>
previousReimburser ? `a modifié le payeur autorisé en « ${newReimburser} » (auparavant « ${previousReimburser} »)` : `a modifié le payeur autorisé en « ${newReimburser} »`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `Remboursements ${enabled ? 'Activé' : 'Désactivé'}`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `a modifié le nom de taxe personnalisé en « ${newName} » (auparavant « ${oldName} »)`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) =>
`a modifié le taux de taxe par défaut de la devise de l'espace de travail en « ${newName} » (auparavant « ${oldName} »)`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`a modifié le taux de taxe par défaut en devise étrangère en « ${newName} » (auparavant « ${oldName} »)`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `a ajouté la taxe « ${taxName} »`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `a supprimé la taxe « ${taxName} »`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
8 changes: 8 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6805,6 +6808,11 @@ Richiedi dettagli sulle spese come ricevute e descrizioni, imposta limiti e valo
? `ha modificato il pagatore autorizzato in "${newReimburser}" (in precedenza "${previousReimburser}")`
: `ha modificato il pagatore autorizzato in "${newReimburser}"`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `Rimborsi ${enabled ? 'abilitato' : 'disattivato'}`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `ha cambiato il nome dell'imposta personalizzata in "${newName}" (precedentemente "${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) =>
`ha modificato l'aliquota fiscale predefinita della valuta dello spazio di lavoro in "${newName}" (in precedenza "${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`ha modificato l'aliquota fiscale predefinita per valuta estera in "${newName}" (in precedenza "${oldName}")`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `ha aggiunto l’imposta “${taxName}”`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `ha rimosso l'imposta "${taxName}"`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
6 changes: 6 additions & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6733,6 +6736,9 @@ ${reportName}
changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) =>
previousReimburser ? `認可された支払者を「${newReimburser}」(以前は「${previousReimburser}」)に変更しました` : `承認済み支払担当者を「${newReimburser}」に変更しました`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? '有効' : '無効'}件の精算`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `カスタム税区分名を「${newName}」(以前は「${oldName}」)に変更しました`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) => `ワークスペースの通貨デフォルト税率を「${newName}」(以前は「${oldName}」)に変更しました`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) => `外貨のデフォルト税率を「${newName}」に変更しました(以前は「${oldName}」)。`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `税「${taxName}」を追加しました`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `税金「${taxName}」を削除しました`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
8 changes: 8 additions & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6784,6 +6787,11 @@ Vereis onkostendetails zoals bonnen en beschrijvingen, stel limieten en standaar
? `heeft de gemachtigde betaler gewijzigd in „${newReimburser}” (voorheen „${previousReimburser}”)`
: `heeft de gemachtigde betaler gewijzigd naar ‘${newReimburser}’`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'ingeschakeld' : 'uitgeschakeld'} terugbetalingen`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `de aangepaste belastingnaam gewijzigd in "${newName}" (voorheen "${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) =>
`heeft het standaardbelastingtarief van de werkruimtevaluta gewijzigd in "${newName}" (voorheen "${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`heeft het standaardbelastingtarief voor vreemde valuta gewijzigd in '${newName}' (voorheen '${oldName}')`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `heeft de belasting ‘${taxName}’ toegevoegd`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `heeft de belasting ‘${taxName}’ verwijderd`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
9 changes: 9 additions & 0 deletions src/languages/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ type UpdatedPolicyManualApprovalThresholdParams = {oldLimit: string; newLimit: s

type UpdatedPolicyReimbursementEnabledParams = {enabled: boolean};

type UpdatedPolicyCustomTaxNameParams = {oldName: string; newName: string};

type UpdatedPolicyCurrencyDefaultTaxParams = {oldName: string; newName: string};

type UpdatedPolicyForeignCurrencyDefaultTaxParams = {oldName: string; newName: string};

type UpdatedPolicyReimburserParams = {newReimburser: string; previousReimburser?: string};

type ExportedToIntegrationParams = {label: string; markedManually?: boolean; inProgress?: boolean; lastModified?: string};
Expand Down Expand Up @@ -477,6 +483,9 @@ export type {
AddedOrDeletedPolicyReportFieldParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyReimbursementEnabledParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyReimburserParams,
UpdatePolicyCustomUnitTaxEnabledParams,
ImportPolicyCustomUnitRatesParams,
Expand Down
8 changes: 8 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6774,6 +6777,11 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i
? `zmienił(a) upoważnioną osobę zwracającą wydatki na „${newReimburser}” (wcześniej „${previousReimburser}”)`
: `zmienił(a) upoważnionego płatnika na „${newReimburser}”`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `${enabled ? 'włączone' : 'wyłączone'} zwrotów kosztów`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `zmieniono niestandardową nazwę podatku na „${newName}" (poprzednio „${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) =>
`zmienił domyślną stawkę podatku waluty w przestrzeni roboczej na „${newName}" (wcześniej „${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`zmieniono domyślną stawkę podatku dla obcej waluty na „${newName}" (wcześniej „${oldName}")`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `dodano podatek „${taxName}”`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `usunął(-ę) podatek „${taxName}”`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
8 changes: 8 additions & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import type {
UpdatedPolicyBudgetNotificationParams,
UpdatedPolicyCategoriesParams,
UpdatedPolicyCategoryMaxAmountNoReceiptParams,
UpdatedPolicyCurrencyDefaultTaxParams,
UpdatedPolicyCustomTaxNameParams,
UpdatedPolicyCustomUnitSubRateParams,
UpdatedPolicyDefaultTitleParams,
UpdatedPolicyForeignCurrencyDefaultTaxParams,
UpdatedPolicyManualApprovalThresholdParams,
UpdatedPolicyOwnershipParams,
UpdatedPolicyPreventSelfApprovalParams,
Expand Down Expand Up @@ -6776,6 +6779,11 @@ Exija dados de despesas como recibos e descrições, defina limites e padrões e
changedReimburser: ({newReimburser, previousReimburser}: UpdatedPolicyReimburserParams) =>
previousReimburser ? `alterou o pagador autorizado para "${newReimburser}" (anteriormente "${previousReimburser}")` : `alterou o pagador autorizado para "${newReimburser}"`,
updateReimbursementEnabled: ({enabled}: UpdatedPolicyReimbursementEnabledParams) => `reembolsos ${enabled ? 'ativado' : 'desativado'}`,
updateCustomTaxName: ({oldName, newName}: UpdatedPolicyCustomTaxNameParams) => `alterou o nome do imposto personalizado para "${newName}" (antes "${oldName}")`,
updateCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyCurrencyDefaultTaxParams) =>
`alterou a taxa de imposto padrão da moeda do workspace para "${newName}" (anteriormente "${oldName}")`,
updateForeignCurrencyDefaultTax: ({oldName, newName}: UpdatedPolicyForeignCurrencyDefaultTaxParams) =>
`alterou a alíquota de imposto padrão em moeda estrangeira para "${newName}" (anteriormente "${oldName}")`,
addTax: ({taxName}: UpdatedPolicyTaxParams) => `adicionou o imposto "${taxName}"`,
deleteTax: ({taxName}: UpdatedPolicyTaxParams) => `removeu o imposto "${taxName}"`,
updateTax: ({oldValue, taxName, updatedField, newValue}: UpdatedPolicyTaxParams) => {
Expand Down
Loading
Loading