const COPY = { en: { restTitle: 'Rest over 💪', restBody: 'Time for your next set.', testBody: 'Test notification ✅ — this is what alerts look like.', dayFallbackTitle: 'Workout planned today', dayRoutineSuffix: 'today', dayBody: "It's on your plan — let's go 💪", }, 'pt-BR': { restTitle: 'Descanso terminado 💪', restBody: 'Hora da próxima série.', testBody: 'Notificação de teste ✅ — é assim que os alertas aparecem.', dayFallbackTitle: 'Treino planejado para hoje', dayRoutineSuffix: 'hoje', dayBody: 'Está no seu plano — vamos treinar 💪', }, }; const copyFor = lang => COPY[lang] || COPY.en; export function restTimerPush(lang) { const copy = copyFor(lang); return { title: copy.restTitle, body: copy.restBody, tag: 'rest-timer' }; } export function testPush(lang) { return { title: 'openGym', body: copyFor(lang).testBody, tag: 'test' }; } export function dayReminderPush(lang, routine) { const copy = copyFor(lang); return { title: routine ? `${routine.emoji || '🏋️'} ${routine.name} ${copy.dayRoutineSuffix}` : copy.dayFallbackTitle, body: copy.dayBody, tag: 'day-reminder', }; }