diff --git a/client/src/mobile/components/MDayPager.test.tsx b/client/src/mobile/components/MDayPager.test.tsx index 2009eee04..1282e6f00 100644 --- a/client/src/mobile/components/MDayPager.test.tsx +++ b/client/src/mobile/components/MDayPager.test.tsx @@ -52,7 +52,11 @@ describe('pagesFor', () => { it('keeps the same pages whichever day is selected, so a run of swipes never meets an end', () => { expect(pagesFor(DAYS, 1).map((p) => p.key)).toEqual(pagesFor(DAYS, 6).map((p) => p.key)); - expect(pagesFor(DAYS, 6).filter((p) => p.near).map((p) => p.dayId)).toEqual([4, 5, 6]); + expect( + pagesFor(DAYS, 6) + .filter((p) => p.near) + .map((p) => p.dayId) + ).toEqual([4, 5, 6]); }); it('keeps a page for a selection that points at no day, with the first day as the way back', () => { diff --git a/client/src/native/widgets.test.ts b/client/src/native/widgets.test.ts index 9bc3bed05..5cc6d61e8 100644 --- a/client/src/native/widgets.test.ts +++ b/client/src/native/widgets.test.ts @@ -212,7 +212,13 @@ describe('the richer snapshot', () => { }); it('makes a stop of every leg of a flight with a stopover, and keeps a flight in the air ahead until it lands', () => { - const plain = todayOf(trip(1, '2026-11-09', '2026-11-10'), [day(5, 1, '2026-11-09', []), day(6, 2, '2026-11-10', [])], '2026-11-09', () => 'D', (t) => t); + const plain = todayOf( + trip(1, '2026-11-09', '2026-11-10'), + [day(5, 1, '2026-11-09', []), day(6, 2, '2026-11-10', [])], + '2026-11-09', + () => 'D', + (t) => t + ); if (!plain) throw new Error('the trip runs today'); const legs = [ { from: 'SNA', to: 'ATL', dep_day_id: 5, dep_time: '14:00', arr_day_id: 5, arr_time: '21:11' }, @@ -243,7 +249,13 @@ describe('the richer snapshot', () => { }); it('counts a booking with an end time as under way until it ends', () => { - const plain = todayOf(trip(1, '2026-11-09', '2026-11-09'), [day(5, 1, '2026-11-09', [])], '2026-11-09', () => 'D', (t) => t); + const plain = todayOf( + trip(1, '2026-11-09', '2026-11-09'), + [day(5, 1, '2026-11-09', [])], + '2026-11-09', + () => 'D', + (t) => t + ); if (!plain) throw new Error('the trip runs today'); const today = withBookings( plain, diff --git a/shared/src/i18n/ja/native.ts b/shared/src/i18n/ja/native.ts index ea86ceec2..467d78e8c 100644 --- a/shared/src/i18n/ja/native.ts +++ b/shared/src/i18n/ja/native.ts @@ -11,13 +11,16 @@ const native: TranslationStrings = { 'native.connect.errorInvalid': 'Web アドレスではないようです。', 'native.connect.errorUnreachable': 'このアドレスで応答するサーバーがありません。アドレスと接続を確認してください。', 'native.connect.errorNotTrek': 'このアドレスのサーバーは TREK ではありません。', - 'native.connect.errorTooOld': 'このサーバーでは古い TREK が動作しています。アプリには TREK 5.1.3 以降が必要なため、先にサーバーを更新してください。', - 'native.connect.recheckHint': 'このバージョンのアプリはサーバーに TREK 5.1.3 以降が必要なため、サーバーをもう一度確認します。', + 'native.connect.errorTooOld': + 'このサーバーでは古い TREK が動作しています。アプリには TREK 5.1.3 以降が必要なため、先にサーバーを更新してください。', + 'native.connect.recheckHint': + 'このバージョンのアプリはサーバーに TREK 5.1.3 以降が必要なため、サーバーをもう一度確認します。', 'native.offline.title': 'サーバーに接続できません', 'native.offline.hint': 'TREK は {server} に接続できませんでした。接続を確認して、もう一度お試しください。', 'native.offline.retry': '再試行', 'native.changeServer': 'サーバーを変更', - 'native.signInBar.hint': 'このページではアプリ内でパスキーとセキュリティキーを使えません。パスワードでサインインするか、プロキシでアプリを通過させてください。', + 'native.signInBar.hint': + 'このページではアプリ内でパスキーとセキュリティキーを使えません。パスワードでサインインするか、プロキシでアプリを通過させてください。', 'native.login.failed': 'ログインできませんでした。もう一度お試しください。', 'native.handoff.title': 'アプリで続行', 'native.handoff.hint': '{name} としてログインしています。TREK アプリを開いて、そちらでログインを完了してください。', diff --git a/shared/src/i18n/ko/native.ts b/shared/src/i18n/ko/native.ts index 6a1dce84f..2e98e2b58 100644 --- a/shared/src/i18n/ko/native.ts +++ b/shared/src/i18n/ko/native.ts @@ -11,13 +11,15 @@ const native: TranslationStrings = { 'native.connect.errorInvalid': '웹 주소가 아닌 것 같습니다.', 'native.connect.errorUnreachable': '이 주소에서 응답하는 서버가 없습니다. 주소와 연결 상태를 확인하세요.', 'native.connect.errorNotTrek': '이 주소의 서버는 TREK이 아닙니다.', - 'native.connect.errorTooOld': '이 서버는 이전 버전의 TREK을 실행 중입니다. 앱에는 TREK 5.1.3 이상이 필요하므로 먼저 서버를 업데이트해야 합니다.', + 'native.connect.errorTooOld': + '이 서버는 이전 버전의 TREK을 실행 중입니다. 앱에는 TREK 5.1.3 이상이 필요하므로 먼저 서버를 업데이트해야 합니다.', 'native.connect.recheckHint': '이 버전의 앱은 서버에 TREK 5.1.3 이상이 필요하므로 서버를 한 번 더 확인합니다.', 'native.offline.title': '서버에 연결할 수 없음', 'native.offline.hint': 'TREK이 {server}에 연결하지 못했습니다. 연결 상태를 확인한 후 다시 시도하세요.', 'native.offline.retry': '다시 시도', 'native.changeServer': '서버 변경', - 'native.signInBar.hint': '이 페이지에서는 앱 안에서 패스키와 보안 키를 사용할 수 없습니다. 비밀번호로 로그인하거나 프록시에서 앱을 통과시키세요.', + 'native.signInBar.hint': + '이 페이지에서는 앱 안에서 패스키와 보안 키를 사용할 수 없습니다. 비밀번호로 로그인하거나 프록시에서 앱을 통과시키세요.', 'native.login.failed': '로그인하지 못했습니다. 다시 시도하세요.', 'native.handoff.title': '앱에서 계속', 'native.handoff.hint': '{name}(으)로 로그인되어 있습니다. TREK 앱을 열어 로그인을 완료하세요.',