chore(sponsors): Actualizar disponibilidades de niveles y add-ons.#110
chore(sponsors): Actualizar disponibilidades de niveles y add-ons.#110
Conversation
Para los add-ons he elegido un formato disponible/total por simplificar. Para el futuro: Es un poco rollo tener que actualizar la disponibilidad en 3 archivos diferentes, porque da lugar a equivocarse, olvidarse, etc. ¿Habría forma de centralizar los números de disponibilidad en un único archivo?
There was a problem hiding this comment.
Pull request overview
This PR updates the sponsorship availability numbers across all three locale files (en.ts, es.ts, ca.ts) to reflect the current status: Gold tier has 1 fewer slot available (6→5) and Platinum tier has 1 fewer slot (3→2). Additionally, the format for add-on availability strings is changed from just a remaining count (e.g., "Availability: 1") to an available/total format (e.g., "Availability: 1/1"), with Django Girls correctly marked as fully sold out (0/1).
Changes:
- Gold and Platinum tier available slots decremented by 1 in all three locales.
- Add-on availability strings reformatted to
available/totalformat in all three locales. - Django Girls add-on marked as
0/1(sold out) across all locales.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/i18n/sponsors/en.ts |
Updated Gold/Platinum tier limits and add-on availability format (English) |
src/i18n/sponsors/es.ts |
Updated Gold/Platinum tier limits and add-on availability format (Spanish) |
src/i18n/sponsors/ca.ts |
Updated Gold/Platinum tier limits and add-on availability format (Catalan) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| limit: '5 avail.', | ||
| color: '#facc15', | ||
| bg: 'rgba(234, 179, 8, 0.1)', | ||
| }, | ||
| { | ||
| name: 'Platinum', | ||
| emoji: '🏆', | ||
| price: 'Price €8,000', | ||
| limit: '3 avail.', | ||
| limit: '2 avail.', |
There was a problem hiding this comment.
The limit values for Gold and Platinum in tiers.items have been updated to 5 avail. and 2 avail. respectively, but the benefitCategories "Limit number" row (around line 257) still contains the old values '6' and '3' for those same tiers. This creates a visible inconsistency where the tier cards show different numbers than the benefits comparison table. The benefitCategories data array should be updated from ['Unlimited', '10', '6', '3', '1'] to ['Unlimited', '10', '5', '2', '1'] in all three locale files (en.ts, es.ts, and ca.ts).
| limit: '5 disp.', | ||
| color: '#facc15', | ||
| bg: 'rgba(234, 179, 8, 0.1)', | ||
| }, | ||
| { | ||
| name: 'Platino', | ||
| emoji: '🏆', | ||
| price: 'Precio 8.000€', | ||
| limit: '3 disp.', | ||
| limit: '2 disp.', |
There was a problem hiding this comment.
Same inconsistency as in en.ts: the tiers.items limit for Gold and Platinum have been updated (to 5 disp. and 2 disp.), but the benefitCategories "Número límite" row (around line 257) still holds the outdated values '6' and '3' for those tiers. The data array needs to be updated from ['Ilimitado', '10', '6', '3', '1'] to ['Ilimitado', '10', '5', '2', '1'].
| limit: '5 disp.', | ||
| color: '#facc15', | ||
| bg: 'rgba(234, 179, 8, 0.1)', | ||
| }, | ||
| { | ||
| name: 'Platí', | ||
| emoji: '🏆', | ||
| price: 'Preu 8.000€', | ||
| limit: '3 disp.', | ||
| limit: '2 disp.', |
There was a problem hiding this comment.
Same inconsistency as in the other locale files: the tiers.items limit for Gold (Or) and Platinum (Platí) have been updated (to 5 disp. and 2 disp.), but the benefitCategories "Número límit" row (around line 255) still holds the outdated values '6' and '3' for those tiers. The data array needs to be updated from ['Il·limitat', '10', '6', '3', '1'] to ['Il·limitat', '10', '5', '2', '1'].
Para los add-ons he elegido un formato disponible/total por simplificar.
Para el futuro: Es un poco rollo tener que actualizar la disponibilidad en 3 archivos diferentes, porque da lugar a equivocarse, olvidarse, etc. ¿Habría forma de centralizar los números de disponibilidad en un único archivo?