Files
TREK/shared/src/i18n/id/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

696 lines
47 KiB
TypeScript

import type { TranslationStrings } from '../types';
const admin: TranslationStrings = {
'admin.notifications.title': 'Notifikasi',
'admin.notifications.hint': 'Pilih satu saluran notifikasi. Hanya satu yang bisa aktif sekaligus.',
'admin.notifications.none': 'Dinonaktifkan',
'admin.notifications.email': 'Email (SMTP)',
'admin.notifications.webhook': 'Webhook',
'admin.notifications.save': 'Simpan pengaturan notifikasi',
'admin.notifications.saved': 'Pengaturan notifikasi tersimpan',
'admin.notifications.testWebhook': 'Kirim test webhook',
'admin.notifications.testWebhookSuccess': 'Test webhook berhasil dikirim',
'admin.notifications.testWebhookFailed': 'Test webhook gagal',
'admin.notifications.emailPanel.title': 'Email (SMTP)',
'admin.notifications.webhookPanel.title': 'Webhook',
'admin.notifications.inappPanel.title': 'In-App',
'admin.notifications.inappPanel.hint': 'Notifikasi in-app selalu aktif dan tidak bisa dinonaktifkan secara global.',
'admin.notifications.adminWebhookPanel.title': 'Admin Webhook',
'admin.notifications.adminWebhookPanel.hint':
'Webhook ini digunakan khusus untuk notifikasi admin (mis. peringatan versi). Terpisah dari webhook per pengguna dan selalu berjalan jika diatur.',
'admin.notifications.adminWebhookPanel.saved': 'Admin webhook URL tersimpan',
'admin.notifications.adminWebhookPanel.testSuccess': 'Test webhook berhasil dikirim',
'admin.notifications.adminWebhookPanel.testFailed': 'Test webhook gagal',
'admin.notifications.adminWebhookPanel.alwaysOnHint': 'Admin webhook selalu berjalan jika URL dikonfigurasi',
'admin.notifications.ntfy': 'Ntfy',
'admin.ntfy.hint':
'Memungkinkan pengguna mengonfigurasi topik ntfy mereka sendiri untuk notifikasi push. Tetapkan server default di bawah untuk mengisi setelan pengguna secara otomatis.',
'admin.notifications.testNtfy': 'Kirim uji Ntfy',
'admin.notifications.testNtfySuccess': 'Uji Ntfy berhasil dikirim',
'admin.notifications.testNtfyFailed': 'Uji Ntfy gagal',
'admin.notifications.adminNtfyPanel.title': 'Admin Ntfy',
'admin.notifications.adminNtfyPanel.hint':
'Topik Ntfy ini digunakan khusus untuk notifikasi admin (mis. peringatan versi). Terpisah dari topik per pengguna dan selalu berjalan jika dikonfigurasi.',
'admin.notifications.adminNtfyPanel.serverLabel': 'URL Server Ntfy',
'admin.notifications.adminNtfyPanel.serverHint':
'Juga digunakan sebagai server default untuk notifikasi ntfy pengguna. Kosongkan untuk menggunakan ntfy.sh. Pengguna dapat menggantinya di pengaturan mereka sendiri.',
'admin.notifications.adminNtfyPanel.serverPlaceholder': 'https://ntfy.sh',
'admin.notifications.adminNtfyPanel.topicLabel': 'Topik Admin',
'admin.notifications.adminNtfyPanel.topicPlaceholder': 'trek-admin-alerts',
'admin.notifications.adminNtfyPanel.tokenLabel': 'Token Akses (opsional)',
'admin.notifications.adminNtfyPanel.tokenCleared': 'Token akses admin dihapus',
'admin.notifications.adminNtfyPanel.saved': 'Pengaturan Ntfy admin tersimpan',
'admin.notifications.adminNtfyPanel.test': 'Kirim uji Ntfy',
'admin.notifications.adminNtfyPanel.testSuccess': 'Uji Ntfy berhasil dikirim',
'admin.notifications.adminNtfyPanel.testFailed': 'Uji Ntfy gagal',
'admin.notifications.adminNtfyPanel.alwaysOnHint': 'Admin Ntfy selalu berjalan jika topik dikonfigurasi',
'admin.notifications.adminNotificationsHint':
'Atur saluran mana yang mengirimkan notifikasi khusus admin (mis. peringatan versi).',
'admin.notifications.tripReminders.title': 'Pengingat Perjalanan',
'admin.notifications.tripReminders.hint':
'Mengirim notifikasi pengingat sebelum perjalanan dimulai (memerlukan hari pengingat yang diatur pada perjalanan).',
'admin.notifications.tripReminders.enabled': 'Pengingat perjalanan diaktifkan',
'admin.notifications.tripReminders.disabled': 'Pengingat perjalanan dinonaktifkan',
'admin.smtp.title': 'Email & Notifikasi',
'admin.smtp.hint': 'Konfigurasi SMTP untuk pengiriman notifikasi email.',
'admin.smtp.testButton': 'Kirim email uji',
'admin.webhook.hint': 'Izinkan pengguna mengatur URL webhook sendiri untuk notifikasi (Discord, Slack, dll.).',
'admin.smtp.testSuccess': 'Email uji berhasil dikirim',
'admin.smtp.testFailed': 'Email uji gagal',
'admin.title': 'Administrasi',
'admin.subtitle': 'Manajemen pengguna dan pengaturan sistem',
'admin.tabs.users': 'Pengguna',
'admin.tabs.categories': 'Kategori',
'admin.tabs.backup': 'Backup',
'admin.tabs.notifications': 'Notifikasi',
'admin.tabs.audit': 'Audit',
'admin.stats.users': 'Pengguna',
'admin.stats.trips': 'Perjalanan',
'admin.stats.places': 'Tempat',
'admin.stats.photos': 'Foto',
'admin.stats.files': 'File',
'admin.table.user': 'Pengguna',
'admin.table.email': 'Email',
'admin.table.role': 'Peran',
'admin.table.created': 'Dibuat',
'admin.table.lastLogin': 'Login Terakhir',
'admin.table.actions': 'Tindakan',
'admin.you': '(Kamu)',
'admin.editUser': 'Edit Pengguna',
'admin.newPassword': 'Kata Sandi Baru',
'admin.newPasswordHint': 'Kosongkan untuk mempertahankan kata sandi saat ini',
'admin.deleteUser': 'Hapus pengguna "{name}"? Semua perjalanan akan dihapus secara permanen.',
'admin.deleteUserTitle': 'Hapus pengguna',
'admin.newPasswordPlaceholder': 'Masukkan kata sandi baru…',
'admin.toast.loadError': 'Gagal memuat data admin',
'admin.toast.userUpdated': 'Pengguna diperbarui',
'admin.toast.updateError': 'Gagal memperbarui',
'admin.toast.userDeleted': 'Pengguna dihapus',
'admin.toast.deleteError': 'Gagal menghapus',
'admin.toast.cannotDeleteSelf': 'Tidak bisa menghapus akun sendiri',
'admin.toast.userCreated': 'Pengguna dibuat',
'admin.toast.createError': 'Gagal membuat pengguna',
'admin.toast.fieldsRequired': 'Nama pengguna, email, dan kata sandi wajib diisi',
'admin.createUser': 'Buat Pengguna',
'admin.invite.title': 'Tautan Undangan',
'admin.invite.subtitle': 'Buat tautan pendaftaran sekali pakai',
'admin.invite.create': 'Buat Tautan',
'admin.invite.createAndCopy': 'Buat & Salin',
'admin.invite.empty': 'Belum ada tautan undangan yang dibuat',
'admin.invite.maxUses': 'Maks. Penggunaan',
'admin.invite.expiry': 'Kedaluwarsa setelah',
'admin.invite.uses': 'digunakan',
'admin.invite.expiresAt': 'kedaluwarsa',
'admin.invite.createdBy': 'oleh',
'admin.invite.active': 'Aktif',
'admin.invite.expired': 'Kedaluwarsa',
'admin.invite.usedUp': 'Habis dipakai',
'admin.invite.copied': 'Tautan undangan disalin ke clipboard',
'admin.invite.copyLink': 'Salin tautan',
'admin.invite.deleted': 'Tautan undangan dihapus',
'admin.invite.createError': 'Gagal membuat tautan undangan',
'admin.invite.deleteError': 'Gagal menghapus tautan undangan',
'admin.tabs.settings': 'Pengaturan',
'admin.allowRegistration': 'Izinkan Pendaftaran',
'admin.allowRegistrationHint': 'Pengguna baru dapat mendaftar sendiri',
'admin.authMethods': 'Metode Autentikasi',
'admin.passwordLogin': 'Login dengan Kata Sandi',
'admin.passwordLoginHint': 'Izinkan pengguna masuk dengan email dan kata sandi',
'admin.passwordRegistration': 'Pendaftaran dengan Kata Sandi',
'admin.passwordRegistrationHint': 'Izinkan pengguna baru mendaftar dengan email dan kata sandi',
'admin.oidcLogin': 'Login SSO',
'admin.oidcLoginHint': 'Izinkan pengguna masuk dengan SSO',
'admin.oidcRegistration': 'Penyediaan Otomatis SSO',
'admin.oidcRegistrationHint': 'Buat akun otomatis untuk pengguna SSO baru',
'admin.envOverrideHint':
'Pengaturan login kata sandi dikendalikan oleh variabel lingkungan OIDC_ONLY dan tidak dapat diubah di sini.',
'admin.lockoutWarning': 'Minimal satu metode login harus tetap aktif',
'admin.requireMfa': 'Wajibkan autentikasi dua faktor (2FA)',
'admin.requireMfaHint':
'Pengguna tanpa 2FA harus menyelesaikan pengaturan di Pengaturan sebelum menggunakan aplikasi.',
'admin.apiKeys': 'Kunci API',
'admin.apiKeysHint': 'Opsional. Mengaktifkan data tempat yang lebih lengkap seperti foto dan cuaca.',
'admin.mapsKey': 'Kunci API Google Maps',
'admin.mapsKeyHint': 'Diperlukan untuk pencarian tempat. Dapatkan di console.cloud.google.com',
'admin.mapsKeyHintLong':
'Tanpa kunci API, OpenStreetMap digunakan untuk pencarian tempat. Dengan kunci API Google, foto, rating, dan jam buka juga bisa dimuat. Dapatkan di console.cloud.google.com.',
'admin.recommended': 'Direkomendasikan',
'admin.weatherKey': 'Kunci API OpenWeatherMap',
'admin.weatherKeyHint': 'Untuk data cuaca. Gratis di openweathermap.org',
'admin.unsplashKey': 'Kunci API Unsplash',
'admin.unsplashKeyHint': 'Untuk pencarian gambar. Gratis di unsplash.com/developers',
'admin.validateKey': 'Uji',
'admin.keyValid': 'Terhubung',
'admin.keyInvalid': 'Tidak valid',
'admin.keySaved': 'Kunci API disimpan',
'admin.oidcTitle': 'Single Sign-On (OIDC)',
'admin.oidcSubtitle': 'Izinkan login melalui penyedia eksternal seperti Google, Apple, Authentik, atau Keycloak.',
'admin.oidcDisplayName': 'Nama Tampilan',
'admin.oidcIssuer': 'Issuer URL',
'admin.oidcIssuerHint': 'Issuer URL OpenID Connect dari penyedia. Contoh: https://accounts.google.com',
'admin.oidcSaved': 'Konfigurasi OIDC disimpan',
'admin.oidcOnlyMode': 'Nonaktifkan autentikasi kata sandi',
'admin.oidcOnlyModeHint':
'Jika diaktifkan, hanya login SSO yang diizinkan. Login dan pendaftaran berbasis kata sandi diblokir.',
'admin.fileTypes': 'Jenis File yang Diizinkan',
'admin.fileTypesHint': 'Atur jenis file apa saja yang boleh diunggah pengguna.',
'admin.fileTypesFormat':
'Ekstensi dipisahkan koma (contoh: jpg,png,pdf,doc). Gunakan * untuk mengizinkan semua jenis.',
'admin.fileTypesSaved': 'Pengaturan jenis file disimpan',
'admin.placesPhotos.title': 'Foto Tempat',
'admin.placesPhotos.subtitle':
'Mengambil foto dari Google Places API. Nonaktifkan untuk menghemat kuota API. Foto Wikimedia tidak terpengaruh.',
'admin.placesAutocomplete.title': 'Pelengkapan Otomatis Tempat',
'admin.placesAutocomplete.subtitle':
'Menggunakan Google Places API untuk saran pencarian. Nonaktifkan untuk menghemat kuota API.',
'admin.placesDetails.title': 'Detail Tempat',
'admin.placesDetails.subtitle':
'Mengambil informasi detail tempat (jam, penilaian, situs web) dari Google Places API. Nonaktifkan untuk menghemat kuota API.',
'admin.placesEnrich.title': 'Pengayaan tempat',
'admin.placesEnrich.subtitle':
'Menampilkan gambar dan deskripsi saat menambahkan tempat. Wikipedia dan OpenStreetMap selalu digunakan; Google ditambahkan bila Foto Tempat atau Detail Tempat aktif.',
'admin.bagTracking.title': 'Pelacak Tas',
'admin.bagTracking.subtitle': 'Aktifkan berat dan penugasan tas untuk item packing',
'admin.collab.chat.title': 'Chat',
'admin.collab.chat.subtitle': 'Pesan real-time untuk kolaborasi',
'admin.collab.notes.title': 'Catatan',
'admin.collab.notes.subtitle': 'Catatan dan dokumen bersama',
'admin.collab.polls.title': 'Jajak Pendapat',
'admin.collab.polls.subtitle': 'Jajak pendapat dan voting grup',
'admin.collab.whatsnext.title': 'Selanjutnya',
'admin.collab.whatsnext.subtitle': 'Saran aktivitas dan langkah selanjutnya',
'admin.tabs.config': 'Personalisasi',
'admin.tabs.defaults': 'Pengaturan Default Pengguna',
'admin.defaultSettings.title': 'Pengaturan Default Pengguna',
'admin.defaultSettings.description':
'Tetapkan nilai default untuk seluruh instance. Pengguna yang belum mengubah pengaturan akan melihat nilai-nilai ini. Perubahan mereka sendiri selalu diprioritaskan.',
'admin.defaultSettings.saved': 'Default disimpan',
'admin.defaultSettings.reset': 'Atur ulang ke default bawaan',
'admin.defaultSettings.resetToBuiltIn': 'atur ulang',
'admin.tabs.templates': 'Template Packing',
'admin.packingTemplates.title': 'Template Packing',
'admin.packingTemplates.subtitle': 'Buat daftar packing yang bisa digunakan ulang untuk perjalananmu',
'admin.packingTemplates.create': 'Template Baru',
'admin.packingTemplates.namePlaceholder': 'Nama template (contoh: Liburan Pantai)',
'admin.packingTemplates.empty': 'Belum ada template yang dibuat',
'admin.packingTemplates.items': 'item',
'admin.packingTemplates.categories': 'kategori',
'admin.packingTemplates.itemName': 'Nama item',
'admin.packingTemplates.itemCategory': 'Kategori',
'admin.packingTemplates.categoryName': 'Nama kategori (contoh: Pakaian)',
'admin.packingTemplates.addCategory': 'Tambah kategori',
'admin.packingTemplates.created': 'Template dibuat',
'admin.packingTemplates.deleted': 'Template dihapus',
'admin.packingTemplates.loadError': 'Gagal memuat template',
'admin.packingTemplates.createError': 'Gagal membuat template',
'admin.packingTemplates.deleteError': 'Gagal menghapus template',
'admin.packingTemplates.deleteCategoryError': 'Gagal menghapus kategori',
'admin.packingTemplates.deleteItemError': 'Gagal menghapus item',
'admin.packingTemplates.saveError': 'Gagal menyimpan',
'admin.tabs.addons': 'Addon',
'admin.tabs.plugins': 'Plugins',
'admin.tabs.storage': 'Penyimpanan',
'admin.plugins.rescan': 'Pindai ulang',
'admin.plugins.rescanned': 'Folder plugin dipindai ulang',
'admin.plugins.upload': 'Unggah plugin',
'admin.plugins.dropToUpload': 'Lepaskan .zip plugin untuk memasang',
'admin.plugins.uploaded': 'Plugin “{name}” diunggah — aktifkan untuk menjalankan',
'admin.plugins.sideloaded': 'Dimuat manual',
'admin.plugins.devLinkBadge': 'Dev-Link',
'admin.plugins.devLinkHint':
'Dimuat dari direktori build lokal dan dimuat ulang langsung dengan data nyata — hanya untuk pengembangan',
'admin.plugins.devLinkTitle': 'Tautkan plugin lokal',
'admin.plugins.devLinkPathPlaceholder': '/absolute/path/to/your/plugin',
'admin.plugins.devLinkButton': 'Tautkan',
'admin.plugins.devLinkLinked': '{id} ditautkan — aktifkan untuk menjalankan',
'admin.plugins.sideloadedHint': 'Diunggah manual — bukan dari registri, tanpa tanda tangan dan tinjauan',
'admin.plugins.browse': 'Jelajahi plugin',
'admin.plugins.installed': 'Terpasang',
'admin.plugins.install': 'Pasang',
'admin.plugins.registryEmpty': 'Belum ada plugin yang tersedia di registri.',
'admin.plugins.actionError': 'Tindakan gagal',
'admin.plugins.activate': 'Aktifkan',
'admin.plugins.activated': 'Plugin diaktifkan',
'admin.plugins.deactivate': 'Nonaktifkan',
'admin.plugins.deactivated': 'Plugin dinonaktifkan',
'admin.plugins.viewErrors': 'Lihat log error',
'admin.plugins.errorLog': 'Log error',
'admin.plugins.allowedHosts': 'Host yang diizinkan',
'admin.plugins.allowedHosts.hint':
'Plugin ini berbicara dengan layanan yang hanya Anda yang tahu namanya (server swakelola). Tambahkan host yang boleh dijangkau — selain itu tidak bisa.',
'admin.plugins.allowedHosts.none': 'Belum ada host yang ditambahkan.',
'admin.plugins.allowedHosts.unsupported':
'Plugin ini tidak memakai host dari operator. Host yang diizinkan sudah tetap di manifesnya.',
'admin.plugins.allowedHosts.restartNote': 'Menyimpan akan memulai ulang plugin agar memakai daftar baru.',
'admin.plugins.allowedHosts.add': 'Tambah host yang diizinkan',
'admin.plugins.allowedHosts.count': '{n} host diizinkan',
'admin.plugins.operatorEgressPill': '+ host yang Anda tambahkan',
'admin.plugins.operatorEgressHint':
'Plugin ini berbicara dengan layanan yang hanya Anda yang tahu namanya (server swakelola). Setelah dipasang, tambahkan host di ⋯ → Host yang diizinkan. Selain itu tidak bisa.',
'admin.plugins.noErrors': 'Tidak ada error yang tercatat.',
'admin.plugins.uninstalled': 'Plugin dihapus',
'admin.plugins.uninstallTitle': 'Hapus plugin?',
'admin.plugins.uninstallBody':
'Ini akan menghentikan plugin, menghapus kodenya, dan menghapus semua datanya. Tindakan ini tidak bisa dibatalkan.',
'admin.plugins.status.starting': 'Memulai…',
'admin.plugins.type.widget': 'Widget',
'admin.plugins.type.page': 'Halaman',
'admin.plugins.type.integration': 'Integrasi',
'admin.plugins.type.trip-page': 'Halaman perjalanan',
'admin.plugins.reviewed': 'Ditinjau',
'admin.plugins.unreviewed': 'Belum ditinjau',
'admin.plugins.updated': 'Plugin diperbarui',
'admin.plugins.updateTo': 'Update → v{version}',
'admin.plugins.enabledToggle': 'Aktifkan plugin',
'plugins.notFound': 'Plugin tidak ditemukan',
'plugins.frameLoadFailed': 'This plugin could not be loaded.',
'admin.plugins.title': 'Plugins',
'admin.plugins.subtitle': 'Pasang dan kelola plugin pihak ketiga di instans kamu.',
'admin.plugins.disabledTitle': 'Plugin dinonaktifkan',
'admin.plugins.disabledBody':
'Runtime plugin sedang dimatikan (TREK_PLUGINS_ENABLED). Tidak ada plugin yang bisa berjalan sampai admin mengaktifkannya di konfigurasi server.',
'admin.plugins.empty': 'Belum ada plugin yang terpasang.',
'admin.plugins.loadError': 'Tidak dapat memuat plugin.',
'admin.plugins.scaffoldNote':
'Pemasangan dan aktivasi plugin akan hadir di pembaruan mendatang. Saat ini panel ini hanya menampilkan plugin yang terpasang.',
'admin.plugins.status.active': 'Aktif',
'admin.plugins.status.inactive': 'Tidak aktif',
'admin.plugins.status.disabled': 'Nonaktif',
'admin.plugins.status.error': 'Error',
'admin.plugins.status.incompatible': 'Tidak kompatibel',
'admin.plugins.details': 'Detail',
'admin.plugins.detailError': 'Tidak dapat memuat detail plugin.',
'admin.plugins.permissionsTitle': 'Izin',
'admin.plugins.noPermissions': 'Plugin ini tidak meminta izin khusus.',
'admin.plugins.egressNote': 'Dapat terhubung ke: {hosts}',
'admin.plugins.setupTitle': 'Penyiapan',
'admin.plugins.noSetup': 'Langsung berfungsi — tidak ada yang perlu dikonfigurasi.',
'admin.plugins.scope.instance': 'Seluruh instans',
'admin.plugins.scope.user': 'Per pengguna',
'admin.plugins.fieldRequired': 'Wajib diisi',
'admin.plugins.sourceRepo': 'Repositori sumber',
'admin.plugins.reportIssue': 'Laporkan masalah',
'admin.plugins.homepage': 'Beranda',
'admin.plugins.requiresTrek': 'Memerlukan TREK {version}+',
'admin.plugins.reviewedOn': 'Ditinjau {date}',
'admin.plugins.perm.db:own': 'Menyimpan datanya sendiri di database terisolasi',
'admin.plugins.perm.db:read:trips': 'Membaca perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:read:users': 'Membaca info profil dasar (nama, avatar — tidak pernah kredensial)',
'admin.plugins.perm.db:read:costs':
'Membaca pengeluaran (item anggaran) yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:read:packing':
'Membaca daftar barang bawaan dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:packing':
'Membuat, mengedit, dan menghapus item daftar bawaan pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.weather:read': 'Membaca prakiraan cuaca host yang di-cache (berdasarkan koordinat)',
'admin.plugins.perm.db:read:categories': 'Membaca daftar kategori tempat global',
'admin.plugins.perm.db:read:tags': 'Membaca tag pengguna yang bersangkutan',
'admin.plugins.perm.db:write:tags': 'Membuat, mengedit, dan menghapus tag pengguna yang bersangkutan',
'admin.plugins.perm.db:read:todos':
'Membaca tugas dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:todos':
'Membuat, mengedit, dan menghapus tugas pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:atlas':
'Menandai negara dan wilayah sebagai sudah dikunjungi dan mengelola bucket list pengguna yang bersangkutan (memerlukan add-on Atlas)',
'admin.plugins.perm.db:write:vacay':
'Mengalihkan hari cuti dan libur perusahaan pada rencana aktif pengguna yang bersangkutan (memerlukan add-on Vacay)',
'admin.plugins.perm.db:write:journal':
'Membuat, mengedit, dan menghapus entri jurnal di jurnal yang dapat diedit oleh pengguna yang bersangkutan (memerlukan add-on Journey)',
'admin.plugins.perm.db:write:collections':
'Membuat dan mengedit koleksi serta menyimpan tempat ke dalamnya, dengan peran koleksi pengguna yang bersangkutan (memerlukan add-on Collections)',
'admin.plugins.perm.db:write:files':
'Melampirkan berkas ke perjalanan yang dapat diedit oleh pengguna yang bersangkutan (batas 10 MB, ekstensi terblokir ditolak) dan mengelola tautannya',
'admin.plugins.perm.db:write:collab':
'Memublikasikan catatan, jajak pendapat, dan pesan obrolan pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan (memerlukan add-on Collab)',
'admin.plugins.perm.db:write:members':
'Menambahkan pengguna ke perjalanan — memberikan akses perjalanan; dilindungi oleh hak kelola anggota pengguna yang bersangkutan',
'admin.plugins.perm.notify:send':
'Mengirim notifikasi (kotak lonceng + email/ntfy) kepada pengguna yang bersangkutan atau perjalanan yang diikutinya — tidak pernah ke penerima sembarangan',
'admin.plugins.perm.ai:invoke':
'Menjalankan penyedia AI yang dikonfigurasi admin (penyelesaian teks + ekstraksi dokumen) atas nama pengguna yang bersangkutan — plugin tidak pernah menyimpan kunci',
'admin.plugins.perm.oauth:client':
'Terhubung ke layanan pihak ketiga atas namamu melalui OAuth yang diperantarai host (host menyimpan token, plugin tidak pernah melihatnya)',
'admin.plugins.perm.db:read:files':
'Membaca berkas dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:reservations':
'Membuat, mengedit, dan menghapus pemesanan pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:accommodations':
'Membuat, mengedit, dan menghapus akomodasi pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:read:journal':
'Membaca jurnal perjalanan pengguna yang bersangkutan (memerlukan add-on Journey)',
'admin.plugins.perm.db:read:atlas':
'Membaca negara dan wilayah yang dikunjungi oleh pengguna yang bersangkutan (memerlukan add-on Atlas)',
'admin.plugins.perm.db:read:vacay': 'Membaca rencana liburan pengguna yang bersangkutan (memerlukan add-on Vacay)',
'admin.plugins.perm.db:read:daynotes':
'Membaca catatan harian dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:read:collections':
'Membaca koleksi tempat tersimpan milik pengguna yang bersangkutan (memerlukan add-on Collections)',
'admin.plugins.perm.db:write:daynotes':
'Membuat, mengedit, dan menghapus catatan harian pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.jobs:run':
'Menjalankan tugas latar belakang yang dideklarasikan sesuai jadwal (tanpa konteks pengguna — tidak dapat membaca data pengguna)',
'admin.plugins.perm.db:write:costs':
'Membuat pengeluaran (item anggaran) pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:places':
'Menambah, mengedit, dan menghapus tempat pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:days':
'Menambah, mengedit, dan menghapus hari pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:itinerary':
'Menetapkan dan menghapus tempat pada hari-hari perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:write:trips':
'Mengedit detail perjalanan (judul, tanggal, mata uang…) pada perjalanan yang dapat diedit oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:meta':
'Melampirkan data pribadinya sendiri ke perjalanan, tempat, dan hari yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.ws:broadcast:trip': 'Mengirim pembaruan real-time ke anggota perjalanan',
'admin.plugins.perm.ws:broadcast:user': 'Mengirim pembaruan real-time ke pengguna tertentu',
'admin.plugins.perm.hook:photo-provider': 'Menyediakan foto untuk Memories',
'admin.plugins.perm.hook:calendar-source': 'Menyediakan acara untuk kalender',
'admin.plugins.perm.hook:place-detail-provider':
'Menyumbangkan detail tambahan (ulasan, peringkat, tautan) untuk suatu tempat',
'admin.plugins.perm.hook:trip-warning-provider':
'Munculkan peringatan validasi pada perjalanan (ditampilkan di perencana)',
'admin.plugins.perm.hook:table-contributor':
'Menambahkan kolom dan tindakan ke tampilan perjalanan (pemesanan, tempat, hari)',
'admin.plugins.perm.hook:map-marker-provider':
'Menambahkan penanda ke peta perjalanan (mis. menampilkan pemesanan atau POI)',
'admin.plugins.perm.hook:map-layer-provider': 'Menggambar rute, koridor, dan zona di peta perjalanan',
'admin.plugins.perm.hook:route-provider':
'Menawarkan profil routing yang dapat digunakan perencana untuk menghitung rute hari (mis. routing mobil listrik dengan pemberhentian pengisian daya)',
'admin.plugins.perm.hook:day-schedule-provider':
'Melampirkan entri waktu ke rencana hari (pemberhentian pengisian daya, jeda keamanan)',
'admin.plugins.perm.hook:day-tint-provider':
'Memberi warna pada hari di rencana hari (misalnya bagian perjalanan mana yang memuat suatu hari)',
'admin.plugins.perm.geolocation:read':
'Meminta lokasi terkinimu selama salah satu tampilannya terbuka (browser-mu tetap akan meminta izin terlebih dahulu)',
'admin.plugins.perm.hook:pdf-section-provider': 'Menambahkan bagian teks ke ekspor PDF perjalanan',
'admin.plugins.perm.hook:atlas-layer-provider':
'Menyorot negara di peta dunia Atlas (mis. daftar keinginan atau peringatan perjalanan)',
'admin.plugins.perm.hook:journal-entry-provider': 'Menambahkan baris tambahan (tautan, statistik) ke entri jurnal',
'admin.plugins.perm.hook:user-data':
'Menghapus atau mengekspor data yang disimpannya tentang pengguna (GDPR: penghapusan akun & permintaan data)',
'admin.plugins.perm.hook:trip-card-provider': 'Menambahkan lencana kecil (status, jumlah) ke kartu perjalanan dasbor',
'admin.plugins.perm.hook:notification-channel': 'Mengirim notifikasi Anda melalui saluran tambahan',
'admin.plugins.perm.events:subscribe':
'Bereaksi terhadap peristiwa aktivitas inti (hanya nama peristiwa + perjalanan, tidak pernah kontennya)',
'admin.plugins.perm.http:outbound': 'Membuat permintaan keluar ke host yang telah dideklarasikannya',
'admin.plugins.perm.db:read:collab':
'Membaca catatan, jajak pendapat, dan pesan obrolan dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan (memerlukan add-on Collab)',
'admin.plugins.perm.db:read:files:content':
'Membaca isi (byte) berkas dari perjalanan yang dapat diakses oleh pengguna yang bersangkutan',
'admin.plugins.perm.db:create:trips': 'Membuat perjalanan baru milik pengguna yang bersangkutan',
'admin.plugins.perm.rates:read': 'Membaca kurs mata uang host yang di-cache',
'admin.plugins.updateConsentTitle': 'Pembaruan ini memerlukan izin baru',
'admin.plugins.updateConsentBody':
'{name} v{version} meminta hak akses yang belum kamu berikan. Versi baru sudah terpasang tetapi tetap nonaktif sampai kamu menyetujuinya.',
'admin.plugins.updateNewPermissions': 'Izin yang baru diminta',
'admin.plugins.updateNewEgress': 'Koneksi keluar baru',
'admin.plugins.updateApprove': 'Setujui & aktifkan',
'admin.plugins.updateLater': 'Biarkan nonaktif dulu',
'admin.plugins.updateKeptOff': 'Pembaruan terpasang — dibiarkan nonaktif sampai kamu menyetujui izin baru',
'admin.plugins.reviewedMeaning':
'"Ditinjau" berarti seorang maintainer TREK memindai plugin ini dari malware pada setiap versi — bukan untuk kualitas atau apakah plugin ini berfungsi. Ini bukan jaminan bahwa sebuah plugin tidak berbahaya.',
'admin.plugins.security.title': 'Bagaimana plugin dikungkung — dan batasannya',
'admin.plugins.security.isolationTitle': 'Setiap plugin berjalan dalam kotak terisolasi',
'admin.plugins.security.isolationBody':
'Sebuah plugin berjalan sebagai prosesnya sendiri yang terkunci dan hanya bisa membaca file-nya sendiri. Ia tidak bisa membaca database kamu, rahasia login kamu, atau kunci enkripsi kamu, tidak bisa menjalankan program lain, dan tidak bisa menulis file di mana pun. Antarmukanya berjalan dalam frame browser tersegel yang tidak bisa membaca cookie sesi kamu atau menyentuh halaman TREK di sekitarnya.',
'admin.plugins.security.permsTitle': 'Apa arti izin-izin ini',
'admin.plugins.security.permsBody':
'Izin yang ditampilkan sebelum kamu memasang adalah batas keras yang diberlakukan TREK selama plugin berjalan — secara harfiah plugin tidak bisa melakukan apa pun yang tidak ada dalam daftar. Namun izin itu memberitahumu apa yang bisa dilakukan sebuah plugin, bukan apa yang sebenarnya dilakukannya. Plugin yang diizinkan membaca perjalananmu dan menjangkau sebuah server bisa mengirimkan perjalananmu ke server itu, jadi baca izin dan host keluarnya, bukan hanya deskripsinya.',
'admin.plugins.security.limitsTitle': 'Apa yang tidak bisa kami janjikan',
'admin.plugins.security.limitsBody':
'Isolasi ini adalah batas perangkat lunak yang kuat, bukan batas yang mutlak. Sebuah plugin bertindak persis dengan hak yang kamu setujui, jadi dalam batas hak itu ia bisa berperilaku berbeda dari yang disiratkan deskripsinya, dan ia bisa mengirim data yang memang dimilikinya secara sah ke host yang telah dideklarasikannya. TREK tidak membaca atau menilai apa yang sebenarnya dilakukan oleh kode sebuah plugin.',
'admin.plugins.security.worstTitle': 'Skenario terburuk',
'admin.plugins.security.worstBody':
'Plugin berbahaya yang kamu aktifkan bisa menyalahgunakan data dan koneksi yang kamu berikan padanya — misalnya, membocorkan perjalanan yang boleh dibacanya. Ia tidak bisa mencuri kata sandi, memalsukan login admin, menjalankan perintah di servermu, atau menjangkau data yang tidak kamu berikan. Kerusakannya tetap dalam batas yang kamu setujui, dan menonaktifkan plugin akan menghentikannya.',
'admin.plugins.security.reviewedTitle': 'Apa arti "Ditinjau"',
'admin.plugins.security.reviewedBody':
'Plugin yang ditinjau telah dipindai secara manual dari malware oleh seorang maintainer TREK pada setiap versi — diperiksa untuk kode berbahaya, bukan untuk apakah plugin berfungsi dengan baik. Ini bukan janji bahwa plugin tidak berbahaya.',
'admin.plugins.security.signedTitle': 'Apa arti "Ditandatangani"',
'admin.plugins.security.signedBody':
'Checksum yang diverifikasi TREK pada setiap pemasangan membuktikan bahwa file-nya persis seperti yang dijamin registri. Tanda tangan membuktikan hal yang berbeda: bahwa file itu datang dari pembuatnya, ditandatangani dengan kunci yang hanya dia miliki. Plugin yang ditandatangani punya keduanya. Plugin tanpa tanda tangan bukan berarti tidak aman — ia hanya membawa satu jaminan lebih sedikit, dan sebagian besar plugin di registri saat ini memang belum ditandatangani.',
'admin.plugins.signed': 'Ditandatangani',
'admin.plugins.signedHint': 'Diverifikasi dengan kunci tanda tangan pembuatnya saat dipasang',
'admin.plugins.unsigned': 'Tanpa tanda tangan',
'admin.plugins.unsignedHint':
'File-nya cocok dengan yang dijamin registri, tetapi tidak ada yang mengaitkannya dengan pembuatnya. Satu jaminan lebih sedikit — bukan berarti tidak aman.',
'admin.plugins.updateBlocked': 'Pembaruan diblokir — {reason}',
'admin.plugins.reviewBlock': 'Tinjau',
'admin.plugins.retrusted': 'Kunci tanda tangan baru dipercaya — plugin diperbarui',
'admin.plugins.sig.title': 'Tanda tangan {name} tidak dapat diverifikasi',
'admin.plugins.sig.keyChangedBody':
'Kunci tanda tangan pembuatnya bukan kunci yang dipakai saat plugin ini dipasang. Pembuat memang kadang mengganti kunci — tetapi penyerang yang mengambil alih plugin ini akan terlihat persis seperti ini.',
'admin.plugins.sig.invalidBody':
'File-nya tidak cocok dengan tanda tangan pembuatnya. File itu bukan yang ditandatangani pembuatnya — entah rusak, entah diutak-atik. Ini tidak bisa dilewati.',
'admin.plugins.sig.missingBody':
'Plugin ini ditandatangani saat kamu memasangnya, tetapi versi barunya tidak menyertakan tanda tangan. TREK tidak akan diam-diam menerima kemunduran itu. Ini tidak bisa dilewati.',
'admin.plugins.sig.incompleteBody':
'Entri registrinya setengah ditandatangani: ia mendeklarasikan kunci pembuat tetapi versinya tidak membawa tanda tangan (atau sebaliknya). Itu kesalahan di sisi plugin. Ini tidak bisa dilewati.',
'admin.plugins.sig.pinnedKey': 'Kunci saat dipasang',
'admin.plugins.sig.newKey': 'Kunci yang ditawarkan sekarang',
'admin.plugins.sig.confirmOutOfBand':
'TREK tidak bisa membedakan pergantian kunci yang sah dari pengambilalihan — dari sini keduanya terlihat sama persis. Pastikan dulu kunci baru itu ke pembuatnya lewat saluran yang sudah kamu percaya sebelum kamu menerimanya. Setelah kamu menerimanya, plugin diperbarui dan kunci barunya diingat.',
'admin.plugins.sig.retrustConfirm': 'Percayai kunci baru & perbarui',
'admin.plugins.sig.cancel': 'Jangan percayai',
'admin.plugins.sig.consentUnsigned':
'Tidak ada yang mengaitkan versi ini dengan pembuatnya — file-nya cocok dengan registri, tetapi tidak membawa tanda tangan pembuat.',
'admin.plugins.security.trustTitle': 'Intinya',
'admin.plugins.security.trustBody':
'Memasang plugin sama seperti memasang aplikasi pihak ketiga mana pun: hanya tambahkan kode dari pembuat yang kamu percaya, dan jika ragu, periksa sendiri terlebih dahulu. TREK tidak bertanggung jawab atas plugin pihak ketiga.',
'admin.plugins.runtimeOn': 'Runtime aktif',
'admin.plugins.tabDiscover': 'Jelajahi',
'admin.plugins.searchPlaceholder': 'Cari plugin…',
'admin.plugins.filterType': 'Jenis',
'admin.plugins.filterStatus': 'Status',
'admin.plugins.sortBy': 'Urutkan',
'admin.plugins.allTypes': 'Semua jenis',
'admin.plugins.allStatuses': 'Semua',
'admin.plugins.stateOff': 'Nonaktif',
'admin.plugins.filterUpdate': 'Pembaruan tersedia',
'admin.plugins.sortName': 'Nama',
'admin.plugins.sortRecent': 'Baru diperbarui',
'admin.plugins.sortUpdates': 'Pembaruan dulu',
'admin.plugins.sortDownloads': 'Paling banyak diunduh',
'admin.plugins.updatesAvailable': '{count} pembaruan tersedia untuk plugin kamu.',
'admin.plugins.updateAll': 'Perbarui semua',
'admin.plugins.noMatchInstalled': 'Tidak ada plugin terpasang yang cocok dengan pencarianmu.',
'admin.plugins.noMatchRegistry': 'Tidak ada plugin di registri yang cocok dengan pencarianmu.',
'admin.plugins.restart': 'Mulai ulang',
'admin.plugins.restarted': 'Plugin dimulai ulang',
'admin.plugins.cap.readsTrips': 'Membaca perjalananmu',
'admin.plugins.cap.readsUsers': 'Membaca profil dasar',
'admin.plugins.cap.readsCosts': 'Membaca pengeluaranmu',
'admin.plugins.cap.readsPacking': 'Membaca daftar barang bawaan',
'admin.plugins.cap.readsFiles': 'Membaca berkas perjalanan',
'admin.plugins.cap.writesCosts': 'Menambahkan pengeluaran',
'admin.plugins.cap.writesPlaces': 'Mengedit tempat',
'admin.plugins.cap.writesDays': 'Mengedit hari',
'admin.plugins.cap.writesItinerary': 'Mengedit itinerari',
'admin.plugins.cap.writesTrips': 'Mengedit perjalanan',
'admin.plugins.cap.metadata': 'Menambahkan metadata',
'admin.plugins.cap.widget': 'Widget dasbor',
'admin.plugins.cap.heroWidget': 'Widget boarding pass',
'admin.plugins.cap.placeSlot': 'Detail tempat',
'admin.plugins.cap.daySlot': 'Detail hari',
'admin.plugins.cap.reservationSlot': 'Detail reservasi',
'admin.plugins.cap.replacesTabs': 'Menggantikan tab perencana',
'admin.plugins.cap.realtime': 'Pembaruan real-time',
'admin.plugins.cap.notificationChannel': 'Saluran notifikasi',
'admin.plugins.cap.photos': 'Menyediakan foto',
'admin.plugins.cap.calendar': 'Menyediakan acara kalender',
'admin.plugins.cap.placeDetails': 'Memperkaya tempat',
'admin.plugins.cap.warnings': 'Tandai masalah',
'admin.plugins.cap.mapLayers': 'Menggambar di peta',
'admin.plugins.cap.routing': 'Menyediakan routing',
'admin.plugins.cap.daySchedule': 'Menambahkan waktu rencana',
'admin.plugins.cap.dayTint': 'Mewarnai hari',
'admin.plugins.cap.geolocation': 'Membaca lokasimu',
'admin.plugins.cap.events': 'Bereaksi terhadap aktivitas',
'admin.plugins.cap.requiresAddon': 'Membutuhkan {addon}',
'admin.plugins.cap.dependsOn': 'Membutuhkan {id} {version}',
'admin.plugins.dep.addonDisabledToast': 'Aktifkan dulu addon yang diperlukan: {addons}',
'admin.plugins.dep.autoEnabled': 'Mengaktifkan dulu plugin yang diperlukan: {plugins}',
'admin.plugins.dep.downloaded': '{id} berhasil diunduh',
'admin.plugins.dep.resolveTitle': 'Dependensi tidak ada',
'admin.plugins.dep.resolveBody': '“{name}” membutuhkan plugin berikut terpasang sebelum dapat diaktifkan.',
'admin.plugins.dep.requires': 'Membutuhkan {version}',
'admin.plugins.dep.mismatch': 'Membutuhkan {wanted} — {installed} yang terpasang',
'admin.plugins.dep.download': 'Unduh',
'admin.plugins.dep.update': 'Perbarui',
'admin.plugins.dep.resolveHint': 'Mengunduh versi kompatibel terbaru, termasuk dependensinya sendiri.',
'admin.plugins.dep.trekIncompatible': 'Membutuhkan TREK {range} — server ini menjalankan {host}',
'admin.plugins.dep.trekUnknown': 'Tidak menyatakan versi TREK mana yang didukung',
'admin.plugins.installCompatible': 'Instal {version}',
'admin.plugins.incompatible': 'Tidak kompatibel',
'admin.plugins.accessTitle': 'Yang bisa diaksesnya',
'admin.plugins.connectsTitle': 'Terhubung ke',
'admin.plugins.detailsTitle': 'Detail',
'admin.plugins.noAccess': 'Tidak perlu akses khusus.',
'admin.plugins.metaVersion': 'Versi',
'admin.plugins.metaSize': 'Ukuran',
'admin.plugins.metaRequires': 'Memerlukan',
'admin.plugins.metaReviewed': 'Ditinjau pada',
'admin.plugins.downloads': 'Unduhan',
'admin.addons.title': 'Addon',
'admin.addons.subtitle': 'Aktifkan atau nonaktifkan fitur untuk menyesuaikan pengalaman TREK kamu.',
'admin.addons.catalog.packing.name': 'Daftar',
'admin.addons.catalog.packing.description': 'Daftar packing dan tugas to-do untuk perjalananmu',
'admin.addons.catalog.budget.name': 'Biaya',
'admin.addons.catalog.budget.description': 'Lacak pengeluaran dan rencanakan anggaran perjalananmu',
'admin.addons.catalog.documents.name': 'Dokumen',
'admin.addons.catalog.documents.description': 'Simpan dan kelola dokumen perjalanan',
'admin.addons.catalog.vacay.name': 'Vacay',
'admin.addons.catalog.vacay.description': 'Perencana liburan pribadi dengan tampilan kalender',
'admin.addons.catalog.atlas.name': 'Atlas',
'admin.addons.catalog.atlas.description': 'Peta dunia dengan negara yang pernah dikunjungi dan statistik perjalanan',
'admin.addons.catalog.collab.name': 'Collab',
'admin.addons.catalog.collab.description': 'Catatan real-time, polling, dan chat untuk perencanaan perjalanan',
'admin.addons.catalog.memories.name': 'Foto (Immich)',
'admin.addons.catalog.memories.description': 'Bagikan foto perjalanan melalui instans Immich kamu',
'admin.addons.catalog.mcp.name': 'MCP',
'admin.addons.catalog.mcp.description': 'Model Context Protocol untuk integrasi asisten AI',
'admin.addons.subtitleBefore': 'Aktifkan atau nonaktifkan fitur untuk menyesuaikan ',
'admin.addons.subtitleAfter': ' kamu.',
'admin.addons.enabled': 'Aktif',
'admin.addons.disabled': 'Nonaktif',
'admin.addons.type.trip': 'Perjalanan',
'admin.addons.type.global': 'Global',
'admin.addons.type.integration': 'Integrasi',
'admin.addons.tripHint': 'Tersedia sebagai tab di setiap perjalanan',
'admin.addons.globalHint': 'Tersedia sebagai bagian mandiri di navigasi utama',
'admin.addons.integrationHint': 'Layanan backend dan integrasi API tanpa halaman tersendiri',
'admin.addons.toast.updated': 'Addon diperbarui',
'admin.addons.toast.error': 'Gagal memperbarui addon',
'admin.addons.noAddons': 'Tidak ada addon yang tersedia',
'admin.weather.title': 'Data Cuaca',
'admin.weather.badge': 'Sejak 24 Maret 2026',
'admin.weather.description':
'TREK menggunakan Open-Meteo sebagai sumber data cuaca. Open-Meteo adalah layanan cuaca gratis dan open-source — tidak perlu kunci API.',
'admin.weather.forecast': 'Prakiraan 16 hari',
'admin.weather.forecastDesc': 'Sebelumnya 5 hari (OpenWeatherMap)',
'admin.weather.climate': 'Data iklim historis',
'admin.weather.climateDesc': 'Rata-rata dari 85 tahun terakhir untuk hari di luar prakiraan 16 hari',
'admin.weather.requests': '10.000 permintaan / hari',
'admin.weather.requestsDesc': 'Gratis, tidak perlu kunci API',
'admin.weather.locationHint':
'Cuaca didasarkan pada tempat pertama dengan koordinat di setiap hari. Jika tidak ada tempat yang ditetapkan untuk suatu hari, tempat mana pun dari daftar tempat digunakan sebagai referensi.',
'admin.tabs.mcpTokens': 'Akses MCP',
'admin.mcpTokens.title': 'Akses MCP',
'admin.mcpTokens.subtitle': 'Kelola sesi OAuth dan token API di semua pengguna',
'admin.mcpTokens.sectionTitle': 'Token API',
'admin.mcpTokens.owner': 'Pemilik',
'admin.mcpTokens.tokenName': 'Nama Token',
'admin.mcpTokens.created': 'Dibuat',
'admin.mcpTokens.lastUsed': 'Terakhir Digunakan',
'admin.mcpTokens.never': 'Tidak pernah',
'admin.mcpTokens.empty': 'Belum ada token MCP yang dibuat',
'admin.mcpTokens.deleteTitle': 'Hapus Token',
'admin.mcpTokens.deleteMessage':
'Ini akan mencabut token segera. Pengguna akan kehilangan akses MCP melalui token ini.',
'admin.mcpTokens.deleteSuccess': 'Token dihapus',
'admin.mcpTokens.deleteError': 'Gagal menghapus token',
'admin.mcpTokens.loadError': 'Gagal memuat token',
'admin.oauthSessions.sectionTitle': 'Sesi OAuth',
'admin.oauthSessions.clientName': 'Klien',
'admin.oauthSessions.owner': 'Pemilik',
'admin.oauthSessions.scopes': 'Cakupan',
'admin.oauthSessions.created': 'Dibuat',
'admin.oauthSessions.empty': 'Tidak ada sesi OAuth aktif',
'admin.oauthSessions.revokeTitle': 'Cabut Sesi',
'admin.oauthSessions.revokeMessage': 'Ini akan segera mencabut sesi OAuth. Client akan kehilangan akses MCP.',
'admin.oauthSessions.revokeSuccess': 'Sesi dicabut',
'admin.oauthSessions.revokeError': 'Gagal mencabut sesi',
'admin.oauthSessions.loadError': 'Gagal memuat sesi OAuth',
'admin.tabs.github': 'GitHub',
'admin.audit.subtitle': 'Peristiwa sensitif keamanan dan administrasi (backup, pengguna, MFA, pengaturan).',
'admin.audit.empty': 'Belum ada entri audit.',
'admin.audit.refresh': 'Segarkan',
'admin.audit.loadMore': 'Muat lebih banyak',
'admin.audit.showing': '{count} dimuat · {total} total',
'admin.audit.col.time': 'Waktu',
'admin.audit.col.user': 'Pengguna',
'admin.audit.col.action': 'Tindakan',
'admin.audit.col.resource': 'Sumber Daya',
'admin.audit.col.ip': 'IP',
'admin.audit.col.details': 'Detail',
'admin.github.title': 'Riwayat Rilis',
'admin.github.subtitle': 'Pembaruan terbaru dari {repo}',
'admin.github.latest': 'Terbaru',
'admin.github.prerelease': 'Pra-rilis',
'admin.github.showDetails': 'Tampilkan detail',
'admin.github.hideDetails': 'Sembunyikan detail',
'admin.github.loadMore': 'Muat lebih banyak',
'admin.github.loading': 'Memuat...',
'admin.github.error': 'Gagal memuat rilis',
'admin.github.by': 'oleh',
'admin.github.support': 'Bantu saya terus mengembangkan TREK',
'admin.update.available': 'Pembaruan tersedia',
'admin.update.text': 'TREK {version} tersedia. Kamu menggunakan {current}.',
'admin.update.button': 'Lihat di GitHub',
'admin.update.install': 'Pasang Pembaruan',
'admin.update.confirmTitle': 'Pasang Pembaruan?',
'admin.update.confirmText':
'TREK akan diperbarui dari {current} ke {version}. Server akan restart otomatis setelahnya.',
'admin.update.dataInfo':
'Semua datamu (perjalanan, pengguna, kunci API, unggahan, Vacay, Atlas, anggaran) akan dipertahankan.',
'admin.update.warning': 'Aplikasi akan tidak tersedia sebentar selama restart.',
'admin.update.confirm': 'Perbarui Sekarang',
'admin.update.installing': 'Memperbarui…',
'admin.update.success': 'Pembaruan terpasang! Server sedang restart…',
'admin.update.failed': 'Pembaruan gagal',
'admin.update.backupHint': 'Kami merekomendasikan membuat backup sebelum memperbarui.',
'admin.update.backupLink': 'Pergi ke Backup',
'admin.update.howTo': 'Cara Memperbarui',
'admin.update.dockerText':
'Instans TREK kamu berjalan di Docker. Untuk memperbarui ke {version}, jalankan perintah berikut di servermu:',
'admin.update.nonDockerText':
'Instans TREK ini tidak berjalan di Docker. Untuk memperbarui ke {version}, jalankan ulang metode instalasi atau pembaruan yang kamu gunakan — misalnya, pada Proxmox Community Scripts jalankan pembaruan dari konsol LXC:',
'admin.update.wikiLink': 'Buka panduan pembaruan',
'admin.update.reloadHint': 'Muat ulang halaman dalam beberapa detik.',
'admin.tabs.permissions': 'Izin',
'admin.addons.catalog.journey.name': 'Journey',
'admin.addons.catalog.journey.description': 'Pelacakan perjalanan & jurnal dengan check-in, foto, dan cerita harian',
'admin.addons.catalog.collections.name': 'Koleksi',
'admin.addons.catalog.collections.description':
'Pustaka tempat pribadi — simpan tempat lintas perjalanan ke dalam daftar bernama, salin ke perjalanan mana pun, bagikan dengan orang lain',
'admin.passkey.title': 'Login dengan passkey',
'admin.passkey.cardHint': 'Izinkan pengguna masuk dengan passkey (WebAuthn). Nonaktif secara default.',
'admin.passkey.login': 'Aktifkan login dengan passkey',
'admin.passkey.loginHint':
'Tampilkan opsi "Masuk dengan passkey" dan izinkan pengguna mendaftarkan passkey di pengaturan mereka.',
'admin.passkey.notConfigured':
'Belum ada domain WebAuthn yang terdeteksi untuk deployment ini. Atur APP_URL atau Relying Party ID di bawah — passkey tetap tersembunyi sampai itu dilakukan.',
'admin.passkey.rpId': 'Relying Party ID (domain)',
'admin.passkey.rpIdHint':
'Domain murni tempat passkey diikat, mis. trek.example.org. Kosongkan untuk mengambilnya dari APP_URL. Mengubahnya nanti akan membatalkan passkey yang sudah ada.',
'admin.passkey.origins': 'Origin yang diizinkan',
'admin.passkey.originsHint':
'Origin lengkap dipisahkan koma, mis. https://trek.example.org. Kosongkan untuk menggunakan APP_URL.',
'admin.passkey.reset': 'Reset passkey',
'admin.passkey.resetHint':
'Hapus semua passkey pengguna ini (mis. saat perangkat hilang). Mereka tetap bisa masuk dengan kata sandi mereka.',
'admin.passkey.resetConfirm': 'Hapus semua passkey untuk {name}?',
'admin.passkey.resetDone': 'Menghapus {count} passkey',
'admin.defaultSettings.mapProvider': 'Mesin peta',
'admin.defaultSettings.mapProviderHint':
'Peta default untuk semua orang di instance ini. Setiap pengguna tetap dapat menggantinya di pengaturan masing-masing.',
'admin.defaultSettings.providerLeaflet': 'Standar (gratis)',
'admin.defaultSettings.providerMapbox': 'Mapbox (3D)',
'admin.defaultSettings.providerMapLibre': 'MapLibre (OpenFreeMap)',
'admin.defaultSettings.mapboxToken': 'Token Mapbox bersama',
'admin.defaultSettings.mapboxTokenHint':
'Digunakan untuk setiap pengguna yang belum memasukkan token mereka sendiri — sehingga seluruh instance mendapatkan Mapbox tanpa perlu membagikan kunci satu per satu. Disimpan dalam bentuk terenkripsi.',
'admin.defaultSettings.mapboxStyle': 'Gaya peta',
'admin.defaultSettings.mapboxStylePlaceholder': 'Pilih gaya…',
'admin.defaultSettings.mapbox3d': 'Bangunan & medan 3D',
'admin.defaultSettings.mapboxQuality': 'Mode kualitas tinggi',
'admin.group.users': 'Users',
'admin.group.config': 'Configuration',
'admin.group.integration': 'Integrations',
'admin.group.maintenance': 'Maintenance',
'admin.invite.tripLabel': 'Tambahkan ke perjalanan (opsional)',
'admin.invite.tripNone': 'Tanpa perjalanan',
'admin.invite.tripHint': 'Pengguna baru otomatis ditambahkan ke perjalanan ini saat mereka mendaftar melalui tautan.',
'admin.invite.boundTo': 'menambahkan ke {trip}',
};
export default admin;