Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
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
HuangJunbo
antSword
Commits
f8fbef7d
Commit
f8fbef7d
authored
Mar 22, 2016
by
antoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改`菜单栏>>调试`到语言模板
parent
5d75d49a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
menubar.js
modules/menubar.js
+3
-3
en.jsx
source/language/en.jsx
+5
-0
zh.jsx
source/language/zh.jsx
+5
-0
No files found.
modules/menubar.js
View file @
f8fbef7d
...
@@ -97,14 +97,14 @@ class Menubar {
...
@@ -97,14 +97,14 @@ class Menubar {
]
]
},
{
},
{
// 调试
// 调试
label
:
'调试'
,
label
:
LANG
[
'debug'
][
'title'
]
,
submenu
:
[
submenu
:
[
{
{
label
:
'重启应用'
,
label
:
LANG
[
'debug'
][
'restart'
]
,
accelerator
:
'Shift+CmdOrCtrl+R'
,
accelerator
:
'Shift+CmdOrCtrl+R'
,
click
:
this
.
mainWindow
.
webContents
.
reload
.
bind
(
this
.
mainWindow
.
webContents
)
click
:
this
.
mainWindow
.
webContents
.
reload
.
bind
(
this
.
mainWindow
.
webContents
)
},
{
},
{
label
:
'开发者工具'
,
label
:
LANG
[
'debug'
][
'devtools'
]
,
accelerator
:
'Alt+CmdOrCtrl+J'
,
accelerator
:
'Alt+CmdOrCtrl+J'
,
click
:
this
.
mainWindow
.
webContents
.
toggleDevTools
.
bind
(
this
.
mainWindow
.
webContents
)
click
:
this
.
mainWindow
.
webContents
.
toggleDevTools
.
bind
(
this
.
mainWindow
.
webContents
)
}
}
...
...
source/language/en.jsx
View file @
f8fbef7d
...
@@ -40,6 +40,11 @@ module.exports = {
...
@@ -40,6 +40,11 @@ module.exports = {
next
:
'Next window'
,
next
:
'Next window'
,
prev
:
'Prev window'
,
prev
:
'Prev window'
,
close
:
'Close window'
close
:
'Close window'
},
debug
:
{
title
:
'Debug'
,
restart
:
'Restart APP'
,
devtools
:
'Developer Tools'
}
}
},
},
shellmanager
:
{
shellmanager
:
{
...
...
source/language/zh.jsx
View file @
f8fbef7d
...
@@ -41,6 +41,11 @@ module.exports = {
...
@@ -41,6 +41,11 @@ module.exports = {
next
:
'下个窗口'
,
next
:
'下个窗口'
,
prev
:
'上个窗口'
,
prev
:
'上个窗口'
,
close
:
'关闭窗口'
close
:
'关闭窗口'
},
debug
:
{
title
:
'调试'
,
restart
:
'重启应用'
,
devtools
:
'开发者工具'
}
}
},
},
shellmanager
:
{
shellmanager
:
{
...
...
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