Files
TREK/shared/src/i18n/br/mobileTrip.ts
T
Maurice bee500880e fix(i18n): every language says one file and five files its own way
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.
2026-10-08 00:01:59 +00:00

86 lines
4.3 KiB
TypeScript

import type { TranslationStrings } from '../types';
const mobileTrip: TranslationStrings = {
'mobileTrip.addBookingShort': 'Reserva',
'mobileTrip.addNoteShort': 'Nota',
'mobileTrip.addPlaceShort': 'Lugar',
'mobileTrip.addToDayQuestion': 'Adicionar a um dia?',
'mobileTrip.addTransportShort': 'Transporte',
'mobileTrip.allDays': 'Todos os dias',
'mobileTrip.today': 'Hoje',
'mobileTrip.jumpToToday': 'Ir para hoje',
'mobileTrip.assignedDays': 'Dias atribuídos',
'mobileTrip.assignmentNotes': 'Notas específicas do dia',
'mobileTrip.bookingsEmpty': 'Nenhuma reserva ainda',
'mobileTrip.collabFeatureDisabled': 'Esse recurso está desativado para esta viagem',
'mobileTrip.compactView': 'Visualização compacta',
'mobileTrip.dayAnnounce': 'Dia {current} de {total}',
'mobileTrip.dayTitlePlaceholder': 'Título do dia',
'mobileTrip.export': 'Exportar',
'mobileTrip.filesEmpty': 'Nenhum arquivo ainda',
'mobileTrip.filesNext': 'Próximo arquivo',
'mobileTrip.filesPrev': 'Arquivo anterior',
'mobileTrip.googleMaps': 'Google Maps',
'mobileTrip.coMaps': 'CoMaps',
'mobileTrip.icsDownload': 'Baixar .ics',
'mobileTrip.icsSubscribe': 'Assinar calendário',
'mobileTrip.icsSubscribeSub': 'Atualiza automaticamente no seu app de calendário',
'mobileTrip.importListSub': 'Cole o link de uma lista compartilhada',
'mobileTrip.importPlaces': 'Importar locais',
'mobileTrip.inCountdown': 'em {time}',
'mobileTrip.listView': 'Visualização em lista',
'mobileTrip.mapView': 'Visualização em mapa',
'mobileTrip.more': 'Mais',
'mobileTrip.newCategory': 'Nova categoria',
'mobileTrip.newReservation': 'Nova reserva',
'mobileTrip.notes': 'Notas',
'mobileTrip.onMap': 'No mapa',
'mobileTrip.profileDriving': 'De carro',
'mobileTrip.profileWalking': 'A pé',
'mobileTrip.profileCycling': 'De bicicleta',
'mobileTrip.renameDay': 'Renomear dia',
'mobileTrip.resBadge': 'Reserva',
'mobileTrip.showOnMap': 'Mostrar no mapa',
'mobileTrip.statDocuments': '{count} arquivos',
'mobileTrip.statDocuments.one': '{count} arquivo',
'mobileTrip.statPeople': '{count} pessoas',
'mobileTrip.statPeople.one': '{count} pessoa',
'mobileTrip.stay': 'Estadia',
'mobileTrip.tapAgainToDelete': 'Toque novamente para excluir',
'mobileTrip.todoOpenCount': '{count} em aberto',
'mobileTrip.todoOpenCount.one': '{count} em aberto',
'mobileTrip.travel': 'Viagem',
'mobileTrip.upNext': 'A seguir',
'mobileTrip.viewDetails': 'Ver detalhes',
'mobileTrip.transportsEmpty': 'Nenhum transporte ainda',
'mobileTrip.rtInfoTitle': 'Dados de condução',
'mobileTrip.rtDesktopNote':
'Esses dados são definidos no computador, onde você também pode comparar rotas alternativas e fazer um dia seguir uma trilha importada.',
'mobileTrip.rtPlanOnDesktop':
'O planejamento acontece no computador. O TREK calcula o trajeto assim que um dia tem dois locais.',
'mobileTrip.rtSearchOffline': 'Precisa de conexão: a busca lê a rota à frente.',
'mobileTrip.rtBehind': '{time} de atraso em relação ao plano',
'mobileTrip.rtStart': 'Início',
'mobileTrip.rtStayScope':
'A estadia pertence ao local, então ela vale em todos os dias em que esta parada está planejada.',
'mobileTrip.rtStayLess': '{count} minutos a menos',
'mobileTrip.rtStayLess.one': '{count} minuto a menos',
'mobileTrip.rtStayMore': '{count} minutos a mais',
'mobileTrip.rtStayMore.one': '{count} minuto a mais',
'mobileTrip.rtNightDesktopOnly':
'Reservar um pernoite neste local funciona no planejador do computador. Aqui você só pode descartá-lo.',
'mobileTrip.rtReach': 'Até onde',
'mobileTrip.rtReachAhead': '{distance} à frente',
'mobileTrip.rtFromNext': 'A partir da sua próxima parada',
'mobileTrip.rtFromStart': 'A partir do início da etapa',
'mobileTrip.rtNoneAhead': 'Nada na estrada à frente. Tente a etapa inteira.',
'mobileTrip.rtNoneOnStage': 'Nada desse tipo ao longo desta etapa.',
'mobileTrip.rtTruncated.one':
'{count} trecho tinha mais do que cabe em uma resposta. Escolha menos tipos para ver o resto.',
'mobileTrip.rtTruncated.other':
'{count} trechos tinham mais do que cabe em uma resposta. Escolha menos tipos para ver o resto.',
'mobileTrip.rtNoDay': 'Nenhum dia escolhido',
'mobileTrip.rtNoDayHint': 'O mapa mostra a viagem inteira. Toque num dia acima para ver o seu percurso.',
};
export default mobileTrip;