Skip to content

Commit 166cfc2

Browse files
committed
Merge remote-tracking branch 'origin/dev'
2 parents e2f6844 + ea32c77 commit 166cfc2

File tree

19 files changed

+23
-13
lines changed

19 files changed

+23
-13
lines changed

en/Tutorial/PluginsInstall.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ After HBuilderX is started, click the menu [Tools] [Plugin Installation] to open
66

77
In addition to the plug-in shown in the figure below, other plug-ins,go to[market](https://ext.dcloud.net.cn/?cat1=1&cat2=11&orderBy=TotalDownload) download.
88

9-
<img src="/static/snapshots/tutorial/plugins_install_1.jpg" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
9+
<img src="/static/snapshots/tutorial/plugins_install_en_1.png" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
1010

1111
### Installed plugin
1212

1313
The installed plug-ins of HBuilderX will be displayed in [Installed plug-ins].
1414

1515
When the server has a high version plug-in, the corresponding plug-in will display the word `upgrade`.
1616

17-
<img src="/static/snapshots/tutorial/plugins_install_2.jpg" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
17+
<img src="/static/snapshots/tutorial/plugins_install_en_2.png" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
1818

1919
### Plug-in market installation
2020

en/Tutorial/SourceControl/Git/MacOSX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In HBuilderX, to use Git, you need to install the Git plug-in first.
66

77
HBuilderX Top menu, 【Tool】-> 【plug-in installation】. Open the plug-in installation window, Find Git, Click【Install】.
88

9-
<img src="/static/snapshots/tutorial/source_control/plugin_macosx_en.jpg" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
9+
<img src="/static/snapshots/tutorial/source_control/plugin_macosx_en.png" style="zoom: 45%;border: 1px solid #eee;border-radius: 20px;"/>
1010

1111
## clone and import
1212

en/Tutorial/SourceControl/SVN/MacOSX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ which svn
2121

2222
HBuilderX Top menu, 【Tool】-> 【plug-in installation】. Open the plug-in installation window, Find SVN, Click【Install】.
2323

24-
<img src="/static/snapshots/tutorial/source_control/plugin_macosx_en.jpg" style="zoom:40%; border-radius: 20px;border: 1px solid #eee;" />
24+
<img src="/static/snapshots/tutorial/source_control/plugin_macosx_en.png" style="zoom:40%; border-radius: 20px;border: 1px solid #eee;" />
2525

2626
## Operation menu
2727

en/Tutorial/extension/prettier.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This plugin needs to be downloaded from [HBuilderX Plugin Market](https://ext.dc
1010

1111
Click the menu [Tools] -> [Settings] -> [Plugin Configuration] -> prettier -> prettier.config.js to open the configuration file.
1212

13+
<img src="/static/snapshots/plugins/plugin_prettier.png" style="zoom: 45%; border: 1px solid #eee;border-radius: 20px;"/>
1314

1415
## Format options
1516

en/Tutorial/extension/validate-html.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The html syntax verification plug-in needs to be installed in [HBuilderX Plugin
99

1010
After the installation is complete, enter [Settings] [Plugin Configuration] [htmlhintrc], and click `htmlhintrc` to configure related rules.
1111

12+
<img src="/static/snapshots/plugins/plugin_setting_en.png" style="zoom: 45%; border: 1px solid #eee;border-radius: 20px;"/>
13+
1214
The option configuration file is `.htmlhintrc`, and the corresponding descriptions of the existing options are as follows:
1315

1416
| Option | Description |

en/Tutorial/extension/validate-stylelint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This plugin needs to be installed at [HBuilderX Plugin Market](https://ext.dclou
1010

1111
Menu [Settings] -> [Plugin Configuration] -> [stylelint], click on `.stylelintrc.js` to open the configuration file.
1212

13-
<img src="/static/snapshots/tutorial/stylelint.png" />
13+
<img src="/static/snapshots/plugins/plugin_setting_en.png" style="zoom: 45%; border: 1px solid #eee;border-radius: 20px;"/>
1414

1515
## Rule configuration
1616

en/Tutorial/keybindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HBuilderX, allows you to perform most tasks directly from the keyboard.
44

55
HBuilderX has preset 5 shortcut key schemes, namely: `HBuilderX``VS Code``Sublime Text``IntelliJ Idea / Webstorm``Eclipse`
66

7-
<img src="/static/snapshots/tutorial/keyboard.png" />
7+
<img src="/static/snapshots/tutorial/keyboard_en.png" style="border: 1px solid #eee;"/>
88

99
## Custom shortcuts
1010

en/Tutorial/startup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ After clicking the [Start Experience] button, you will see a "Readme", which bri
66

77
To experience HBuilderX, start with a new project.
88

9-
<img src="/static/snapshots/tutorial/startup.gif" style="zoom: 80%; border:1px solid #eee;" />
9+
<img src="/static/snapshots/tutorial/startup_en.gif" style="zoom: 80%; border:1px solid #eee;" />

index.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
try{
2525
if (lan.substr(0, 2) == 'zh') {
2626
lan = "zh-cn";
27-
if (!["zh", "zh_cn", "zh-cn", "zh-hans"].includes(lan)) {
28-
lan = "zh-hant";
29-
};
27+
// if (!["zh", "zh_cn", "zh-cn", "zh-hans"].includes(lan)) {
28+
// lan = "zh-hant";
29+
// };
3030
} else {
3131
lan = "en";
3232
};
@@ -43,7 +43,14 @@
4343
if (!["en","zh-cn", "zh-hant"].includes(lan)) {
4444
lan = 'zh-cn';
4545
};
46-
var Search = lan.includes('zh') ? "搜索" : "Search";
46+
// 设置title
47+
if (lan.substr(0, 2) != 'zh') {
48+
document.getElementsByTagName("title")[0].innerText = 'HBuilderX Doc';
49+
};
50+
51+
// var Search = lan.includes('zh') ? "搜索" : "Search";
52+
var Search = "Search";
53+
4754
var basePath = `/${lan}/`;
4855
var loadSidebar = true;
4956
var loadNavbar = true;

static/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312

313313
var html =
314314
"<div class=\"input-wrap\">\n <input type=\"search\" value=\"" + defaultValue +
315-
"\" placeholder=\"搜索\">\n <div class=\"clear-button\">\n <svg width=\"26\" height=\"24\">\n <circle cx=\"12\" cy=\"12\" r=\"11\" fill=\"#ccc\" />\n <path stroke=\"white\" stroke-width=\"2\" d=\"M8.25,8.25,15.75,15.75\" />\n <path stroke=\"white\" stroke-width=\"2\"d=\"M8.25,15.75,15.75,8.25\" />\n </svg>\n </div>\n </div>\n <div class=\"results-panel\"></div>\n </div>";
315+
"\" placeholder=\"Search\">\n <div class=\"clear-button\">\n <svg width=\"26\" height=\"24\">\n <circle cx=\"12\" cy=\"12\" r=\"11\" fill=\"#ccc\" />\n <path stroke=\"white\" stroke-width=\"2\" d=\"M8.25,8.25,15.75,15.75\" />\n <path stroke=\"white\" stroke-width=\"2\"d=\"M8.25,15.75,15.75,8.25\" />\n </svg>\n </div>\n </div>\n <div class=\"results-panel\"></div>\n </div>";
316316
var searchElem = Docsify.dom.create('div', html);
317317
var aside = Docsify.dom.find('aside');
318318
var navbar = Docsify.dom.find('.app-nav');

0 commit comments

Comments
 (0)