Files
PicList/src/renderer/i18n/index.ts
2025-08-06 11:19:19 +08:00

6 lines
170 B
TypeScript

import { IRPCActionType } from '@/utils/enum'
export function setCurrentLanguage (lang: string) {
window.electron.sendRPC(IRPCActionType.SET_CURRENT_LANGUAGE, lang)
}