mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
bee500880e
Finishes the plural work the previous wip commit started. t() picks a count string's form by the language's own Intl.PluralRules, and every locale now spells out the forms its language reaches with whole numbers, about 160 count strings in all: one, few and many in Russian, Ukrainian and Polish, one and few in Czech and Slovak, five forms in Arabic, one in the others, none in Japanese, Korean, Chinese, Thai, Vietnamese and Indonesian. Each language was translated and then reviewed on its own. English no longer reads "1 files", "1 updates available" or "photo(s)". Count labels shown next to a number now take that number too: the atlas and admin statistics, the trip cards, journey and shared trip pills, packing templates, receipts, storage usage, the Studio export note. A heading that shared its key with a counted label keeps a key of its own (the boarding pass heading, the Bookings tab), so languages that put a noun after a number in the singular keep a plural heading. The plugin hosts chip passed its count through .replace() after t() and never got a form; three toasts sent the count as text. Mail and push texts for shared photos and suppressed storage failures pick their form in code through pluralForm. A whole number sent as text counts too, which is how in-app notification params arrive, and the plural rule follows the language of the strings on screen while another one still loads. The parity check knows which forms each language needs and refuses missing and impossible ones. It also reads keys that contain a colon now: it skipped them, which hid 58 missing plugin permission texts in Catalan and 35 in Vietnamese, both translated. The client parity test covers every language of the registry instead of a hand-kept list of 19, and the placeholder spec lets a form spell its number out only where its category is that one number. Brazilian Portuguese error screens were in Breton, and an Arabic dashboard label held Hebrew text.
86 lines
4.4 KiB
TypeScript
86 lines
4.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const mobileTrip: TranslationStrings = {
|
|
'mobileTrip.addBookingShort': 'Reserva',
|
|
'mobileTrip.addNoteShort': 'Nota',
|
|
'mobileTrip.addPlaceShort': 'Lugar',
|
|
'mobileTrip.addToDayQuestion': '¿Añadir a un día?',
|
|
'mobileTrip.addTransportShort': 'Transporte',
|
|
'mobileTrip.allDays': 'Todos los días',
|
|
'mobileTrip.today': 'Hoy',
|
|
'mobileTrip.jumpToToday': 'Ir a hoy',
|
|
'mobileTrip.assignedDays': 'Días asignados',
|
|
'mobileTrip.assignmentNotes': 'Notas específicas del día',
|
|
'mobileTrip.bookingsEmpty': 'Aún no hay reservas',
|
|
'mobileTrip.collabFeatureDisabled': 'Esta función está desactivada para este viaje',
|
|
'mobileTrip.compactView': 'Vista compacta',
|
|
'mobileTrip.dayAnnounce': 'Día {current} de {total}',
|
|
'mobileTrip.dayTitlePlaceholder': 'Título del día',
|
|
'mobileTrip.export': 'Exportar',
|
|
'mobileTrip.filesEmpty': 'Aún no hay archivos',
|
|
'mobileTrip.filesNext': 'Archivo siguiente',
|
|
'mobileTrip.filesPrev': 'Archivo anterior',
|
|
'mobileTrip.googleMaps': 'Google Maps',
|
|
'mobileTrip.coMaps': 'CoMaps',
|
|
'mobileTrip.icsDownload': 'Descargar .ics',
|
|
'mobileTrip.icsSubscribe': 'Suscribirse al calendario',
|
|
'mobileTrip.icsSubscribeSub': 'Se actualiza automáticamente en tu app de calendario',
|
|
'mobileTrip.importListSub': 'Pega el enlace de una lista compartida',
|
|
'mobileTrip.importPlaces': 'Importar lugares',
|
|
'mobileTrip.inCountdown': 'en {time}',
|
|
'mobileTrip.listView': 'Vista de lista',
|
|
'mobileTrip.mapView': 'Vista de mapa',
|
|
'mobileTrip.more': 'Más',
|
|
'mobileTrip.newCategory': 'Nueva categoría',
|
|
'mobileTrip.newReservation': 'Nueva reserva',
|
|
'mobileTrip.notes': 'Notas',
|
|
'mobileTrip.onMap': 'En el mapa',
|
|
'mobileTrip.profileDriving': 'En coche',
|
|
'mobileTrip.profileWalking': 'A pie',
|
|
'mobileTrip.profileCycling': 'En bici',
|
|
'mobileTrip.renameDay': 'Cambiar nombre del día',
|
|
'mobileTrip.resBadge': 'Reserva',
|
|
'mobileTrip.showOnMap': 'Mostrar en el mapa',
|
|
'mobileTrip.statDocuments': '{count} archivos',
|
|
'mobileTrip.statDocuments.one': '{count} archivo',
|
|
'mobileTrip.statPeople': '{count} personas',
|
|
'mobileTrip.statPeople.one': '{count} persona',
|
|
'mobileTrip.stay': 'Estancia',
|
|
'mobileTrip.tapAgainToDelete': 'Toca de nuevo para eliminar',
|
|
'mobileTrip.todoOpenCount': '{count} pendientes',
|
|
'mobileTrip.todoOpenCount.one': '{count} pendiente',
|
|
'mobileTrip.travel': 'Viaje',
|
|
'mobileTrip.upNext': 'A continuación',
|
|
'mobileTrip.viewDetails': 'Ver detalles',
|
|
'mobileTrip.transportsEmpty': 'Aún no hay transporte',
|
|
'mobileTrip.rtInfoTitle': 'Cifras del trayecto',
|
|
'mobileTrip.rtDesktopNote':
|
|
'Estas cifras se ajustan en el escritorio, donde también puedes comparar rutas alternativas y hacer que un día siga una traza importada.',
|
|
'mobileTrip.rtPlanOnDesktop':
|
|
'La planificación se hace en el escritorio. TREK calcula el trayecto en cuanto un día tiene dos lugares.',
|
|
'mobileTrip.rtSearchOffline': 'Hace falta conexión: la búsqueda lee la ruta que queda por delante.',
|
|
'mobileTrip.rtBehind': '{time} de retraso sobre lo previsto',
|
|
'mobileTrip.rtStart': 'Inicio',
|
|
'mobileTrip.rtStayScope':
|
|
'La duración de la parada pertenece al lugar, así que cuenta en cada día en el que esta parada está prevista.',
|
|
'mobileTrip.rtStayLess': '{count} minutos menos',
|
|
'mobileTrip.rtStayLess.one': '{count} minuto menos',
|
|
'mobileTrip.rtStayMore': '{count} minutos más',
|
|
'mobileTrip.rtStayMore.one': '{count} minuto más',
|
|
'mobileTrip.rtNightDesktopOnly':
|
|
'Reservar una pernoctación en este lugar se hace en el planificador de escritorio. Aquí solo puedes descartarla.',
|
|
'mobileTrip.rtReach': 'Hasta dónde',
|
|
'mobileTrip.rtReachAhead': '{distance} por delante',
|
|
'mobileTrip.rtFromNext': 'Desde tu próxima parada',
|
|
'mobileTrip.rtFromStart': 'Desde el inicio de la etapa',
|
|
'mobileTrip.rtNoneAhead': 'No hay nada en la carretera que tienes por delante. Prueba con toda la etapa.',
|
|
'mobileTrip.rtNoneOnStage': 'No hay nada de eso a lo largo de esta etapa.',
|
|
'mobileTrip.rtTruncated.other':
|
|
'{count} tramos tenían más de lo que cabe en una respuesta. Elige menos tipos para ver el resto.',
|
|
'mobileTrip.rtTruncated.one':
|
|
'{count} tramo tenía más de lo que cabe en una respuesta. Elige menos tipos para ver el resto.',
|
|
'mobileTrip.rtNoDay': 'Ningún día seleccionado',
|
|
'mobileTrip.rtNoDayHint': 'El mapa muestra todo el viaje. Toca un día arriba para ver su ruta.',
|
|
};
|
|
export default mobileTrip;
|