From 35b1b26f1fe16550b4ee2881a26d599456fe59b4 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 22 一月 2026 17:01:11 +0800
Subject: [PATCH] #i18n翻译
---
src/main/webapp/views/report/viewLocMap.html | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/src/main/webapp/views/report/viewLocMap.html b/src/main/webapp/views/report/viewLocMap.html
index 053aa99..6681c9b 100644
--- a/src/main/webapp/views/report/viewLocMap.html
+++ b/src/main/webapp/views/report/viewLocMap.html
@@ -82,11 +82,11 @@
<!-- 鎼滅储鏍� -->
<div id="search-box" class="layui-form layui-card-header">
<div class="layui-inline" style="margin-left: 10px">
- <label class="layui-form-label" style="width:80px">鏄剧ず妯″紡</label>
- <div class="layui-input-inline" style="width:120px;">
+ <label class="layui-form-label" style="width: auto; min-width: 80px;" data-i18n="display_mode">鏄剧ず妯″紡</label>
+ <div class="layui-input-inline" style="width: 150px;">
<select id="viewMode" name="viewMode" lay-filter="viewMode">
- <option value="byRow">鎸夋帓鏄剧ず</option>
- <option value="byLayer">鎸夊眰鏄剧ず</option>
+ <option value="byRow" data-i18n="view_by_row">鎸夋帓鏄剧ず</option>
+ <option value="byLayer" data-i18n="view_by_layer">鎸夊眰鏄剧ず</option>
</select>
</div>
</div>
@@ -110,8 +110,8 @@
</div>
<div class="layui-inline" style="margin-left: 20px;">
- <button class="layui-btn layui-btn-normal" id="btnSelectMode">寮�鍚閫�</button>
- <button class="layui-btn layui-btn-warm" id="btnAssignZone" style="display:none;">鍒嗛厤搴撳尯</button>
+ <button class="layui-btn layui-btn-normal" id="btnSelectMode" data-i18n="enable_selection">寮�鍚閫�</button>
+ <button class="layui-btn" id="btnAssignZone" style="display:none; margin-left:10px;" data-i18n="assign_zone">鍒嗛厤搴撳尯</button>
</div>
</div>
<div id="areaLegend" style="padding: 5px 15px; background: #fff; border-bottom: 1px solid #eee; display:none;">
@@ -152,6 +152,7 @@
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
+<script type="text/javascript" src="../../static/js/i18n/i18n-helper.js"></script>
<script type="text/javascript" src="../../static/js/report/locMap.js" charset="utf-8"></script>
</body>
<script type="text/template" id="locMastRowTemplate">
@@ -159,12 +160,6 @@
<option value="{{this}}">{{this}}</option>
{{/each}}
</script>
-<script src="../../static/js/translate.js"></script>
-<script>
- translate.selectLanguageTag.show = false; //涓嶅嚭鐜扮殑select鐨勯�夋嫨璇█
- translate.service.use('client.edge'); //璁剧疆缈昏瘧鏈嶅姟
- translate.listener.start(); //寮�鍚〉闈㈠厓绱犲姩鎬佺洃鎺э紝js鏀瑰彉鐨勫唴瀹逛篃浼氳缈昏瘧锛屽弬鑰冩枃妗o細 http://translate.zvo.cn/4067.html
- translate.execute();
-</script>
+
</html>
--
Gitblit v1.9.1