-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
en.ts
507 lines (504 loc) · 16.2 KB
/
en.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
import {LOCALES} from '../locales';
export default {
property: {
weight: 'weight',
label: 'label',
fillColor: 'fill color',
color: 'color',
coverage: 'coverage',
strokeColor: 'stroke color',
radius: 'radius',
outline: 'outline',
stroke: 'stroke',
density: 'density',
height: 'height',
sum: 'sum',
pointCount: 'Point Count'
},
placeholder: {
search: 'Search',
selectField: 'Select a field',
yAxis: 'Y Axis',
selectType: 'Select A Type',
selectValue: 'Select A Value',
enterValue: 'Enter a value',
empty: 'empty',
selectLayer: 'Select a layer'
},
misc: {
by: '',
valuesIn: 'Values in',
valueEquals: 'Value equals',
dataSource: 'Data Source',
brushRadius: 'Brush Radius (km)',
empty: ' '
},
mapLayers: {
title: 'Map Layers',
label: 'Label',
road: 'Road',
border: 'Border',
building: 'Building',
water: 'Water',
land: 'Land',
'3dBuilding': '3d Building',
background: 'Background'
},
panel: {
text: {
label: 'label',
labelWithId: 'Label {labelId}',
fontSize: 'Font size',
fontColor: 'Font color',
textAnchor: 'Text anchor',
alignment: 'Alignment',
addMoreLabel: 'Add More Label'
}
},
sidebar: {
panels: {
layer: 'Layers',
filter: 'Filters',
interaction: 'Interactions',
basemap: 'Base map'
},
panelViewToggle: {
list: 'View List',
byDataset: 'View by Dataset'
}
},
layer: {
required: 'Required*',
radius: 'Radius',
color: 'Color',
fillColor: 'Fill Color',
outline: 'Outline',
weight: 'Weight',
propertyBasedOn: '{property} based on',
coverage: 'Coverage',
stroke: 'Stroke',
strokeWidth: 'Stroke Width',
strokeColor: 'Stroke Color',
basic: 'Basic',
trailLength: 'Trail Length',
trailLengthDescription: 'Number of seconds for a path to completely fade out',
newLayer: 'new layer',
elevationByDescription: 'When off, height is based on count of points',
colorByDescription: 'When off, color is based on count of points',
aggregateBy: 'Aggregate {field} by',
'3DModel': '3D Model',
'3DModelOptions': '3D Model Options',
type: {
point: 'point',
arc: 'arc',
line: 'line',
grid: 'grid',
hexbin: 'hexbin',
polygon: 'polygon',
geojson: 'geojson',
cluster: 'cluster',
icon: 'icon',
heatmap: 'heatmap',
hexagon: 'hexagon',
hexagonid: 'H3',
trip: 'trip',
s2: 'S2',
'3d': '3D'
},
layerUpdateError:
'An error occurred during layer update: {errorMessage}. Make sure the format of the input data is valid.'
},
layerVisConfigs: {
angle: 'Angle',
strokeWidth: 'Stroke Width (Pixels)',
strokeWidthRange: 'Stroke Width Range',
radius: 'Radius',
fixedRadius: 'Fixed Radius to meter',
fixedRadiusDescription: 'Map radius to absolute radius in meters, e.g. 5 to 5 meters',
radiusRange: 'Radius Range',
clusterRadius: 'Cluster Radius in Pixels',
radiusRangePixels: 'Radius Range in pixels',
opacity: 'Opacity',
coverage: 'Coverage',
outline: 'Outline',
colorRange: 'Color range',
stroke: 'Stroke',
strokeColor: 'Stroke Color',
strokeColorRange: 'Stroke Color range',
targetColor: 'Target Color',
colorAggregation: 'Color Aggregation',
heightAggregation: 'Height Aggregation',
resolutionRange: 'Resolution range',
sizeScale: 'Size Scale',
worldUnitSize: 'World Unit Size',
elevationScale: 'Elevation Scale',
enableElevationZoomFactor: 'Use elevation zoom factor',
enableElevationZoomFactorDescription: 'Adjust height/elevation based on current zoom factor',
enableHeightZoomFactor: 'Use height zoom factor',
heightScale: 'Height Scale',
coverageRange: 'Coverage Range',
highPrecisionRendering: 'High Precision Rendering',
highPrecisionRenderingDescription: 'High precision will result in slower performance',
height: 'Height',
heightDescription: 'Click button at top right of the map to switch to 3d view',
fill: 'Fill',
enablePolygonHeight: 'Enable Polygon Height',
showWireframe: 'Show Wireframe',
weightIntensity: 'Weight Intensity',
zoomScale: 'Zoom Scale',
heightRange: 'Height Range',
heightMultiplier: 'Height Multiplier',
darkModeEnabled: 'Dark base map'
},
layerManager: {
addData: 'Add Data',
addLayer: 'Add Layer',
layerBlending: 'Layer Blending',
overlayBlending: 'Overlay Blending'
},
mapManager: {
mapStyle: 'Map style',
addMapStyle: 'Add Map Style',
'3dBuildingColor': '3D Building Color',
backgroundColor: 'Background Color'
},
layerConfiguration: {
defaultDescription: 'Calculate {property} based on selected field',
howTo: 'How to'
},
filterManager: {
addFilter: 'Add Filter'
},
datasetTitle: {
showDataTable: 'Show data table',
removeDataset: 'Remove dataset'
},
datasetInfo: {
rowCount: '{rowCount} rows'
},
tooltip: {
hideLayer: 'hide layer',
showLayer: 'show layer',
hideFeature: 'Hide Feature',
showFeature: 'Show feature',
hide: 'hide',
show: 'show',
removeLayer: 'Remove layer',
duplicateLayer: 'Duplicate layer',
resetAfterError: 'Try to enable the layer after an error',
layerSettings: 'Layer settings',
closePanel: 'Close current panel',
switchToDualView: 'Switch to dual map view',
showLegend: 'Show legend',
disable3DMap: 'Disable 3D Map',
DrawOnMap: 'Draw on map',
selectLocale: 'Select locale',
hideLayerPanel: 'Hide layer panel',
showLayerPanel: 'Show layer panel',
moveToTop: 'Move to top of data layers',
selectBaseMapStyle: 'Select Base Map Style',
delete: 'Delete',
timePlayback: 'Time Playback',
cloudStorage: 'Cloud Storage',
'3DMap': '3D Map',
animationByWindow: 'Moving Time Window',
animationByIncremental: 'Incremental Time Window',
speed: 'speed',
play: 'play',
pause: 'pause',
reset: 'reset',
export: 'export'
},
toolbar: {
exportImage: 'Export Image',
exportData: 'Export Data',
exportMap: 'Export Map',
shareMapURL: 'Share Map URL',
saveMap: 'Save Map',
select: 'Select',
polygon: 'Polygon',
rectangle: 'Rectangle',
hide: 'Hide',
show: 'Show',
...LOCALES
},
editor: {
filterLayer: 'Filter Layers',
copyGeometry: 'Copy Geometry',
noLayersToFilter: 'No layers to filter'
},
modal: {
title: {
deleteDataset: 'Delete Dataset',
addDataToMap: 'Add Data To Map',
exportImage: 'Export Image',
exportData: 'Export Data',
exportMap: 'Export Map',
addCustomMapboxStyle: 'Add Custom Map Style',
saveMap: 'Save Map',
shareURL: 'Share URL'
},
button: {
delete: 'Delete',
download: 'Download',
export: 'Export',
addStyle: 'Add Style',
save: 'Save',
defaultCancel: 'Cancel',
defaultConfirm: 'Confirm'
},
exportImage: {
ratioTitle: 'Ratio',
ratioDescription: 'Choose the ratio for various usages.',
ratioOriginalScreen: 'Original Screen',
ratioCustom: 'Custom',
ratio4_3: '4:3',
ratio16_9: '16:9',
resolutionTitle: 'Resolution',
resolutionDescription: 'High resolution is better for prints.',
mapLegendTitle: 'Map Legend',
mapLegendAdd: 'Add legend on map'
},
exportData: {
datasetTitle: 'Dataset',
datasetSubtitle: 'Choose the datasets you want to export',
allDatasets: 'All',
dataTypeTitle: 'Data Type',
dataTypeSubtitle: 'Choose the type of data you want to export',
filterDataTitle: 'Filter Data',
filterDataSubtitle: 'You can choose exporting original data or filtered data',
filteredData: 'Filtered data',
unfilteredData: 'Unfiltered Data',
fileCount: '{fileCount} Files',
rowCount: '{rowCount} Rows'
},
deleteData: {
warning: 'you are going to delete this dataset. It will affect {length} layers'
},
addStyle: {
publishTitle:
'2. If entered mapbox style url in step.1, publish your style at mapbox or provide access token. (Optional)',
publishSubtitle1: 'You can create your own map style at',
publishSubtitle2: 'and',
publishSubtitle3: 'publish',
publishSubtitle4: 'it.',
publishSubtitle5: 'To use private style, paste your',
publishSubtitle6: 'access token',
publishSubtitle7:
'here. *kepler.gl is a client-side application, data stays in your browser..',
exampleToken: 'e.g. pk.abcdefg.xxxxxx',
pasteTitle: '1. Paste style url',
pasteSubtitle0: 'Style url can be a mapbox',
pasteSubtitle1: 'What is a',
pasteSubtitle2: 'style URL',
pasteSubtitle3: 'or a style.json using the',
pasteSubtitle4: 'Mapbox GL Style Spec',
namingTitle: '3. Name your style'
},
shareMap: {
shareUriTitle: 'Share Map Url',
shareUriSubtitle: 'Generate a map url to share with others',
cloudTitle: 'Cloud storage',
cloudSubtitle: 'Login and upload map data to your personal cloud storage',
shareDisclaimer:
'kepler.gl will save your map data to your personal cloud storage, only people with the URL can access your map and data. ' +
'You can edit/delete the data file in your cloud account anytime.',
gotoPage: 'Go to your Kepler.gl {currentProvider} page'
},
statusPanel: {
mapUploading: 'Map Uploading',
error: 'Error'
},
saveMap: {
title: 'Cloud storage',
subtitle: 'Login to save map to your personal cloud storage'
},
exportMap: {
formatTitle: 'Map format',
formatSubtitle: 'Choose the format to export your map to',
html: {
selection: 'Export your map into an interactive html file.',
tokenTitle: 'Mapbox access token',
tokenSubtitle: 'Use your own Mapbox access token in the html (optional)',
tokenPlaceholder: 'Paste your Mapbox access token',
tokenMisuseWarning:
'* If you do not provide your own token, the map may fail to display at any time when we replace ours to avoid misuse. ',
tokenDisclaimer: 'You can change the Mapbox token later using the following instructions: ',
tokenUpdate: 'How to update an existing map token.',
modeTitle: 'Map Mode',
modeSubtitle1: 'Select the app mode. More ',
modeSubtitle2: 'info',
modeDescription: 'Allow users to {mode} the map',
read: 'read',
edit: 'edit'
},
json: {
configTitle: 'Map Config',
configDisclaimer:
'Map config will be included in the Json file. If you are using kepler.gl in your own app. You can copy this config and pass it to ',
selection:
'Export current map data and config into a single Json file. You can later open the same map by uploading this file to kepler.gl.',
disclaimer:
'* Map config is coupled with loaded datasets. ‘dataId’ is used to bind layers, filters, and tooltips to a specific dataset. ' +
'When passing this config to addDataToMap, make sure the dataset id matches the dataId/s in this config.'
}
},
loadingDialog: {
loading: 'Loading...'
},
loadData: {
upload: 'Load Files',
storage: 'Load from Storage'
},
tripInfo: {
title: 'How to enable trip animation',
description1:
'In order to animate the path, the geoJSON data needs to contain `LineString` in its feature geometry, and the coordinates in the LineString need to have 4 elements in the formats of',
code: ' [longitude, latitude, altitude, timestamp] ',
description2:
'with the last element being a timestamp. Valid timestamp formats include unix in seconds such as `1564184363` or in milliseconds such as `1564184363000`.',
example: 'Example:'
},
iconInfo: {
title: 'How to draw icons',
description1:
'In your csv, create a column, put the name of the icon you want to draw in it. You can leave the cell empty if you do not want the icon to show for some points. When the column is named',
code: 'icon',
description2: ' kepler.gl will automatically create a icon layer for you.',
example: 'Example:',
icons: 'Icons'
},
storageMapViewer: {
lastModified: 'Last modified {lastUpdated} ago',
back: 'Back'
},
overwriteMap: {
title: 'Saving map...',
alreadyExists: 'already exists in your {mapSaved}. Would you like to overwrite it?'
},
loadStorageMap: {
back: 'Back',
goToPage: 'Go to your Kepler.gl {displayName} page',
storageMaps: 'Storage / Maps',
noSavedMaps: 'No saved maps yet'
}
},
header: {
visibleLayers: 'Visible layers',
layerLegend: 'Legend'
},
interactions: {
tooltip: 'Tooltip',
brush: 'Brush',
coordinate: 'Coordinates',
geocoder: 'Geocoder'
},
layerBlending: {
title: 'Layer Blending',
additive: 'additive',
normal: 'normal',
subtractive: 'subtractive'
},
overlayBlending: {
title: 'Map overlay blending',
description: 'Blend layers with the base map so that both are visible.',
screen: 'dark base map',
normal: 'normal',
darken: 'light base map'
},
columns: {
title: 'Columns',
lat: 'lat',
lng: 'lon',
altitude: 'altitude',
icon: 'icon',
geojson: 'geojson',
token: 'token',
arc: {
lat0: 'source lat',
lng0: 'source lng',
lat1: 'target lat',
lng1: 'target lng'
},
line: {
alt0: 'source altitude',
alt1: 'target altitude'
},
grid: {
worldUnitSize: 'Grid Size (km)'
},
hexagon: {
worldUnitSize: 'Hexagon Radius (km)'
},
hex_id: 'hex id'
},
color: {
customPalette: 'Custom Palette',
steps: 'steps',
type: 'type',
reversed: 'reversed'
},
scale: {
colorScale: 'Color Scale',
sizeScale: 'Size Scale',
strokeScale: 'Stroke Scale',
strokeColorScale: 'Stroke Color Scale',
scale: 'Scale'
},
fileUploader: {
message: 'Drag & Drop Your File(s) Here',
chromeMessage:
'*Chrome user: Limit file size to 250mb, if need to upload larger file, try Safari',
disclaimer:
'*kepler.gl is a client-side application with no server backend. Data lives only on your machine/browser. ' +
'No information or map data is sent to any server.',
configUploadMessage:
'Upload {fileFormatNames} or saved map **Json**. Read more about [**supported file formats**]',
browseFiles: 'browse your files',
uploading: 'Uploading',
fileNotSupported: 'File {errorFiles} is not supported.',
or: 'or'
},
geocoder: {
title: 'Enter an address or coordinates, ex 37.79,-122.40'
},
fieldSelector: {
clearAll: 'Clear All',
formatting: 'Formatting'
},
compare: {
modeLabel: 'Comparison Mode',
typeLabel: 'Comparison Type',
types: {
absolute: 'Absolute',
relative: 'Relative'
}
},
mapPopover: {
primary: 'Primary'
},
density: 'density',
'Bug Report': 'Bug Report',
'User Guide': 'User Guide',
Save: 'Save',
Share: 'Share'
};