fuc-new/doc/node_modules/@vuepress/plugin-git/lib/client/composables/useGitLocales.js
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

14 lines
323 B
JavaScript

import { useLocale } from '@vuepress/helper/client';
/**
* Git plugin locales
*
* Git 插件多语言配置
*/
export const locales = typeof __GIT_LOCALES__ === 'undefined' ? {} : __GIT_LOCALES__;
/**
* Git locale composable
*
* Git 多语言组合式函数
*/
export const useGitLocale = () => useLocale(locales);