Skip to content

Commit 95a91fd

Browse files
committed
补提交 分布式分析微件国际化
1 parent 2edc146 commit 95a91fd

File tree

7 files changed

+138
-119
lines changed

7 files changed

+138
-119
lines changed

dist/leaflet/iclient9-leaflet-es6.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65994,8 +65994,10 @@ let en = {
6599465994
'text_label_meshType': 'Mesh type',
6599565995
'text_option_notSet': 'Not set',
6599665996
'text_label_weightField': 'Weight field',
65997-
'text_label_gridSizeInMeters': 'Grid size (in meters)',
65997+
'text_label_gridSizeInMeters': 'Grid size',
6599865998
'text_label_searchRadius': 'Search radius',
65999+
'text_label_queryRange': 'Scope of analysis',
66000+
'text_label_areaUnit': 'Area unit',
6599966001
'text_option_equidistantSegmentation': 'Equidistant segmentation',
6600066002
'text_option_logarithm': 'Logarithm',
6600166003
'text_option_equalCountingSegment': 'Equal counting segment',
@@ -66028,6 +66030,7 @@ let en = {
6602866030
'text_label_color': 'Color',
6602966031
'text_label_buffer': '[Buffer]',
6603066032
'text_label_isolines': '[Isolines]',
66033+
'text_label_queryRangeTips': 'The default is the full range of input data. Example: -74.050, 40.650, -73.850, 40.850',
6603166034

6603266035
"btn_analyze": "Analyze",
6603366036
"btn_analyzing": "Analyzing",
@@ -66082,8 +66085,10 @@ let zh = {
6608266085
'text_label_meshType': '网格面类型',
6608366086
'text_option_notSet': '未设置',
6608466087
'text_label_weightField': '权重字段',
66085-
'text_label_gridSizeInMeters': '网格大小(单位为:米)',
66088+
'text_label_gridSizeInMeters': '网格大小',
6608666089
'text_label_searchRadius': '搜索半径',
66090+
'text_label_queryRange': '分析范围',
66091+
'text_label_areaUnit': '面积单位',
6608766092
'text_option_equidistantSegmentation': '等距离分段',
6608866093
'text_option_logarithm': '对数',
6608966094
'text_option_equalCountingSegment': '等计数分段',
@@ -66116,7 +66121,7 @@ let zh = {
6611666121
'text_label_color': '颜色',
6611766122
'text_label_buffer': '[缓冲区]',
6611866123
'text_label_isolines': '[等值线]',
66119-
66124+
'text_label_queryRangeTips': '默认为输入数据的全幅范围。范例:-74.050,40.650,-73.850,40.850',
6612066125

6612166126
"btn_analyze": "分析",
6612266127
"btn_analyzing": "分析中",
@@ -83423,7 +83428,7 @@ class GeoJsonLayerDataModel {
8342383428

8342483429
/**
8342583430
* @class L.supermap.widgets.searchViewModel
83426-
* @classdesc 查询微件功能类
83431+
* @classdesc 图层查询微件功能类
8342783432
* @category Widgets Search
8342883433
* @param {Object} options - 可选参
8342983434
* @param {Object} [options.cityGeoCodingConfig] - 城市地址匹配服务配置,包括:{addressUrl:"",key:""} 默认为 online 地址匹配服务,与 options.cityConfig 对应。
@@ -83640,9 +83645,9 @@ external_L_default.a.supermap.widgets.searchViewModel = searchViewModel;
8364083645

8364183646
/**
8364283647
* @class L.supermap.widgets.search
83643-
* @classdesc 查询微件
83648+
* @classdesc 图层查询微件。
8364483649
* @category Widgets Search
83645-
* @param {Object} options - 可选参数
83650+
* @param {Object} options - 可选参数
8364683651
* @param {string} [options.position='topright'] - 控件位置,继承自 leaflet control。
8364783652
* @param {string} [options.addressUrl] - 配置地址匹配服务。
8364883653
* @param {Object|Array.<string>} [options.cityConfig] - 城市地址匹配配置,默认为全国城市,与 options.cityGeoCodingConfig 支持匹配的服务对应;
@@ -86047,21 +86052,22 @@ var DistributedAnalysisView = external_L_default.a.Control.extend({
8604786052
// 分析范围 & 网格大小 & 搜索半径 & 面积单位
8604886053
// 分析范围
8604986054
let inputOptions = [{
86050-
'spanName': '分析范围',
86055+
'spanName': Lang.i18n('text_label_queryRange'),
8605186056
'value': ''
8605286057
}];
8605386058
for (let i in inputOptions) {
8605486059
this._creatInputBox(inputOptions[i], analysisSelectControl)
8605586060
}
8605686061
let queryRangeInput = analysisSelectControl.children[3].children[1];
86057-
queryRangeInput.setAttribute('placeholder', '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]')
86058-
queryRangeInput.title = '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]';
86062+
queryRangeInput.setAttribute('placeholder', Lang.i18n('text_label_queryRangeTips'))
86063+
queryRangeInput.title = Lang.i18n('text_label_queryRangeTips');
86064+
8605986065
// 网格大小
8606086066
let gridSizeUnitSelectOptions = {
8606186067
'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
8606286068
}
8606386069
let gridSizeOptions = {
86064-
'labelName':'网格大小',
86070+
'labelName': Lang.i18n('text_label_gridSizeInMeters'),
8606586071
'selectOptions':gridSizeUnitSelectOptions
8606686072
}
8606786073
let gridSizeContainer = this._creatUnitSelectBox(gridSizeOptions, analysisSelectControl);
@@ -86074,7 +86080,7 @@ var DistributedAnalysisView = external_L_default.a.Control.extend({
8607486080
'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
8607586081
}
8607686082
let searchRadiusOptions = {
86077-
'labelName':'搜索半径',
86083+
'labelName': Lang.i18n('text_label_searchRadius'),
8607886084
'selectOptions':searchRadiusUnitSelectOptions
8607986085
}
8608086086
let searchRadiusContainer = this._creatUnitSelectBox(searchRadiusOptions, analysisSelectControl);
@@ -86083,7 +86089,7 @@ var DistributedAnalysisView = external_L_default.a.Control.extend({
8608386089
let searchRadiusSelectName = searchRadiusContainer.children[1].children[1].children[0].children[0].children[0];
8608486090
// 面积单位
8608586091
let areaUnitSelectOptions = {
86086-
'labelName':'面积单位',
86092+
'labelName': Lang.i18n('text_label_areaUnit'),
8608786093
'optionsArr': ['SquareMile', 'SquareMeter', 'Hectare', 'Acre', 'SquareFoot', 'SquareYard']
8608886094
}
8608986095
let areaUnitSelectTool= (new Select(areaUnitSelectOptions)).getElement();

dist/leaflet/iclient9-leaflet-es6.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/iclient9-leaflet.js

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30408,7 +30408,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
3040830408

3040930409
/**
3041030410
* @class L.supermap.widgets.searchViewModel
30411-
* @classdesc 查询微件功能类
30411+
* @classdesc 图层查询微件功能类
3041230412
* @category Widgets Search
3041330413
* @param {Object} options - 可选参
3041430414
* @param {Object} [options.cityGeoCodingConfig] - 城市地址匹配服务配置,包括:{addressUrl:"",key:""} 默认为 online 地址匹配服务,与 options.cityConfig 对应。
@@ -63663,21 +63663,22 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6366363663
// 分析范围 & 网格大小 & 搜索半径 & 面积单位
6366463664
// 分析范围
6366563665
var inputOptions = [{
63666-
'spanName': '分析范围',
63666+
'spanName': _iclientCommon.Lang.i18n('text_label_queryRange'),
6366763667
'value': ''
6366863668
}];
6366963669
for (var _i in inputOptions) {
6367063670
this._creatInputBox(inputOptions[_i], analysisSelectControl);
6367163671
}
6367263672
var queryRangeInput = analysisSelectControl.children[3].children[1];
63673-
queryRangeInput.setAttribute('placeholder', '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]');
63674-
queryRangeInput.title = '默认为输入数据的全幅范围。范例:[-74.050,40.650,-73.850,40.850]';
63673+
queryRangeInput.setAttribute('placeholder', _iclientCommon.Lang.i18n('text_label_queryRangeTips'));
63674+
queryRangeInput.title = _iclientCommon.Lang.i18n('text_label_queryRangeTips');
63675+
6367563676
// 网格大小
6367663677
var gridSizeUnitSelectOptions = {
6367763678
'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
6367863679
};
6367963680
var gridSizeOptions = {
63680-
'labelName': '网格大小',
63681+
'labelName': _iclientCommon.Lang.i18n('text_label_gridSizeInMeters'),
6368163682
'selectOptions': gridSizeUnitSelectOptions
6368263683
};
6368363684
var gridSizeContainer = this._creatUnitSelectBox(gridSizeOptions, analysisSelectControl);
@@ -63690,7 +63691,7 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6369063691
'optionsArr': ['Meter', 'Kilometer', 'Yard', 'Foot', 'Mile']
6369163692
};
6369263693
var searchRadiusOptions = {
63693-
'labelName': '搜索半径',
63694+
'labelName': _iclientCommon.Lang.i18n('text_label_searchRadius'),
6369463695
'selectOptions': searchRadiusUnitSelectOptions
6369563696
};
6369663697
var searchRadiusContainer = this._creatUnitSelectBox(searchRadiusOptions, analysisSelectControl);
@@ -63699,7 +63700,7 @@ var DistributedAnalysisView = exports.DistributedAnalysisView = _leaflet2["defau
6369963700
var searchRadiusSelectName = searchRadiusContainer.children[1].children[1].children[0].children[0].children[0];
6370063701
// 面积单位
6370163702
var areaUnitSelectOptions = {
63702-
'labelName': '面积单位',
63703+
'labelName': _iclientCommon.Lang.i18n('text_label_areaUnit'),
6370363704
'optionsArr': ['SquareMile', 'SquareMeter', 'Hectare', 'Acre', 'SquareFoot', 'SquareYard']
6370463705
};
6370563706
var areaUnitSelectTool = new _iclientCommon.Select(areaUnitSelectOptions).getElement();
@@ -65135,9 +65136,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
6513565136

6513665137
/**
6513765138
* @class L.supermap.widgets.search
65138-
* @classdesc 查询微件
65139+
* @classdesc 图层查询微件。
6513965140
* @category Widgets Search
65140-
* @param {Object} options - 可选参数
65141+
* @param {Object} options - 可选参数
6514165142
* @param {string} [options.position='topright'] - 控件位置,继承自 leaflet control。
6514265143
* @param {string} [options.addressUrl] - 配置地址匹配服务。
6514365144
* @param {Object|Array.<string>} [options.cityConfig] - 城市地址匹配配置,默认为全国城市,与 options.cityGeoCodingConfig 支持匹配的服务对应;
@@ -79999,8 +80000,10 @@ var zh = {
7999980000
'text_label_meshType': '网格面类型',
8000080001
'text_option_notSet': '未设置',
8000180002
'text_label_weightField': '权重字段',
80002-
'text_label_gridSizeInMeters': '网格大小(单位为:米)',
80003+
'text_label_gridSizeInMeters': '网格大小',
8000380004
'text_label_searchRadius': '搜索半径',
80005+
'text_label_queryRange': '分析范围',
80006+
'text_label_areaUnit': '面积单位',
8000480007
'text_option_equidistantSegmentation': '等距离分段',
8000580008
'text_option_logarithm': '对数',
8000680009
'text_option_equalCountingSegment': '等计数分段',
@@ -80033,6 +80036,7 @@ var zh = {
8003380036
'text_label_color': '颜色',
8003480037
'text_label_buffer': '[缓冲区]',
8003580038
'text_label_isolines': '[等值线]',
80039+
'text_label_queryRangeTips': '默认为输入数据的全幅范围。范例:-74.050,40.650,-73.850,40.850',
8003680040

8003780041
"btn_analyze": "分析",
8003880042
"btn_analyzing": "分析中",
@@ -80097,8 +80101,10 @@ var en = {
8009780101
'text_label_meshType': 'Mesh type',
8009880102
'text_option_notSet': 'Not set',
8009980103
'text_label_weightField': 'Weight field',
80100-
'text_label_gridSizeInMeters': 'Grid size (in meters)',
80104+
'text_label_gridSizeInMeters': 'Grid size',
8010180105
'text_label_searchRadius': 'Search radius',
80106+
'text_label_queryRange': 'Scope of analysis',
80107+
'text_label_areaUnit': 'Area unit',
8010280108
'text_option_equidistantSegmentation': 'Equidistant segmentation',
8010380109
'text_option_logarithm': 'Logarithm',
8010480110
'text_option_equalCountingSegment': 'Equal counting segment',
@@ -80131,6 +80137,7 @@ var en = {
8013180137
'text_label_color': 'Color',
8013280138
'text_label_buffer': '[Buffer]',
8013380139
'text_label_isolines': '[Isolines]',
80140+
'text_label_queryRangeTips': 'The default is the full range of input data. Example: -74.050, 40.650, -73.850, 40.850',
8013480141

8013580142
"btn_analyze": "Analyze",
8013680143
"btn_analyzing": "Analyzing",

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