Files
TREK/shared/src/i18n/nl/collection.ts
T
Maurice df3edac7b9 feat: six community requests — import dedup, accommodations in the feed, OAuth refresh race, visited-from-trip, journal jumps, phone packing rows (#1915)
* fix(places): match imports on the provider id so renamed places are not duplicated

Re-importing a Google Maps list duplicated every place the user had renamed.
buildDedupSet only ever collected names and, for unnamed places, coordinates,
and isPlaceDuplicate returns on the name before it reaches the coordinate
fallback, so a renamed place was findable by neither. The ids were stored all
along, and even backfilled onto matched places, they were simply never read.

Match on google_place_id / google_ftid / osm_id first, keeping name and
coordinates in their old roles below it. Widening the coordinate check instead
would have merged the restaurant and the bar in the same building.

The collection copy carried a hand-mirrored port of the same predicate; it now
uses the shared helpers and gets the fix with them.

Closes #1550

* feat(calendar): put accommodations into the subscribed feed as all-day stays

A hotel keeps its dates on the linked stay, not on the reservation: the booking
form writes reservation_time = NULL for type 'hotel', and day_accommodations
carries start day, end day and the check-in/out clock. The feed only ever read
the reservation, so a stay showed up once on the arrival day at best, and not at
all when it came from the booking form.

Join the stay in and emit the reservation as an all-day range over every night,
which also keeps it correct when days are reordered later — the dates now come
from the day rows rather than from the copy stamped at creation time. Check-in
and check-out become their own timed events when the stay records a clock,
because an all-day event cannot carry the time you actually need reminding of.
The check-in window, when set, becomes that event's DTEND.

Closes #1586

* fix(oauth): treat a concurrent refresh as a race, not as a stolen token

Refresh rotation is a race by construction. Several MCP clients share one
refresh token, both post it within the same second, and the loser was read as a
replay: chain revoked, MCP sessions torn down, browser window asking to log in
again. That is the daily re-authentication people were seeing, not a short
lifetime — access tokens last an hour and refresh tokens roll for thirty days.

A revoked refresh token now only counts as a replay once it is outside a
30-second grace window, and only when the rotation that revoked it left a
successor still alive. Inside the window the caller gets its own pair branched
off the same parent, so both clients walk away with a working token. Explicit
revocation leaves no live successor and a chain killed by a real replay has none
either, so neither can slip through the window.

Closes #1007

* feat(collections): mark a place visited from the trip it belongs to

A place saved in several lists had to be opened in each of them to say you had
been there, which is the wrong way round: you find out you have been somewhere
while looking at the trip, not while browsing the library.

The save picker now shows each list's own status and cycles it in place, with one
action for "visited, wherever this is saved". The planner's selection bar and the
mobile bulk toolbar carry the same thing for a whole selection — select all, one
tap, done. Matching happens on the server with the signals findMembership already
uses plus the source link a place saved from this trip carries, so a copy renamed
inside a list is still found. Lists you may only read are skipped rather than
refused; a shared list you cannot edit should not stop you marking your own.

Closes #1469

* feat(journey): jump to the top or back to the last entry in a long journal

Everything that adds to a journal sits at the top — the entry button, the
gallery upload — and where you left off sits at the bottom, so adding one photo
to a long journey meant scrolling the whole way twice.

Two buttons float over the middle of the feed, clear of the Add Entry column on
one side and the reorder arrows on the other, each appearing only when there is
more than a screenful to travel in that direction. They live in a zero-height
sticky box so they take no layout space and never push the timeline around.
While in the header, the status pill also picks up the height of the round
buttons beside it.

Closes #1088

* fix(packing): give the item name the row back on phones

An item name had roughly a third of the row to itself: a spelled-out sharing
sentence, an empty weight column and two round action buttons took the rest, so
anything longer than a word was cut off.

Sharing is now the icon it always was next to a label rather than a sentence in
the layout, an unset weight prints nothing instead of a dash, and edit/delete
sit behind one overflow button that opens the same inline menu the bag picker
already uses. The to-do list needed none of this — it wraps its chips onto a
second line already.

Closes #1525

* docs(wiki): cover the six community changes

- Calendar feeds: accommodations as an all-day range plus check-in/check-out
- Collections: setting the visited status from a trip, and how places are matched
- Journey: the jump buttons on a long journal
- Packing: what the phone row keeps and what moved behind the overflow button
- Places: re-importing a list no longer duplicates renamed places
- MCP setup: the rotation race no longer ends an OAuth session

* test(collections): assert the stored status instead of a private method

tests/ sits outside the build tsconfig, so reaching into getPlaceById only
showed up in the dedicated typecheck step. Reading the row is the better
assertion anyway — it pins what was persisted, not what a getter returns.
2026-08-12 17:43:22 +02:00

194 lines
9.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { TranslationStrings } from '../types';
const collection: TranslationStrings = {
'collections.saveNToList': '{count} in een lijst opslaan',
'collections.addedNToList': '{count} opgeslagen in {name}',
'collections.noOwnLists': 'Je hebt nog geen lijsten',
'collections.saveToListHint': 'Duplicaten worden automatisch overgeslagen',
'collections.role.label': 'Rol',
'collections.role.viewer': 'Kijker',
'collections.role.editor': 'Bewerker',
'collections.role.admin': 'Beheerder',
'collections.picker.allLists': 'Alle lijsten',
'collections.select': 'Selecteren',
'collections.selectAll': 'Alles selecteren',
'collections.deselectAll': 'Selectie opheffen',
'collections.moveToList': 'Naar lijst verplaatsen',
'collections.duplicateToList': 'Naar lijst dupliceren',
'collections.moveToListTitle': '{count} naar andere lijst verplaatsen',
'collections.duplicateToListTitle': '{count} naar andere lijst dupliceren',
'collections.noOtherLists': 'Nog geen andere lijsten',
'collections.movedCount': '{count} plaatsen verplaatst',
'collections.duplicatedCount': '{count} plaatsen gedupliceerd',
'collections.placeCount': '{count} plaatsen',
'collections.category': 'Categorie',
'collections.noCategory': 'Geen categorie',
'collections.editListTitle': 'Lijst bewerken',
'collections.coverImage': 'Omslagafbeelding',
'collections.addCover': 'Omslag toevoegen',
'collections.changeCover': 'Omslag wijzigen',
'collections.description': 'Beschrijving',
'collections.descriptionPlaceholder': 'Voeg een beschrijving toe…',
'collections.links': 'Links',
'collections.linkLabel': 'Label',
'collections.addLink': 'Link toevoegen',
'collections.addDetails': 'Details toevoegen',
'collections.addPlace': 'Plaats toevoegen',
'collections.addPlaceSearch': 'Zoek een plaats…',
'collections.addPlaceHint': 'Zoek om een plaats aan deze lijst toe te voegen',
'collections.importFromTrip': 'Importeren uit een reis',
'collections.importTitle': 'Importeren uit een reis',
'collections.importDoneTitle': 'Import klaar',
'collections.importPickTripHint': 'Kies een reis en haal de plekken ervan naar {name}.',
'collections.importNoTrips': 'Nog geen reizen',
'collections.importPlacesCount': '{count} plekken',
'collections.importSearchPlaces': 'Plekken zoeken…',
'collections.importOnlyNew': 'Alleen nieuwe',
'collections.importSelectAll': 'Alles selecteren',
'collections.importClearSelection': 'Selectie wissen',
'collections.importAlreadySaved': 'Al opgeslagen',
'collections.importUnscheduled': 'Zonder dag',
'collections.importOnDay': 'Dag {count}',
'collections.importSelectedCount': '{count} geselecteerd',
'collections.importAction': '{count} importeren',
'collections.importEmptyTrip': 'Deze reis heeft nog geen plekken',
'collections.importNothingNew': 'Alles uit deze reis staat al op deze lijst',
'collections.importDone': '{count} plekken toegevoegd',
'collections.importDoneSkipped': '{count} stonden er al op en zijn ongewijzigd gebleven',
'collections.importDoneClean': 'Ze staan nu allemaal in {name}',
'collections.sort.default': 'Standaard',
'collections.sort.nameAsc': 'Naam (A–Z)',
'collections.coordinates': 'Coördinaten',
'collections.showList': 'Lijst tonen',
'collections.expandMap': 'Kaart vergroten',
'collections.hero.mine': 'Mijn collectie',
'collections.hero.shared': 'Gedeeld met jou',
'collections.hero.all': 'Jouw bibliotheek',
'collections.title': 'Collecties',
'collections.subtitle': 'Je opgeslagen plekken, geordend in lijsten',
'collections.newList': 'Nieuwe lijst',
'collections.create': 'Aanmaken',
'collections.editList': 'Hernoemen',
'collections.listMenu': 'Lijstopties',
'collections.deleteList': 'Lijst verwijderen',
'collections.deleteListConfirm':
'Hiermee worden de lijst en alle opgeslagen plekken definitief verwijderd. Dit kan niet ongedaan worden gemaakt.',
'collections.listName': 'Lijstnaam',
'collections.listNamePlaceholder': 'bijv. Tokio 2025',
'collections.listColor': 'Kleur',
'collections.allSaved': 'Alle opgeslagen',
'collections.shared': 'Gedeeld',
'collections.empty.title': 'Nog geen plekken',
'collections.empty.text': 'Sla plekken op uit elke reis om deze lijst op te bouwen.',
'collections.empty.noMatchTitle': 'Geen resultaten',
'collections.empty.noMatchText': 'Geen opgeslagen plekken komen overeen met je filter of zoekopdracht.',
'collections.empty.firstTitle': 'Begin je eerste collectie',
'collections.empty.firstText': 'Maak een lijst om plekken op te slaan die je over reizen heen wilt onthouden.',
'collections.view.grid': 'Raster',
'collections.view.list': 'Lijst',
'collections.view.map': 'Kaart',
'collections.status.idea': 'Idee',
'collections.status.want': 'Wil heen',
'collections.status.visited': 'Bezocht',
'collections.status.filterAll': 'Alle',
'collections.status.cycleHint': 'tik om te wijzigen',
'collections.markVisited': 'Markeer als bezocht',
'collections.markVisitedAll': 'Overal bezocht',
'collections.markVisitedSelection': 'Markeer als bezocht in je lijsten',
'collections.markVisitedNone': 'Geen van deze plaatsen staat in een lijst',
'collections.markedVisited': 'Gemarkeerd als bezocht',
'collections.markedVisitedTrip': '{count} plaatsen gemarkeerd als bezocht',
'collections.copyToTrip': 'Naar reis kopiëren',
'collections.copyToTripTitle': 'Naar reis kopiëren',
'collections.copyN': '{count} naar reis kopiëren',
'collections.copyToTripSearch': 'Reizen zoeken',
'collections.searchLists': 'Lijsten zoeken',
'collections.copyToTripConfirm': 'Kopiëren',
'collections.noTrips': 'Nog geen reizen',
'collections.alreadyInTrip': 'Al in deze reis',
'collections.copied': 'Naar reis gekopieerd',
'collections.copiedCount': '{count} plekken gekopieerd',
'collections.skippedDuplicates': '{count} duplicaten overgeslagen',
'collections.copyNothing': 'Niets om te kopiëren',
'collections.removeFromList': 'Uit lijst verwijderen',
'collections.removeFromListConfirm': 'Deze plek uit de lijst verwijderen?',
'collections.removeFromCollection': 'Uit collectie verwijderen',
'collections.saved': 'Opgeslagen in {name}',
'collections.savedUndo': 'Ongedaan maken',
'collections.viewInCollection': 'Bekijken',
'collections.duplicateWarning': 'Deze plek staat al in de lijst',
'collections.search': 'Plekken zoeken',
'collections.selectMode': 'Selecteren',
'collections.selectedCount': '{count} geselecteerd',
'collections.pickList': 'In lijst opslaan',
'collections.pickListPlaceholder': 'Kies een lijst',
'collections.addedToList': 'Toegevoegd aan {name}',
'collections.removedFromList': 'Verwijderd uit {name}',
'collections.inLists': 'In je lijsten',
'collections.otherLists': 'Aan een lijst toevoegen',
'collections.noListsYet': 'Maak eerst een lijst om plekken op te slaan.',
'collections.removedFromAll': 'Uit collectie verwijderd',
'collections.picker.title': 'Opgeslagen plekken',
'collections.picker.showMore': 'Nog {count} tonen',
'collections.picker.search': 'Zoek in je opgeslagen plekken',
'collections.picker.empty': 'Geen opgeslagen plekken om toe te voegen',
'collections.picker.hint': 'Kies een plek uit je collecties',
'collections.picker.use': 'Gebruiken',
'collections.share.title': 'Lijst delen',
'collections.share.titleNamed': '“{name}” delen',
'collections.share.button': 'Delen',
'collections.share.members': 'Leden',
'collections.share.owner': 'Eigenaar',
'collections.share.you': 'jij',
'collections.share.pending': 'uitnodiging in afwachting',
'collections.share.accepted': 'geaccepteerd',
'collections.share.invite': 'Iemand uitnodigen',
'collections.share.inviteUser': 'Gebruiker selecteren',
'collections.share.sendInvite': 'Uitnodiging sturen',
'collections.share.inviteHint': 'Uitgenodigde personen kunnen deze lijst bekijken en bewerken.',
'collections.share.noUsers': 'Geen gebruikers beschikbaar om uit te nodigen.',
'collections.share.memberHint': 'Alleen de eigenaar van de lijst kan personen uitnodigen of verwijderen.',
'collections.share.cancel': 'Annuleren',
'collections.share.leave': 'Lijst verlaten',
'collections.share.leaveConfirm':
'Deze gedeelde lijst verlaten? Je verliest de toegang totdat je opnieuw wordt uitgenodigd.',
'collections.share.left': 'Je hebt de lijst verlaten',
'collections.share.remove': 'Verwijderen',
'collections.invites.title': 'Uitnodigingen',
'collections.invites.from': 'van',
'collections.invites.accept': 'Accepteren',
'collections.invites.decline': 'Weigeren',
'collections.invites.received': 'Je hebt een nieuwe lijstuitnodiging',
'collections.invite.sent': 'Uitnodiging verzonden',
'collections.invite.error': 'Kon uitnodiging niet versturen',
'collections.invite.accepted': 'Uitnodiging geaccepteerd',
'collections.invite.declined': 'Uitnodiging geweigerd',
'collections.widget.title': 'Collecties',
'collections.widget.empty': 'Nog geen opgeslagen plekken',
'collections.widget.savedCount': '{count} opgeslagen',
'collections.labels.title': 'Labels',
'collections.labels.manage': 'Labels beheren',
'collections.labels.add': 'Label toevoegen',
'collections.labels.name': 'Labelnaam',
'collections.labels.namePlaceholder': 'bijv. Berlin',
'collections.labels.assign': 'Label toewijzen',
'collections.labels.assignN': 'Labels toevoegen aan {count} plaatsen',
'collections.labels.assignedCount': '{count} plaatsen gelabeld',
'collections.labels.empty': 'Nog geen labels',
'collections.labels.emptyHint': 'Maak eerst een label om plekken in deze lijst te groeperen.',
};
export default collection;