Files
spacesops-startos/startos/i18n/dictionaries/default.ts
T
spacesopsandClaude Opus 4.7 147f51d710 Rename SUBSD_* env vars to SUBS_* to match upstream refactor
The upstream SpacesOps app refactored its SUBSD_* environment variables to
SUBS_* (verified against server.js in spacesops/spacesops:v1.0.0). Update the
package to match so the configured values reach the app:

- main.ts: inject SUBS_URI_VALUE / SUBS_RPC_USER / SUBS_RPC_PASSWORD.
- configurePlatform action + storeJson: rename store keys subsd*→subs* and the
  field labels/descriptions (SUBS URL / SUBS RPC User / SUBS RPC Password).
- README, instructions, release notes: SUBSD→SUBS.

Note: the image's /app/setup-spacesops-env.sh still exports SUBSD_* defaults
(partial upstream refactor) — see report; vars the package does not set (e.g.
SUBS_RPC_URL) currently have no in-image default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 12:19:51 -04:00

61 lines
3.2 KiB
TypeScript

export const DEFAULT_LANG = 'en_US'
const dict = {
'Operator Nostr Relay': 0,
'The Nostr relay SpacesOps publishes operator events to (OPERATOR_RELAY).': 1,
'Platform Mode': 2,
'Sets PLATFORM_MODE. Only changes the UI theme color; "test" does not change behavior.': 3,
'CoinGecko API Key': 4,
'Optional CoinGecko API key (COINGECKO_API_KEY) used for pricing features. Leave blank to disable pricing.': 5,
'CoinGecko Token Coins': 6,
'The CoinGecko coin id(s) to price against (COINGECKO_TOKEN_COINS).': 7,
'SUBS URL': 8,
'Optional SUBS service URL (SUBS_URI_VALUE) for the subname-purchase flow. Leave blank to disable.': 9,
'SUBS RPC User': 10,
'Optional SUBS RPC username (SUBS_RPC_USER).': 11,
'SUBS RPC Password': 12,
'Optional SUBS RPC password (SUBS_RPC_PASSWORD).': 13,
'Configure Platform': 14,
'Set optional SpacesOps settings: Nostr relay, theme mode, CoinGecko pricing, and SUBS backend. Saving restarts the service so the new settings take effect.': 15,
Success: 16,
'Platform configuration saved. The service is restarting to apply the new settings.': 17,
'Operator Secret Key (hex)': 18,
'A 64-character hex-encoded secp256k1 / Nostr secret key. The public key is derived automatically.': 19,
'Must be exactly 64 hexadecimal characters.': 20,
'Import Operator Key': 21,
'Replace the operator keypair with one you provide (hex secret key).': 22,
'This changes the operator identity SpacesOps signs events with. Events already published under the old key stay under it. The service restarts to apply the new key.': 23,
Failure: 24,
'The secret key must be exactly 64 hexadecimal characters.': 25,
'Could not derive a public key from that secret: ${error}': 26,
'Operator key imported. The service is restarting to apply the new identity.': 27,
'Show Admin Credentials': 28,
'Display the built-in admin username and password for the SpacesOps admin area.': 29,
'Admin Credentials': 30,
'WARNING: these are FIXED, well-known credentials baked into the image and cannot be changed without rebuilding it. The admin area can run SQL and manage tenants. Keep this service private (Tor-only) and never expose the admin routes to the public internet.': 31,
Username: 32,
Password: 33,
'Show Operator Credentials': 34,
'Display the Nostr operator keypair SpacesOps signs events with (npub, nsec, and hex public key).': 35,
'Operator Credentials': 36,
'The operator keypair has not been generated yet. Start the service once to generate it.': 37,
'SpacesOps signs operator events on Nostr with this keypair. Keep the secret (nsec / hex) private.': 38,
'Public Key (npub)': 39,
'Public Key (hex)': 40,
'Secret Key (nsec)': 41,
'Secret Key (hex)': 42,
'Web UI': 43,
'SpacesOps web platform for space ownership confirmation and subspace-name purchases. The app provides its own login; the admin area uses a fixed built-in credential — see "Show Admin Credentials".': 44,
'Starting SpacesOps!': 45,
'Web Interface': 46,
'The web interface is ready': 47,
'The web interface is not ready': 48,
} as const
/**
* Plumbing. DO NOT EDIT.
*/
export type I18nKey = keyof typeof dict
export type LangDict = Record<(typeof dict)[I18nKey], string>
export default dict