mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-31 09:19:36 +08:00
@@ -88,6 +88,7 @@ export const EN: ILocales = {
|
||||
SETTINGS_TIPS_HAS_NEW_VERSION: 'PicGo has a new version, please click confirm to open download page',
|
||||
SETTINGS_LOG_FILE: 'Log File',
|
||||
SETTINGS_LOG_LEVEL: 'Log Level',
|
||||
SETTINGS_LOG_FILE_SIZE: 'Log File Size',
|
||||
SETTINGS_SET_PICGO_SERVER: 'Set PicGo Server',
|
||||
SETTINGS_TIPS_SERVER_NOTICE: 'If you don\'t know what is the server\'s function, please read the document, or don\'t modify the configuration.',
|
||||
SETTINGS_ENABLE_SERVER: 'Enable Server',
|
||||
|
||||
@@ -87,6 +87,7 @@ export const ZH_CN = {
|
||||
SETTINGS_TIPS_HAS_NEW_VERSION: 'PicGo更新啦,请点击确定打开下载页面',
|
||||
SETTINGS_LOG_FILE: '日志文件',
|
||||
SETTINGS_LOG_LEVEL: '日志记录等级',
|
||||
SETTINGS_LOG_FILE_SIZE: '日志文件大小',
|
||||
SETTINGS_SET_PICGO_SERVER: '设置PicGo-Server',
|
||||
SETTINGS_TIPS_SERVER_NOTICE: '如果你不知道Server的作用,请阅读文档,或者不用修改配置。',
|
||||
SETTINGS_ENABLE_SERVER: '是否开启Server',
|
||||
|
||||
1
src/universal/types/view.d.ts
vendored
1
src/universal/types/view.d.ts
vendored
@@ -11,6 +11,7 @@ interface ISettingForm {
|
||||
checkBetaUpdate: boolean
|
||||
useBuiltinClipboard: boolean
|
||||
language: string
|
||||
logFileSizeLimit: number
|
||||
}
|
||||
|
||||
interface IShortKeyMap {
|
||||
|
||||
@@ -37,3 +37,7 @@ export const handleStreamlinePluginName = (name: string) => {
|
||||
export const simpleClone = (obj: any) => {
|
||||
return JSON.parse(JSON.stringify(obj))
|
||||
}
|
||||
|
||||
export const enforceNumber = (num: number | string) => {
|
||||
return isNaN(Number(num)) ? 0 : Number(num)
|
||||
}
|
||||
|
||||
1
src/universal/utils/static.ts
Normal file
1
src/universal/utils/static.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const CLIPBOARD_IMAGE_FOLDER = 'picgo-clipboard-images'
|
||||
Reference in New Issue
Block a user