在此页:
目标用户:
CAST AI 管理员
摘要: 本页面解释如何修改健康和工程仪表盘中的默认文本。
简介
CAST应用分析和工程仪表盘使用.json文件定义仪表盘中使用的默认文本。例如:
点击放大:
上面的文本在.json文件中定义:
"Total Quality index": "Total Quality index", "Total Quality index measures the global quality level of the application based on all existing technical criteria that are based on our 5 health factors. Sometimes quality rules are linked to multiple technical criteria so that sum of critical violations of TQI is not the same than the sum of critical violations for all health factor.": "Total Quality index measures the global quality level of the application based on all existing technical criteria that are based on our 5 health factors. Sometimes quality rules are linked to multiple technical criteria so that sum of critical violations of TQI is not the same than the sum of critical violations for all health factor.",
修改默认文本
定位. json文件
用于定义仪表盘文本的.json文件位于以下位置。使用文本编辑器编辑文件:
ED: %CATALINA_HOME%\webapps\CAST-Engineering\engineering\locales\dev\translation.json HD: %CATALINA_HOME%\webapps\CAST-Health\portal\locales\dev\translation.json
编辑文本
文本定义为键:值对,例如:
"Total Quality index": "Total Quality index",
要编辑文本,请更改值,而不是初始键:
"Total Quality index": "Total Quality Index for company",
删除文本
要删除文本,请删除该值,并在后面留下空格分隔的引号:
"Total Quality index": " ",
查看更改
查看更改:
- 重新启动web应用服务器
- 清除浏览器缓存
- 重新加载仪表盘