Skip to content

Commit c857b45

Browse files
committed
补充范例翻译,review by zhurchan
1 parent 811a35f commit c857b45

File tree

137 files changed

+1512
-1088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1512
-1088
lines changed

examples/classic/editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title data-i18n="resources.title_editor">iClient Classic 示例代码</title>
5+
<title>iClient Classic 示例代码</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">
88
<script type="text/javascript" exclude="example-i18n" include="jquery,bootstrap,template,admin-lte,ace,i18n"

examples/classic/examples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title data-i18n="resources.title_examples">iClient Classic 示范程序</title>
6+
<title>iClient Classic 示范程序</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">
99
<script type="text/javascript" exclude="example-i18n"

examples/js/include-web.js

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

4646
inputScript("../js/utils.js");
4747
inputScript("../js/localization.js");
48-
document.writeln("<script>$().ready(function(){Localization.initializeI18N('../', function () {Localization.localize();Localization.initGlobal();});}) </script>");
48+
document.writeln("<script>Localization.initializeI18N('../', function () {Localization.localize();Localization.initGlobal();}); </script>");
4949
jQueryInclude = true;
5050
}
5151

examples/leaflet/04_geometryBatchAnalystService.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>批量几何空间分析</title>
5+
<title data-i18n="resources.title_geometryBatchAnalystService">批量几何空间分析</title>
66
<script type="text/javascript" src="../js/include-web.js"></script>
77
</head>
88
<body style="margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
@@ -141,7 +141,7 @@
141141
style: overlayResultStyle
142142
}).addTo(map);
143143
bufferResultLayer.on("mousemove", function (e) {
144-
e.layer.bindPopup('<h4>缓冲区分析结果</h4>').openPopup();
144+
e.layer.bindPopup('<h4>'+resources.text_bufferAnalystResult+'</h4>').openPopup();
145145
});
146146
bufferResultLayer.on("mouseout", function (e) {
147147
e.layer.closePopup();
@@ -151,7 +151,7 @@
151151
style: overlayResultStyle
152152
}).addTo(map);
153153
overlayResultLayer.on("mousemove", function (e) {
154-
e.layer.bindPopup('<h4>叠加分析结果</h4>').openPopup();
154+
e.layer.bindPopup('<h4>'+resources.text_overlayAnalystResult+'</h4>').openPopup();
155155
});
156156
overlayResultLayer.on("mouseout", function (e) {
157157
e.layer.closePopup();

examples/leaflet/04_geometryOverlayBatchAnalystService.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>批量叠加分析</title>
5+
<title data-i18n="resources.title_geometryOverlayBatchAnalystService">批量叠加分析</title>
66
<script type="text/javascript" src="../js/include-web.js"></script>
77
</head>
88
<body style="margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
@@ -99,7 +99,7 @@
9999
style: overlayResultStyle
100100
}).addTo(map);
101101
resultLayer.on("mousemove", function (e) {
102-
e.layer.bindPopup('<h4>批量叠加分析结果</h4>').openPopup();
102+
e.layer.bindPopup('<h4>' + resources.text_overlayBatchAnalystResult + '</h4>').openPopup();
103103
});
104104
resultLayer.on("mouseout", function (e) {
105105
e.layer.closePopup();

examples/locales/en-US/resources.js

Lines changed: 164 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ window.resources = {
150150
"title_terrainCurvatureCalculation": "Terrain Curvature Calculation",
151151
"title_thiessenAnalyst": "Thiessen Polygon Analysis",
152152
"title_trafficTransfer": "Traffic Transfer Service",
153-
"title_buffersAnalystJobService": "Buffers Analysis Job Service",
153+
"title_buffersAnalystJobService": "Buffers Analysis Service",
154154
"title_areaMeasure": "Area Measure",
155155
"title_attribution": "Copyright Control",
156156
"title_changeControlsSkin": "Change Controls Skin",
@@ -166,8 +166,6 @@ window.resources = {
166166
"title_scaleline": "Scale Control",
167167
"title_zoom": "Zoom Control",
168168
"title_zoomBox": "Zoom Box Control",
169-
"title_editor": "IClient Classic Sample Code",
170-
"title_examples": "iClient Classic Examples",
171169
"title_kernelDensityJobService": "Density Analysis",
172170
"title_3baidu": "Baidu",
173171
"title_3tianditu": "Tianditu",
@@ -272,8 +270,8 @@ window.resources = {
272270
"title_themeLabel":"label thematic map",
273271
"title_themeLabelLayer":"label thematic layer",
274272
"title_themePM2_5":"AQI thematic map",
275-
"title_themeRange":"range thematic layer",
276-
"title_themeUnique":"unique thematic layer",
273+
"title_themeRange":"range thematic map",
274+
"title_themeUnique":"unique thematic map",
277275
"title_topologyValidatorJobService":"topology validator analysis",
278276
"title_vectorClipService":"vector clip analysis",
279277
"title_animatorBase":"basic animation",
@@ -372,6 +370,45 @@ window.resources = {
372370
"title_heatMapNY":"New York taxi car point",
373371
"title_markerCluster":"marker cluster",
374372
"title_pulse":"flashing points",
373+
"title_geometryBatchAnalystService":"batchAnalyst_geometry",
374+
"title_geometryOverlayBatchAnalystService":"overlayBatchAnalyst_geometry",
375+
"title_tiledMapLayerNoProj":"SuperMap REST plane projection map",
376+
"title_AnimationFeature":"animation feature map",
377+
"title_Cluster":"cluster",
378+
"title_graphiclayerCanvas":"canvas rendering",
379+
"title_graphiclayerWebgl":"webgl rendering",
380+
"title_baiduLayer":"baidu map",
381+
"title_changeTileVersion":"tile version switch control",
382+
"title_layerSwitch":"roller blinds",
383+
"title_controlerLayerSwitcher":"layer switch control",
384+
"title_dragFeatures":"drag features",
385+
"title_drawFeatures":"draw features",
386+
"title_editorOL":"iClient for OpenLayers Sample Code",
387+
"title_examplesOL":"iClient for OpenLayers examples",
388+
"title_freehandDrawFeatures":"freehand draw features",
389+
"title_iPortalQueryMaps":"iPortal web map list",
390+
"title_iPortalSecurity":"Usage example of iPortal SecurityManager",
391+
"title_iServerSecurity":"security certification instance",
392+
"title_labelThemeLayer":"client label thematic map",
393+
"title_mapvNyvTaxi":"NY taxi car point",
394+
"title_modifyFeatures":"modify features",
395+
"title_mvtVectorLayer":"iServer MVT vector tile",
396+
"title_mvtVectorLayer4326":"iServer MVT vector tile(4326)",
397+
"title_onlineSecurity":"Usage example of Online SecurityManager",
398+
"title_onlineWebMap":"2014 backpack travel",
399+
"title_osmBuildings":"OSMBuildings",
400+
"title_rankSymbolThemeLayer":"rank symbol thematic map",
401+
"title_snapDrawFeatures":"snap draw features",
402+
"title_superMapCloudLayer":"SuperMap Cloud layer",
403+
"title_tiandituLayer_ll":"tianditu - latitude and longitude",
404+
"title_tiandituLayer_mecartor":"tianditu-mercator",
405+
"title_vectorTiledLayer":"vector tile layer",
406+
"title_turfClassificationAnalysis":"Turf classification analysis",
407+
"title_turfGridAnalysis":"Turf grid analysis",
408+
"title_turfInterpolationAnalysis":"Turf interpolation analysis",
409+
"title_turfMeasurement":"Turf measurement analysis",
410+
"title_WMSLayer":"WMS layer",
411+
"title_WMTSLayer":"WMTS layer",
375412

376413

377414

@@ -470,7 +507,7 @@ window.resources = {
470507
"text_closeWindow": "close window",
471508
"text_ridePreference": "Ride Preference:",
472509
"text_noSubway": "Not by subway",
473-
"text_scheme": "Scheme",
510+
"text_scheme": "Plan",
474511
"text_walkTO": "walk to:",
475512
"text_ride": "ride ",
476513
"text_debus1": ", debus on ",
@@ -792,9 +829,9 @@ window.resources = {
792829
"text_saturday":"SAT",
793830
"text_sunday":"SUN",
794831
"text_effectScatter":"Air quality in the main city in China",
795-
"text_maxTemperature":"maxTemperature",
796-
"text_minTemperature":"minTemperature",
797-
"text_nextWeekTemperature":"The temperature change in the next week",
832+
"text_maxTemperature":"max",
833+
"text_minTemperature":"min",
834+
"text_nextWeekTemperature":" future temperature",
798835
"text_class":"class ",
799836
"text_commodity":"commodity ",
800837
"text_commoditySales":"commodity sales",
@@ -852,6 +889,95 @@ window.resources = {
852889
"text_latLng":"Latitude and longitude is",
853890
"text_dataSources":"data sources",
854891
"text_NYTaxiCarPoint":"The boarding point of New York taxis",
892+
"text_bufferAnalystResult":"buffer analysis result",
893+
"text_overlayAnalystResult":"overlay analysis result",
894+
"text_overlayBatchAnalystResult":"overlay batch analysis result",
895+
"text_switchLayer":"switch layer",
896+
"text_beijingCity":"Beijing",
897+
"text_guangzhouCity":"Guangzhou",
898+
"text_shanghaiCity":"Shanghai",
899+
"text_usageExample":"Usage example of iPortal QueryMaps",
900+
"text_createdIn":"Created in",
901+
"text_function":"function",
902+
"text_instance":"instance",
903+
"text_login":"login",
904+
"text_logout":"logout",
905+
"text_serviceAddress":"service address",
906+
"text_input_tips_serviceDomainName":"Service domain name/IP+port",
907+
"text_userName":"user name",
908+
"text_password":"password",
909+
"text_applyForToken":"apply for token",
910+
"text_clientID":"client identity",
911+
"text_clientIP":"IP of client",
912+
"text_currentRequestIP":"IP of the current request",
913+
"text_noClientLimit":"no client limit",
914+
"text_refererIPEmpty":"Referer/IP/empty",
915+
"text_termValid":"term of validity",
916+
"text_oneHour":"one hour",
917+
"text_oneDay":"one day",
918+
"text_oneWeek":"one week",
919+
"text_oneMonth":"one month",
920+
"text_oneYear":"one year",
921+
"text_tokenAuthorized":"token authorized access to private services",
922+
"text_accessing":"accessing",
923+
"text_keyAuthorized":"key authorization to access private map services",
924+
"text_iPortalServicesAddress":"iPortal private map service address",
925+
"text_keyAuthorizedGetMap":"key authorized get map",
926+
"text_getMap":"get map",
927+
"text_iServerAddress":"iServer home page address, such as: http://localhost:8090/iserver",
928+
"text_keyAuthorizedService" :"key authorized access to private services",
929+
"text_noData":"no data",
930+
"text_classificationAnalysis":"classification analysis",
931+
"text_classificationAnalysisType":"classification analysis type",
932+
"text_createGrid":"create grid",
933+
"text_gridAnalysisType":"grid analysis type",
934+
"text_hexGrid":"hex grid",
935+
"text_pointGrid":"point grid",
936+
"text_squareGrid":"square grid",
937+
"text_triangleGrid":"triangle grid",
938+
"text_unitGridSize":"grid size",
939+
"text_gridUnitSizeUnit":"Unit of grid size",
940+
"text_degrees":"degrees",
941+
"text_radians":"radians",
942+
"text_miles":"miles",
943+
"text_kilometers":"kilometers",
944+
"text_adjustSize":"Whether to adjust size to fit the size of the bbox",
945+
"text_adjustPoint":"Adjust point to grid center",
946+
"text_creationRange":"The creation range is polygon",
947+
"text_returnedByTriangle":"return in the form of trigon",
948+
"text_interpolationAnalysis":"interpolation analysis",
949+
"text_interpolationAnalysisType":"interpolation analysis type",
950+
"text_Jingshen":"JingShen Road, Wollongang tunnel section",
951+
"text_distanceUnit":"distance unit",
952+
"text_distanceToStart":"Distance to starting point",
953+
"text_position":"position",
954+
"text_positionRange":"[-180, 180]",
955+
"text_turfMeasure":"turf measure",
956+
"text_totalLength":"total length: 1174.8 meters, about 0.729 miles",
957+
"text_getPoint":"get the point",
958+
"text_measureArea":"measure area",
959+
"text_getArea":"get the area",
960+
"text_JingshenBounds":"Bounds of Wollongang tunnel section, JingShen Road",
961+
"text_getBounds":"get the bounds",
962+
"text_pointToTarget":"The point from Beijing to the target position",
963+
"text_getTargetPoint":"get the target point",
964+
"text_scenicSpotsCenter":"Beijing surrounding scenic spots center",
965+
"text_getScenicSpotCenter":"get scenic spot center",
966+
"text_distanceBetween":"The distance between Beijing and Tianjin",
967+
"text_getDistance":"get the distance",
968+
"text_middlePointBetween":"Get the middle point between Beijing and Tianjin",
969+
"text_getMiddlePoint":"get the middle point",
970+
"text_bigRoundRoute":"The big round route from Beijing to Prague",
971+
"text_getRoute":"get route",
972+
"text_getBuffer":"get buffer",
973+
"text_polygon":"polygon",
974+
"text_getPolygon":"get polygon",
975+
"text_bezier":"The Bessel curve of the Bach Ha",
976+
"text_getBezier":"get the Bessel curve",
977+
"text_externalTangentSquare":"Minimum external tangent square",
978+
"text_getExternalTangentSquare":"get minimum external tangent square",
979+
"text_buffer":"buffer",
980+
"text_step":"step",
855981

856982

857983
"btn_overlayAnalyst": "start analysis",
@@ -1003,6 +1129,15 @@ window.resources = {
10031129
"btn_cancelHighlight": "Cancel highlight",
10041130
"btn_addMarker":"add marker",
10051131
"btn_undoAdd":"undo add",
1132+
"btn_drag":"drag",
1133+
"btn_drawCircle":"draw circle",
1134+
"btn_notDraw":"not draw",
1135+
"btn_modify":"modify",
1136+
"btn_notModify":"not modify",
1137+
"btn_createGrid":"create grid for the current drawing range",
1138+
"btn_createTin":"create tin",
1139+
"btn_clearTin":"clear result",
1140+
"btn_getResult":"get result",
10061141

10071142

10081143

@@ -1078,6 +1213,26 @@ window.resources = {
10781213
"msg_queryMileagePoint2":"",
10791214
"msg_addMarker":"Please add the marker firstly",
10801215
"msg_errorMsg":"error messages",
1216+
"msg_loginSuccess":"login Successful",
1217+
"msg_logoutSuccess":"logout Successful",
1218+
"msg_fillInURL":"Please fill in the URL",
1219+
"msg_loginFailed":"login failed",
1220+
"msg_logoutFailed":"logout failed",
1221+
"msg_findAirport":"Click the map to find the nearest airport from the click location",
1222+
"msg_beyondScope":"Beyond the scope of analysis.",
1223+
"msg_nearestAirport":"The nearest airport to this point is ",
1224+
"msg_drawMeshRegion":"Press on the ctrl + mouse left key to create a grid area",
1225+
"msg_noDataToDelete":"No data can be deleted",
1226+
"msg_drawAnalysisRegion":"Press on the ctrl + mouse left key to draw the range of the analysis on the map.",
1227+
"msg_layerCreated":"The layer has been created, do not repeat the creation.",
1228+
"msg_drawPolygonAndClick":"Please draw polygon firstly, then click the button to calculate the area",
1229+
"msg_markPoint":"Please mark a point firstly",
1230+
"msg_noMethod":"Method do not exist",
1231+
"msg_illegal":"Choose illegal, please rechoose",
1232+
"msg_incorrectInfo":"Incomplete or incorrect information",
1233+
"msg_inputValue":"Please input the value in the [-180, 180]",
1234+
"msg_stepSize":"The step size must be more than 0",
1235+
"msg_selectUnit":"Please select the unit",
10811236

10821237
"set_style":"",
10831238
"style_width420px": 'width: 500px',

0 commit comments

Comments
 (0)