diff --git a/src/i18n/strings/es.ts b/src/i18n/strings/es.ts index cb949fc..fae839b 100644 --- a/src/i18n/strings/es.ts +++ b/src/i18n/strings/es.ts @@ -14,7 +14,6 @@ export const templates = { s07607bad0f288304: `reemplazo de puertas y ventanas`, s07ecbff17886eb50: `un vehículo eléctrico usado`, s084d252e989bd0d1: `¡Pronto dispondremos de más dinero!`, - s08fb6007b5965c82: `Vehículo eléctrico`, s0d2b126617a4b9e6: `Ver resultados`, s0ec469a91a15f4a5: `kilovatio hora`, s0f06604c95e47b84: `Wisconsin`, @@ -111,7 +110,6 @@ export const templates = { s7f5b705d1bd02849: `La elegibilidad depende de la ubicación de residencia.`, s8194d17164cbd6de: `Florida`, s81aa671e64f2010e: `Dakota del Norte`, - s81f5c9b4a6da995f: `Césped`, s82397872ac9bddcf: `Tamaño del hogar`, s863623721dcb0072: str`Esperado en ${0}`, s8735995522894316: `una secadora`, @@ -156,7 +154,6 @@ export const templates = { sb5b955a693af9c2e: `Virginia`, sb661e8297dd681e2: `Incentivo`, sb694f3d582a0dbb9: `Selecciona "Cabeza de familia" si tiene un hijo o pariente que vive con usted y paga más de la mitad de los gastos de su hogar. Selecciona "Conjunta" si declara sus impuestos como pareja casada.`, - sb6975fd8aa3fa26f: `Climatización`, sb842284a98e8aed1: `una bomba de calor sin ductos`, sb932cf0734934406: `Su código postal ayuda a determinar la cantidad de descuentos y créditos fiscales para los que califica.`, sb9e8a9bfc8bcf398: `Rhode Island`, @@ -170,7 +167,6 @@ export const templates = { sc026bbb64721085f: `Casado que presenta una declaración conjunta`, sc0a81e0d1ea51046: `Seleccione proyecto…`, sc2e0d466583b17f8: `aislamiento del entrepiso`, - sc373af4c1a974b57: `Cocina`, sc5b20cb72269bc4f: `Los propietarios y inquilinos califican para diferentes incentivos.`, sc9266b1b6ae1aad4: `Esperado en 2024-2025`, sc991c5ecbb3023ef: `aislamiento térmico`, @@ -194,14 +190,12 @@ export const templates = { se518d56b2bb45670: `cableado`, se581b8fe2e188251: `Crédito de cuenta`, se6845b7d2d664ad8: `Dakota del Sur`, - se94a76041107bbf3: `Eléctrico`, sec13c0ca288e67eb: `aislamiento del desván/techo`, secc3df112f8ab69d: `un vehículo eléctrico`, sf05c1c17e90b0ddd: `Inquilino`, sf12bd6cb13bc154f: `Arizona`, sf1e2063bc64f3539: `Arkansas`, sf3affd5c9f2915e0: `Connecticut`, - sf459faf797f733a9: `Impermeabilización`, sf59668536419404a: `aislamiento del sótano`, sf685070e5a85e7d1: `reemplazo de ductos`, sf844ac31d5fba2c9: `impermeabilización`, diff --git a/src/projects.tsx b/src/projects.tsx index 8bc909d..3741499 100644 --- a/src/projects.tsx +++ b/src/projects.tsx @@ -13,7 +13,6 @@ import { MsgFn } from './i18n/use-translated'; type ProjectInfo = { label: (msg: MsgFn) => string; - shortLabel?: (msg: MsgFn) => string; getIcon: () => React.ReactElement; items: ItemType[]; }; @@ -32,9 +31,6 @@ export type Project = export const NO_PROJECT = ''; -export const shortLabel = (p: Project, msg: MsgFn) => - (PROJECTS[p].shortLabel ?? PROJECTS[p].label)(msg); - /** * Icons, labels, and API `item` values for the various projects for which we * show incentives. @@ -55,10 +51,6 @@ export const PROJECTS: Record = { 'other_heat_pump', ], label: msg => msg('Heating, ventilation & cooling'), - shortLabel: msg => - msg('HVAC', { - desc: 'short label for "heating, ventilation & cooling"', - }), getIcon: () => , }, ev: { @@ -71,8 +63,6 @@ export const PROJECTS: Record = { 'ebike', ], label: msg => msg('Electric transportation'), - shortLabel: msg => - msg('EV', { desc: 'short label for "electric transportation"' }), getIcon: () => , }, solar: { @@ -93,15 +83,11 @@ export const PROJECTS: Record = { cooking: { items: ['electric_stove'], label: msg => msg('Cooking stove/range'), - shortLabel: msg => - msg('Cooking', { desc: 'short label for stove/range incentives' }), getIcon: () => , }, wiring: { items: ['electric_panel', 'electric_wiring'], label: msg => msg('Electrical panel & wiring'), - shortLabel: msg => - msg('Electrical', { desc: 'short for "electrical panel and wiring"' }), getIcon: () => , }, weatherization_and_efficiency: { @@ -122,13 +108,11 @@ export const PROJECTS: Record = { 'energy_audit', ], label: msg => msg('Weatherization & efficiency'), - shortLabel: msg => msg('Weatherization'), getIcon: () => , }, lawn_care: { items: ['electric_outdoor_equipment'], label: msg => msg('Lawn Care'), - shortLabel: msg => msg('Lawn'), getIcon: () => , }, }; diff --git a/translations/es.xlf b/translations/es.xlf index 35e2f0f..0ebae2e 100644 --- a/translations/es.xlf +++ b/translations/es.xlf @@ -11,14 +11,6 @@ Heating, ventilation & cooling Sistemas de climatización - - HVAC - - short label for "heating, ventilation & cooling"Climatización - - EV - - short label for "electric transportation"Vehículo eléctrico Solar @@ -35,16 +27,9 @@ Electrical panel & wiring Tablero eléctrico y cableado - - Electrical - - short for "electrical panel and wiring"Eléctrico Weatherization & efficiency Impermeabilización y eficiencia energética - - Weatherization -Impermeabilización Homeowner Propietario @@ -246,10 +231,6 @@ Project label for a selector input Proyecto - - Cooking - short label for stove/range incentives -Cocina Arizona Arizona @@ -789,9 +770,6 @@ Lawn Care Cuidado del césped - - Lawn -Césped electric outdoor equipment e.g. "$100 off [this string]"