forked from
npmx.dev/npmx.dev
[READ-ONLY]
a fast, modern browser for the npm registry
1/**
2 * Translation status data generated by Lunaria build
3 */
4export interface I18nStatus {
5 /** ISO timestamp when this status was generated */
6 generatedAt: string
7 /** The source locale (English) */
8 sourceLocale: {
9 lang: string
10 label: string
11 }
12 /** Status for each target locale */
13 locales: I18nLocaleStatus[]
14}
15
16export interface I18nLocaleStatus {
17 /** Locale code (e.g., 'fr', 'zh-CN') */
18 lang: string
19 /** Display name (e.g., 'Français') */
20 label: string
21 /** Total number of translation keys */
22 totalKeys: number
23 /** Number of completed translations */
24 completedKeys: number
25 /** List of missing key paths (dot notation) */
26 missingKeys: string[]
27 /** Completion percentage (0-100) */
28 percentComplete: number
29 /** GitHub URL to edit this locale file */
30 githubEditUrl: string
31 /** GitHub URL to view history of this locale file */
32 githubHistoryUrl: string
33}