feat(i18n): 挂载 vue-i18n 实例 + 创建 8 种语言翻译文件

This commit is contained in:
张翔
2026-04-29 18:26:15 +08:00
parent 38fc2a2fae
commit 96c571d16a
9 changed files with 865 additions and 0 deletions
@@ -0,0 +1,107 @@
export default {
common: {
retry: 'Retry',
cancel: 'Cancel',
confirm: 'Confirm',
loading: 'Loading...',
noData: 'No Data',
noResult: 'No results found',
search: 'Search',
male: 'Male',
female: 'Female',
},
nav: {
almanac: 'Almanac',
ziwei: 'Zi Wei',
fortune: 'Fortune',
},
almanac: {
pageTitle: 'Almanac Search',
searching: 'Searching...',
searchFailed: 'Search failed, please try again later',
noResult: 'No results match the criteria',
keywordHint: 'Enter search keywords',
},
ziwei: {
pageTitle: 'Zi Wei Dou Shu',
birthInfo: 'Birth Information',
birthDate: 'Birth Date',
birthHour: 'Birth Hour',
gender: 'Gender',
pleaseSelect: 'Please select',
generating: 'Generating chart...',
generate: 'Generate Chart',
chartTitle: 'Zi Wei Dou Shu Chart',
sanFangAnalysis: 'San Fang Si Zheng Analysis',
sanFangScore: 'San Fang Score',
siZhengScore: 'Si Zheng Score',
overallEval: 'Overall Evaluation',
summary: 'Chart Summary',
scoreUnit: 'pts',
},
fortune: {
pageTitle: 'Fortune Analysis',
daily: 'Daily',
monthly: 'Monthly',
selectDate: 'Select Date',
selectMonth: 'Select Month',
overallFortune: 'Overall Fortune',
career: 'Career',
wealth: 'Wealth',
relationship: 'Relationship',
health: 'Health',
luckyColor: 'Lucky Color',
luckyNumber: 'Lucky Number',
luckyDirection: 'Lucky Direction',
noChart: 'Please generate a chart on the Zi Wei Dou Shu page first',
},
search: {
conditions: 'Search Conditions',
addCondition: 'Add Condition',
addConditionHint: 'Please add at least one search condition',
addConditionEmpty: 'Add search conditions',
days: 'Search Days',
dayUnit: 'days',
searchResult: 'Search Results',
resultCount: '{count} results',
matchCount: 'Match: {count}',
sort: 'Sort',
sortByDate: 'Date',
sortByMatch: 'Match',
typeSuitable: 'Suitable',
typeUnsuitable: 'Unsuitable',
operatorAnd: 'AND',
operatorOr: 'OR',
excludeCondition: 'Exclude Condition',
items: 'Items',
operator: 'Logical Operator',
},
template: {
title: 'Search Templates',
searchPlaceholder: 'Search templates',
empty: 'No Templates',
emptyDesc: 'No templates match the criteria',
all: 'All',
},
export: {
title: 'Export Search Results',
selectFormat: 'Select Export Format',
selectContent: 'Select Export Content',
date: 'Date',
lunarDate: 'Lunar Date',
weekday: 'Weekday',
matchedItems: 'Matched Items',
matchCount: 'Match Score',
},
history: {
title: 'Search History',
clear: 'Clear History',
clearConfirm: 'Confirm Clear',
clearConfirmMsg: 'Are you sure you want to clear all search history?',
empty: 'No Search History',
emptyDesc: 'Search conditions will appear here after searching',
justNow: 'Just now',
hoursAgo: '{count}h ago',
daysAgo: '{count}d ago',
},
}