Skip to content

Commit f4c833c

Browse files
committed
示例国际化
1 parent 2a307d2 commit f4c833c

File tree

14 files changed

+38
-31
lines changed

14 files changed

+38
-31
lines changed

examples/3dwebgl/editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>SuperMap 3D-WebGL example editor</title>
5+
<title data-i18n="resources.title_editor3DWebGL"></title>
66
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
77
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
8-
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"
8+
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,ace,i18n"
99
src="../js/include-web.js"></script>
1010
<link rel="stylesheet" href="../css/common.css">
1111
<link rel="stylesheet" href="../css/header.css">

examples/3dwebgl/examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>SuperMap 3D-WebGL 示范程序</title>
6+
<title data-i18n="resources.title_examples3DWebGL"></title>
77
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
88
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9-
<script type="text/javascript" exclude="example-i18n"
9+
<script type="text/javascript"
1010
include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload"
1111
src="../js/include-web.js"></script>
1212
<link rel="stylesheet" href="../css/common.css">

examples/classic/editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>iClient Classic example editor</title>
5+
<title data-i18n="resources.title_editorClassic"></title>
66
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
77
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
8-
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"
8+
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,ace,i18n"
99
src="../js/include-web.js"></script>
1010
<link rel="stylesheet" href="../css/common.css">
1111
<link rel="stylesheet" href="../css/header.css">

examples/classic/examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>iClient Classic 示范程序</title>
6+
<title data-i18n="resources.title_examplesClassic"></title>
77
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
88
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9-
<script type="text/javascript" exclude="example-i18n"
9+
<script type="text/javascript"
1010
include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload"
1111
src="../js/include-web.js"></script>
1212
<link rel="stylesheet" href="../css/common.css">

examples/leaflet/editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>iClient for Leaflet example editor</title>
5+
<title data-i18n="resources.title_editorLeaflet"></title>
66
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
77
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
8-
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"
8+
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,ace,i18n"
99
src="../js/include-web.js"></script>
1010
<link rel="stylesheet" href="../css/common.css">
1111
<link rel="stylesheet" href="../css/header.css">

examples/leaflet/examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>iClient for Leaflet 示范程序</title>
6+
<title data-i18n="resources.title_examplesLeaflet"></title>
77
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
88
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9-
<script type="text/javascript" exclude="example-i18n"
9+
<script type="text/javascript"
1010
include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload"
1111
src="../js/include-web.js"></script>
1212
<link rel="stylesheet" href="../css/common.css">

examples/locales/en-US/resources.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,14 @@ window.resources = {
395395
"title_drawFeatures": "features Drawing",
396396
"title_editorOL": "iClient for OpenLayers Sample Code",
397397
"title_examplesOL": "iClient for OpenLayers Examples",
398+
"title_editorLeaflet":"iClient for Leaflet Sample Code",
399+
"title_examplesLeaflet":"iClient for Leaflet Examples",
400+
"title_editorMBGL":"iClient for MapBoxGL Sample Code",
401+
"title_examplesMBGL":"iClient for MapBoxGL Examples",
402+
"title_editorClassic":"iClient Classic Sample Code",
403+
"title_examplesClassic":"iClient Classic Examples",
404+
"title_editor3DWebGL":"SuperMap 3D-WebGL Sample Code",
405+
"title_examples3DWebGL":"SuperMap 3D-WebGL Examples",
398406
"title_freehandDrawFeatures": "Handwritten Graphic Drawing",
399407
"title_iPortalQueryMaps": "Web Map List of iPortal",
400408
"title_iPortalSecurity": "Examples of iPortal SecurityManager",

examples/locales/zh-CN/resources.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,14 @@ window.resources = {
395395
"title_drawFeatures":"图形绘制",
396396
"title_editorOL":"iClient for OpenLayers 示例代码",
397397
"title_examplesOL":"iClient for OpenLayers 示范程序",
398+
"title_editorLeaflet":"iClient for Leaflet 示例代码",
399+
"title_examplesLeaflet":"iClient for Leaflet 示范程序",
400+
"title_editorMBGL":"iClient for MapBoxGL 示例代码",
401+
"title_examplesMBGL":"iClient for MapBoxGL 示范程序",
402+
"title_editorClassic":"iClient Classic 示例代码",
403+
"title_examplesClassic":"iClient Classic 示范程序",
404+
"title_editor3DWebGL":"SuperMap 3D-WebGL 示例代码",
405+
"title_examples3DWebGL":"SuperMap 3D-WebGL 示范程序",
398406
"title_freehandDrawFeatures":"手写图形绘制",
399407
"title_iPortalQueryMaps":"iPortal 地图列表",
400408
"title_iPortalSecurity":"iPortal SecurityManager使用示例",

examples/mapboxgl/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ var exampleConfig = {
623623
}, {
624624
name: "卷帘控件",
625625
name_en: "Swipe between maps",
626-
thumbnail: "control_swipeBetween nMaps.png",
626+
thumbnail: "control_swipeBetweenMaps.png",
627627
fileName: "control_swipeBetweenMaps"
628628
}]
629629
}

examples/mapboxgl/editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>iClient for MapBoxGL example editor</title>
5+
<title data-i18n="resources.title_editorMBGL"></title>
66
<link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico"/>
77
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
8-
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"
8+
<script type="text/javascript" include="jquery,bootstrap,template,admin-lte,ace,i18n"
99
src="../js/include-web.js"></script>
1010
<link rel="stylesheet" href="../css/common.css">
1111
<link rel="stylesheet" href="../css/header.css">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy