Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-editor
Commits
cf25f3fb
Commit
cf25f3fb
authored
Apr 21, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本比对
parent
0b5f668e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
290 additions
and
20 deletions
+290
-20
zh-CN.json
src/locales/zh-CN.json
+6
-1
editor.scss
src/themes/light/editor.scss
+16
-0
Editor.vue
src/views/Editor.vue
+1
-1
ProjectConflictResolveDialog.vue
src/views/Editor/dialogs/ProjectConflictResolveDialog.vue
+267
-18
No files found.
src/locales/zh-CN.json
View file @
cf25f3fb
...
...
@@ -158,7 +158,7 @@
"Failed to save project"
:
"保存项目失败"
,
"Save project successfully"
:
"保存项目成功"
,
"There are conflicts in the project"
:
"项目有冲突,请先解决冲突"
,
"Input version remark"
:
"输入版本备注"
,
"Input version remark"
:
"
请务必认真
输入版本备注"
,
"Input view name"
:
"输入视图名"
,
"Invalid view name"
:
"无效的视图名"
,
"Unsaved version found locally"
:
"本地发现了未保存保本,请选择版本打开"
,
...
...
@@ -238,6 +238,11 @@
"Failed to update operator"
:
"更新权限列表失败"
,
"Error delete self"
:
"连自己都删? 不可以!"
,
"No permission"
:
"没有权限喔!"
,
"Accept Remote"
:
"远程版本"
,
"Accept Local"
:
"本地版本"
,
"Accept Both"
:
"兼并"
,
"Previous Conflict"
:
"上一个冲突"
,
"Next Conflict"
:
"下一个冲突"
,
"eventGroup"
:
{
"in"
:
"接收"
,
"out"
:
"派发"
...
...
src/themes/light/editor.scss
View file @
cf25f3fb
...
...
@@ -544,3 +544,19 @@
}
}
}
.remote-change-class
{
background-color
:
rgba
(
64
,
200
,
174
,
0
.2
);
}
.remote-change-marker-class
{
background-color
:
rgba
(
64
,
200
,
174
,
0
.5
);
}
.local-change-class
{
background-color
:
rgba
(
64
,
166
,
255
,
0
.2
);
}
.local-change-marker-class
{
background-color
:
rgba
(
64
,
166
,
255
,
0
.5
);
}
src/views/Editor.vue
View file @
cf25f3fb
...
...
@@ -200,7 +200,7 @@
await
this
.
$prompt
(
this
.
$t
(
'Input version remark'
),
this
.
$t
(
'Alert'
),
{
confirmButtonText
:
this
.
$t
(
'Confirm'
),
showClose
:
false
,
inputPattern
:
/^.
{
0
,256}
$/
,
inputPattern
:
/^.
{
1
,256}
$/
,
}).
then
(
({
value
})
=>
{
remark
=
this
.
lastSaveRemark
=
value
;
...
...
src/views/Editor/dialogs/ProjectConflictResolveDialog.vue
View file @
cf25f3fb
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment