feat(i18n): implement internationalization framework and update UI components for language support
This commit is contained in:
@@ -15,13 +15,7 @@ const defaultSchedule: PromptSourceSchedule = {
|
||||
lastFetchedAt: "",
|
||||
};
|
||||
|
||||
export const PROMPT_SOURCE_INTERVAL_OPTIONS = [
|
||||
{ label: "关闭定时", value: 0 },
|
||||
{ label: "每 30 分钟", value: 30 },
|
||||
{ label: "每 1 小时", value: 60 },
|
||||
{ label: "每 6 小时", value: 360 },
|
||||
{ label: "每 24 小时", value: 1440 },
|
||||
];
|
||||
export const PROMPT_SOURCE_INTERVALS = [0, 30, 60, 360, 1440];
|
||||
|
||||
type PromptSourceStore = {
|
||||
sources: PromptSource[];
|
||||
|
||||
Reference in New Issue
Block a user