Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2be399e

Browse files
i18n
1 parent 25393ca commit 2be399e

File tree

1 file changed

+9
-1
lines changed
  • mse-simple-demo/gateway/src/main/resources/templates

1 file changed

+9
-1
lines changed

‎mse-simple-demo/gateway/src/main/resources/templates/index.html‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@
88
<body th:style="${'background-color:' + backgroundColor }">
99
<div style="margin: 30px auto 0 30px;">
1010
<div id="inputSection">
11-
<label>请输入网址:</label>
11+
<labelid="pleas_input_url">请输入网址:</label>
1212
<input id="inputArea" style="width: 200px;height: 20px;"/>
1313
<button id="btnStart">开始调用</button>
1414
</div>
1515
<div id="resultSection" style="margin-top: 30px; border-top: 1px solid #eaeaea;">
1616
</div>
1717
</div>
18+
19+
<script charset="utf-8">
20+
if (navigator.language.includes("en")) {
21+
$('#pleas_input_url').text('Please enter the URL:');
22+
$('#btnStart').text('call');
23+
}
24+
</script>
25+
1826
<script charset="utf-8">
1927
let isRequesting = true;
2028

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /