101 lines
3.2 KiB
TypeScript
101 lines
3.2 KiB
TypeScript
/**
|
|
* `notifyUi.*` — OS notification titles and bodies.
|
|
*
|
|
* Legacy hardcoded English lived in `src/components/OsNotificationBridge.tsx`
|
|
* (the OS-shade mirror of the in-app bell: social, crews, DMs, trades,
|
|
* newsletter, plus the burst summary). `src/lib/osNotify.ts` only holds
|
|
* `console.warn` diagnostics, no user prose, so nothing there needs a key.
|
|
*
|
|
* `{{placeholders}}` must stay byte-identical across locales.
|
|
*
|
|
* `en`/`es` live here (the `th`/`ja` fragments are `th/batch18.ts` and
|
|
* `ja/batch19.ts`).
|
|
*/
|
|
const notifyUi = {
|
|
en: {
|
|
activity: {
|
|
zappedWithAmount: 'You got zapped {{sats}} sats',
|
|
zapped: 'You got zapped',
|
|
liked: 'Someone liked your post',
|
|
reposted: 'Someone reposted you',
|
|
mentioned: 'Someone mentioned you',
|
|
replied: 'Someone replied to you',
|
|
rsvp: "Someone RSVP'd to your event",
|
|
eventUpdated: "An event you're going to was updated",
|
|
newActivity: 'New activity',
|
|
tapToOpen: 'Tap to open SkateSpots',
|
|
},
|
|
crew: {
|
|
inviteTitle: 'Crew invite',
|
|
inviteBody: "You're invited to {{crew}}",
|
|
addedTitle: "You've been added to a crew",
|
|
addedBody: '{{crew}} — confirm to join',
|
|
joinRequestTitle: 'Join request',
|
|
joinRequestBody: 'Someone wants to join {{name}}',
|
|
},
|
|
dm: {
|
|
title: 'New direct message',
|
|
body: 'Tap to read it',
|
|
},
|
|
trade: {
|
|
confirm: 'Confirm a trade',
|
|
confirmed: 'Trade confirmed',
|
|
newOffer: 'New offer on your listing',
|
|
counter: 'Counter-offer',
|
|
accepted: 'Offer accepted 🎉',
|
|
declined: 'Offer declined',
|
|
withdrawn: 'Offer withdrawn',
|
|
},
|
|
newsletter: {
|
|
drop: 'New SkateSpots drop',
|
|
},
|
|
summary: {
|
|
moreUpdates: '{{count}} more updates',
|
|
openToCatchUp: 'Open SkateSpots to catch up',
|
|
},
|
|
},
|
|
es: {
|
|
activity: {
|
|
zappedWithAmount: 'Te dieron un zap de {{sats}} sats',
|
|
zapped: 'Te dieron un zap',
|
|
liked: 'A alguien le gustó tu publicación',
|
|
reposted: 'Alguien te reposteó',
|
|
mentioned: 'Alguien te mencionó',
|
|
replied: 'Alguien te respondió',
|
|
rsvp: 'Alguien confirmó asistencia a tu evento',
|
|
eventUpdated: 'Se actualizó un evento al que vas',
|
|
newActivity: 'Nueva actividad',
|
|
tapToOpen: 'Toca para abrir SkateSpots',
|
|
},
|
|
crew: {
|
|
inviteTitle: 'Invitación a una peña',
|
|
inviteBody: 'Te invitaron a {{crew}}',
|
|
addedTitle: 'Te añadieron a una peña',
|
|
addedBody: '{{crew}} — confirma para unirte',
|
|
joinRequestTitle: 'Solicitud de ingreso',
|
|
joinRequestBody: 'Alguien quiere unirse a {{name}}',
|
|
},
|
|
dm: {
|
|
title: 'Nuevo mensaje directo',
|
|
body: 'Toca para leerlo',
|
|
},
|
|
trade: {
|
|
confirm: 'Confirma un intercambio',
|
|
confirmed: 'Intercambio confirmado',
|
|
newOffer: 'Nueva oferta en tu anuncio',
|
|
counter: 'Contraoferta',
|
|
accepted: 'Oferta aceptada 🎉',
|
|
declined: 'Oferta rechazada',
|
|
withdrawn: 'Oferta retirada',
|
|
},
|
|
newsletter: {
|
|
drop: 'Nueva entrega de SkateSpots',
|
|
},
|
|
summary: {
|
|
moreUpdates: '{{count}} novedades más',
|
|
openToCatchUp: 'Abre SkateSpots para ponerte al día',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default notifyUi;
|