brave / ads-ui

Self-service ads UI
Mozilla Public License 2.0
22 stars 11 forks source link

New Crowdin updates #1197

Closed brave-support-admin closed 1 month ago

github-actions[bot] commented 1 month ago

[puLL-Merge] - brave/ads-ui@1197

Description

This PR makes several changes to the GraphQL schema, updates some translations, and modifies some component imports. The main changes appear to be related to campaign states, billing types, and registration denials.

Changes ### Changes 1. src/graphql-client/graphql.ts: - Deprecated the 'CPSV' BillingType - Added a new 'CampaignEffectiveState' enum - Modified the 'CampaignState' enum values to use lowercase - Updated types for various campaign-related fields - Added new fields for registration denials 2. src/graphql/ads-serve.graphql.schema.json: - Updated schema to reflect changes in graphql.ts 3. src/locales/en.po, es.po, pt.po: - Updated translations for various strings - Added new translations for added features 4. src/locales/test.po: - Updated line numbers for some translations

Possible Issues

Security Hotspots

No significant security issues are apparent in this change.

### Description
This PR updates the GraphQL schema, modifies campaign state and billing type enums, and updates translations. It also introduces new fields for registration denials and makes changes to component imports.

<details>
<summary><i>Changes</i></summary>

### Changes
1. src/graphql-client/graphql.ts:
   - Deprecated 'CPSV' BillingType
   - Added 'CampaignEffectiveState' enum
   - Modified 'CampaignState' enum to use lowercase values
   - Updated types for campaign-related fields
   - Added fields for registration denials

2. src/graphql/ads-serve.graphql.schema.json:
   - Updated to reflect changes in graphql.ts

3. src/locales/en.po, es.po, pt.po:
   - Updated and added translations

4. src/locales/test.po:
   - Updated line numbers for some translations

</details>

### Possible Issues
- Deprecation of 'CPSV' BillingType may affect existing code
- Change in CampaignState enum values may require code updates