geostyler
Version:
Framework for styling geodata
474 lines (473 loc) • 13 kB
JavaScript
import e from "antd/lib/locale/zh_CN";
const a = {
StyleFieldContainer: {
nameFieldLabel: "名称",
nameFieldPlaceholder: "名称",
titleFieldLabel: "标题",
titleFieldPlaceholder: "输入标题"
},
Editor: {
kindFieldLabel: "类型",
unknownSymbolizerText: "未知符号!"
},
RuleFieldContainer: {
nameFieldLabel: "名称",
nameFieldPlaceholder: "输入名称"
},
BulkEditModals: {
colorLabel: "选择颜色",
radiusLabel: "选择半径",
opacityLabel: "选择不透明度",
symbolLabel: "选择符号",
imageFieldLabel: "来源",
imageFieldTooltipLabel: "打开图库"
},
BulkEditor: {
colorLabel: "选择颜色",
radiusLabel: "选择半径",
opacityLabel: "选择不透明度",
symbolLabel: "选择符号",
imageFieldLabel: "来源"
},
Rule: {
removeRuleBtnText: "移除规则",
scaleFieldTitle: "使用比例尺",
filterFieldTitle: "使用过滤器",
nameFieldLabel: "名称",
nameFieldPlaceholder: "输入名称",
attributeLabel: "属性",
attributePlaceholderString: "选择属性",
attributeValidationHelpString: "请选择一个属性",
operatorLabel: "运算符",
operatorPlaceholderString: "选择运算符",
operatorValidationHelpString: "请选择运算符",
valueLabel: "值",
valuePlaceholder: "输入值",
valueValidationHelpString: "请输入值"
},
Style: {
addRuleBtnText: "添加规则",
cloneRulesBtnText: "克隆规则",
removeRulesBtnText: "移除规则",
nameFieldLabel: "名称",
nameFieldPlaceholder: "输入名称",
titleFieldLabel: "标题",
titleFieldPlaceholder: "输入标题",
colorLabel: "选择颜色",
radiusLabel: "选择半径",
opacityLabel: "选择不透明度",
symbolLabel: "选择符号",
multiEditLabel: "同时编辑",
ruleGeneratorWindowBtnText: "分类"
},
CardStyle: {
styleTitle: "样式",
classificationTitle: "分类",
multiEditTitle: "同时编辑",
symbolizerTitle: "符号",
filterTitle: "过滤器",
iconLibrariesTitle: "图库"
},
StyleOverview: {
styleTitle: "样式"
},
RuleOverview: {
ruleTitle: "规则"
},
Symbolizers: {
symbolizersTitle: "符号",
addSymbolizer: "添加符号",
showAll: "显示全部",
hide: "隐藏"
},
StyleLoader: {
label: "加载样式: ",
uploadButtonLabel: "上传样式"
},
DataLoader: {
label: "加载数据: ",
uploadButtonLabel: "上传数据"
},
WfsParserInput: {
requestButtonText: "请求数据",
urlLabel: "Url",
versionLabel: "Version",
typeNameLabel: "TypeNames",
featureIDLabel: "FeatureID",
propertyNameLabel: "PropertyName",
maxFeaturesLabel: "MaxFeatures",
fetchParamsLabel: "查询参数",
srsNameLabel: "SrsName"
},
CodeEditor: {
downloadButtonLabel: "另存为文件",
copyButtonLabel: "拷贝到剪贴板",
uploadButtonLabel: "TODO(zh_CN):Open a file",
formatSelectLabel: "格式",
styleCopied: "样式已拷贝到剪贴板!",
writeFeedback: "写时的反馈",
readFeedback: "阅读时的反馈"
},
ParserFeedback: {
notSupported: "当前解析器不支持",
partiallySupported: "当前解析器仅部分支持"
},
WellKnownNameEditor: {
fillColorLabel: "填充-颜色",
fillOpacityLabel: "填充-不透明度",
offsetXLabel: "X 偏移",
offsetYLabel: "Y 偏移",
opacityLabel: "不透明度",
radiusLabel: "半径",
rotateLabel: "旋转",
strokeColorLabel: "描边-颜色",
strokeOpacityLabel: "描边-不透明度",
strokeWidthLabel: "描边-宽度"
},
FillEditor: {
fillOpacityLabel: "填充-不透明度",
outlineOpacityLabel: "描边-不透明度",
opacityLabel: "不透明度",
fillColorLabel: "填充-颜色",
outlineColorLabel: "轮廓-颜色",
outlineWidthLabel: "轮廓-宽度",
outlineDasharrayLabel: "轮廓-点划样式",
graphicFillTypeLabel: "填充样式",
visibilityLabel: "可见性",
generalSectionLabel: "常规",
graphicFillSectionLabel: "填充"
},
IconEditor: {
iconTooltipLabel: "打开图库",
iconSpriteTooltipLabel: "使用精灵",
imageLabel: "来源",
imagePlaceholder: "图标URL",
offsetXLabel: "X 偏移",
offsetYLabel: "Y 偏移",
opacityLabel: "不透明度",
rotateLabel: "旋转",
sizeLabel: "尺寸",
visibilityLabel: "可见性"
},
MarkEditor: {
wellKnownNameFieldLabel: "符号",
visibilityLabel: "可见性"
},
LineEditor: {
colorLabel: "颜色",
widthLabel: "宽度",
opacityLabel: "不透明度",
dashLabel: "虚线样式",
perpendicularOffsetLabel: "垂直偏移",
dashOffsetLabel: "偏移",
capLabel: "端点",
joinLabel: "角点",
graphicStrokeTypeLabel: "画笔类型",
graphicFillTypeLabel: "填充类型",
visibilityLabel: "可见性",
generalSectionLabel: "常规",
graphicStrokeSectionLabel: "画笔",
graphicFillSectionLabel: "填充"
},
TextEditor: {
fontLabel: "字体",
templateFieldLabel: "模板",
opacityLabel: "不透明度",
colorLabel: "颜色",
sizeLabel: "大小",
offsetXLabel: "X 偏移",
offsetYLabel: "Y 偏移",
attributeComboPlaceholder: "选择字段",
rotateLabel: "旋转",
haloColorLabel: "光晕颜色",
haloWidthLabel: "光晕宽度",
attributeNotFound: "字段未找到",
visibilityLabel: "可见性"
},
PropTextEditor: {
propFieldLabel: "字段",
opacityLabel: "不透明度",
fontLabel: "字体",
colorLabel: "颜色",
sizeLabel: "大小",
offsetXLabel: "X 偏移",
offsetYLabel: "Y 偏移",
attributeComboPlaceholder: "选择字段",
rotateLabel: "旋转",
haloColorLabel: "光晕颜色",
haloWidthLabel: "光晕宽度"
},
RasterEditor: {
opacityLabel: "不透明度",
hueRotateLabel: "色调旋转",
brightnessMinLabel: "最小亮度",
brightnessMaxLabel: "最大亮度",
saturationLabel: "饱和度",
contrastLabel: "对比度",
fadeDurationLabel: "淡入淡出时间",
resamplingLabel: "重采样",
contrastEnhancementLabel: "对比增强",
gammaValueLabel: "Gamma",
colorMapLabel: "颜色映射",
symbolizerLabel: "符号化",
channelSelectionLabel: "通道选择",
visibilityLabel: "可见性"
},
RasterChannelEditor: {
channelSelectionLabel: "编辑通道",
redBandLabel: "红",
greenBandLabel: "绿",
blueBandLabel: "蓝",
grayBandLabel: "灰",
channelSelectionGrayLabel: "灰色",
channelSelectionRgbLabel: "RGB",
titleLabel: "通道选择"
},
ColorMapEditor: {
typeLabel: "类型",
extendedLabel: "颜色深度",
colorMapEntriesLabel: "颜色映射",
titleLabel: "颜色映射表",
nrOfClassesLabel: "分类数",
colorRampLabel: "色带",
colorLabel: "颜色",
quantityLabel: "像素值",
labelLabel: "图例",
opacityLabel: "不透明度"
},
PreviewMap: {
errorTitle: "无效的 geostyler-style",
couldNotGetDataProjection: "无法获取数据投影",
couldNotCreateSampleGeometries: "无法创建示例几何"
},
ColorField: {
chooseText: "选取"
},
KindField: {
symbolizerKinds: {
Mark: "点",
Fill: "面",
Icon: "图标",
Line: "线",
Text: "标注",
Raster: "栅格"
}
},
GraphicTypeField: {
Mark: "点",
Icon: "图标"
},
RgbChannelField: {
redLabel: "红色波段",
greenLabel: "绿色波段",
blueLabel: "蓝色波段"
},
GrayChannelField: {
grayLabel: "灰色波段"
},
ScaleDenominator: {
minScaleDenominatorLabelText: "最小比例尺",
maxScaleDenominatorLabelText: "最大比例尺",
minScaleDenominatorPlaceholderText: "输入最小比例尺(可选)",
maxScaleDenominatorPlaceholderText: "输入最大比例尺(可选)"
},
WellKnownNameField: {
wellKnownNames: {
circle: "圆形",
square: "方块",
triangle: "三角形",
star: "星形",
cross: "十字",
x: "叉"
}
},
ColorMapEntryField: {
colorLabel: "颜色",
labelLabel: "图例",
quantityLabel: "数值",
opacityLabel: "不透明度"
},
ChannelField: {
sourceChannelNameLabel: "通道名",
contrastEnhancementTypeLabel: "对比增强",
gammaValueLabel: "Gamma"
},
ColorMapTypeField: {
rampMapTypeLabel: "渐变",
intervalsMapTypeLabel: "分级",
valuesMapTypeLabel: "唯一值"
},
SymbolizerEditorWindow: {
symbolizersEditor: "符号编辑器",
cancelButtonLabel: "取消",
saveButtonLabel: "TODO"
},
FilterOverview: {
filterTitle: "过滤器"
},
FilterEditorWindow: {
filterEditor: "过滤器编辑器",
cancelButtonLabel: "取消",
saveButtonLabel: "TODO"
},
MultiEditor: {
add: "添加",
remove: "移除"
},
UploadButton: {
upload: "上传"
},
FilterTree: {
andDrpdwnLabel: "AND",
orDrpdwnLabel: "OR",
notDrpdwnLabel: "NOT",
comparisonDrpdwnLabel: "比较",
addFilterLabel: "添加过滤器",
changeFilterLabel: "更改过滤器",
removeFilterLabel: "移除过滤器",
andFilterText: "AND",
orFilterText: "OR",
notFilterText: "NOT"
},
RuleTable: {
symbolizersColumnTitle: "符号",
nameColumnTitle: "名称",
filterColumnTitle: "过滤器",
minScaleColumnTitle: "最小比例尺",
maxScaleColumnTitle: "最大比例尺",
scalesColumnTitle: "TODO(zh_CN): Scales",
errorMaxScaleGreaterThanMinScale: "TODO(zh_CN): errorMaxScaleGreaterThanMinScale",
amountColumnTitle: "数量",
duplicatesColumnTitle: "副本",
actionsColumnTitle: "操作",
actionCloneLabel: "克隆",
actionRemoveLabel: "移除"
},
Rules: {
rulesTitle: "规则",
multiEdit: "选择",
addRule: "添加",
classification: "分类",
remove: "移除",
clone: "复制",
edit: "编辑",
defaultRuleTitle: "未命名"
},
RuleReorderButtons: {
ruleMoveUpTip: "向上移动",
ruleMoveDownTip: "向下移动"
},
RuleGenerator: {
attribute: "属性",
generateButtonText: "分类",
levelOfMeasurement: "计量尺度",
nominal: "标称数Nominal",
ordinal: "序数Ordinal",
cardinal: "基数Cardinal",
numberOfRules: "分类数",
colorRamp: "色带",
colorSpace: "色彩空间",
colorRampPlaceholder: "选择……",
colorRampMinClassesWarningPre: "色带需要至少",
colorRampMinClassesWarningPost: "类",
symbolizer: "Symbolizer",
classification: "分类方法",
classificationPlaceholder: "选择……",
equalInterval: "相等间隔",
preview: "颜色预览",
numberOfRulesViaKmeans: "……被 k-Means 分类影响。",
allDistinctValues: "使用所有不同的值"
},
ColorRampCombo: {
colorRampPlaceholder: "选择……"
},
ColorSpaceCombo: {
colorSpacePlaceholder: "选择……"
},
ClassificationCombo: {
equalInterval: "等值间隔",
quantile: "分位数",
logarithmic: "对数",
kmeans: "k-Means"
},
RuleGeneratorWindow: {
ruleGenerator: "分类"
},
IconSelectorWindow: {
windowLabel: "选择图标"
},
IconSelector: {
librarySelectLabel: "选择图标库"
},
SLDUnitsSelect: {
symbolizerUnitsLabel: "符号单位",
symbolizerUnitsPixel: "像素",
symbolizerUnitsMeter: "米",
symbolizerUnitsFoot: "英尺"
},
AttributeCombo: {
label: "属性",
placeholder: "选择属性",
help: "请选择一个属性"
},
TextFilterField: {
label: "价值",
placeholder: "输入文本值",
help: "请输入一个文本"
},
NumberFilterField: {
label: "价值",
placeholder: "输入数字值",
help: "请输入一个数字"
},
BoolFilterField: {
label: "价值"
},
LineCapField: {
lineCapOptions: {
butt: "TODO(zh_CN): butt",
round: "TODO(zh_CN): round",
square: "TODO(zh_CN): square"
}
},
LineJoinField: {
lineJoinOptions: {
bevel: "TODO(zh_CN): bevel",
round: "TODO(zh_CN): round",
miter: "TODO(zh_CN): miter"
}
},
ImageField: {
sprite: {
x: "TODO(zh_CN): x",
y: "TODO(zh_CN): y",
height: "TODO(zh_CN): height",
width: "TODO(zh_CN): width"
}
},
UnsupportedPropertiesUtil: {
notSupported: "所选分析器不支持",
partiallySupported: "只被选定的解析器部分支持"
},
FunctionNameCombo: {
placeholder: "… 选择GeoStylerFunction"
},
VisibilityField: {
on: "开",
off: "关"
},
UnknownInput: {
typeSelectToolip: "选择输入类型"
},
FunctionUI: {
add: "添加",
remove: "移除"
},
Renderer: {
placeholderInfo: "这是一个占位符,因为符号包含函数,无法预览。"
},
...e
};
export {
a as default
};