perf: 前端dashboard 翻译

This commit is contained in:
feng 2024-01-09 16:11:32 +08:00
parent 6842da1960
commit 0922557abc
6 changed files with 34 additions and 29 deletions

View File

@ -969,23 +969,24 @@
"LoginCount": "Login count", "LoginCount": "Login count",
"LoginOverview": "Sessions overview", "LoginOverview": "Sessions overview",
"LoginTo": "Login to", "LoginTo": "Login to",
"LoginUsers": "Active accounts", "ActiveUsers": "Active users",
"Monthly": "Monthly", "Monthly": "Monthly",
"CurrentConnections": "Current connections", "CurrentConnections": "Current connections",
"TodayFailedConnections": "Connections failed today", "CurrentConnectionUsers": "Current connection users",
"TodayFailedConnections": "Number of failed sessions today",
"OnlineSessions": "Online sessions", "OnlineSessions": "Online sessions",
"OnlineUserDevices": "Online user devices", "OnlineUserDevices": "Online user devices",
"RealTimeData": "Real-time data", "RealTimeData": "Real-time data",
"UserAssetActivity": "Account/Asset activity", "UserAssetActivity": "User/asset activity status",
"UserData": "Account data", "UserData": "User data",
"LoginUserToday": "Login account today", "LoginUserToday": "Number of logged in users today",
"AssetData": "Asset data", "AssetData": "Asset data",
"LoginAssetToday": "Active assets today", "LoginAssetToday": "Active assets today",
"WeekAdd": "New this week", "WeekAdd": "New this week",
"ProportionOfAssetTypes": "Proportion of asset types", "ProportionOfAssetTypes": "Proportion of asset types",
"Proportion": "Proportion", "Proportion": "Proportion",
"LoginUserRanking": "Login account ranking", "LoginUserRanking": "Session user ranking",
"ActiveAssetRanking": "Login asset ranking", "ActiveAssetRanking": "Session asset Ranking",
"AssetName": "Asset name", "AssetName": "Asset name",
"NumberOfVisits": "Number of visits", "NumberOfVisits": "Number of visits",
"ranking": "Ranking", "ranking": "Ranking",
@ -1009,13 +1010,14 @@
"BatchCommandNotExecuted": "Batch command not executed", "BatchCommandNotExecuted": "Batch command not executed",
"ExecuteFailedCommand": "Execute failed command", "ExecuteFailedCommand": "Execute failed command",
"SessionTrend": "Session trend", "SessionTrend": "Session trend",
"SessionConnectTrend": "Session connection trends",
"UserLoginTrend": "Account login trend", "UserLoginTrend": "Account login trend",
"TimesWeekUnit": "times/week", "TimesWeekUnit": "times/week",
"TopAssetsOfWeek": "Top assets of week", "TopAssetsOfWeek": "Top assets of week",
"TopUsersOfWeek": "Top user of week", "TopUsersOfWeek": "Top user of week",
"User": "User", "User": "User",
"UserRatio": "User Ratio", "UserRatio": "User Ratio",
"UsersTotal": "Accounts total", "UsersTotal": "Users total",
"Weekly": "Weekly", "Weekly": "Weekly",
"TotalJobFailed": "Total job failed", "TotalJobFailed": "Total job failed",
"TotalJobRunning": "Total job running", "TotalJobRunning": "Total job running",

View File

@ -971,22 +971,23 @@
"LoginCount": "ログイン回数", "LoginCount": "ログイン回数",
"LoginOverview": "セッション統計", "LoginOverview": "セッション統計",
"LoginTo": "ログインしました", "LoginTo": "ログインしました",
"LoginUsers": "アクティブなアカウント", "ActiveUsers": "アクティブユーザー",
"Monthly": "月ごと", "Monthly": "月ごと",
"CurrentConnections": "現在の接続数", "CurrentConnections": "現在の接続数",
"TodayFailedConnections": "今日の接続に失敗しました", "CurrentConnectionUsers": "現在のセッションユーザーの数",
"TodayFailedConnections": "今日の失敗したセッションの数",
"OnlineSessions": "オンラインセッション", "OnlineSessions": "オンラインセッション",
"RealTimeData": "リアルタイムデータ", "RealTimeData": "リアルタイムデータ",
"UserAssetActivity": "アカウント/資産のアクティブ化", "UserAssetActivity": "ユーザー/アセットのアクティビティステータス",
"UserData": "アカウントデータ", "UserData": "ユーザーデータ",
"LoginUserToday": "今日のログインアカウント数", "LoginUserToday": "今日のログインユーザー数",
"AssetData": "資産データ", "AssetData": "資産データ",
"LoginAssetToday": "今日のアクティブ資産数", "LoginAssetToday": "今日のアクティブ資産数",
"WeekAdd": "今週の追加", "WeekAdd": "今週の追加",
"ProportionOfAssetTypes": "資産タイプの割合", "ProportionOfAssetTypes": "資産タイプの割合",
"Proportion": "占有率", "Proportion": "占有率",
"LoginUserRanking": "ログインアカウントランキング", "LoginUserRanking": "セッションユーザーランキング",
"ActiveAssetRanking": "ログイン資産ランキング", "ActiveAssetRanking": "セッションアセットランキング",
"AssetName": "資産名", "AssetName": "資産名",
"NumberOfVisits": "アクセス回数", "NumberOfVisits": "アクセス回数",
"ranking": "ランキング", "ranking": "ランキング",
@ -1010,13 +1011,14 @@
"BatchCommandNotExecuted": "未実行コマンド", "BatchCommandNotExecuted": "未実行コマンド",
"ExecuteFailedCommand": "失敗コマンドの実行", "ExecuteFailedCommand": "失敗コマンドの実行",
"SessionTrend": "セッショントレンド", "SessionTrend": "セッショントレンド",
"SessionConnectTrend": "セッション接続の傾向",
"UserLoginTrend": "アカウントログイントレンド", "UserLoginTrend": "アカウントログイントレンド",
"TimesWeekUnit": "回/週", "TimesWeekUnit": "回/週",
"TopAssetsOfWeek": "週間資産TOP10", "TopAssetsOfWeek": "週間資産TOP10",
"TopUsersOfWeek": "週ユーザーTOP10", "TopUsersOfWeek": "週ユーザーTOP10",
"User": "ユーザー", "User": "ユーザー",
"UserRatio": "ユーザー比率統計", "UserRatio": "ユーザー比率統計",
"UsersTotal": "アカウント総数", "UsersTotal": "ユーザー数",
"Weekly": "週ごと" "Weekly": "週ごと"
}, },
"ops": { "ops": {

View File

@ -960,22 +960,23 @@
"LoginCount": "登录次数", "LoginCount": "登录次数",
"LoginOverview": "会话统计", "LoginOverview": "会话统计",
"LoginTo": "登录了", "LoginTo": "登录了",
"LoginUsers": "活跃账号", "ActiveUsers": "活跃用户",
"Monthly": "按月", "Monthly": "按月",
"CurrentConnections": "当前连接数", "CurrentConnections": "当前连接数",
"TodayFailedConnections": "今日连接失败数", "CurrentConnectionUsers": "当前会话用户数",
"TodayFailedConnections": "今日会话失败数",
"OnlineSessions": "在线会话数", "OnlineSessions": "在线会话数",
"RealTimeData": "实时数据", "RealTimeData": "实时数据",
"UserAssetActivity": "账号/资产活跃情况", "UserAssetActivity": "用户/资产活跃情况",
"UserData": "账号数据", "UserData": "用户数据",
"LoginUserToday": "今日登录账号数", "LoginUserToday": "今日登录用户数",
"AssetData": "资产数据", "AssetData": "资产数据",
"LoginAssetToday": "今日活跃资产数", "LoginAssetToday": "今日活跃资产数",
"WeekAdd": "本周新增", "WeekAdd": "本周新增",
"ProportionOfAssetTypes": "资产类型占比", "ProportionOfAssetTypes": "资产类型占比",
"Proportion": "占比", "Proportion": "占比",
"LoginUserRanking": "登录账号排名", "LoginUserRanking": "会话用户排名",
"ActiveAssetRanking": "登录资产排名", "ActiveAssetRanking": "会话资产排名",
"AssetName": "资产名称", "AssetName": "资产名称",
"NumberOfVisits": "访问次数", "NumberOfVisits": "访问次数",
"ranking": "排名", "ranking": "排名",
@ -999,13 +1000,13 @@
"BatchCommandNotExecuted": "未执行批量命令", "BatchCommandNotExecuted": "未执行批量命令",
"ExecuteFailedCommand": "执行失败命令", "ExecuteFailedCommand": "执行失败命令",
"SessionTrend": "会话趋势", "SessionTrend": "会话趋势",
"UserLoginTrend": "账号登录趋势", "SessionConnectTrend": "会话连接趋势",
"TimesWeekUnit": "次/周", "TimesWeekUnit": "次/周",
"TopAssetsOfWeek": "周资产 TOP10", "TopAssetsOfWeek": "周资产 TOP10",
"TopUsersOfWeek": "周用户 TOP10", "TopUsersOfWeek": "周用户 TOP10",
"User": "用户", "User": "用户",
"UserRatio": "用户占比统计", "UserRatio": "用户占比统计",
"UsersTotal": "账号总数", "UsersTotal": "用户总数",
"Weekly": "按周" "Weekly": "按周"
}, },
"ops": { "ops": {

View File

@ -19,8 +19,8 @@ export default {
data() { data() {
return { return {
config: { config: {
title: this.$t('dashboard.UserLoginTrend'), title: this.$t('dashboard.SessionConnectTrend'),
tip: this.$t('dashboard.UserLoginTrend') tip: this.$t('dashboard.SessionConnectTrend')
}, },
columnChartConfig: { columnChartConfig: {
datesMetrics: [], datesMetrics: [],

View File

@ -28,7 +28,7 @@ export default {
lineChartConfig: { lineChartConfig: {
datesMetrics: [], datesMetrics: [],
primaryData: [0], primaryData: [0],
primaryName: this.$t('dashboard.LoginUsers'), primaryName: this.$t('dashboard.ActiveUsers'),
secondaryData: [0], secondaryData: [0],
secondaryName: this.$t('dashboard.LoginAssets') secondaryName: this.$t('dashboard.LoginAssets')
} }

View File

@ -44,7 +44,7 @@ export default {
} }
}, },
{ {
title: this.$t('dashboard.CurrentConnections'), title: this.$t('dashboard.CurrentConnectionUsers'),
body: { body: {
route: { name: `SessionList`, params: { activeMenu: 'OnlineList' }}, route: { name: `SessionList`, params: { activeMenu: 'OnlineList' }},
count: this.counter.total_count_online_users, count: this.counter.total_count_online_users,