Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test(studio): the book words read the new heading

Mauricebc60aea839b8
diff --git a/server/tests/unit/nest/journey-book-edit.book-level.test.ts b/server/tests/unit/nest/journey-book-edit.book-level.test.ts
index 09c651358..89ce6d106 100644
--- a/server/tests/unit/nest/journey-book-edit.book-level.test.ts
+++ b/server/tests/unit/nest/journey-book-edit.book-level.test.ts
@@ -247,7 +247,7 @@ describe('what the engine reads', () => {
expect(travel.entries.map((e) => [e.id, e.title, e.mood])).toEqual([[entry.id, 'Alfama', 'amazing']]);
expect(travel.locale).toBe('de-DE');
- expect(travel.labels).toMatchObject({ day: 'TAG {day}', stations: 'Stationen', pros: 'Pro', cons: 'Contra' });
+ expect(travel.labels).toMatchObject({ day: 'TAG {day}', stations: 'Unterwegs', pros: 'Pro', cons: 'Contra' });
expect(travel.path).toEqual([]);
expect((await edit.wordsFor(owner.id)).locale).toBe('de-DE');
});
diff --git a/server/tests/unit/nest/journey/book-travel-labels.test.ts b/server/tests/unit/nest/journey/book-travel-labels.test.ts
index 046f5b847..a4bf1bbb1 100644
--- a/server/tests/unit/nest/journey/book-travel-labels.test.ts
+++ b/server/tests/unit/nest/journey/book-travel-labels.test.ts
@@ -21,7 +21,7 @@ describe('the book words', () => {
expect(french.locale).toBe('fr-FR');
expect(french.labels).toMatchObject({
day: 'JOUR {day}',
- stations: 'Étapes',
+ stations: 'En chemin',
summary: 'Résumé',
countries: 'Pays',
});
@@ -30,7 +30,7 @@ describe('the book words', () => {
locale: 'en-US',
labels: {
day: 'DAY {day}',
- stations: 'Stations',
+ stations: 'Along the way',
summary: 'Summary',
countries: 'Countries',
distance: 'Distance',