Files
spaces-startos/startos/i18n/dictionaries/default.ts
T
spacesops e41ff31221
Build Service / BuildPackage (push) Has been cancelled
Added optional Explorer/Indexer
2026-05-20 15:43:38 -04:00

141 lines
6.6 KiB
TypeScript

export const DEFAULT_LANG = 'en_US'
const dict = {
// main.ts
'Starting Spaces!': 0,
'Web Interface': 1,
'The web terminal is ready': 2,
'The web terminal is not ready': 3,
'Spaced RPC': 4,
'spaced RPC is ready': 5,
'spaced RPC is not ready': 6,
'Spaced Sync': 7,
'spaced is querying Bitcoin and indexing — this can take a while on first run.':
8,
'spaced is fully synced (blocks ${blocks} / headers ${headers}).': 9,
'spaced is indexing: ${pct}% (blocks ${blocks} / headers ${headers}).': 10,
'getserverinfo non-JSON. stdout=${stdout} stderr=${stderr}': 11,
'Spaced Sync health check crashed: ${error}': 53,
'space-cli exited ${code}: ${error}': 54,
'Show Space-CLI Web UI Password': 55,
'Display the existing username and password for the Spaces web terminal.':
56,
Database: 57,
'postgres is ready': 58,
'postgres is not ready': 59,
'Show Database Credentials': 60,
'Display the PostgreSQL username, password, database, and connection URL.':
61,
'Reset Database State': 62,
'Wipe /data/postgres so PostgreSQL re-initializes from scratch.': 63,
'This deletes all PostgreSQL data on disk. The next start will re-create an empty database. store.json (passwords + RPC credentials) is preserved.':
64,
'PostgreSQL data has been wiped. Start (or restart) the service to re-initialize the database.':
65,
'Could not wipe PostgreSQL state: ${error}': 66,
'Use these credentials to connect to the Spaces PostgreSQL database (loopback only inside the container).':
67,
'Connection URL': 68,
'Indexer Process': 69,
'indexer process is running': 70,
'Indexer Sync': 71,
'indexer psql exited ${code}: ${error}': 72,
'indexer has not run a sync cycle yet.': 73,
'indexer has not yet committed any blocks (spaced tip ${tip}).': 74,
'indexer caught up at block ${end} (spaced tip ${tip}).': 76,
'indexer at block ${end}, ${lag} behind spaced tip ${tip}.': 77,
'Indexer Sync health check crashed: ${error}': 78,
'Reset Indexer State': 79,
'Wipe /data/explorer-indexer so the next start re-fetches the indexer source and rebuilds the sync + goose binaries.':
80,
'This deletes the cached indexer source and compiled binaries. The next start will need internet access to re-download from GitHub and to fetch Go modules. PostgreSQL data (the indexed blocks themselves) is preserved — use Reset Database State if you also want to clear that.':
81,
'Indexer cache has been wiped. Start (or restart) the service to re-fetch and rebuild from GitHub.':
82,
'Could not wipe indexer state: ${error}': 83,
'Enable Embedded Explorer': 84,
'Turn on the embedded PostgreSQL + Go indexer. Spaces protocol data (blocks, transactions, spaces, rollouts) will be indexed locally for use by the future explorer web UI. Service restarts automatically.':
85,
'Embedded explorer enabled. The service is restarting; the indexer will begin fetching blocks shortly. First-time start can take several minutes for the Go build.':
86,
'Disable Embedded Explorer': 87,
'Stop the embedded PostgreSQL + Go indexer. Indexed data on disk (/data/postgres, /data/explorer-indexer) is preserved and will be reused if the explorer is re-enabled later. Service restarts automatically.':
88,
'Embedded explorer disabled. The service is restarting in spaces-only mode (spaced + web terminal). Run "Enable Embedded Explorer" to turn it back on.':
89,
'Explorer Web UI': 90,
'explorer UI is ready': 91,
'explorer UI is not ready': 92,
'SvelteKit explorer for the Spaces protocol. Reads from the embedded PostgreSQL populated by the indexer. Only useful while the embedded explorer is enabled.':
93,
'Reset Explorer UI State': 94,
'Wipe /data/explorer-ui so the next start re-fetches the explorer source and rebuilds it from scratch.':
95,
'This deletes the cached explorer source and the built SvelteKit bundle. The next start will need internet access to re-download from GitHub and to fetch npm dependencies. PostgreSQL data is preserved.':
96,
'Explorer cache has been wiped. Start (or restart) the service to re-fetch and rebuild from GitHub.':
97,
'Could not wipe explorer state: ${error}': 98,
// interfaces.ts
'Space-CLI Web UI': 12,
'Browser terminal that exposes space-cli inside the Spaces container.': 13,
// dependencies.ts / tasks
'Spaces needs RPC credentials in Bitcoin': 14,
'Spaces needs an admin password for the web terminal': 15,
// actions
'Reset Space-CLI Web UI Password': 16,
'Generate a new admin password for the Spaces web terminal': 17,
'Show Space-CLI Web UI Credentials': 18,
'Display the username and password for the Spaces web terminal': 19,
'Set up Bitcoin RPC': 20,
'Re-run the bitcoind RPC credential setup for Spaces': 21,
'Sync Status': 22,
"Query spaced's getserverinfo RPC and report sync progress": 23,
Username: 24,
Password: 25,
Success: 26,
Failure: 27,
'Bitcoin RPC credentials have been re-sent to bitcoind.': 28,
'Could not call bitcoind. Is Bitcoin installed and running?': 29,
'Could not query spaced. Is the service running?': 30,
'Use these credentials to log in to the Spaces web terminal.': 31,
// manifest description fields
'Sovereign Bitcoin identities.': 32,
// misc
'Configure your Spaces web terminal password': 33,
'Reset Spaced State': 34,
"Wipe /data/mainnet/ so spaced resyncs its index from spaces' anchor.": 35,
"This deletes spaced's on-disk index. The next start will resync from spaces' anchor and can take a while. store.json (passwords + RPC credentials) is preserved.":
36,
'Spaced state has been wiped. Start (or restart) the service to resync.': 37,
'Could not wipe spaced state: ${error}': 38,
'Export Wallet': 39,
"Export the `default` spaces wallet to /data/mainnet/wallets_backup/default.json and surface the JSON below.":
40,
'Could not export wallet: ${error}': 41,
'Wallet exported.': 42,
'Wallet JSON': 43,
'A copy of this JSON is saved inside the container at /data/mainnet/wallets_backup/default.json.':
44,
'Import Wallet': 45,
'Restore a previously-exported default.json wallet into spaced.': 46,
'Existing /data/mainnet/wallets_backup/default.json and /data/mainnet/wallets/default will be renamed with .bakNNN suffixes before the import. The active spaced daemon will load the imported wallet on success.':
47,
'Paste the JSON contents of a default.json wallet export.': 48,
'Could not parse wallet JSON: ${error}': 49,
'Wallet imported and loaded.': 50,
'Could not import wallet: ${error}': 51,
} as const
/**
* Plumbing. DO NOT EDIT.
*/
export type I18nKey = keyof typeof dict
export type LangDict = Record<(typeof dict)[I18nKey], string>
export default dict