Skip to content

Commit 1a74cbf

Browse files
committed
add translations
1 parent 5b8e6c7 commit 1a74cbf

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

public/lang/en.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"return" : "When login is successful, it returns to the you tried access page."
2323
},
2424
"signage": {
25-
"create": "Create"
25+
"create": "Create"
2626
},
2727
"common": {
2828
"back": "Back",
@@ -182,6 +182,10 @@
182182
"toSign": "Go NEXT!",
183183
"m_score": "@:line.view.m_score",
184184
"m_score_d": "@:line.view.m_score_d",
185+
"networkError": "Network Error",
186+
"networkErrorDescription": "Failed to save the scoring-run data on the server. Check the network connection. The record of scoring run can be continued as it is, but it is not stored in the server. Please call system manager ASAP!",
187+
"handover": "Hand over to another device",
188+
"reSend": "Re send",
185189
"js": {
186190
"score_element": "Place checkpoint markers on tiles without scoring elements (rule 3.3.5)",
187191
"cantvisit": "Cannot place checkpoint markers on tile that robot can't visit.",
@@ -299,6 +303,10 @@
299303
"m_kit": "@:maze.view.m_kit",
300304
"pat": "@:admin.mazeMapEditor.pattern",
301305
"random": "Random drawing",
306+
"networkError": "@:line.judge.networkError",
307+
"networkErrorDescription": "@:line.judge.networkErrorDescription",
308+
"handover": "@:line.judge.handover",
309+
"reSend": "@:line.judge.reSend",
302310
"js": {
303311
"timeup": {
304312
"title": "@:line.judge.js.timeup.title",

public/lang/ja.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@
186186
"toSign": "確認画面",
187187
"m_score": "@:line.view.m_score",
188188
"m_score_d": "@:line.view.m_score_d",
189+
"networkError": "ネットワークエラー",
190+
"networkErrorDescription": "競技データをサーバに保存できませんでした.ネットワーク接続を確認してください.競技記録はこのまま続行できますが,サーバには保存されません.システム管理者を呼んでください!",
191+
"handover": "他のデバイスにハンドオーバ",
192+
"reSend": "再送信",
189193
"js": {
190194
"score_element": "チェックポイントマーカーは,得点項目のあるタイルには設置できません. (ルール 3.3.5)",
191195
"cantvisit": "ロボットの通ることのできないタイルをチェックポイントに指定することはできません.",
@@ -301,7 +305,11 @@
301305
"m_flash": "@:maze.view.m_flash",
302306
"m_kit": "@:maze.view.m_kit",
303307
"pat": "@:admin.mazeMapEditor.pattern",
304-
"random": "ランダム抽選",
308+
"random": "ランダム抽選(乱数)",
309+
"networkError": "@:line.judge.networkError",
310+
"networkErrorDescription": "@:line.judge.networkErrorDescription",
311+
"handover": "@:line.judge.handover",
312+
"reSend": "@:line.judge.reSend",
305313
"js": {
306314
"timeup": {
307315
"title": "@:line.judge.js.timeup.title",

views/line_judge.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ <h3 class="card-header"><i class="far fa-images" aria-hidden="true">{{'interview
9292
</div>
9393
<div ng-show="checked">
9494
<div class="alert alert-warning" role="alert" ng-show="networkError">
95-
<h4 class="alert-heading">Network Error</h4>
95+
<h4 class="alert-heading">{{'line.judge.networkError' | translate}}</h4>
9696
<div class="row">
9797
<div class="col-md-10">
98-
<p>Failed to save the scoring run data on the server. Check the network connection. The record of scoring run can be continued as it is, but it is not stored in the server. Please call system administrator.</p>
98+
<p>{{'line.judge.networkErrorDescription' | translate}}</p>
9999
</div>
100100
<div class="col-md-2">
101-
<button class="btn btn-warning" type="button" ng-click="saveEverything()">Re send</button>
101+
<button class="btn btn-warning" type="button" ng-click="saveEverything()">{{'line.judge.reSend' | translate}}</button>
102102
</div>
103103
</div>
104104
</div>
@@ -360,7 +360,7 @@ <h4>{{'line.judge.adjust'| translate}}</h4><br>
360360
<div style="text-align:right;">
361361
<button class="btn btn-danger" type="button" ng-click="confirm()" ng-disabled="startedTime" ng-hide="networkError || fromApproval"><i class="fas fa-arrow-right fa-2x" aria-hidden="true"> {{'line.judge.toSign'| translate}}</i></button>
362362
<button class="btn btn-danger" type="button" ng-click="backApproval()" ng-disabled="startedTime" ng-show="fromApproval && !networkError"><i class="fas fa-arrow-right fa-2x" aria-hidden="true"> Go back to Approval</i></button>
363-
<button class="btn btn-danger" type="button" ng-click="handover()" ng-disabled="startedTime" ng-show="networkError">Hand over to another device</button>
363+
<button class="btn btn-danger" type="button" ng-click="handover()" ng-disabled="startedTime" ng-show="networkError">{{'line.judge.handover' | translate}}</button>
364364
</div>
365365
</div>
366366
</div>

0 commit comments

Comments
 (0)