Add StartOS 0.4.0 packaging

This commit is contained in:
MacPro
2026-04-09 15:03:31 -05:00
commit 68ec875ee7
2057 changed files with 490924 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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
@@ -0,0 +1,4 @@
import { LangDict } from './default'
// English-only for now. Add translations here as needed.
export default {} satisfies Record<string, LangDict>
+8
View File
@@ -0,0 +1,8 @@
/**
* Plumbing. DO NOT EDIT this file.
*/
import { setupI18n } from '@start9labs/start-sdk'
import defaultDict, { DEFAULT_LANG } from './dictionaries/default'
import translations from './dictionaries/translations'
export const i18n = setupI18n(defaultDict, translations, DEFAULT_LANG)