Skip to content

Commit 33c9c35

Browse files
author
杜美瑶
committed
共享设置例子 国际化翻译 --reviewed by xujm
1 parent 640bb2a commit 33c9c35

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

‎examples/locales/en-US/resources.js‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@ window.examplesResources = {
461461
"title_iPortalQueryResourcesDashboards":"Map Dashboards",
462462
"title_iPortalQueryResourcesControl":"Resources Control",
463463
"title_iPortalQueryResourcesPublic":"Public",
464+
"title_iPortalQueryResourcesGroup":"Group",
465+
"title_iPortalQueryResourcesDepartment":"Department",
466+
"title_iPortalQueryResourcesUser":"User",
464467
"title_iPortalQueryResourcesShareToMe":"Share to me",
465468
"title_iPortalQueryResourcesMyDepartment":"My Department",
466469
"title_iPortalQueryResourcesMyGroup":"My Group",
@@ -806,6 +809,8 @@ window.examplesResources = {
806809
"text_mapOverlay": "SuperMap REST Map Overlay",
807810
"text_opacity": "Opacity",
808811
"text_input_tips_opacity": "Set layer's opacity. Range [0-1].",
812+
"text_input_user_name": "Please enter nickname/username",
813+
"text_input_department_name": "Please enter department name",
809814
"text_toggleMaps": "Toggle Maps",
810815
"text_translation": "Zoom and Translation",
811816
"text_iClient": "The sample data comes from the offset data of the Baidu MapV, iClient does not rectify deviation",
@@ -1315,12 +1320,26 @@ window.examplesResources = {
13151320
'text_myRasterLayer':"My Raster Layer",
13161321
'text_opt_border': "border",
13171322
'text_sel_border': "Border type",
1323+
'text_choose_user': "Selected Users",
1324+
'text_choose_department': "Selected Departments",
1325+
'text_user_search': "Everyone can search",
1326+
'text_user_download': "Everyone can download",
1327+
'text_user_view': "Everyone can view",
1328+
'text_user_editor': "Login users can edit",
1329+
'text_nickname': "Nickname(Username)",
1330+
'text_department': "Department Name",
1331+
'text_group': "Group Name",
1332+
'text_is_search': "Search",
1333+
'text_is_view': "View",
1334+
'text_is_edit': "Edit",
1335+
'text_is_download': "Download",
13181336
"title_componentsTianditu_Vue": 'Tianditu',
13191337
"title_componentsTianditu_route_Vue": 'Route Plan',
13201338
"title_componentsTianditu_search_Vue": 'POI Search',
13211339
"title_componentsTianditu_switch_Vue": 'Switcher',
13221340
"title_componentsTianditu_home_Vue": 'Home',
13231341

1342+
"btn_operate": "Action",
13241343
"btn_overlayAnalyst": "Start analysis",
13251344
"btn_terrainCurvatureCalculation": "Start calculation",
13261345
"btn_mathExpression": "Start calculation",
@@ -1416,6 +1435,7 @@ window.examplesResources = {
14161435
"btn_addSamePlot": "Add same plot",
14171436
"btn_query": "Query",
14181437
"btn_save": "Save",
1438+
"btn_add": "Add",
14191439
"btn_saveAs": "Save as: ",
14201440
"btn_addProperty": "Add property",
14211441
"btn_circle": "Circle",
@@ -1501,10 +1521,17 @@ window.examplesResources = {
15011521
"btn_customTheme":"Custom theme",
15021522
"btn_switchTheme":"Switch theme",
15031523

1524+
"msg_user_not_exist":"This user doesn't exist",
1525+
"msg_department_not_exist":"This department doesn't exist",
1526+
"msg_user_added":"The user has been added",
1527+
"msg_department_added":"The department has been added",
1528+
"msg_not_share_admin":"No need to share with the administrator",
1529+
"msg_input_department_name":"Please enter department name",
15041530
"msg_shareSuccess":"Share successful",
15051531
"msg_shareFailed":"Share failed",
15061532
"msg_updateSuccess": "Update successful",
15071533
"msg_choise_resources_delete":"Please select a resource to delete!",
1534+
"msg_choise_resources_share":"Please select a resource to share!",
15081535
"msg_query_failed":"Not logged in and cannot access my resources!",
15091536
"msg_login_failed":"wrong user name or password",
15101537
"msg_addPath": "Please add the path for buffer analysis.",

‎examples/locales/zh-CN/resources.js‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@ window.examplesResources = {
402402
"title_iPortalQueryResourcesDashboards":"大屏",
403403
"title_iPortalQueryResourcesControl":"资源权限",
404404
"title_iPortalQueryResourcesPublic":"公开",
405+
"title_iPortalQueryResourcesGroup":"群组",
406+
"title_iPortalQueryResourcesDepartment":"部门",
407+
"title_iPortalQueryResourcesUser":"用户",
405408
"title_iPortalQueryResourcesShareToMe":"分享给我的",
406409
"title_iPortalQueryResourcesMyDepartment":"我的组织",
407410
"title_iPortalQueryResourcesMyGroup":"我的群组",
@@ -757,6 +760,8 @@ window.examplesResources = {
757760
"text_mapOverlay": "SuperMap REST 地图叠加",
758761
"text_opacity": "透明度",
759762
"text_input_tips_opacity": "设置图层的不透明度,取值[0-1]之间",
763+
"text_input_user_name": "输入昵称/用户名",
764+
"text_input_department_name": "输入部门",
760765
"text_toggleMaps": "底图切换",
761766
"text_translation": "缩放与平移",
762767
"text_iClient": "示例数据来源为百度MapV的加偏数据,iClient未做纠偏处理",
@@ -1266,8 +1271,22 @@ window.examplesResources = {
12661271
'text_myRasterLayer':"我的栅格图层",
12671272
'text_opt_border': "边框",
12681273
'text_sel_border': "边框类型",
1274+
'text_choose_user': "已选择用户",
1275+
'text_choose_department': "已选择部门",
1276+
'text_user_search': "所有用户可检索",
1277+
'text_user_download': "所有用户可下载",
1278+
'text_user_view': "所有用户可查看",
1279+
'text_user_editor': "所有用户可编辑(仅限登录用户)",
1280+
'text_nickname': "昵称(用户名)",
1281+
'text_department': "部门名称",
1282+
'text_group': "群组名称",
1283+
'text_is_search': "可检索",
1284+
'text_is_view': "可查看",
1285+
'text_is_edit': "可编辑",
1286+
'text_is_download': "可下载",
12691287

12701288

1289+
"btn_operate": "操作",
12711290
"btn_overlayAnalyst": "叠加分析",
12721291
"btn_terrainCurvatureCalculation": "地形曲率计算",
12731292
"btn_mathExpression": "栅格代数运算",
@@ -1363,6 +1382,7 @@ window.examplesResources = {
13631382
"btn_addSamePlot": "添加相同点标号",
13641383
"btn_query": "查询",
13651384
"btn_save": "保存",
1385+
"btn_add": "添加",
13661386
"btn_saveAs": "另存为:",
13671387
"btn_addProperty": "添加属性",
13681388
"btn_circle": "圆",
@@ -1449,10 +1469,17 @@ window.examplesResources = {
14491469
"btn_customTheme":"自定义主题",
14501470
"btn_switchTheme":"切换主题",
14511471

1472+
"msg_user_not_exist":"该用户不存在",
1473+
"msg_department_not_exist":"该部门不存在",
1474+
"msg_user_added":"该用户已添加",
1475+
"msg_department_added":"该部门已添加",
1476+
"msg_not_share_admin":"无需分享给管理员",
1477+
"msg_input_department_name":"请输入部门名称",
14521478
"msg_shareSuccess":"共享成功",
14531479
"msg_shareFailed":"共享失败",
14541480
"msg_updateSuccess": "更新成功",
14551481
"msg_choise_resources_delete":"请选择要删除的资源。",
1482+
"msg_choise_resources_share":"请选择要共享的资源。",
14561483
"msg_query_failed":"未登录,无法获取我的资源!",
14571484
"msg_login_failed":"用户名或密码错误。",
14581485
"msg_addPath": "请生成路径,用于缓冲区分析",

0 commit comments

Comments
 (0)