43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
export const DEFAULT_LANG = 'en_US'
|
|
|
|
const dict = {
|
|
// main.ts
|
|
'Starting VardKey': 0,
|
|
'Web Interface': 1,
|
|
'The web interface is ready': 2,
|
|
'The web interface is not ready': 3,
|
|
|
|
// interfaces.ts
|
|
'Web UI': 4,
|
|
'The web interface of VardKey': 5,
|
|
|
|
// actions/deleteHistory.ts
|
|
'Delete history': 6,
|
|
'Delete every saved health check, with the follow-up it closed. The key setup and the wallet software list are kept.': 7,
|
|
'I confirm that the stored history will be deleted and cannot be recovered': 8,
|
|
'History deleted': 9,
|
|
'The confirmation is required before the history can be deleted.': 10,
|
|
'The history could not be deleted.': 11,
|
|
|
|
// actions/setAdminPassword.ts
|
|
'Set Admin Password': 12,
|
|
'Generate a new admin password and show it once. Replaces any existing password.': 13,
|
|
'Admin username': 14,
|
|
'Leave blank to keep the current username, or to create the admin account when none exists.': 15,
|
|
'Use at most 60 characters.': 16,
|
|
'The admin password could not be set.': 17,
|
|
'The admin password could not be read back.': 18,
|
|
'Admin credentials': 19,
|
|
'Sign in to VardKey with these credentials. The password is shown once, so store it somewhere safe.': 20,
|
|
// A single word needs no quotes, and prettier removes them.
|
|
Username: 21,
|
|
Password: 22,
|
|
} as const
|
|
|
|
/**
|
|
* Plumbing. DO NOT EDIT.
|
|
*/
|
|
export type I18nKey = keyof typeof dict
|
|
export type LangDict = Record<(typeof dict)[I18nKey], string>
|
|
export default dict
|