修正i18n翻译

This commit is contained in:
Himit_ZH 2021-06-08 18:29:56 +08:00
parent 937969ac2f
commit 63071ab387
5 changed files with 15 additions and 16 deletions

View File

@ -11,13 +11,13 @@ export const m = {
Dashboard: 'Dashboard',
General: 'General',
User_Admin: 'User Admin',
Announcement: 'Announcement',
Announcement_Admin: 'Announcement',
System_Config: 'System Config',
Problem: 'Problem',
Problem_Admin: 'Problem',
Problem_List: 'Problem List',
Create_Problem: 'Create Problem',
Export_Import_Problem: 'Export | Import Problem',
Contest: 'Contest',
Contest_Admin: 'Contest',
Contest_List: 'Contest List',
Create_Contest: 'Create Contest',
Discussion:'Discussion',

View File

@ -11,13 +11,13 @@ export const m = {
Dashboard: '仪表盘',
General: '常用设置',
User_Admin: '用户管理',
Announcement: '公告管理',
Announcement_Admin: '公告管理',
System_Config: '系统配置',
Problem: '题目管理',
Problem_Admin: '题目管理',
Problem_List: '题目列表',
Create_Problem: '增加题目',
Export_Import_Problem: '导入|导出题目',
Contest: '比赛管理',
Contest_Admin: '比赛管理',
Contest_List: '比赛列表',
Create_Contest: '创建比赛',
Discussion:'讨论管理',
@ -140,7 +140,6 @@ export const m = {
// /views/admin/problem/Problem.vue
Problem_Display_ID: '题目展示ID',
Title: '题目标题',
Contest_Display_Title:'比赛中的展示标题',
Contest_Display_ID: '比赛中的展示ID',
Description: '描述',

View File

@ -46,7 +46,7 @@ const adminRoutes= [
path: 'announcement',
name: 'admin-announcement',
component: Announcement,
meta: { requireSuperAdmin: true,title:'Announcement'},
meta: { requireSuperAdmin: true,title:'Announcement Admin'},
},
{
path: 'conf',
@ -100,25 +100,25 @@ const adminRoutes= [
path: 'contest/:contestId/announcement',
name: 'admin-contest-announcement',
component: Announcement,
meta: { title:'Create Contest Announcement'}
meta: { title:'Contest Announcement'}
},
{
path: 'contest/:contestId/problems',
name: 'admin-contest-problem-list',
component: ProblemList,
meta: { title:'Contest Problem List'}
meta: { title:'Contest Problem_List'}
},
{
path: 'contest/:contestId/problem/create',
name: 'admin-create-contest-problem',
component: Problem,
meta: { title:'Create Contest Problem'}
meta: { title:'Create Problem'}
},
{
path: 'contest/:contestId/problem/:problemId/edit',
name: 'admin-edit-contest-problem',
component: Problem,
meta: { title:'Edit Contest Problem'}
meta: { title:'Edit Problem'}
},
{
path: 'discussion',

View File

@ -22,7 +22,7 @@
$t('m.User_Admin')
}}</el-menu-item>
<el-menu-item index="/admin/announcement">{{
$t('m.Announcement')
$t('m.Announcement_Admin')
}}</el-menu-item>
<el-menu-item index="/admin/conf">{{
$t('m.System_Config')
@ -32,7 +32,7 @@
<el-submenu index="problem">
<template slot="title"
><i class="fa fa-bars fa-size" aria-hidden="true"></i
>{{ $t('m.Problem') }}</template
>{{ $t('m.Problem_Admin') }}</template
>
<el-menu-item index="/admin/problems">{{
$t('m.Problem_List')
@ -47,7 +47,7 @@
<el-submenu index="contest">
<template slot="title"
><i class="fa fa-trophy fa-size" aria-hidden="true"></i
>{{ $t('m.Contest') }}</template
>{{ $t('m.Contest_Admin') }}</template
>
<el-menu-item index="/admin/contest">{{
$t('m.Contest_List')

View File

@ -148,7 +148,7 @@
<vxe-table-column
field="title"
:title="$t('m.Title')"
:title="$t('m.Problem')"
min-width="180"
>
<template v-slot="{ row }">