dd9d53060b
- package/Makefile + s9pk.mk + package.json + tsconfig.json - startos/manifest: dockerBuild source pointing at ../image/Dockerfile - startos/main: reads /data/config.yaml reactively, passes env vars to container - startos/interfaces: binds port 9999 as HTTP UI - startos/actions: showPublicKey (read /data/ssh/id_ed25519.pub), configureSparks - TS + JS bundle compile clean (tsc --noEmit, ncc build)
25 lines
501 B
TypeScript
25 lines
501 B
TypeScript
export const DEFAULT_LANG = 'en_US'
|
|
|
|
const dict = {
|
|
// main.ts
|
|
'Starting Spark Control…': 0,
|
|
'Web Interface': 1,
|
|
'The web interface is ready': 2,
|
|
'The web interface is not ready': 3,
|
|
|
|
// interfaces.ts
|
|
'Web UI': 4,
|
|
'The Spark Control web interface': 5,
|
|
|
|
// actions
|
|
'Show Public Key': 6,
|
|
'Configure Sparks': 7,
|
|
} as const
|
|
|
|
/**
|
|
* Plumbing. DO NOT EDIT.
|
|
*/
|
|
export type I18nKey = keyof typeof dict
|
|
export type LangDict = Record<(typeof dict)[I18nKey], string>
|
|
export default dict
|