style: 💄 格式化代码
This commit is contained in:
@@ -1,63 +1,63 @@
|
||||
export const buttonEn = {
|
||||
enterLottery: 'Enter Lottery',
|
||||
start: 'Start',
|
||||
selectLucky: 'Draw the Lucky',
|
||||
continue: 'Continue',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
setting: 'Setting',
|
||||
delete: 'Delete',
|
||||
allDelete: 'Delete All',
|
||||
downloadTemplate: 'Download Template',
|
||||
importData: 'Import Data',
|
||||
resetData: 'Reset Data',
|
||||
exportResult: 'Export Result',
|
||||
add: 'Add',
|
||||
resetDefault: 'Reset Default',
|
||||
resetAllData: 'Reset All Data',
|
||||
clearPattern: 'Clear Pattern',
|
||||
DefaultPattern: 'Default Pattern',
|
||||
upload: 'Upload',
|
||||
reset: 'Reset',
|
||||
play: 'Play',
|
||||
setLayout: 'Set Layout',
|
||||
close: 'Close',
|
||||
noInfoAndImport: 'No Info and import it',
|
||||
useDefault: 'Use Default Data',
|
||||
loading: 'Loading...',
|
||||
enterLottery: 'Enter Lottery',
|
||||
start: 'Start',
|
||||
selectLucky: 'Draw the Lucky',
|
||||
continue: 'Continue',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
setting: 'Setting',
|
||||
delete: 'Delete',
|
||||
allDelete: 'Delete All',
|
||||
downloadTemplate: 'Download Template',
|
||||
importData: 'Import Data',
|
||||
resetData: 'Reset Data',
|
||||
exportResult: 'Export Result',
|
||||
add: 'Add',
|
||||
resetDefault: 'Reset Default',
|
||||
resetAllData: 'Reset All Data',
|
||||
clearPattern: 'Clear Pattern',
|
||||
DefaultPattern: 'Default Pattern',
|
||||
upload: 'Upload',
|
||||
reset: 'Reset',
|
||||
play: 'Play',
|
||||
setLayout: 'Set Layout',
|
||||
close: 'Close',
|
||||
noInfoAndImport: 'No Info and import it',
|
||||
useDefault: 'Use Default Data',
|
||||
loading: 'Loading...',
|
||||
}
|
||||
|
||||
export const buttonZhCn = {
|
||||
enterLottery: '进入抽奖',
|
||||
start: '开始',
|
||||
selectLucky: '抽取幸运儿',
|
||||
continue: '继续',
|
||||
confirm: '确认',
|
||||
cancel: '取消',
|
||||
setting: '设置',
|
||||
delete: '删除',
|
||||
allDelete: '删除全部',
|
||||
downloadTemplate: '下载模板',
|
||||
importData: '导入数据',
|
||||
resetData: '重置数据',
|
||||
exportResult: '导出结果',
|
||||
add: '添加',
|
||||
resetDefault: '重置为默认',
|
||||
resetAllData: '重置所有数据',
|
||||
clearPattern: '清除图案',
|
||||
DefaultPattern: '默认图案',
|
||||
upload: '上传',
|
||||
reset: '重置',
|
||||
play: '播放',
|
||||
setLayout: '重设布局',
|
||||
close: '关闭',
|
||||
noInfoAndImport: '暂无人员信息,前往导入',
|
||||
useDefault: '使用默认数据',
|
||||
loading: '加载中...',
|
||||
enterLottery: '进入抽奖',
|
||||
start: '开始',
|
||||
selectLucky: '抽取幸运儿',
|
||||
continue: '继续',
|
||||
confirm: '确认',
|
||||
cancel: '取消',
|
||||
setting: '设置',
|
||||
delete: '删除',
|
||||
allDelete: '删除全部',
|
||||
downloadTemplate: '下载模板',
|
||||
importData: '导入数据',
|
||||
resetData: '重置数据',
|
||||
exportResult: '导出结果',
|
||||
add: '添加',
|
||||
resetDefault: '重置为默认',
|
||||
resetAllData: '重置所有数据',
|
||||
clearPattern: '清除图案',
|
||||
DefaultPattern: '默认图案',
|
||||
upload: '上传',
|
||||
reset: '重置',
|
||||
play: '播放',
|
||||
setLayout: '重设布局',
|
||||
close: '关闭',
|
||||
noInfoAndImport: '暂无人员信息,前往导入',
|
||||
useDefault: '使用默认数据',
|
||||
loading: '加载中...',
|
||||
}
|
||||
|
||||
// 导出一个值
|
||||
export const button = {
|
||||
en: buttonEn,
|
||||
zhCn: buttonZhCn,
|
||||
en: buttonEn,
|
||||
zhCn: buttonZhCn,
|
||||
}
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
export const dialogEn = {
|
||||
titleTip: 'Tip!',
|
||||
titleTemporary: 'Add Temporary Activity',
|
||||
dialogPCWeb: 'Please use a PC browser to access for optimal display performance',
|
||||
dialogDelAllPerson: 'This operation will delete all personnel list data. Do you want to continue?',
|
||||
dialogResetWinner: 'This operation will clear the winning information of personnel. Do you want to continue?',
|
||||
dialogResetAllData: 'This operation will reset all data. Do you want to continue?',
|
||||
dialogSingleDrawLimit: 'Only 10 characters can be extracted in a single draw',
|
||||
dialogLatestBrowser: 'Please use the latest version of Chrome or Edge browser',
|
||||
tipResetPrize: 'Performing operations may reset data and cant recover, please proceed with caution',
|
||||
uploadFileTitle: 'Upload File',
|
||||
uploadImageTitle: 'Upload Image',
|
||||
uploadAudioTitle: 'Upload Audio',
|
||||
titleTip: 'Tip!',
|
||||
titleTemporary: 'Add Temporary Activity',
|
||||
dialogPCWeb: 'Please use a PC browser to access for optimal display performance',
|
||||
dialogDelAllPerson: 'This operation will delete all personnel list data. Do you want to continue?',
|
||||
dialogResetWinner: 'This operation will clear the winning information of personnel. Do you want to continue?',
|
||||
dialogResetAllData: 'This operation will reset all data. Do you want to continue?',
|
||||
dialogSingleDrawLimit: 'Only 10 characters can be extracted in a single draw',
|
||||
dialogLatestBrowser: 'Please use the latest version of Chrome or Edge browser',
|
||||
tipResetPrize: 'Performing operations may reset data and cant recover, please proceed with caution',
|
||||
uploadFileTitle: 'Upload File',
|
||||
uploadImageTitle: 'Upload Image',
|
||||
uploadAudioTitle: 'Upload Audio',
|
||||
}
|
||||
|
||||
export const dialogZhCn = {
|
||||
titleTip: '提示!',
|
||||
titleTemporary: '增加临时抽奖',
|
||||
dialogPCWeb: '请使用PC进行访问以获得最佳显示效果',
|
||||
dialogDelAllPerson: '该操作会删除所有人员数据,是否继续?',
|
||||
dialogResetWinner: '该操作会清空人员中奖信息,是否继续?',
|
||||
dialogResetAllData: '该操作会重置所有数据,是否继续?',
|
||||
dialogSingleDrawLimit: '单次抽取只能抽取10位',
|
||||
dialogLatestBrowser: '请使用最新版Chrome或者Edge浏览器',
|
||||
tipResetPrize: '进行操作可能会重置数据并不可恢复,请谨慎操作',
|
||||
uploadFileTitle: '上传文件',
|
||||
uploadImageTitle: '上传图片',
|
||||
uploadAudioTitle: '上传音频',
|
||||
titleTip: '提示!',
|
||||
titleTemporary: '增加临时抽奖',
|
||||
dialogPCWeb: '请使用PC进行访问以获得最佳显示效果',
|
||||
dialogDelAllPerson: '该操作会删除所有人员数据,是否继续?',
|
||||
dialogResetWinner: '该操作会清空人员中奖信息,是否继续?',
|
||||
dialogResetAllData: '该操作会重置所有数据,是否继续?',
|
||||
dialogSingleDrawLimit: '单次抽取只能抽取10位',
|
||||
dialogLatestBrowser: '请使用最新版Chrome或者Edge浏览器',
|
||||
tipResetPrize: '进行操作可能会重置数据并不可恢复,请谨慎操作',
|
||||
uploadFileTitle: '上传文件',
|
||||
uploadImageTitle: '上传图片',
|
||||
uploadAudioTitle: '上传音频',
|
||||
}
|
||||
|
||||
export const dialog = {
|
||||
en: dialogEn,
|
||||
zhCn: dialogZhCn,
|
||||
en: dialogEn,
|
||||
zhCn: dialogZhCn,
|
||||
}
|
||||
|
||||
@@ -1,60 +1,58 @@
|
||||
import { success } from 'zod'
|
||||
|
||||
export const errorEn = {
|
||||
require: 'required field',
|
||||
requireNumber: 'please enter a number',
|
||||
minNumber1: 'the minimum is 1',
|
||||
maxNumber100: 'the maximum is 100',
|
||||
uploadSuccess: 'Upload Success',
|
||||
uploadFail: 'Upload Failed',
|
||||
notImage: 'Not Image',
|
||||
personIsAllDone: 'All Person Is Done',
|
||||
personNotEnough: 'Person Is Not Enough',
|
||||
startDraw: 'Now Draw {count} {leftover} people',
|
||||
completeInformation: 'Please provide complete information',
|
||||
notJsonFile: 'it isn\'t a JSON file',
|
||||
notAudioFile: 'it isn\'t an audio file',
|
||||
personNameEmpty: 'Please enter name',
|
||||
excelFileError: 'The header is inconsistent, please download the template, modify it, and then upload it',
|
||||
exportSuccess: 'Export Success',
|
||||
exportFail: 'Export Failed',
|
||||
importSuccess: 'Import Success',
|
||||
importFail: 'Import Failed',
|
||||
downloadSuccess: '下载成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteFail: '删除失败',
|
||||
success: 'Success',
|
||||
fail: 'Failed',
|
||||
require: 'required field',
|
||||
requireNumber: 'please enter a number',
|
||||
minNumber1: 'the minimum is 1',
|
||||
maxNumber100: 'the maximum is 100',
|
||||
uploadSuccess: 'Upload Success',
|
||||
uploadFail: 'Upload Failed',
|
||||
notImage: 'Not Image',
|
||||
personIsAllDone: 'All Person Is Done',
|
||||
personNotEnough: 'Person Is Not Enough',
|
||||
startDraw: 'Now Draw {count} {leftover} people',
|
||||
completeInformation: 'Please provide complete information',
|
||||
notJsonFile: 'it isn\'t a JSON file',
|
||||
notAudioFile: 'it isn\'t an audio file',
|
||||
personNameEmpty: 'Please enter name',
|
||||
excelFileError: 'The header is inconsistent, please download the template, modify it, and then upload it',
|
||||
exportSuccess: 'Export Success',
|
||||
exportFail: 'Export Failed',
|
||||
importSuccess: 'Import Success',
|
||||
importFail: 'Import Failed',
|
||||
downloadSuccess: '下载成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteFail: '删除失败',
|
||||
success: 'Success',
|
||||
fail: 'Failed',
|
||||
}
|
||||
|
||||
export const errorZhCn = {
|
||||
require: '必填项',
|
||||
requireNumber: '请输入数字',
|
||||
minNumber1: '最小为1',
|
||||
maxNumber100: '最大为100',
|
||||
uploadSuccess: '上传成功',
|
||||
uploadFail: '上传失败',
|
||||
notImage: '不是图片',
|
||||
personIsAllDone: '抽奖抽完了',
|
||||
personNotEnough: '抽奖人数不足',
|
||||
startDraw: '现在抽取{count}{leftover}人',
|
||||
completeInformation: '请填写完整信息',
|
||||
notJsonFile: '这不是一个JSON文件',
|
||||
notAudioFile: '这不是一个音频文件',
|
||||
personNameEmpty: '请填写姓名',
|
||||
excelFileError: '表头不一致,请先下载模板然后修改后再上传',
|
||||
exportSuccess: '导出成功',
|
||||
exportFail: '导出失败',
|
||||
importSuccess: '导入成功',
|
||||
importFail: '导入失败',
|
||||
downloadSuccess: '下载成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteFail: '删除失败',
|
||||
success: '成功',
|
||||
fail: '失败',
|
||||
require: '必填项',
|
||||
requireNumber: '请输入数字',
|
||||
minNumber1: '最小为1',
|
||||
maxNumber100: '最大为100',
|
||||
uploadSuccess: '上传成功',
|
||||
uploadFail: '上传失败',
|
||||
notImage: '不是图片',
|
||||
personIsAllDone: '抽奖抽完了',
|
||||
personNotEnough: '抽奖人数不足',
|
||||
startDraw: '现在抽取{count}{leftover}人',
|
||||
completeInformation: '请填写完整信息',
|
||||
notJsonFile: '这不是一个JSON文件',
|
||||
notAudioFile: '这不是一个音频文件',
|
||||
personNameEmpty: '请填写姓名',
|
||||
excelFileError: '表头不一致,请先下载模板然后修改后再上传',
|
||||
exportSuccess: '导出成功',
|
||||
exportFail: '导出失败',
|
||||
importSuccess: '导入成功',
|
||||
importFail: '导入失败',
|
||||
downloadSuccess: '下载成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteFail: '删除失败',
|
||||
success: '成功',
|
||||
fail: '失败',
|
||||
}
|
||||
|
||||
export const error = {
|
||||
en: errorEn,
|
||||
zhCn: errorZhCn,
|
||||
en: errorEn,
|
||||
zhCn: errorZhCn,
|
||||
}
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
export const placeHolderEn = {
|
||||
enterTitle: 'Enter Title',
|
||||
name: 'Name',
|
||||
winnerCount: 'Lucky Person Count',
|
||||
selectFont: 'Select Font',
|
||||
timedStop: 'will stop at a scheduled time after starting',
|
||||
imageName: 'Image Name',
|
||||
personName: 'Please enter name',
|
||||
enterTitle: 'Enter Title',
|
||||
name: 'Name',
|
||||
winnerCount: 'Lucky Person Count',
|
||||
selectFont: 'Select Font',
|
||||
timedStop: 'will stop at a scheduled time after starting',
|
||||
imageName: 'Image Name',
|
||||
personName: 'Please enter name',
|
||||
}
|
||||
|
||||
export const placeHolderZhCn = {
|
||||
enterTitle: '输入标题',
|
||||
name: '名称',
|
||||
winnerCount: '中奖人数',
|
||||
selectFont: '选择字体',
|
||||
timedStop: '开始后定时抽取',
|
||||
imageName: '图片名称',
|
||||
personName: '请填写姓名',
|
||||
enterTitle: '输入标题',
|
||||
name: '名称',
|
||||
winnerCount: '中奖人数',
|
||||
selectFont: '选择字体',
|
||||
timedStop: '开始后定时抽取',
|
||||
imageName: '图片名称',
|
||||
personName: '请填写姓名',
|
||||
}
|
||||
|
||||
export const placeHolder = {
|
||||
en: placeHolderEn,
|
||||
zhCn: placeHolderZhCn,
|
||||
en: placeHolderEn,
|
||||
zhCn: placeHolderZhCn,
|
||||
}
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
export const tooltipEn = {
|
||||
settingConfiguration: 'Setting/Configuration',
|
||||
nextSong: 'Right Click to Next Song',
|
||||
noSongPlay: 'No Song to Play',
|
||||
prizeList: 'Prize List',
|
||||
addActivity: 'Add Activity',
|
||||
downloadTemplateTip: 'After downloading the file, please fill in the data in Excel and save it in xlsx format',
|
||||
uploadExcelTip: 'Upload the modified Excel file',
|
||||
leftClick: 'Left Click to Slice',
|
||||
toHome: 'to Home',
|
||||
resetLayout: 'This item is time-consuming and performance intensive',
|
||||
defaultLayout: 'The default pattern setting is valid for 17 columns, please set the number of other columns yourself',
|
||||
doneCount: 'Number of winners',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
timedStop: 'After the lottery begins, it will stop at a scheduled time by default, set to 0, with the unit in seconds. A value of 0 disables the scheduled stopping function',
|
||||
uploadImage: 'Upload Image',
|
||||
pleaseGoto: 'Please go to',
|
||||
settingConfiguration: 'Setting/Configuration',
|
||||
nextSong: 'Right Click to Next Song',
|
||||
noSongPlay: 'No Song to Play',
|
||||
prizeList: 'Prize List',
|
||||
addActivity: 'Add Activity',
|
||||
downloadTemplateTip: 'After downloading the file, please fill in the data in Excel and save it in xlsx format',
|
||||
uploadExcelTip: 'Upload the modified Excel file',
|
||||
leftClick: 'Left Click to Slice',
|
||||
toHome: 'to Home',
|
||||
resetLayout: 'This item is time-consuming and performance intensive',
|
||||
defaultLayout: 'The default pattern setting is valid for 17 columns, please set the number of other columns yourself',
|
||||
doneCount: 'Number of winners',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
timedStop: 'After the lottery begins, it will stop at a scheduled time by default, set to 0, with the unit in seconds. A value of 0 disables the scheduled stopping function',
|
||||
uploadImage: 'Upload Image',
|
||||
pleaseGoto: 'Please go to',
|
||||
}
|
||||
|
||||
export const tooltipZhCn = {
|
||||
settingConfiguration: '设置/配置',
|
||||
nextSong: '右键点击下一首',
|
||||
noSongPlay: '没有音乐可以播放',
|
||||
prizeList: '奖项列表',
|
||||
addActivity: '添加抽奖',
|
||||
downloadTemplateTip: '下载文件后,请在excel中填写数据,并保存为xlsx格式',
|
||||
uploadExcelTip: '上传修改好的excel文件',
|
||||
leftClick: '左键切割',
|
||||
toHome: '主页',
|
||||
resetLayout: '该项比较耗费时间和性能',
|
||||
defaultLayout: '默认图案设置针对17列时有效,其他列数请自行设置',
|
||||
doneCount: '已抽取',
|
||||
edit: '编辑',
|
||||
delete: '删除',
|
||||
timedStop: '开始抽奖过后定时停止,默认为0,单位为秒,0为关闭定时停止功能',
|
||||
uploadImage: '上传图片',
|
||||
pleaseGoto: '请先前往',
|
||||
settingConfiguration: '设置/配置',
|
||||
nextSong: '右键点击下一首',
|
||||
noSongPlay: '没有音乐可以播放',
|
||||
prizeList: '奖项列表',
|
||||
addActivity: '添加抽奖',
|
||||
downloadTemplateTip: '下载文件后,请在excel中填写数据,并保存为xlsx格式',
|
||||
uploadExcelTip: '上传修改好的excel文件',
|
||||
leftClick: '左键切割',
|
||||
toHome: '主页',
|
||||
resetLayout: '该项比较耗费时间和性能',
|
||||
defaultLayout: '默认图案设置针对17列时有效,其他列数请自行设置',
|
||||
doneCount: '已抽取',
|
||||
edit: '编辑',
|
||||
delete: '删除',
|
||||
timedStop: '开始抽奖过后定时停止,默认为0,单位为秒,0为关闭定时停止功能',
|
||||
uploadImage: '上传图片',
|
||||
pleaseGoto: '请先前往',
|
||||
}
|
||||
|
||||
export const tooltip = {
|
||||
en: tooltipEn,
|
||||
zhCn: tooltipZhCn,
|
||||
en: tooltipEn,
|
||||
zhCn: tooltipZhCn,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user