feat: 国际化

This commit is contained in:
ex_zhangwenlei@exiot.cmcc
2024-11-19 18:12:56 +08:00
parent 1768c963eb
commit 8e6eff54f4
23 changed files with 438 additions and 101 deletions

111
src/locales/en.ts Normal file
View File

@@ -0,0 +1,111 @@
export default {
button: {
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'
},
sidebar:{
personConfiguration:'Person Configuration',
personList:'Person List',
winnerList:'Winner List',
prizeConfiguration:'Prize Configuration',
globalSetting:'Global Configuration',
viewSetting:'View Setting',
imagesManagement:'Images Management',
musicManagement:'Music Management',
operatingInstructions:'Operating Instructions'
},
viewTitle:{
personManagement:'Person Management',
winnerManagement:'Winner Management',
prizeManagement:'Prize Management',
globalSetting:'Global Setting',
operatingInstructions:'Operating Instructions'
},
table:{
// person configuration
number:'Number',
name:'Name',
prizeName:'Name',
department:'Department',
identity:'Identity',
isLucky:'Is Lucky',
operation:'Operation',
luckyPeopleNumber:'Lucky People Number',
detail:'Detail',
// prize configuration
fullParticipation:'FullParticipation',
numberParticipants:'NumberParticipants',
isDone:'is Done',
image:'Image',
onceNumber:'Once Number',
time:'Time',
// view setting
title:'Main Title',
columnNumber:'Column Number',
theme:'Theme',
language:'Language',
cardColor:'Card Color',
winnerColor:'Winner Color',
textColor:'Text Color',
cardWidth:'Card Width',
cardHeight:'Card Height',
textSize:'Text Size',
highlightColor:'HighLight Color',
patternSetting:'Pattern Setting',
alwaysDisplay:'Always Display Prize List',
},
dialog:{
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, please proceed with caution',
},
tooltip:{
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'
},
footer:{
'self-reflection':'Turn inward and examine yourself when you encounter difficulties in life.',
'thiefEasy':'Thief difficult mountain thief easily, breaking heart.'
}
}