names_mapping = { 'page_header': { "en": "Upload an image or select an example to start", 'cn': "上传图片或者从右侧选择案列以开始" }, 'raw_image': { "en": "Raw image", 'cn': "原图" }, "image_color_reduce_settings": { "en": "Image Color Reduce Settings", 'cn': "图片颜色数量设置", }, 'input_image': { "en": "Input Image", 'cn': "输入图片", }, "transformation_method": { "en": "Transformation Method", 'cn': "转换方法", }, "distance_strategy": { "en": "Distance Strategy", 'cn': "距离方法", }, "max_colors": { "en": "Max Colors", 'cn': "最大颜色数量", }, "rgb_palette": { "en": "RBG Palette", 'cn': "RBG色板", }, "rgb_palette_place_holder": { "en": "RGBs for mapping, if empty, it will find colors automatically with max colors", 'cn': "目标RBG参数,可不填,则默认自动找到最大颜色数量的颜色", }, "color_list": { "en": "RBG list of reduced color image", 'cn': "保留的RGB颜色", }, "tile_settings": { "en": "Tile Settings", 'cn': "砖块设置", }, "painting_width": { "en": "Final Image Width", 'cn': "墙面宽度", }, "painting_height": { "en": "Final Image Height", 'cn': "墙面高度", }, "tile_preset": { "en": "Tile Preset", 'cn': "砖块预设", }, "tile_width": { "en": "Tile Width", 'cn': "砖块宽度", }, "tile_height": { "en": "Tile Height(Total)", 'cn': "砖块高度(包括尖部)", }, "tile_height_tip": { "en": "Tile Tip Height", 'cn': "尖部高度", }, "gap_horizontal": { "en": "Horizontal Gap", 'cn': "横向缝隙", }, "gap_vertical": { "en": "Veritcal Gap", 'cn': "纵向缝隙", }, "gap_color": { "en": "Gap Color", 'cn': "缝隙颜色", }, "color_aggregate_type": { "en": "Aggregate Color Method", 'cn': "颜色聚敛方法", }, "boader_settings": { "en": "Boarder Settings", 'cn': "边框设定", }, 'left_boarder_dist': { "en": "Left Line Distance", 'cn': "左边框距离", }, 'right_boarder_dist': { "en": "Right Line Distance", 'cn': "右边框距离", }, 'top_boarder_dist': { "en": "Top Line Distance", 'cn': "上边框距离", }, 'bottom_boarder_dist': { "en": "Bottom Line Distance", 'cn': "下边框距离", }, 'line_width': { "en": "Line Width", 'cn': "边框粗细", }, 'line_color': { "en": "Line Color", 'cn': "边框颜色", }, 'margin_left': { "en": "Left Margin", 'cn': "左留白", }, 'margin_right': { "en": "Right Margin", 'cn': "右留白", }, 'margin_top': { "en": "Top Margin", 'cn': "上留白", }, 'margin_bottom': { "en": "Bottom Margin", 'cn': "下留白", }, "header_text_settings": { "en": "Header Text Settings", 'cn': "主要文字说明", }, 'text_width': { "en": 'Text Image Width', 'cn': "文字图片宽度", }, 'text_height': { "en": 'Text Image Height', 'cn': "文字图片高度", }, 'text_bg_color': { "en": 'Text Image BG Color', 'cn': "文字图片背景颜色", }, 'font_name': { "en": 'Font Type', 'cn': "字体", }, 'font_size': { "en": 'Font Size', 'cn': "字号", }, 'text_color': { "en": 'Font Color', 'cn': "字体颜色", }, 'text_x_pos': { "en": 'Text Pos in Text Image X', 'cn': "文字在图片位置X", }, 'text_y_pos': { "en": 'Text Pos in Text Image Y', 'cn': "文字在图片位置Y", }, 'text': { "en": 'Text Value', 'cn': "文字", }, "onto_position_x": { "en": "Paste to X", 'cn': "文字图片在原图位置X", }, "onto_position_y": { "en": "Paste to Y", 'cn': "文字图片在原图位置Y", }, "grid_settings": { "en": "Color Grid Settings", 'cn': "颜色网格设定", }, 'hex_width': { "en": 'Hex Width', 'cn': "六边形宽度", }, 'hex_height': { "en": 'Hex Height(Middle Only)', 'cn': "六边形高度(仅腰部)", }, 'tip_height': { "en": 'Hex Tip Height', 'cn': "六边形尖部高度", }, 'grid_bg_color': { "en": 'Hex Grid BG Color', 'cn': "六边形图片背景颜色", }, "top_edge_text_setting": { "en": "Top Label", 'cn': "上边缘标记", }, "left_edge_text_setting": { "en": "Left Label", 'cn': "左边缘标记", }, "right_edge_text_setting": { "en": "Right Label", 'cn': "右边缘标记", }, "bot_edge_text_setting": { "en": "Bottom Label", 'cn': "下边缘标记", }, "output_image": { "en": "Output Image", 'cn': "输入图片", }, "run": { "en": "Run", 'cn': "运行", }, "examples": { "en": "Examples", 'cn': "案例", }, }