添加国际化支持:在多个页面和组件中引入 vue-i18n

This commit is contained in:
jxxghp
2025-04-27 20:27:45 +08:00
parent 733d74ac36
commit f809c8e538
12 changed files with 300 additions and 105 deletions
+80 -2
View File
@@ -14,7 +14,7 @@ export default {
inputMessage: 'Enter message or command',
send: 'Send',
noData: 'No Data',
noContent: 'No content found',
noContent: 'No Content Found',
},
theme: {
light: 'Light',
@@ -22,7 +22,7 @@ export default {
auto: 'Auto',
transparent: 'Transparent',
purple: 'Purple',
custom: 'Custom',
custom: 'Custom Theme',
},
app: {
moviepilot: 'MoviePilot',
@@ -228,5 +228,83 @@ export default {
addFailed: 'Failed to add {name}: {message}!',
cancelSuccess: 'Subscription cancelled!',
cancelFailed: 'Failed to cancel subscription: {message}!',
filterSubscriptions: 'Filter Subscriptions',
name: 'Name',
searchShares: 'Search Subscription Shares',
keyword: 'Keyword',
},
recommend: {
all: 'All',
categoryMovie: 'Movies',
categoryTV: 'TV Shows',
categoryAnime: 'Anime',
categoryRankings: 'Rankings',
trendingNow: 'Trending Now',
nowShowing: 'Now Showing',
bangumiDaily: 'Bangumi Daily',
tmdbHotMovies: 'TMDB Hot Movies',
tmdbHotTVShows: 'TMDB Hot TV Shows',
doubanHotMovies: 'Douban Hot Movies',
doubanHotTVShows: 'Douban Hot TV Shows',
doubanHotAnime: 'Douban Hot Anime',
doubanNewMovies: 'Douban New Movies',
doubanNewTVShows: 'Douban New TV Shows',
doubanTop250: 'Douban Movie TOP250',
doubanChineseTVRankings: 'Douban Chinese TV Rankings',
doubanGlobalTVRankings: 'Douban Global TV Rankings',
noCategoryContent: 'No content to display in this category',
configureContent: 'Configure Content',
customizeContent: 'Customize Content',
selectContentToDisplay: 'Select the content you want to display',
selectAll: 'Select All',
selectNone: 'Select None',
},
discover: {
setTabOrder: 'Set Tab Order',
dragToReorder: 'Drag to reorder tabs',
},
downloading: {
noDownloader: 'No Downloaders',
configureDownloader: 'Please configure and enable downloaders in settings first.',
},
resource: {
searchResults: 'Resource Search Results',
keyword: 'Keyword',
title: 'Title',
year: 'Year',
season: 'Season',
switchingView: 'Switching View',
backToHome: 'Back to Home',
searching: 'Searching, please wait...',
noData: 'No Data',
noResourceFound: 'No resources found',
},
browse: {
actor: 'Actor',
},
appcenter: {
others: 'Others',
},
notFound: {
title: 'Page Not Found ⚠️',
description: 'The page you are trying to access does not exist. Please check the URL.',
backButton: 'Back',
},
torrent: {
sortDefault: 'Default',
sortSite: 'Site',
sortSize: 'Size',
sortSeeder: 'Seeders',
filterSite: 'Site',
filterSeason: 'Season',
filterFreeState: 'Promotion',
filterVideoCode: 'Video Code',
filterEdition: 'Quality',
filterResolution: 'Resolution',
filterReleaseGroup: 'Release Group',
clearFilters: 'Clear',
selectAll: 'Select All',
loadMore: 'Load More',
noMatchingResults: 'No matching results',
},
}
+78
View File
@@ -228,5 +228,83 @@ export default {
addFailed: '添加{name}失败:{message}',
cancelSuccess: '已取消订阅!',
cancelFailed: '取消订阅失败:{message}',
filterSubscriptions: '筛选订阅',
name: '名称',
searchShares: '搜索订阅分享',
keyword: '关键词',
},
recommend: {
all: '全部',
categoryMovie: '电影',
categoryTV: '电视剧',
categoryAnime: '动漫',
categoryRankings: '榜单',
trendingNow: '流行趋势',
nowShowing: '正在热映',
bangumiDaily: 'Bangumi每日放送',
tmdbHotMovies: 'TMDB热门电影',
tmdbHotTVShows: 'TMDB热门电视剧',
doubanHotMovies: '豆瓣热门电影',
doubanHotTVShows: '豆瓣热门电视剧',
doubanHotAnime: '豆瓣热门动漫',
doubanNewMovies: '豆瓣最新电影',
doubanNewTVShows: '豆瓣最新电视剧',
doubanTop250: '豆瓣电影TOP250',
doubanChineseTVRankings: '豆瓣国产剧集榜',
doubanGlobalTVRankings: '豆瓣全球剧集榜',
noCategoryContent: '当前分类下没有可显示的内容',
configureContent: '设置显示内容',
customizeContent: '自定义内容',
selectContentToDisplay: '选择您想在页面显示的内容',
selectAll: '全选',
selectNone: '全不选',
},
discover: {
setTabOrder: '设置标签顺序',
dragToReorder: '拖动对标签页进行排序',
},
downloading: {
noDownloader: '没有下载器',
configureDownloader: '请先在设置中正确配置并启用下载器。',
},
resource: {
searchResults: '资源搜索结果',
keyword: '关键词',
title: '标题',
year: '年份',
season: '季',
switchingView: '切换视图',
backToHome: '返回首页',
searching: '正在搜索,请稍候...',
noData: '没有数据',
noResourceFound: '未搜索到任何资源',
},
browse: {
actor: '演员',
},
appcenter: {
others: '其他',
},
notFound: {
title: '页面不存在 ⚠️',
description: '您想要访问的页面不存在,请检查地址是否正确。',
backButton: '返回',
},
torrent: {
sortDefault: '默认',
sortSite: '站点',
sortSize: '大小',
sortSeeder: '做种数',
filterSite: '站点',
filterSeason: '季集',
filterFreeState: '促销状态',
filterVideoCode: '视频编码',
filterEdition: '质量',
filterResolution: '分辨率',
filterReleaseGroup: '制作组',
clearFilters: '清除',
selectAll: '全选',
loadMore: '加载更多',
noMatchingResults: '没有匹配的结果',
},
}