26 lines
792 B
TypeScript
26 lines
792 B
TypeScript
export const DEFAULT_LANG = 'en_US'
|
|
|
|
const dict = {
|
|
// main.ts
|
|
'Starting YouTube Summarizer...': 0,
|
|
'Web Interface': 1,
|
|
'YouTube Summarizer is ready': 2,
|
|
'YouTube Summarizer is not responding': 3,
|
|
|
|
// interfaces.ts
|
|
'Web UI': 4,
|
|
'The web interface for YouTube Summarizer — browse, search, and manage your transcript library': 5,
|
|
|
|
// actions/updateYtdlp.ts
|
|
'Update yt-dlp': 6,
|
|
'Downloads the latest version of yt-dlp. Run this if YouTube downloads are failing — YouTube frequently changes its systems, requiring yt-dlp updates.': 7,
|
|
'This may take a minute. The service will continue running.': 8,
|
|
} as const
|
|
|
|
/**
|
|
* Plumbing. DO NOT EDIT.
|
|
*/
|
|
export type I18nKey = keyof typeof dict
|
|
export type LangDict = Record<(typeof dict)[I18nKey], string>
|
|
export default dict
|