Files
FastapiAdmin/frontend/src/lang/package/en.ts
T
2025-07-13 19:31:23 +08:00

206 lines
6.1 KiB
TypeScript

export default {
// Common section
common: {
confirm: "Confirm",
cancel: "Cancel",
reset: "Reset",
save: "Save",
edit: "Edit",
delete: "Delete",
add: "Add",
export: "Export",
import: "Import",
query: "Query",
resetQuery: "Reset Query",
back: "Back",
close: "Close",
refresh: "Refresh",
inputText: 'Please enter',
selectText: 'Please select',
startTimeText: 'Start Time',
endTimeText: 'End Time',
login: 'Login',
required: 'This field is required',
loginOut: 'Logout',
document: 'Project Documentation',
reminder: 'Reminder',
loginOutMessage: 'Are you sure you want to log out?',
ok: 'OK',
reload: 'Reload',
closeTab: 'Close Tab',
closeTheLeftTab: 'Close Left Tabs',
closeTheRightTab: 'Close Right Tabs',
closeOther: 'Close Other Tabs',
closeAll: 'Close All Tabs',
prevLabel: 'Previous',
nextLabel: 'Next',
skipLabel: 'Skip',
doneLabel: 'Done',
menu: 'Menu',
menuDes: 'Menu rendered based on route structure',
collapse: 'Collapse/Expand',
collapseDes: 'Expand and collapse the menu bar',
tagsView: 'Tags View',
tagsViewDes: 'Used to record route history',
tool: 'Tool',
toolDes: 'Used to customize system settings',
shrink: 'Collapse',
expand: 'Expand',
delMessage: 'Delete selected data?',
delWarning: 'Warning',
delOk: 'OK',
delCancel: 'Cancel',
delNoData: 'Please select data to delete',
delSuccess: 'Deleted successfully',
fullscreen: 'Fullscreen',
size: 'Size',
columnSetting: 'Column Settings',
lengthRange: 'Length must be between {min} and {max} characters',
notSpace: 'Cannot contain spaces',
notSpecialCharacters: 'Cannot contain special characters',
isEqual: 'The two inputs are inconsistent',
setting: 'Settings',
copySuccess: 'Copy successfully',
copyFailed: 'Copy failed',
},
// Menu internationalization
route: {
dashboard: "Dashboard",
document: "Document",
},
// 登录页面国际化
login: {
themeToggle: "Theme Switch",
languageToggle: "Language Switch",
dark: "Dark",
light: "Light",
username: "Please enter Username",
password: "Please enter Password",
newPassword: "Please enter new Password",
login: "Login",
captchaCode: "Please enter Verify Code",
capsLock: "Caps Lock is On",
rememberMe: "Remember Me",
forgetPassword: "Forget Password?",
message: {
username: {
required: "Please enter Username",
},
password: {
required: "Please enter Password",
min: "The password cannot be less than 6 characters",
confirm: "Please confirm the password again",
inconformity: "The two password entries are inconsistent",
},
captchaCode: {
required: "Please enter Verify Code",
},
mobile: {
required: "Please enter mobile number",
invalid: "Invalid mobile number format",
exist: "Mobile number already exists",
},
email: {
required: "Please enter email",
invalid: "Invalid email format",
exist: "Email already exists",
},
name: {
required: "Please enter account",
invalid: "Invalid account format",
min: "Account cannot be less than 2 characters",
},
agree: {
required: "Please agree to the User Agreement",
}
},
otherLoginMethods: "Other",
resetPassword: "Reset password",
thinkOfPasswd: "Remember your password?",
register: "Register account",
agree: "I have read and agree to the",
userAgreement: "User Agreement",
haveAccount: "Already have an account?",
noAccount: "Don't have an account?",
quickFill: "Quick fill",
reg: "Register",
},
// 导航栏国际化
navbar: {
dashboard: "Dashboard",
logout: "Logout",
document: "Document",
gitee: "Gitee",
lock: 'Lock',
unlock: 'Unlock',
profile: "User Profile",
config: "Config Center",
tour: "Project Tour",
refresh: "Refresh",
close: "Close",
closeLeft: "Close Left",
closeRight: "Close Right",
closeOther: "Close Other",
closeAll: "Close All",
},
lock: {
lockScreen: 'Lock screen',
lockPassword: 'Lock screen password',
unlock: 'Click to unlock',
backToLogin: 'Back to login',
entrySystem: 'Entry the system',
placeholder: 'Please enter the lock screen password',
message: 'Lock screen password error'
},
sizeSelect: {
tooltip: "Layout Size",
default: "Default",
large: "Large",
small: "Small",
message: {
success: "Switch Layout Size Successful!",
},
},
langSelect: {
message: {
success: "Switch Language Successful!",
},
},
settings: {
project: "Project Settings",
theme: "Theme",
interface: "Interface",
navigation: "Navigation",
themeColor: "Theme Color",
showTagsView: "Show Tags View",
showAppLogo: "Show App Logo",
sidebarColorScheme: "Sidebar Color Scheme",
showWatermark: "Show Watermark",
classicBlue: "Classic Blue",
minimalWhite: "Minimal White",
copyConfig: "Copy Config",
resetConfig: "Reset Default",
copySuccess: "Configuration copied to clipboard",
resetSuccess: "Reset to default configuration",
copyDescription:
"Copy config will generate current settings code, reset will restore all settings to default",
confirmReset: "Are you sure to reset all settings to default? This operation cannot be undone.",
applyToFile: "Apply to File",
onlyCopy: "Only Copy",
leftLayout: "Left Mode",
topLayout: "Top Mode",
mixLayout: "Mix Mode",
configManagement: "Config Management",
copyConfigDescription:
"Generate current settings code and copy to clipboard, then overwrite src/settings.ts file",
resetConfigDescription: "Restore all settings to system default values",
systemTheme: "System Theme",
},
error: {
noPermission: `Sorry, you don't have permission to access this page.`,
pageError: 'Sorry, the page you visited does not exist.',
networkError: 'Sorry, the server reported an error.',
returnToHome: 'Return to home'
},
};