Files
TREK/shared/src/i18n/ja/admin.ts
T
jubnl 305b113d5f Feat/storage driver (#1949)
* feat(storage): storage key validation, driver contract suite, LocalDriver

* feat(storage): MirrorDriver composite backend

* feat(server): add TREK_UPLOADS_DIR env var for the uploads root

* feat(storage): settings-backed registry, StorageService facade, module wiring

* test(storage): pin src/nest/storage coverage thresholds

* feat(storage): multer upload options factory

* refactor(files): spool trip-file uploads through storage

* refactor(collab): spool note attachments through storage; normalize files/ prefix

* refactor(journey): spool journey media uploads through storage

* refactor(trips): spool trip cover upload through storage

* refactor(places): spool place-image and collection uploads through storage

* refactor(auth): spool avatar upload through storage

* fix(server): consolidate allowed_file_types onto AllowedFileTypesService

* fix(storage): default defParamCharset to utf8 in the upload factory

* test(db): re-point the trailing-migration guard at the trip_files prefix strip

* fix(storage): age-gate the boot spool sweep

* test(files): key FILE-P02 residue checks on upload size

* test(storage): raise src/nest/storage coverage pin

* refactor(platform): serve /uploads routes through storage

* refactor(files): serve trip-file downloads through storage

* refactor(memories): serve photo bytes through storage

* refactor(maps): stream place-photo bytes through storage

* refactor(share): stream shared place-photo bytes through storage

* refactor(journey): serve public journey assets through storage

* fix(share): answer place-photo cache miss with 204 like the maps proxy

* test(server): close serving-swap gaps surfaced by the full tier

* test(storage): raise src/nest/storage branches pin

* refactor(place-photos): route place-photo cache through storage

* refactor(places): reclaim place images and collection covers through storage

* refactor(trips): trip covers through storage

* refactor(auth): avatar reclaim through storage

* refactor(collab): note-file deletion through storage

* refactor(files): trash deletion through storage

* refactor(memories): trek photo cache internals through storage

* refactor(memories): thumbnail service category-addressed

* refactor(memories): immich upload reads through storage; drop uploads-root

* refactor(journey): photo deletion through storage

* fix(memories): reclaim orphaned trek photo cache objects in the ttl sweep

* feat(journey): journey-thumbs orphan sweep and delete-site derived-artifact reclaim

* test(server): close slice-4 gaps surfaced by the full tier

* test(coverage): raise slice-4 domain pins

* refactor(backup): list, existence and delete through storage

* refactor(backup): download through storage sendToResponse

* refactor(backup): create backup through per-category storage enumeration

* refactor(backup): restore and upload-restore through storage

* refactor(backup): auto-backup retention through storage

* refactor(server): boot dir-creation to driver init

* test(server): close slice-5 gaps surfaced by the coverage tier

* test(coverage): raise slice-5 backup pin

* test(server): resolve async backupFileExists mocks for the tests typecheck

* test(server): pin ranged-read stat and zero-byte roundtrip in the storage driver contract

* feat(server): TREK_S3_* env wiring — schema, s3 namespace, all-or-nothing boot rule

* feat(server): S3 driver core — aws-lite client seam, stat/delete, driver-owned deadlines

* refactor(server): type the aws-lite S3 client via s3-types reference

* feat(server): S3 driver getStream and list — ranged full-object stat, iterator pagination

* feat(server): S3 driver put — bounded-peek routing, Upload inactivity deadline

* fix(server): S3 driver Upload monitoring — Transform interposition, stream cleanup

* feat(server): env-declared s3-main storage backend; settings-declared s3 rejected

* test(server): env-gated S3 driver contract suite against MinIO

* fix(server): S3 driver zero-byte put — work around aws4 duplicate Content-Length signing defect

* fix(server): scope the zero-byte put workaround to buffered bodies; bind test MinIO to localhost

* ci(server): MinIO-backed S3 driver contract job

* ci(server): align s3-contract shim comment and MinIO bind with references

* docs: S3 storage backend configuration and off-box backup mirroring

* docs: restore README formatting, keep S3 additions only

* ci(server): make live-MinIO contract runs manual-only (AIStor licensing)

MinIO's community line is discontinued entirely; the maintained successor, AIStor, requires a license key that can't safely live in a shared CI runner. The s3-contract CI job is removed; live-provider contract runs against MinIO/AIStor are now a manual, license-gated procedure documented in docker-compose.minio-test.yml's header.

* chore(server): final-review polish — stale CI refs, dockerignore key, boundary pins, zero-byte tempfile contract case

* expose admin ui

* feat(shared): storage backend type registry, wire schemas, category relocation

* feat(server): accept settings-declared s3 backends — shared-schema options, decrypt-at-build, registry preview()

* feat(server): remove TREK_S3_*/TREK_UPLOADS_DIR — tombstone boot rule, built-in override as the relocation path

* feat(server): deriveSecurity.encryptionKeySet and storage secret plumbing (gate, encrypt, unmask, mask, redact)

* chore(server): drop storage-secrets import that only Task 8's probe helper will use

* feat(server): seed-once storage-config.json boot import — fail closed on any invalid seed

* feat(server): registry snapshot() — effective storage config with provenance

* feat(server): api/admin/storage GET/PUT — masked secrets, preview-gated saves, wired reload, audits

* feat(server): api/admin/storage/test — per-target ephemeral probes, mirror targets probed individually

* test(server): e2e coverage for api/admin/storage — guards, managed refusal, envelope, probes

* test(server): give e2e harness DBs the app_settings table the storage registry reads at boot

* test(coverage): raise pins after the storage admin-config slice

* fix(server): final-review polish — encryption-gate wording, all-field sentinel guard, README/e2e notes

* test(server): storage slice-1 review follow-ups — mirror s3-replica probe decrypt, all-encrypted seed without key, test-route 401

* feat(i18n): storage admin domain + tab label in every locale

* feat(client): adminApi storage endpoints — getStorage, updateStorage, testStorageBackend

* feat(client): storage admin draft-document helpers + relative-time util

* feat(client): schema-driven storage BackendForm — fields by kind, mask echo, encryption banner

* feat(client): admin storage panel — backends list, category map, health strip, one-PUT save

* feat(client): storage tab on the admin page

* feat(client): storage admin panel and section on the phone shell

* fix(client): block renaming a storage backend onto an existing name

* feat(server): allow mirrors on any storage category — lift the backups-only rule

* feat(i18n): replicas-on-primary mirror strings in every locale

* feat(client): mirror fold/synthesize model helpers for replicas-on-primary

* feat(client): BackendForm mirror-targets composer; raw mirror type hidden

* feat(client): desktop storage panel folds mirrors into their primaries

* feat(client): phone storage panel folds mirrors into their primaries

* fix(client): strip removed backends from remaining mirror replicas — no phantom refs

* feat(storage): retire photos as a configurable category — served-only via the ServedCategory seam

* feat(i18n): descriptive storage category names and descriptions in every locale

* feat(client): descriptive category names, descriptions and id badges in the storage panel

* docs(storage): fix stale nine-category comments after the eight-category shrink

* docs: storage configuration via the admin UI and seed file — README + compose

* docs(wiki): Admin Storage page and storage cross-links

* docs(server): storage domain blueprint entry; TREK_PLACE_PHOTO_DIR tombstone clarifier

* refactor(server): drop the storage env-var tombstones — the variables never shipped

* docs: storage config is simply new in v4 — drop the removed-variables story

* feat(shared): backfill-status and usage wire schemas on the storage admin state

* feat(server): MirrorDriver.backfill — prefix-scoped, size-compared, cancellable replica catch-up

* feat(server): one-at-a-time storage backfill jobs + the storage events bridge

* feat(server): storage usage scan — nightly cron, on-demand service, persisted with computedAt

* feat(server): replica_failure admin notifications — events bridge, hourly debounce, channel registration

* feat(i18n): replica-failure notification text in every locale

* feat(server): storage backfill and stats-refresh admin endpoints

* feat(client): adminApi backfill and stats-refresh endpoints

* feat(i18n): storage sync and usage strings in every locale

* feat(client): desktop storage panel — sync now, usage display, backfill polling

* feat(client): phone storage panel — sync now, usage display, backfill polling

* fix(client): per-category usage line on the phone storage panel

* docs: sync now, usage stats and replica-failure notifications

* test(server): admin scope now includes replica_failure, not just version_available

Commit 6db135da added replica_failure to ADMIN_SCOPED_EVENTS but left
NPREF-005b asserting the admin scope contained only version_available.
Update the expectation to match.

* test(server): cover storage backfill/stats/jobs branches to hold the coverage pin

* fix(client): guard storage admin polling against stale responses racing a save

A poll GET issued before a save's PUT resolves could land after the save
applied its fresher response, overwriting it with the pre-save world and
re-deriving the draft from that stale snapshot. useStorageAdmin now tracks
a state-application sequence number and drops any refreshState() response
whose sequence has moved on, or that resolves while a save is in flight.
Also guard the fire-and-forget refreshState() calls in startBackfill/
cancelBackfill against unhandled rejections, matching the poll's style.

* fix(server): report 404 before 409 when a backfill start names an unknown mirror

startBackfill checked the global busy flag before validating that :name is
a mirror routed by some category, so POST .../backends/garbage/backfill
answered 409 instead of 404 whenever a sync was already running. Resolve
and validate the target first (BackfillTargetError -> 404), then check
busy (BackfillBusyError -> 409).

* feat(client): two-column category grid on the storage panel

* feat(server): plugin files.getContent reads through the storage layer

* feat(server): plugin files.create writes through the storage layer

* refactor(server): drop FilesService.resolveFilePath, last direct-fs seam in the plugin surface

* fix(server): map StorageInvalidKeyError to the plugin file accessibility envelope

* feat(storage): allow credentialed backends without an explicit ENCRYPTION_KEY

Secrets are still always encrypted at rest; without an explicit key the
implicit data-directory key is used. Removes the plaintext-secret refusal
from the admin PUT and the seed import, the encryptionReady GET field, the
save-blocking banner in both admin shells, and the now-consumerless
security.encryptionKeySet env derivation. Docs now recommend (not require)
an explicit key, since the implicit key rides inside backup archives.

* test(client): pin the stale-poll release to the pre-save GET in FE-ADMIN-STOR-024

The stub deferred EVERY poll GET and rebound the release handle to the
newest one, so a tick landing after the save was released with the
pre-save payload — a response no real backend can produce, which the seq
guard rightly applied. Only the first (genuinely stale) GET is held now;
later GETs answer with the world the mock server currently holds. Also
drops the encryptionReady fixture field removed from the schema in the
previous commit.

* fix(storage): backfill puts carry content-type, stat failures report op stat, progress clamps

* feat(storage): category migration job — copy, flip, delta sweep, reclaimable tally

* feat(storage): migration start/cancel endpoints and client API

* test(client): storage admin fixtures carry the new migrations field

* fix(storage): migration POST answers 200 and validates its body via the shared schema

* fix(storage): cancel running storage jobs when a config save removes their backend

* fix(notifications): in-app replica-failure row carries the suppressed count

* feat(client): migration prompt, queue, and progress on the storage panel

* fix(client): migration queue holds a synchronous single-flight lock

* feat(client): migration prompt and progress on the mobile storage panel

* fix(server): register category-migration routes in the managed-route allow list

StorageAdminController.migrationStart/migrationCancel were added under the
controller-level @ManagedForbidden() decorator but never added to
MANAGED_ROUTE_ALLOW_LIST, so validateManagedRoutes() threw "Managed surface
changed" on every buildApp() call, failing 46 test files (any test booting
the real app).

* test(server): cover category-migration copy/sweep branches to hold the storage coverage pin

Adds MIG-005 (a target object already matching size/key is skipped in the
copy phase itself, not just the delta sweep) and MIG-006 (a copy failure
during the delta sweep is counted without undoing the flip that already
happened). src/nest/storage/**'s branch coverage was 83.91%, just under the
84% pin.

* docs(storage): category migration — move existing objects on reassign

* fix(storage): close the pre-flip cancel window and cancel re-routed migrations

A cancel landing between the last copy iteration and the category flip was
silently ignored, and a config save that re-routed the migrating category to
a third, still-defined backend never stopped the in-flight migration. Also
guards assignCategory against writing an unknown backend name, and fixes a
missing `suppressed` notification param being treated as truthy suppression.

* fix(client): migrations keep mirrors, queue waits on backfills, sweep failures surface

Reassigning a category onto a mirrored primary now posts the migration to the
mirror's wire name instead of the bare primary, so replication survives the
move. The queued-migration effect also waits out a running backfill (the
server's one-job rule spans both), and a done migration with sweep failures
now surfaces a doneFailures line in both shells, translated into every locale.

* ci(server): run the S3 contract suite against MinIO

Resurrects the s3-contract job removed in 6fbff835, adapted for AIStor:
writes the MINIO_LICENSE_KEY secret to a license file, boots the licensed
container, and runs the contract suite hermetically (no --coverage) so the
storage coverage pin keeps holding from unit tests alone. Gated to same-repo
PRs since fork PRs have no access to the license secret.

* fix(server): backup archives uploads from a remote primary

createBackup() enumerated uploads through withLocalFile, which downloads a
remote object to a temp file, hands it to the callback, then deletes it
before archiver ever reads it — archiver reads entries lazily during
finalize(), so a remote (S3) primary silently backed up zero upload bytes.

Add StorageService.getLocalPathOrNull(category, name): a narrow locality
probe that returns a real path only when one exists on disk right now (the
fs-existence check is the fail-safe half of the contract — a driver-reported
path that vanished between list() and here falls back too, not just a
path-less remote driver). The enumeration loop uses it directly when
available (zero-copy, unchanged for a local primary) and otherwise streams
the object into a per-backup staging dir under the backups spool, cleaned up
in the existing finally alongside zipSpool/dbSnap.

Also wire archive.on('warning', reject): archiver treats a missing/unreadable
entry as a warning, not an error, and skips it by default — which would
silently drop the entry from an otherwise "successful" backup.

* fix(server): client aborts stop 500ing and leaking streams

storage.service.ts sendToResponse: the local res.sendFile branch now treats
ECONNABORTED/ECONNRESET/ERR_STREAM_PREMATURE_CLOSE/syscall=write as success,
mirroring res.sendFile's own default callback (the contract
storageStaticHandler already implements caller-side). The remote branch
replaces the hand-rolled pipe+Promise with pipeline(stream, res), which
destroys the source stream on any failure — fixing the leaked S3 keep-alive
socket on a client abort — while swallowing the same client-abort error set;
a real source error still rejects so callers keep their miss contracts.

This centralizes the fix for every caller that streams through
sendToResponse: files-download, journey-public, photo-resolver,
trek-photo-cache, backup downloads, and /uploads/photos.

trek-exception.filter.ts now no-ops (destroying the socket) when headers are
already sent, so no filter path ever writes onto a response in flight.

maps.controller.ts and share.controller.ts's place-photo bytes proxies
switch their direct getStream+pipe to pipeline() with the same abort-tolerant
catch, keeping the existing 204-empty fallback for pre-header failures.

* fix(storage): mirror read fallback consults replicas on primary miss

MirrorDriver.getStream/stat now fall back to replicas on a primary miss
(StorageNotFoundError / null stat), not just an infra error — binding
decision: a read succeeds if ANY member holds the object. Only a
deterministic StorageInvalidKeyError skips fallback.

stat() gets a dedicated fallback loop instead of reusing fromReplicas:
a replica returning null means "keep looking," which the generic
catch-and-continue helper would have short-circuited on.

StorageService.sendToResponse/withLocalFile stop treating composite
driver.stat() as proof the object is at localPath; both now fs-check
the path itself and fall through to the stream branch when it's
missing, which is what actually reaches a MirrorDriver's replicas.

* feat(storage): remote serving parity — content-type, validators, range

Local backends get content type, ETag/Last-Modified, conditional GET, Range
and HEAD for free from res.sendFile; the proxying branch every remote
backend (and a local primary whose file vanished) falls through to had none
of it — every request re-streamed the whole object with no cache validator
and no way to seek.

sendStreamed() reproduces the contract from ONE pre-flight driver.stat():
a miss throws before any header is set (the caller's 404/204/next()
contract), and that same stat then answers 304s, 416s, HEADs and suffix
ranges without ever opening a body. The decisions live in a new pure module,
http-serving.ts:

- validatorsFor: the driver's ETag, else express/send's weak
  W/"<size hex>-<mtime hex>". mtimeMs 0 (S3 can report it) means no
  Last-Modified and no derived tag — serving uncached beats a 1970 header
  that reads as fresh forever.
- isNotModified: If-None-Match (weak compare, *, list) wins over
  If-Modified-Since, per RFC 9110 §13.2.2.
- decideRange: single range only, inclusive clamp, suffix computed from the
  pre-stat size, unsatisfiable → 416, If-Range strong-exact or full entity.
  A multi-range or malformed spec is answered with the full object rather
  than multipart/byteranges. If-Match/If-Unmodified-Since stay out of scope.

Range math uses the pre-stat size as the single source of truth, the ranged
getStream stat is never re-consulted, and the pipeline abort semantics are
unchanged.

S3Driver now surfaces the bucket's ETag on stat()/getStream() (on a ranged
GET it is still the full object's tag). aws-lite strips the tag's
surrounding quotes — verified live against AIStor RELEASE.2026-08-07 — and
an unquoted entity-tag is not a valid HTTP ETag, so the driver restores
exactly the quotes the SDK removed and nothing else.

* fix(server): key rotation covers storage.backends

The S3 storage backend's secretAccessKey is encrypted at rest inside the
app_settings row keyed storage.backends, but scripts/migrate-encryption.ts
didn't know about it — after a key rotation that secret stayed encrypted
under the old key and silently failed to decrypt on the next read.

The script now re-encrypts secretAccessKey for every s3 backend inside the
storage.backends JSON array, using a pinned copy of the secret-field list
(it deliberately can't import @trek/shared). The parity test pins that copy
against storageSecretFields('s3') so a new secret field can't be missed
silently.

* fix(server): restore reloads the storage registry

restoreFromZip closed and reopened the DB but never reloaded the
storage registry, so uploads rehydration ran against the STALE
pre-restore driver/category map instead of the config the restored
archive's own travel.db carries (audit #4, major).

StorageService gains reloadConfig(), a narrow passthrough to the
(unexported) registry's reload() — same shape as health(). backup.impl's
restoreFromZip now calls it right after reinitialize() and right before
the uploads wipe/rehydrateUploads/plugin staging, so rehydrated bytes
land where the restored config says. When reopen fails (reinitFailed),
reload and rehydration are skipped entirely — already reported as
"restart required", and there is no live DB handle for the registry to
read anyway.

* fix(server): category migration rewrites keys across prefix changes

Category migration copied objects to the destination backend using the
SOURCE key verbatim. A mode-A ('' prefix) source migrating onto a
prefixed backend (or vice versa) landed objects at keys the registry
could never resolve post-flip (audit #8).

Extracts StorageRegistryService.keyPrefixFor(category, backendName) from
build()'s inline conditional so startMigration can compute the
destination prefix before the flip. runMigration now maps every
destination key (destPrefix + key.slice(sourcePrefix.length)) in the
copy skip-check, the put, and the delta sweep; the reclaimable tally
stays source-keyed. Equal-prefix migrations are unaffected (identity
mapping).

* fix(plugins): await the now-async place/collection services in RPCs

PlacesService.update/remove and CollectionsService.deletePlace became
async when they started deleting storage objects, but their plugin RPC
handlers still called them synchronously: the null/false refusal check
compared against an always-truthy Promise, and places.update broadcast
a Promise instead of the resolved place. Both handlers now await the
service call; mapCollectionError is async-aware (accepts a sync-or-
async thunk) so the sync callers (create/update/savePlace/copyToTrip)
keep working through the same path. Verified the RPC host already
awaits handler results, so no change was needed there.

* fix(storage): backfill Sync now gains a deletion sweep

The Sync now backfill copied primary objects to replicas but never removed
replica objects the primary no longer has, leaving mirror read-fallback able
to serve stale data indefinitely after a failed replica delete. backfill()
now sweeps each replica post-copy: any replica key absent from the primary
key-set is re-checked against primary.stat (a race gate against the primary
regaining the key) before being deleted. Adds a deleted counter end-to-end
(driver, jobs service, shared schema, both admin shells, all 23 locales) and
a new ReplicaFailure 'list' op for a replica whose listing itself fails
during the sweep.

* feat(storage): optimistic concurrency for admin config saves

A stale admin PUT of storage settings could silently undo a category
migration's just-flipped assignment. Adds a version counter
(app_settings row storage.config_version) bumped inside the same
transaction by both writers — applyConfig and the migration flip
(assignCategory). applyConfig compares the submitted version first
and throws StorageConflictError, mapped to 409 ahead of the blanket
400. The client carries the draft's loaded version through every
local edit and maps a 409 to a distinct "settings changed underneath
you" message, refreshing state while preserving the dirty draft for
review.

* fix(storage): surface a failed config load + redact secretAccessKey

Registry load() now records the exact parse/validate failure as
lastLoadError() instead of silently falling back to last-good config or
built-in defaults; StorageAdminService exposes it as configError on the
admin state (storageAdminStateSchema extended additively), and
AdminStoragePanel renders it as a warning banner naming the error. Save
stays enabled — it's the recovery path — but an admin can no longer save
over a broken stored config without knowing.

Also adds 'secretaccesskey' to globalMiddleware's SENSITIVE_KEYS request-log
redaction list, so storage admin PUT bodies never leak the S3 secret into
debug logs.

* fix(client): admin storage panel state races

Migration prompt now recomputes computeMigrationCandidates(draft, state)
on render and again at confirm time, so a stale open-time snapshot never
drives stripCategories or the migration queue; adds a Cancel button to
the dialog. A failed startMigration POST explicitly clears the remaining
queue with a toast naming the dropped categories and refreshes state,
instead of leaving it invisibly stranded; a "Queued: X, Y" line renders
while the queue is non-empty. Testing a mirrored row now expands the
draft primary + replicas client-side and probes each individually,
instead of sending the mirror stub to the server (which resolved
targets from its own live snapshot, silently testing saved options over
unsaved draft edits). A completed/cancelled/errored backfill now renders
its terminal status alongside the Sync now button instead of hiding it,
so it can be re-run without a page reload.

* fix(storage): refuse shared replica backends so the sync sweep cannot cross categories

A mirror's "Sync now" sweep makes each replica MATCH the primary: it lists the
replica under every prefix the mirror's categories occupy and deletes the keys
the primary doesn't hold. The backups category's prefix is '' — the replica's
entire root — so making a category-serving backend (say uploads-local) a
replica of a backups mirror meant the first sync deleted every user upload.
Nothing forbade the config: validateConfig only checked that mirror targets
existed and weren't nested, and the admin picker offered every backend.

The sweep is correct, so the fix is at the config level:

- validateConfig refuses a backend that is both a mirror replica and a
  category target (directly, or as the primary of a mirror a category routes
  to), and refuses a backend replicating two mirrors whose swept prefixes
  overlap — '' overlaps everything. Disjoint prefixes stay legal.
- assignCategory (the migration flip, the other writer of the settings rows)
  refuses routing a category onto a backend that is currently a replica.
- The admin mirror-target picker (both shells) only offers backends that serve
  no category; already-selected targets stay listed so they can be unchecked.
  A category assigned to a replica still surfaces the server's 400 verbatim.

Existing shared-replica fixtures were rewritten onto dedicated replicas.

* fix(client): a 409 conflict save is recoverable without a page reload

After a 409 the admin storage panel was a dead end. refreshState leaves a
dirty draft's version alone on purpose (audit #7: the background poll must
never float a mid-edit draft past a migration flip it never carried), setDraft
re-attaches that same version to every later edit, and save() resubmits it —
so every retry 409s again and only a full page reload got the operator out,
while the banner told them to "review and save again".

The version block stays. Instead the conflict banner now offers the one action
that can clear it: discard the local edits and reload the saved settings —
a fresh GET applied through applyState, re-deriving the draft (and its
version) and clearing dirty/saveError. Bumping the version in refreshState,
or only in the 409 branch, was rejected: either resurrects audit #7, since a
full-document save would then revert a flip the draft never carried.

storage.saveConflict now points at that action instead of implying a plain
re-save works (all 23 locales). The escape lives in the shared hook, so the
phone panel renders it too.

* fix(client): deflake the queued-migration-waits-out-backfill panel test

FE-ADMIN-STOR-037 seeds a running backfill, so the panel polls GET from
first render — but the stub served the post-save world (files: off-box)
before the PUT had landed, which no real server would do. A poll
resolving while the confirm dialog was open made the confirm-time
candidate recompute see from === to, so nothing was queued and the
migration never POSTed.

The GET stub now stays faithful (pre-save world until the PUT lands,
usage included so candidates keep their object counts), and the test
deterministically forces the once-flaky interleaving: it waits for
polls to land while the dialog is open and asserts the candidate
survives them.

* fix(storage): surface the underlying cause in probe target errors

The admin storage Test probe reported only the driver wrapper's outer
message ("put failed for '…' on 'probe-s3'"), dropping the cause that
says WHY — connection refused vs missing bucket. Flatten the error's
cause chain into the probe result, appending an S3-style code when it
isn't already in the message.

* fix(storage): surface the underlying cause in replica-failure reports

Same defect as the probe fix, one layer over: MirrorDriver's
reportReplicaFailure captured only the wrapper's message, so
replica-failure notifications said "put failed" without the why.
Move the probe's cause-chain flattener into storage.types.ts as
describeError and use it in both call sites.

* fix(storage): strip ContentType from multipart Upload calls (MalformedXML)

Every multipart S3 put carrying a contentType — every backup zip and
photo over the 10MB threshold — failed with 400 MalformedXML. Upstream
@aws-lite/s3's Upload leaks the ContentType param into its final
CompleteMultipartUpload headers ({ ...xml, ...paramHeaders }), clobbering
application/xml, which flips @aws-lite/client's payload serializer to
JSON — so the server receives a JSON parts list where XML belongs.
Confirmed live against MinIO AIStor; any S3 refuses the same.

uploadMonitored now drops ContentType before s3.Upload. Multipart
objects are stored without a content-type, which TREK never reads back
(serving derives Content-Type from the key/caller, never object
metadata); single-request PutObject paths keep sending it.

Also closes the coverage gap that let this ship: the live contract
suite never crossed MULTIPART_THRESHOLD, so s3.Upload had never run
against a real server — it now round-trips a >10MB put carrying a
contentType.

---------

Co-authored-by: Maurice <mauriceboe@icloud.com>
2026-08-22 11:33:55 +02:00

660 lines
53 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 admin: TranslationStrings = {
'admin.notifications.title': '通知',
'admin.notifications.hint': '通知チャネルを1つ選択してください。同時に有効にできるのは1つだけです。',
'admin.notifications.none': '無効',
'admin.notifications.email': 'メール(SMTP)',
'admin.notifications.webhook': 'Webhook',
'admin.notifications.ntfy': 'Ntfy',
'admin.ntfy.hint': 'ユーザーが独自のntfyトピックを設定できるようにします。下で既定サーバーを設定してください。',
'admin.notifications.save': '通知設定を保存',
'admin.notifications.saved': '通知設定を保存しました',
'admin.notifications.testWebhook': 'Webhookテスト送信',
'admin.notifications.testWebhookSuccess': 'テストWebhookを送信しました',
'admin.notifications.testWebhookFailed': 'テストWebhookに失敗しました',
'admin.notifications.testNtfy': 'ntfyテスト送信',
'admin.notifications.testNtfySuccess': 'テストntfyを送信しました',
'admin.notifications.testNtfyFailed': 'テストntfyに失敗しました',
'admin.notifications.emailPanel.title': 'メール(SMTP)',
'admin.notifications.webhookPanel.title': 'Webhook',
'admin.notifications.inappPanel.title': 'アプリ内',
'admin.notifications.inappPanel.hint': 'アプリ内通知は常に有効で、全体では無効にできません。',
'admin.notifications.adminWebhookPanel.title': '管理者Webhook',
'admin.notifications.adminWebhookPanel.hint': '管理者通知専用のWebhookです(例:バージョン通知)。常に送信されます。',
'admin.notifications.adminWebhookPanel.saved': '管理者Webhook URLを保存しました',
'admin.notifications.adminWebhookPanel.testSuccess': 'テストWebhookを送信しました',
'admin.notifications.adminWebhookPanel.testFailed': 'テストWebhookに失敗しました',
'admin.notifications.adminWebhookPanel.alwaysOnHint': 'URLが設定されていると常に送信されます',
'admin.notifications.adminNtfyPanel.title': '管理者Ntfy',
'admin.notifications.adminNtfyPanel.hint': '管理者通知専用のntfyトピックです。',
'admin.notifications.adminNtfyPanel.serverLabel': 'Ntfy サーバーURL',
'admin.notifications.adminNtfyPanel.serverHint': 'ユーザー通知の既定サーバーとしても使用されます。',
'admin.notifications.adminNtfyPanel.serverPlaceholder': 'https://ntfy.sh',
'admin.notifications.adminNtfyPanel.topicLabel': '管理者トピック',
'admin.notifications.adminNtfyPanel.topicPlaceholder': 'trek-admin-alerts',
'admin.notifications.adminNtfyPanel.tokenLabel': 'アクセストークン(任意)',
'admin.notifications.adminNtfyPanel.tokenCleared': '管理者アクセストークンを削除しました',
'admin.notifications.adminNtfyPanel.saved': '管理者ntfy設定を保存しました',
'admin.notifications.adminNtfyPanel.test': 'ntfyテスト送信',
'admin.notifications.adminNtfyPanel.testSuccess': 'テストntfyを送信しました',
'admin.notifications.adminNtfyPanel.testFailed': 'テストntfyに失敗しました',
'admin.notifications.adminNtfyPanel.alwaysOnHint': 'トピック設定時は常に送信されます',
'admin.notifications.adminNotificationsHint': '管理者専用通知の配信先を設定します。',
'admin.notifications.tripReminders.title': '旅行リマインダー',
'admin.notifications.tripReminders.hint': '旅行開始前に通知を送信します(旅行側の設定が必要)。',
'admin.notifications.tripReminders.enabled': '旅行リマインダー有効',
'admin.notifications.tripReminders.disabled': '旅行リマインダー無効',
'admin.smtp.title': 'メール・通知',
'admin.smtp.hint': 'メール通知送信用のSMTP設定。',
'admin.smtp.testButton': 'テストメール送信',
'admin.webhook.hint': 'ユーザーが独自のWebhook URLを設定できるようにします。',
'admin.smtp.testSuccess': 'テストメールを送信しました',
'admin.smtp.testFailed': 'テストメールに失敗しました',
'admin.title': '管理',
'admin.subtitle': 'ユーザー管理とシステム設定',
'admin.tabs.users': 'ユーザー',
'admin.tabs.categories': 'カテゴリ',
'admin.tabs.backup': 'バックアップ',
'admin.tabs.notifications': '通知',
'admin.tabs.audit': '監査',
'admin.stats.users': 'ユーザー',
'admin.stats.trips': '旅行',
'admin.stats.places': '場所',
'admin.stats.photos': '写真',
'admin.stats.files': 'ファイル',
'admin.table.user': 'ユーザー',
'admin.table.email': 'メール',
'admin.table.role': '権限',
'admin.table.created': '作成日',
'admin.table.lastLogin': '最終ログイン',
'admin.table.actions': '操作',
'admin.you': '(あなた)',
'admin.editUser': 'ユーザーを編集',
'admin.newPassword': '新しいパスワード',
'admin.newPasswordHint': '空欄の場合は現在のパスワードを維持',
'admin.deleteUser': 'ユーザー「{name}」を削除しますか?すべての旅行が完全に削除されます。',
'admin.deleteUserTitle': 'ユーザー削除',
'admin.newPasswordPlaceholder': '新しいパスワードを入力…',
'admin.toast.loadError': '管理データの読み込みに失敗しました',
'admin.toast.userUpdated': 'ユーザーを更新しました',
'admin.toast.updateError': '更新に失敗しました',
'admin.toast.userDeleted': 'ユーザーを削除しました',
'admin.toast.deleteError': '削除に失敗しました',
'admin.toast.cannotDeleteSelf': '自分のアカウントは削除できません',
'admin.toast.userCreated': 'ユーザーを作成しました',
'admin.toast.createError': 'ユーザー作成に失敗しました',
'admin.toast.fieldsRequired': 'ユーザー名、メール、パスワードは必須です',
'admin.createUser': 'ユーザーを作成',
'admin.invite.title': '招待リンク',
'admin.invite.subtitle': '使い切り登録リンクを作成',
'admin.invite.create': 'リンク作成',
'admin.invite.createAndCopy': '作成してコピー',
'admin.invite.empty': '招待リンクがまだありません',
'admin.invite.maxUses': '最大使用回数',
'admin.invite.expiry': '有効期限',
'admin.invite.uses': '使用済み',
'admin.invite.expiresAt': '期限',
'admin.invite.createdBy': '作成者',
'admin.invite.active': '有効',
'admin.invite.expired': '期限切れ',
'admin.invite.usedUp': '使用済み',
'admin.invite.copied': '招待リンクをコピーしました',
'admin.invite.copyLink': 'リンクをコピー',
'admin.invite.deleted': '招待リンクを削除しました',
'admin.invite.createError': '招待リンクの作成に失敗しました',
'admin.invite.deleteError': '招待リンクの削除に失敗しました',
'admin.tabs.settings': '設定',
'admin.allowRegistration': '登録を許可',
'admin.allowRegistrationHint': '新規ユーザーの自己登録を許可します',
'admin.authMethods': '認証方法',
'admin.passwordLogin': 'パスワードログイン',
'admin.passwordLoginHint': 'メールとパスワードでのログインを許可',
'admin.passwordRegistration': 'パスワード登録',
'admin.passwordRegistrationHint': 'メールとパスワードでの新規登録を許可',
'admin.oidcLogin': 'SSOログイン',
'admin.oidcLoginHint': 'SSOでのログインを許可',
'admin.oidcRegistration': 'SSO自動登録',
'admin.oidcRegistrationHint': '新しいSSOユーザーを自動作成',
'admin.envOverrideHint': 'パスワードログイン設定は OIDC_ONLY 環境変数で制御されています。',
'admin.lockoutWarning': '少なくとも1つのログイン方法を有効にしてください',
'admin.requireMfa': '二要素認証(2FA)を必須にする',
'admin.requireMfaHint': '2FA未設定のユーザーは、利用前に設定が必要です。',
'admin.apiKeys': 'APIキー',
'admin.apiKeysHint': '任意。写真や天気などの拡張データを有効化します。',
'admin.mapsKey': 'Google Maps APIキー',
'admin.mapsKeyHint': '場所検索に必要。console.cloud.google.com で取得',
'admin.mapsKeyHintLong':
'APIキーなしではOpenStreetMapを使用します。Google APIキーがあれば写真、評価、営業時間も表示できます。',
'admin.recommended': '推奨',
'admin.weatherKey': 'OpenWeatherMap APIキー',
'admin.weatherKeyHint': '天気データ用。openweathermap.org で無料',
'admin.unsplashKey': 'Unsplash APIキー',
'admin.unsplashKeyHint': '画像検索用。unsplash.com/developers で無料',
'admin.validateKey': 'テスト',
'admin.keyValid': '接続済み',
'admin.keyInvalid': '無効',
'admin.keySaved': 'APIキーを保存しました',
'admin.oidcTitle': 'シングルサインオン(OIDC)',
'admin.oidcSubtitle': 'Google、Apple、Authentik、Keycloak などでログインを許可します。',
'admin.oidcDisplayName': '表示名',
'admin.oidcIssuer': 'Issuer URL',
'admin.oidcIssuerHint': 'OpenID ConnectのIssuer URL(例:https://accounts.google.com)',
'admin.oidcSaved': 'OIDC設定を保存しました',
'admin.oidcOnlyMode': 'パスワード認証を無効化',
'admin.oidcOnlyModeHint': '有効にするとSSOのみ使用可能になり、パスワードログインと登録は無効になります。',
'admin.fileTypes': '許可するファイル形式',
'admin.fileTypesHint': 'ユーザーがアップロードできるファイル形式を設定します。',
'admin.fileTypesFormat': '拡張子をカンマ区切り(例:jpg,png,pdf,doc)。すべて許可する場合は *。',
'admin.fileTypesSaved': 'ファイル形式の設定を保存しました',
'admin.placesPhotos.title': '場所の写真',
'admin.placesPhotos.subtitle':
'Google Places APIから写真を取得します。APIクォータ節約のため無効にできます。Wikimediaの写真には影響しません。',
'admin.placesAutocomplete.title': '場所のオートコンプリート',
'admin.placesAutocomplete.subtitle': '検索候補にGoogle Places APIを使用します。APIクォータ節約のため無効にできます。',
'admin.placesDetails.title': '場所の詳細',
'admin.placesDetails.subtitle':
'Google Places APIから営業時間、評価、ウェブサイトなどの詳細情報を取得します。APIクォータ節約のため無効にできます。',
'admin.placesEnrich.title': '場所の情報補完',
'admin.placesEnrich.subtitle':
'場所を追加するときに写真と説明を表示します。WikipediaとOpenStreetMapは常に使用され、「場所の写真」または「場所の詳細」が有効な場合はGoogleも追加されます。',
'admin.bagTracking.title': 'バッグ管理',
'admin.bagTracking.subtitle': '持ち物の重量とバッグ割り当てを有効化',
'admin.collab.chat.title': 'チャット',
'admin.collab.chat.subtitle': '旅行の共同作業用リアルタイムメッセージ',
'admin.collab.notes.title': 'ノート',
'admin.collab.notes.subtitle': '共有ノートとドキュメント',
'admin.collab.polls.title': '投票',
'admin.collab.polls.subtitle': 'グループ投票・アンケート',
'admin.collab.whatsnext.title': '次にすること',
'admin.collab.whatsnext.subtitle': 'アクティビティ提案と次のステップ',
'admin.tabs.config': 'カスタマイズ',
'admin.tabs.defaults': 'ユーザーのデフォルト',
'admin.defaultSettings.title': '既定のユーザー設定',
'admin.defaultSettings.description':
'インスタンス全体の既定値を設定します。設定を変更していないユーザーにはこれらの値が適用されます。各ユーザーの設定変更は常に優先されます。',
'admin.defaultSettings.saved': '既定値を保存しました',
'admin.defaultSettings.reset': '組み込みの既定値に戻す',
'admin.defaultSettings.resetToBuiltIn': 'リセット',
'admin.tabs.templates': '持ち物テンプレート',
'admin.packingTemplates.title': '持ち物テンプレート',
'admin.packingTemplates.subtitle': '旅行で使い回せる持ち物リストを作成',
'admin.packingTemplates.create': '新規テンプレート',
'admin.packingTemplates.namePlaceholder': 'テンプレート名(例:ビーチ旅行)',
'admin.packingTemplates.empty': 'テンプレートはまだありません',
'admin.packingTemplates.items': 'アイテム',
'admin.packingTemplates.categories': 'カテゴリ',
'admin.packingTemplates.itemName': 'アイテム名',
'admin.packingTemplates.itemCategory': 'カテゴリ',
'admin.packingTemplates.categoryName': 'カテゴリ名(例:衣類)',
'admin.packingTemplates.addCategory': 'カテゴリを追加',
'admin.packingTemplates.created': 'テンプレートを作成しました',
'admin.packingTemplates.deleted': 'テンプレートを削除しました',
'admin.packingTemplates.loadError': 'テンプレートの読み込みに失敗しました',
'admin.packingTemplates.createError': 'テンプレートの作成に失敗しました',
'admin.packingTemplates.deleteError': 'テンプレートの削除に失敗しました',
'admin.packingTemplates.deleteCategoryError': 'カテゴリを削除できませんでした',
'admin.packingTemplates.deleteItemError': 'アイテムを削除できませんでした',
'admin.packingTemplates.saveError': '保存に失敗しました',
'admin.tabs.addons': 'アドオン',
'admin.tabs.plugins': 'プラグイン',
'admin.tabs.storage': 'ストレージ',
'admin.plugins.rescan': '再スキャン',
'admin.plugins.rescanned': 'プラグインフォルダを再スキャンしました',
'admin.plugins.upload': 'プラグインをアップロード',
'admin.plugins.dropToUpload': 'プラグインの .zip をドロップしてインストール',
'admin.plugins.uploaded': 'プラグイン「{name}」をアップロードしました — 実行するには有効化してください',
'admin.plugins.sideloaded': '手動読み込み',
'admin.plugins.devLinkBadge': 'Dev-Link',
'admin.plugins.devLinkHint':
'ローカルのビルドディレクトリから読み込まれ、実データでホットリロードされます(開発専用)',
'admin.plugins.devLinkTitle': 'ローカルプラグインをリンク',
'admin.plugins.devLinkPathPlaceholder': '/absolute/path/to/your/plugin',
'admin.plugins.devLinkButton': 'リンク',
'admin.plugins.devLinkLinked': '{id} をリンクしました — 実行するには有効化してください',
'admin.plugins.sideloadedHint': '手動でアップロード — レジストリ経由ではなく、署名・審査なし',
'admin.plugins.browse': 'プラグインを探す',
'admin.plugins.installed': 'インストール済み',
'admin.plugins.install': 'インストール',
'admin.plugins.registryEmpty': 'レジストリに利用可能なプラグインはまだありません。',
'admin.plugins.actionError': '操作に失敗しました',
'admin.plugins.activate': '有効化',
'admin.plugins.activated': 'プラグインを有効化しました',
'admin.plugins.deactivate': '無効化',
'admin.plugins.deactivated': 'プラグインを無効化しました',
'admin.plugins.viewErrors': 'エラーログを表示',
'admin.plugins.errorLog': 'エラーログ',
'admin.plugins.allowedHosts': '許可するホスト',
'admin.plugins.allowedHosts.hint':
'このプラグインは、あなたしか指定できないサービス(セルフホストのサーバー)と通信します。到達を許可するホストを追加してください。それ以外には到達できません。',
'admin.plugins.allowedHosts.none': 'ホストはまだ追加されていません。',
'admin.plugins.allowedHosts.unsupported':
'このプラグインは運用者指定のホストを使いません。許可ホストはマニフェストで固定されています。',
'admin.plugins.allowedHosts.restartNote': '保存するとプラグインが再起動し、新しい一覧が反映されます。',
'admin.plugins.allowedHosts.add': '許可ホストを追加',
'admin.plugins.allowedHosts.count': '許可ホスト {n} 件',
'admin.plugins.operatorEgressPill': '+ 追加するホスト',
'admin.plugins.operatorEgressHint':
'このプラグインは、あなたしか指定できないサービス(セルフホストのサーバー)と通信します。インストール後、⋯ → 許可するホスト から追加してください。それ以外には到達できません。',
'admin.plugins.noErrors': '記録されたエラーはありません。',
'admin.plugins.uninstalled': 'プラグインをアンインストールしました',
'admin.plugins.uninstallTitle': 'プラグインをアンインストールしますか?',
'admin.plugins.uninstallBody':
'プラグインを停止してコードを削除し、そのすべてのデータを消去します。この操作は元に戻せません。',
'admin.plugins.status.starting': '起動中…',
'admin.plugins.type.widget': 'ウィジェット',
'admin.plugins.type.page': 'ページ',
'admin.plugins.type.integration': '連携',
'admin.plugins.type.trip-page': '旅程ページ',
'admin.plugins.reviewed': 'レビュー済み',
'admin.plugins.unreviewed': '未レビュー',
'admin.plugins.updated': 'プラグインを更新しました',
'admin.plugins.updateTo': '更新 → v{version}',
'admin.plugins.enabledToggle': 'プラグインを有効にする',
'plugins.notFound': 'プラグインが見つかりません',
'plugins.frameLoadFailed': 'This plugin could not be loaded.',
'admin.plugins.title': 'プラグイン',
'admin.plugins.subtitle': 'サードパーティ製プラグインをインスタンスにインストール・管理します。',
'admin.plugins.disabledTitle': 'プラグインは無効になっています',
'admin.plugins.disabledBody':
'プラグインランタイムがオフになっています(TREK_PLUGINS_ENABLED)。管理者がサーバー設定で有効にするまで、プラグインは実行できません。',
'admin.plugins.empty': 'インストール済みのプラグインはまだありません。',
'admin.plugins.loadError': 'プラグインを読み込めませんでした。',
'admin.plugins.scaffoldNote':
'プラグインのインストールと有効化は今後のアップデートで提供予定です。現在このパネルにはインストール済みのプラグインのみが表示されます。',
'admin.plugins.status.active': '有効',
'admin.plugins.status.inactive': '停止中',
'admin.plugins.status.disabled': '無効',
'admin.plugins.status.error': 'エラー',
'admin.plugins.status.incompatible': '非互換',
'admin.plugins.details': '詳細',
'admin.plugins.detailError': 'プラグインの詳細を読み込めませんでした。',
'admin.plugins.permissionsTitle': '権限',
'admin.plugins.noPermissions': 'このプラグインは特別な権限を要求しません。',
'admin.plugins.egressNote': '接続先の可能性:{hosts}',
'admin.plugins.setupTitle': 'セットアップ',
'admin.plugins.noSetup': '設定不要でそのまま使用できます。',
'admin.plugins.scope.instance': 'インスタンス全体',
'admin.plugins.scope.user': 'ユーザーごと',
'admin.plugins.fieldRequired': '必須',
'admin.plugins.sourceRepo': 'ソースリポジトリ',
'admin.plugins.reportIssue': '問題を報告',
'admin.plugins.homepage': 'ホームページ',
'admin.plugins.requiresTrek': 'TREK {version} 以上が必要',
'admin.plugins.reviewedOn': 'レビュー日:{date}',
'admin.plugins.perm.db:own': '専用の分離データベースに独自データを保存',
'admin.plugins.perm.db:read:trips': '操作中のユーザーがアクセスできる旅行の読み取り',
'admin.plugins.perm.db:read:users': '基本プロフィール情報の読み取り(名前・アバターのみ — 認証情報は含まれません)',
'admin.plugins.perm.db:read:costs': '操作中のユーザーがアクセスできる支出(予算項目)の読み取り',
'admin.plugins.perm.db:read:packing': '操作中のユーザーがアクセスできる旅行の持ち物リストの読み取り',
'admin.plugins.perm.db:write:packing': '操作中のユーザーが編集できる旅行の持ち物リスト項目の作成・編集・削除',
'admin.plugins.perm.weather:read': 'ホストのキャッシュされた天気予報を読み取る(座標で)',
'admin.plugins.perm.db:read:categories': 'グローバルな場所カテゴリ一覧を読み取る',
'admin.plugins.perm.db:read:tags': '操作中のユーザーのタグを読み取る',
'admin.plugins.perm.db:write:tags': '操作中のユーザーのタグの作成・編集・削除',
'admin.plugins.perm.db:read:todos': '操作中のユーザーがアクセスできる旅行のToDoを読み取る',
'admin.plugins.perm.db:write:todos': '操作中のユーザーが編集できる旅行のToDoの作成・編集・削除',
'admin.plugins.perm.db:write:atlas':
'操作中のユーザーの訪問済みの国と地域をマークし、バケットリストを管理(Atlas アドオンが必要)',
'admin.plugins.perm.db:write:vacay':
'操作中のユーザーのアクティブなプランで休暇日と会社休日を切り替え(Vacay アドオンが必要)',
'admin.plugins.perm.db:write:journal':
'操作中のユーザーが編集できる日記のエントリの作成・編集・削除(Journey アドオンが必要)',
'admin.plugins.perm.db:write:collections':
'コレクションの作成・編集と場所の保存(操作中のユーザーのコレクションロールで実行、Collections アドオンが必要)',
'admin.plugins.perm.db:write:files':
'操作中のユーザーが編集できる旅行にファイルを添付(10MB上限、ブロック対象の拡張子は拒否)し、そのリンクを管理',
'admin.plugins.perm.db:write:collab':
'操作中のユーザーが編集できる旅行にメモ・アンケート・チャットメッセージを投稿(Collab アドオンが必要)',
'admin.plugins.perm.db:write:members':
'旅行にユーザーを追加 — 旅行へのアクセスを付与。操作中のユーザーのメンバー管理権限で保護',
'admin.plugins.perm.notify:send':
'操作中のユーザー、またはそのユーザーが所属する旅行に通知(ベル受信箱+メール/ntfy)を送信 — 任意の受信者には送らない',
'admin.plugins.perm.ai:invoke':
'管理者が構成した AI プロバイダー(テキスト補完+ドキュメント抽出)を操作中のユーザーの代わりに実行 — プラグインはキーを保持しない',
'admin.plugins.perm.oauth:client':
'ホスト仲介の OAuth であなたに代わってサードパーティサービスに接続(トークンはホストが保持し、プラグインは決して見ない)',
'admin.plugins.perm.db:read:files': '操作中のユーザーがアクセスできる旅行のファイルの読み取り',
'admin.plugins.perm.db:write:reservations': '操作中のユーザーが編集できる旅行の予約の作成・編集・削除',
'admin.plugins.perm.db:write:accommodations': '操作中のユーザーが編集できる旅行の宿泊の作成・編集・削除',
'admin.plugins.perm.db:read:journal': '操作中のユーザーの旅行日記の読み取り(Journey アドオンが必要)',
'admin.plugins.perm.db:read:atlas': '操作中のユーザーが訪問した国と地域の読み取り(Atlas アドオンが必要)',
'admin.plugins.perm.db:read:vacay': '操作中のユーザーの休暇プランの読み取り(Vacay アドオンが必要)',
'admin.plugins.perm.db:read:daynotes': '操作中のユーザーがアクセスできる旅行の日別メモの読み取り',
'admin.plugins.perm.db:read:collections':
'操作中のユーザーの保存した場所のコレクションの読み取り(Collections アドオンが必要)',
'admin.plugins.perm.db:write:daynotes': '操作中のユーザーが編集できる旅行の日別メモの作成・編集・削除',
'admin.plugins.perm.jobs:run':
'宣言されたバックグラウンドジョブをスケジュールに従って実行(ユーザーコンテキストなし — ユーザーデータは読み取れません)',
'admin.plugins.perm.db:write:costs': '操作中のユーザーが編集できる旅行への支出(予算項目)の作成',
'admin.plugins.perm.db:write:places': '操作中のユーザーが編集できる旅行の場所の追加・編集・削除',
'admin.plugins.perm.db:write:days': '操作中のユーザーが編集できる旅行の日程の追加・編集・削除',
'admin.plugins.perm.db:write:itinerary': '操作中のユーザーが編集できる旅行の各日への場所の割り当てと解除',
'admin.plugins.perm.db:write:trips': '操作中のユーザーが編集できる旅行の詳細(タイトル・日付・通貨など)の編集',
'admin.plugins.perm.db:meta':
'操作中のユーザーがアクセスできる旅行・場所・日程に、プラグイン独自の非公開データを付加',
'admin.plugins.perm.ws:broadcast:trip': '旅行メンバーへのリアルタイム更新の送信',
'admin.plugins.perm.ws:broadcast:user': '個々のユーザーへのリアルタイム更新の送信',
'admin.plugins.perm.hook:photo-provider': '「写真」機能への写真の提供',
'admin.plugins.perm.hook:calendar-source': 'カレンダーへの予定の提供',
'admin.plugins.perm.hook:place-detail-provider': '場所に追加の詳細情報(レビュー、評価、リンク)を提供',
'admin.plugins.perm.hook:trip-warning-provider': '旅程に検証警告を表示(プランナー内に表示)',
'admin.plugins.perm.hook:table-contributor': '旅行のビュー(予約、場所、日程)に列とアクションを追加',
'admin.plugins.perm.hook:map-marker-provider': '旅行の地図にマーカーを追加(例: 予約や POI を表示)',
'admin.plugins.perm.hook:map-layer-provider': '旅行の地図にルート、コリドー、ゾーンを描画',
'admin.plugins.perm.hook:route-provider':
'プランナーが日程のルート計算に使えるルーティングプロファイルを提供(例: 充電スポットを経由する EV ルーティング)',
'admin.plugins.perm.hook:day-schedule-provider':
'日程プランに時間エントリーを追加(充電ストップ、保安検査のバッファ)',
'admin.plugins.perm.hook:day-tint-provider': '日程プランの日付を色分け(例:その日が旅程のどの区間に属するか)',
'admin.plugins.perm.geolocation:read':
'このプラグインのビューが開いている間、あなたの現在地を取得(ブラウザでも改めて確認が求められます)',
'admin.plugins.perm.hook:pdf-section-provider': '旅行の PDF エクスポートにテキストセクションを追加',
'admin.plugins.perm.hook:atlas-layer-provider': 'Atlas の世界地図で国をハイライト(例: ウィッシュリストや渡航情報)',
'admin.plugins.perm.hook:journal-entry-provider': '日記のエントリーに追加の行(リンク、統計)を提供',
'admin.plugins.perm.hook:user-data':
'ユーザーについて保存したデータの消去またはエクスポート(GDPR:アカウント削除・データ開示請求)',
'admin.plugins.perm.hook:trip-card-provider': 'ダッシュボードの旅行カードに小さなバッジ(状態・カウント)を追加',
'admin.plugins.perm.hook:notification-channel': '追加のチャンネルで通知を配信する',
'admin.plugins.perm.events:subscribe':
'コアのアクティビティイベントに反応(イベント名と旅程のみで、内容には一切アクセスしません)',
'admin.plugins.perm.http:outbound': '宣言済みホストへの外部リクエストの送信',
'admin.plugins.perm.db:read:collab':
'操作中のユーザーがアクセスできる旅行のメモ・アンケート・チャットメッセージの読み取り(Collab アドオンが必要)',
'admin.plugins.perm.db:read:files:content': '操作中のユーザーがアクセスできる旅行のファイル内容(バイト)の読み取り',
'admin.plugins.perm.db:create:trips': '操作中のユーザーが所有する新しい旅行の作成',
'admin.plugins.perm.rates:read': 'ホストのキャッシュされた為替レートを読み取る',
'admin.plugins.updateConsentTitle': 'このアップデートには新しい権限が必要です',
'admin.plugins.updateConsentBody':
'{name} v{version} は、まだ許可していない権限を要求しています。新しいバージョンはインストール済みですが、承認するまで無効のままです。',
'admin.plugins.updateNewPermissions': '新たに要求された権限',
'admin.plugins.updateNewEgress': '新しい外部接続',
'admin.plugins.updateApprove': '承認して有効化',
'admin.plugins.updateLater': '今は無効のままにする',
'admin.plugins.updateKeptOff': 'アップデートをインストールしました — 新しい権限を承認するまで無効のままです',
'admin.plugins.reviewedMeaning':
'「レビュー済み」とは、TREKのメンテナーが各バージョンでこのプラグインをマルウェアの観点から確認したという意味です — 品質や動作の可否を確認したものではありません。プラグインが無害であることを保証するものではありません。',
'admin.plugins.security.title': 'プラグインの分離のしくみ — そしてその限界',
'admin.plugins.security.isolationTitle': 'すべてのプラグインは隔離環境で実行されます',
'admin.plugins.security.isolationBody':
'プラグインは、自身のファイルしか読み取れない厳重に制限された独立プロセスとして実行されます。データベース、ログイン用のシークレット、暗号鍵を読み取ることはできず、他のプログラムを起動することも、どこかにファイルを書き込むこともできません。その画面は隔離されたブラウザフレーム内で動作し、セッションCookieを読み取ったり、周囲のTREKページに干渉したりすることはできません。',
'admin.plugins.security.permsTitle': '権限の意味',
'admin.plugins.security.permsBody':
'インストール前に表示される権限は、プラグインの実行中にTREKが強制する厳格な制限です — リストにないことは一切実行できません。ただし、これらはプラグインが何をできるかを示すもので、実際に何をするかを示すものではありません。旅行の読み取りとサーバーへの接続を許可されたプラグインは、あなたの旅行をそのサーバーに送信できます。説明文だけでなく、権限と接続先ホストも確認してください。',
'admin.plugins.security.limitsTitle': '保証できないこと',
'admin.plugins.security.limitsBody':
'この分離は強固なソフトウェア上の境界ですが、絶対的なものではありません。プラグインは、あなたが承認した権限のとおりに動作するため、その権限の範囲内では説明とは異なる振る舞いをする場合があり、正当に保持しているデータを宣言済みのホストへ送信することもできます。TREKは、プラグインのコードが実際に何をするかを読み取ったり判断したりはしません。',
'admin.plugins.security.worstTitle': '最悪の場合',
'admin.plugins.security.worstBody':
'有効化した悪意のあるプラグインは、あなたが与えたデータと接続を悪用する可能性があります — たとえば、読み取りを許可された旅行を漏えいさせるなどです。ただし、パスワードを盗んだり、管理者ログインを偽造したり、サーバー上でコマンドを実行したり、許可していないデータにアクセスしたりすることはできません。被害はあなたが承認した範囲内にとどまり、プラグインを無効化すれば止まります。',
'admin.plugins.security.reviewedTitle': '「レビュー済み」の意味',
'admin.plugins.security.reviewedBody':
'レビュー済みのプラグインは、TREKのメンテナーが各バージョンで手動でマルウェアの有無を確認したものです — 悪意のあるコードの有無を確認したものであり、正しく動作するかどうかを確認したものではありません。プラグインが無害であることを約束するものではありません。',
'admin.plugins.security.signedTitle': '「署名済み」の意味',
'admin.plugins.security.signedBody':
'TREKがインストールのたびに検証するチェックサムは、ファイルがレジストリの保証するものとまったく同一であることを証明します。署名が証明するのは別のことです。そのファイルが作者本人から届いたこと、そして作者だけが持つ鍵で署名されていることです。署名済みのプラグインはその両方を備えています。署名がないプラグインが危険というわけではありません — 保証がひとつ少ないだけであり、現時点ではレジストリのプラグインの多くは署名されていません。',
'admin.plugins.signed': '署名済み',
'admin.plugins.signedHint': 'インストール時に作者の署名鍵で検証済み',
'admin.plugins.unsigned': '署名なし',
'admin.plugins.unsignedHint':
'ファイルはレジストリが保証するものと一致しますが、作者と結びつけるものはありません。保証がひとつ少ないだけで、危険というわけではありません。',
'admin.plugins.updateBlocked': 'アップデートをブロックしました — {reason}',
'admin.plugins.reviewBlock': '確認する',
'admin.plugins.retrusted': '新しい署名鍵を信頼しました — プラグインを更新しました',
'admin.plugins.sig.title': '{name}の署名を検証できませんでした',
'admin.plugins.sig.keyChangedBody':
'作者の署名鍵が、このプラグインをインストールしたときの鍵と異なります。作者が鍵を更新することは実際にあります — ただし、プラグインを乗っ取った攻撃者も、ここからはまったく同じように見えます。',
'admin.plugins.sig.invalidBody':
'ファイルが作者の署名と一致しません。作者が署名したものではなく、破損したか、改ざんされたかのどちらかです。これを上書きすることはできません。',
'admin.plugins.sig.missingBody':
'このプラグインはインストール時には署名されていましたが、新しいバージョンには署名がありません。TREKはこの後退を黙って受け入れることはしません。これを上書きすることはできません。',
'admin.plugins.sig.incompleteBody':
'レジストリの登録内容が中途半端です。作者の鍵は宣言されているのに、このバージョンには署名がありません(またはその逆です)。これはプラグイン側の不備です。これを上書きすることはできません。',
'admin.plugins.sig.pinnedKey': 'インストール時の鍵',
'admin.plugins.sig.newKey': '現在提示されている鍵',
'admin.plugins.sig.confirmOutOfBand':
'TREKには、正当な鍵の更新と乗っ取りを見分けることはできません — ここからは両者はまったく同じに見えます。受け入れる前に、すでに信頼している経路で作者に新しい鍵を確認してください。受け入れると、プラグインが更新され、新しい鍵が記憶されます。',
'admin.plugins.sig.retrustConfirm': '新しい鍵を信頼して更新',
'admin.plugins.sig.cancel': '信頼しない',
'admin.plugins.sig.consentUnsigned':
'このバージョンと作者を結びつけるものはありません — ファイルはレジストリと一致しますが、作者の署名は付いていません。',
'admin.plugins.security.trustTitle': '結論',
'admin.plugins.security.trustBody':
'プラグインのインストールは、サードパーティ製アプリのインストールと同じです。信頼できる作者のコードのみを追加し、少しでも疑わしい場合は、まずご自身で内容を確認してください。TREKはサードパーティ製プラグインについて一切の責任を負いません。',
'admin.plugins.runtimeOn': 'ランタイム:オン',
'admin.plugins.tabDiscover': '探す',
'admin.plugins.searchPlaceholder': 'プラグインを検索…',
'admin.plugins.filterType': 'タイプ',
'admin.plugins.filterStatus': 'ステータス',
'admin.plugins.sortBy': '並び替え',
'admin.plugins.allTypes': 'すべてのタイプ',
'admin.plugins.allStatuses': 'すべて',
'admin.plugins.stateOff': 'オフ',
'admin.plugins.filterUpdate': 'アップデートあり',
'admin.plugins.sortName': '名前',
'admin.plugins.sortRecent': '最近更新',
'admin.plugins.sortUpdates': 'アップデート優先',
'admin.plugins.sortDownloads': 'ダウンロード数順',
'admin.plugins.updatesAvailable': 'プラグインに{count}件のアップデートがあります。',
'admin.plugins.updateAll': 'すべて更新',
'admin.plugins.noMatchInstalled': '検索条件に一致するインストール済みプラグインはありません。',
'admin.plugins.noMatchRegistry': '検索条件に一致するプラグインはレジストリにありません。',
'admin.plugins.restart': '再起動',
'admin.plugins.restarted': 'プラグインを再起動しました',
'admin.plugins.cap.readsTrips': '旅行を読み取り',
'admin.plugins.cap.readsUsers': '基本プロフィールを読み取り',
'admin.plugins.cap.readsCosts': '支出を読み取り',
'admin.plugins.cap.readsPacking': '持ち物リストを読み取り',
'admin.plugins.cap.readsFiles': '旅行ファイルを読み取り',
'admin.plugins.cap.writesCosts': '支出を追加',
'admin.plugins.cap.writesPlaces': '場所を編集',
'admin.plugins.cap.writesDays': '日程を編集',
'admin.plugins.cap.writesItinerary': '旅程を編集',
'admin.plugins.cap.writesTrips': '旅行を編集',
'admin.plugins.cap.metadata': 'メタデータを追加',
'admin.plugins.cap.widget': 'ダッシュボードウィジェット',
'admin.plugins.cap.heroWidget': '搭乗券ウィジェット',
'admin.plugins.cap.placeSlot': '場所詳細',
'admin.plugins.cap.daySlot': '日程詳細',
'admin.plugins.cap.reservationSlot': '予約詳細',
'admin.plugins.cap.replacesTabs': 'プランナーのタブを置き換え',
'admin.plugins.cap.realtime': 'リアルタイム更新',
'admin.plugins.cap.notificationChannel': '通知チャンネル',
'admin.plugins.cap.photos': '写真を提供',
'admin.plugins.cap.calendar': 'カレンダー予定を提供',
'admin.plugins.cap.placeDetails': '場所を充実',
'admin.plugins.cap.warnings': '問題を検出',
'admin.plugins.cap.mapLayers': '地図に描画',
'admin.plugins.cap.routing': 'ルーティングを提供',
'admin.plugins.cap.daySchedule': '予定時刻を追加',
'admin.plugins.cap.dayTint': '日を色分け',
'admin.plugins.cap.geolocation': '現在地を読み取り',
'admin.plugins.cap.events': 'アクティビティに反応',
'admin.plugins.cap.requiresAddon': '{addon}が必要',
'admin.plugins.cap.dependsOn': '{id} {version}が必要',
'admin.plugins.dep.addonDisabledToast': '先に必要なアドオンを有効にしてください:{addons}',
'admin.plugins.dep.autoEnabled': '必要なプラグインを先に有効にしました:{plugins}',
'admin.plugins.dep.downloaded': '{id}をダウンロードしました',
'admin.plugins.dep.resolveTitle': '依存関係が不足しています',
'admin.plugins.dep.resolveBody': '「{name}」を有効にするには、これらのプラグインのインストールが必要です。',
'admin.plugins.dep.requires': '{version}が必要',
'admin.plugins.dep.mismatch': '{wanted}が必要 — 現在{installed}',
'admin.plugins.dep.download': 'ダウンロード',
'admin.plugins.dep.update': '更新',
'admin.plugins.dep.resolveHint': '独自の依存関係を含め、最新の互換バージョンをダウンロードします。',
'admin.plugins.dep.trekIncompatible': 'TREK {range} が必要です — このサーバーは {host} です',
'admin.plugins.dep.trekUnknown': '対応する TREK バージョンが宣言されていません',
'admin.plugins.installCompatible': '{version} をインストール',
'admin.plugins.incompatible': '非対応',
'admin.plugins.accessTitle': 'アクセスできるもの',
'admin.plugins.connectsTitle': '接続先',
'admin.plugins.detailsTitle': '詳細',
'admin.plugins.noAccess': '特別なアクセスは不要です。',
'admin.plugins.metaVersion': 'バージョン',
'admin.plugins.metaSize': 'サイズ',
'admin.plugins.metaRequires': '要件',
'admin.plugins.metaReviewed': 'レビュー日',
'admin.plugins.downloads': 'ダウンロード数',
'admin.addons.title': 'アドオン',
'admin.addons.subtitle': '機能を有効/無効にしてTREKをカスタマイズします。',
'admin.addons.catalog.packing.name': 'リスト',
'admin.addons.catalog.packing.description': '旅行用の持ち物リストとToDo',
'admin.addons.catalog.budget.name': '費用',
'admin.addons.catalog.budget.description': '支出の管理と予算計画',
'admin.addons.catalog.documents.name': 'ドキュメント',
'admin.addons.catalog.documents.description': '旅行書類の保存・管理',
'admin.addons.catalog.vacay.name': 'Vacay',
'admin.addons.catalog.vacay.description': 'カレンダー表示の個人休暇プランナー',
'admin.addons.catalog.atlas.name': 'Atlas',
'admin.addons.catalog.atlas.description': '訪問国と旅行統計の世界地図',
'admin.addons.catalog.collab.name': 'Collab',
'admin.addons.catalog.collab.description': 'リアルタイムのメモ、投票、チャット',
'admin.addons.catalog.memories.name': '写真(Immich)',
'admin.addons.catalog.memories.description': 'Immichで旅行写真を共有',
'admin.addons.catalog.mcp.name': 'MCP',
'admin.addons.catalog.mcp.description': 'AI連携のためのModel Context Protocol',
'admin.addons.subtitleBefore': '機能を有効/無効にして ',
'admin.addons.subtitleAfter': ' をカスタマイズします。',
'admin.addons.enabled': '有効',
'admin.addons.disabled': '無効',
'admin.addons.type.trip': '旅行',
'admin.addons.type.global': '全体',
'admin.addons.type.integration': '連携',
'admin.addons.tripHint': '各旅行内のタブとして利用可能',
'admin.addons.globalHint': 'メインナビの独立セクションとして利用可能',
'admin.addons.integrationHint': '専用ページのないバックエンド/API連携',
'admin.addons.toast.updated': 'アドオンを更新しました',
'admin.addons.toast.error': 'アドオンの更新に失敗しました',
'admin.addons.noAddons': '利用可能なアドオンはありません',
'admin.weather.title': '天気データ',
'admin.weather.badge': '2026年3月24日以降',
'admin.weather.description':
'TREKは天気データにOpen‑Meteoを使用しています。無料でオープンソース、APIキーは不要です。',
'admin.weather.forecast': '16日間予報',
'admin.weather.forecastDesc': '以前は5日(OpenWeatherMap)',
'admin.weather.climate': '過去の気候データ',
'admin.weather.climateDesc': '16日以降は過去85年の平均値',
'admin.weather.requests': '1日10,000リクエスト',
'admin.weather.requestsDesc': '無料、APIキー不要',
'admin.weather.locationHint':
'各日の座標付き最初の場所を基準にします。場所が未割り当ての場合は、場所一覧の任意の場所を参照します。',
'admin.tabs.mcpTokens': 'MCPトークン',
'admin.mcpTokens.title': 'MCPトークン',
'admin.mcpTokens.subtitle': 'すべてのユーザーのAPIトークンを管理',
'admin.mcpTokens.sectionTitle': 'API トークン',
'admin.mcpTokens.owner': '所有者',
'admin.mcpTokens.tokenName': 'トークン名',
'admin.mcpTokens.created': '作成日',
'admin.mcpTokens.lastUsed': '最終使用',
'admin.mcpTokens.never': '未使用',
'admin.mcpTokens.empty': 'MCPトークンはまだ作成されていません',
'admin.mcpTokens.deleteTitle': 'トークンを削除',
'admin.mcpTokens.deleteMessage':
'このトークンは即座に失効します。ユーザーはこのトークン経由のMCPアクセスを失います。',
'admin.mcpTokens.deleteSuccess': 'トークンを削除しました',
'admin.mcpTokens.deleteError': 'トークンの削除に失敗しました',
'admin.mcpTokens.loadError': 'トークンの読み込みに失敗しました',
'admin.oauthSessions.sectionTitle': 'OAuthセッション',
'admin.oauthSessions.clientName': 'クライアント',
'admin.oauthSessions.owner': '所有者',
'admin.oauthSessions.scopes': 'スコープ',
'admin.oauthSessions.created': '作成日時',
'admin.oauthSessions.empty': '有効なOAuthセッションはありません',
'admin.oauthSessions.revokeTitle': 'セッションを無効化',
'admin.oauthSessions.revokeMessage': 'このOAuthセッションは即時無効化され、クライアントはMCPへのアクセスを失います。',
'admin.oauthSessions.revokeSuccess': 'セッションを無効化しました',
'admin.oauthSessions.revokeError': 'セッションの無効化に失敗しました',
'admin.oauthSessions.loadError': 'OAuthセッションの読み込みに失敗しました',
'admin.tabs.github': 'GitHub',
'admin.audit.subtitle': 'セキュリティおよび管理イベント(バックアップ、ユーザー、MFA、設定)。',
'admin.audit.empty': '監査ログはまだありません。',
'admin.audit.refresh': '更新',
'admin.audit.loadMore': 'さらに読み込む',
'admin.audit.showing': '{count}件表示 · 全{total}件',
'admin.audit.col.time': '時刻',
'admin.audit.col.user': 'ユーザー',
'admin.audit.col.action': '操作',
'admin.audit.col.resource': '対象',
'admin.audit.col.ip': 'IP',
'admin.audit.col.details': '詳細',
'admin.github.title': 'リリース履歴',
'admin.github.subtitle': '{repo} の最新アップデート',
'admin.github.latest': '最新',
'admin.github.prerelease': 'プレリリース',
'admin.github.showDetails': '詳細を表示',
'admin.github.hideDetails': '詳細を非表示',
'admin.github.loadMore': 'さらに読み込む',
'admin.github.loading': '読み込み中...',
'admin.github.error': 'リリースの読み込みに失敗しました',
'admin.github.by': '作成者',
'admin.github.support': 'TREKの開発を支援',
'admin.update.available': '更新があります',
'admin.update.text': 'TREK {version} が利用可能です。現在は {current} を使用しています。',
'admin.update.button': 'GitHubで見る',
'admin.update.install': '更新をインストール',
'admin.update.confirmTitle': '更新をインストールしますか?',
'admin.update.confirmText': 'TREKを {current} から {version} に更新します。更新後、サーバーは自動的に再起動します。',
'admin.update.dataInfo':
'すべてのデータ(旅行、ユーザー、APIキー、アップロード、Vacay、Atlas、予算)は保持されます。',
'admin.update.warning': '再起動中、アプリは短時間利用できません。',
'admin.update.confirm': '今すぐ更新',
'admin.update.installing': '更新中…',
'admin.update.success': '更新が完了しました!サーバーを再起動しています…',
'admin.update.failed': '更新に失敗しました',
'admin.update.backupHint': '更新前にバックアップを作成することをおすすめします。',
'admin.update.backupLink': 'バックアップへ',
'admin.update.howTo': '更新方法',
'admin.update.dockerText':
'TREKはDockerで実行されています。{version} に更新するには、サーバーで次のコマンドを実行してください:',
'admin.update.nonDockerText':
'このTREKインスタンスはDockerで実行されていません。{version} に更新するには、使用したインストールまたは更新方法をもう一度実行してください。たとえばProxmox Community Scriptsの場合は、LXCコンソールから更新を実行します:',
'admin.update.wikiLink': '更新ガイドを開く',
'admin.update.reloadHint': '数秒後にページを再読み込みしてください。',
'admin.tabs.permissions': '権限',
'admin.addons.catalog.journey.name': '日記',
'admin.addons.catalog.journey.description': 'チェックイン、写真、日ごとのストーリーで旅を記録',
'admin.addons.catalog.collections.name': 'コレクション',
'admin.addons.catalog.collections.description':
'個人の場所ライブラリ — 旅行をまたいで場所を名前付きリストに保存し、どの旅行にもコピーして、他の人と共有',
'admin.passkey.title': 'パスキーログイン',
'admin.passkey.cardHint': 'ユーザーがパスキー(WebAuthn)でサインインできるようにします。既定では無効です。',
'admin.passkey.login': 'パスキーログインを有効化',
'admin.passkey.loginHint':
'「パスキーでサインイン」オプションを表示し、ユーザーが設定でパスキーを登録できるようにします。',
'admin.passkey.notConfigured':
'このデプロイにはまだ有効な WebAuthn ドメインがありません。下の APP_URL または Relying Party ID を設定してください。それまでパスキーは表示されません。',
'admin.passkey.rpId': 'Relying Party ID(ドメイン)',
'admin.passkey.rpIdHint':
'パスキーが紐づくドメイン名のみ(例:trek.example.org)。空欄の場合は APP_URL から導出されます。後で変更すると既存のパスキーは無効になります。',
'admin.passkey.origins': '許可するオリジン',
'admin.passkey.originsHint':
'カンマ区切りの完全なオリジン(例:https://trek.example.org)。空欄の場合は APP_URL を使用します。',
'admin.passkey.reset': 'パスキーをリセット',
'admin.passkey.resetHint':
'このユーザーのパスキーをすべて削除します(例:デバイスを紛失した場合)。パスワードでのサインインは引き続き可能です。',
'admin.passkey.resetConfirm': '{name} のパスキーをすべて削除しますか?',
'admin.passkey.resetDone': '{count} 件のパスキーを削除しました',
'admin.defaultSettings.mapProvider': '地図エンジン',
'admin.defaultSettings.mapProviderHint':
'このインスタンスの全員に適用される既定の地図です。各ユーザーは自分の設定でこれを上書きできます。',
'admin.defaultSettings.providerLeaflet': '標準(無料)',
'admin.defaultSettings.providerMapbox': 'Mapbox(3D)',
'admin.defaultSettings.providerMapLibre': 'MapLibre (OpenFreeMap)',
'admin.defaultSettings.mapboxToken': '共有 Mapbox トークン',
'admin.defaultSettings.mapboxTokenHint':
'自分のトークンを入力していないすべてのユーザーに使用されます。これにより、キーを個別に共有しなくてもインスタンス全体で Mapbox を利用できます。暗号化して保存されます。',
'admin.defaultSettings.mapboxStyle': '地図スタイル',
'admin.defaultSettings.mapboxStylePlaceholder': 'スタイルを選択…',
'admin.defaultSettings.mapbox3d': '3D の建物と地形',
'admin.defaultSettings.mapboxQuality': '高品質モード',
'admin.group.users': 'Users',
'admin.group.config': 'Configuration',
'admin.group.integration': 'Integrations',
'admin.group.maintenance': 'Maintenance',
'admin.invite.tripLabel': '旅行に追加(任意)',
'admin.invite.tripNone': '旅行なし',
'admin.invite.tripHint': '新しいユーザーがリンク経由で登録すると、自動的にこの旅行に追加されます。',
'admin.invite.boundTo': '{trip}に追加',
};
export default admin;