MCPcopy
hub / github.com/ranuts/document / I18nMessages

Interface I18nMessages

lib/i18n.ts:31–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29export type Language = LanguageCode.ZH | LanguageCode.EN;
30
31export interface I18nMessages {
32 // UI text
33 webOffice: string;
34 uploadDocument: string;
35 newWord: string;
36 newExcel: string;
37 newPowerPoint: string;
38 menu: string;
39 menuGuide: string;
40
41 // Messages
42 fileSavedSuccess: string;
43 documentLoaded: string;
44
45 // Error messages
46 failedToLoadEditor: string;
47 unsupportedFileType: string;
48 invalidFileObject: string;
49 documentOperationFailed: string;
50}
51
52const messages: Record<Language, I18nMessages> = {
53 [LanguageCode.ZH]: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected