fix(translation): Side panel translate fix (#3156)
This commit is contained in:
parent
a755cce7f1
commit
29748d46a1
2
.gitignore
vendored
2
.gitignore
vendored
@ -43,3 +43,5 @@ platform/app/src/pluginImports.js
|
|||||||
platform/app/.recipes/Nginx-Dcm4Che/dcm4che/dcm4che-arc/*
|
platform/app/.recipes/Nginx-Dcm4Che/dcm4che/dcm4che-arc/*
|
||||||
platform/app/.recipes/OpenResty-Orthanc/logs/*
|
platform/app/.recipes/OpenResty-Orthanc/logs/*
|
||||||
.vercel
|
.vercel
|
||||||
|
|
||||||
|
.vs
|
||||||
|
|||||||
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -2,50 +2,67 @@
|
|||||||
"Acquired": "已获取",
|
"Acquired": "已获取",
|
||||||
"Angle": "角度",
|
"Angle": "角度",
|
||||||
"Annotation": "注释",
|
"Annotation": "注释",
|
||||||
|
"Arrow Annotate": "标注",
|
||||||
"Axial": "轴状面",
|
"Axial": "轴状面",
|
||||||
|
"Bidirectional Tool": "双向",
|
||||||
"Bidirectional": "双向",
|
"Bidirectional": "双向",
|
||||||
|
"Bone": "骨窗",
|
||||||
|
"Brain": "脑窗",
|
||||||
"Brush": "橡皮擦",
|
"Brush": "橡皮擦",
|
||||||
"Cine": "播放动画",
|
|
||||||
"CINE": "播放动画",
|
|
||||||
"Cancel": "取消",
|
"Cancel": "取消",
|
||||||
"Capture": "下载",
|
"Capture": "下载",
|
||||||
|
"CINE": "播放动画",
|
||||||
|
"Cine": "连续播放",
|
||||||
"Circle": "圆",
|
"Circle": "圆",
|
||||||
"Clear": "清除",
|
"Clear": "清除",
|
||||||
"Coronal": "冠状面",
|
"Coronal": "冠状面",
|
||||||
"Crosshairs": "十字线",
|
"Crosshairs": "十字线",
|
||||||
|
"Dismiss Aspect": "解除Aspect",
|
||||||
|
"Ellipse Tool": "椭圆",
|
||||||
"Ellipse": "椭圆",
|
"Ellipse": "椭圆",
|
||||||
"Elliptical": "椭圆的",
|
"Elliptical": "椭圆的",
|
||||||
"Flip H": "左右翻转",
|
"Flip H": "左右翻转",
|
||||||
|
"Flip Horizontal": "水平翻转",
|
||||||
"Flip Horizontally": "左右翻转",
|
"Flip Horizontally": "左右翻转",
|
||||||
"Flip V": "上下翻转",
|
"Flip V": "上下翻转",
|
||||||
"Freehand": "自由画线",
|
"Freehand": "自由画线",
|
||||||
"Grid Layout": "窗口布局",
|
"Grid Layout": "窗口布局",
|
||||||
|
"Invert Colors": "灰度反转",
|
||||||
"Invert": "灰度反转",
|
"Invert": "灰度反转",
|
||||||
|
"Keep Aspect": "保持Aspect",
|
||||||
"Layout": "显示窗口",
|
"Layout": "显示窗口",
|
||||||
|
"Length Tool": "长度",
|
||||||
"Length": "长度",
|
"Length": "长度",
|
||||||
"Levels": "层级",
|
"Levels": "层级",
|
||||||
|
"Liver": "肝窗",
|
||||||
|
"Lung": "肺窗",
|
||||||
"Magnify": "放大镜",
|
"Magnify": "放大镜",
|
||||||
"Manual": "手动",
|
"Manual": "手动",
|
||||||
"Measurements": "测量",
|
"Measurements": "测量",
|
||||||
"More": "更多",
|
|
||||||
"More Tools": "更多工具",
|
|
||||||
"More Measure Tools": "更多测量工具",
|
"More Measure Tools": "更多测量工具",
|
||||||
|
"More Tools": "更多工具",
|
||||||
|
"More": "更多",
|
||||||
"Next": "下一个",
|
"Next": "下一个",
|
||||||
"Pan": "移动",
|
"Pan": "移动",
|
||||||
"Play": "播放",
|
"Play": "播放",
|
||||||
"Previous": "上一个",
|
"Previous": "上一个",
|
||||||
"Probe": "探针",
|
"Probe": "探针",
|
||||||
"ROI Window": "选择对比度",
|
|
||||||
"Rectangle": "矩形",
|
"Rectangle": "矩形",
|
||||||
"Reference Lines": "参考线",
|
"Reference Lines": "参考线",
|
||||||
"Reset": "复原",
|
|
||||||
"Reset to Defaults": "返回默认",
|
"Reset to Defaults": "返回默认",
|
||||||
|
"Reset View": "复原",
|
||||||
|
"Reset": "复原",
|
||||||
|
"ROI Window": "选择对比度",
|
||||||
|
"Rotate +90": "顺时针旋转",
|
||||||
"Rotate Right": "顺时针旋转",
|
"Rotate Right": "顺时针旋转",
|
||||||
"Sagittal": "矢状面",
|
"Sagittal": "矢状面",
|
||||||
"Save": "保存",
|
"Save": "保存",
|
||||||
"Stack Scroll": "滑动切换图层",
|
"Soft tissue": "软组织窗",
|
||||||
"Stack Image Sync": "影像联动",
|
"Stack Image Sync": "影像联动",
|
||||||
|
"Stack Scroll": "滑动切换图层",
|
||||||
"Stop": "停止",
|
"Stop": "停止",
|
||||||
"Themes": "主题",
|
"Themes": "主题",
|
||||||
|
"W/L Presets": "窗位预设",
|
||||||
|
"Window Level": "窗位",
|
||||||
"Zoom": "放大"
|
"Zoom": "放大"
|
||||||
}
|
}
|
||||||
|
|||||||
4
platform/i18n/src/locales/zh/ContextMenu.json
Normal file
4
platform/i18n/src/locales/zh/ContextMenu.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"Add Label": "添加标注",
|
||||||
|
"Delete measurement": "删除测量"
|
||||||
|
}
|
||||||
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
6
platform/i18n/src/locales/zh/Dialog.json
Normal file
6
platform/i18n/src/locales/zh/Dialog.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Enter your annotation": "$t(Common:Enter your annotation)",
|
||||||
|
"Cancel": "$t(Common:Cancel)",
|
||||||
|
"Save": "$t(Common:Save)",
|
||||||
|
"Provide a name for your report": "输入报告名称"
|
||||||
|
}
|
||||||
7
platform/i18n/src/locales/zh/ErrorBoundary.json
Normal file
7
platform/i18n/src/locales/zh/ErrorBoundary.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"Sorry, something went wrong there. Try again.": "发生错误,请重试。",
|
||||||
|
"Context": "上下文",
|
||||||
|
"Error Message": "错误信息",
|
||||||
|
"Stack": "堆栈",
|
||||||
|
"Something went wrong": "发生错误"
|
||||||
|
}
|
||||||
4
platform/i18n/src/locales/zh/Local.json
Normal file
4
platform/i18n/src/locales/zh/Local.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"Load files": "加载文件",
|
||||||
|
"Load folders": "加载文件夹"
|
||||||
|
}
|
||||||
@ -5,5 +5,12 @@
|
|||||||
"MAX": "最大",
|
"MAX": "最大",
|
||||||
"NonTargets": "非靶向",
|
"NonTargets": "非靶向",
|
||||||
"Relabel": "重新标记",
|
"Relabel": "重新标记",
|
||||||
"Targets": "靶向"
|
"Measurements": "测量",
|
||||||
|
"Targets": "靶向",
|
||||||
|
"Export CSV": "导出CSV",
|
||||||
|
"No tracked measurements": "没有跟踪的测量值",
|
||||||
|
"Export": "导出",
|
||||||
|
"Create Report": "新建报告",
|
||||||
|
"Do you want to add this measurement to the existing report?": "将测量添加到报告中?",
|
||||||
|
"Track measurements for this series?": "要对个序列进行跟踪吗?"
|
||||||
}
|
}
|
||||||
|
|||||||
19
platform/i18n/src/locales/zh/Modals.json
Normal file
19
platform/i18n/src/locales/zh/Modals.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"Active viewport has no displayed image": "视图窗口没有图像",
|
||||||
|
"Cancel": "取消",
|
||||||
|
"Download": "下载",
|
||||||
|
"The file name cannot be empty.": "文件名称不能为空",
|
||||||
|
"File Type": "图片类型",
|
||||||
|
"File Name": "文件名",
|
||||||
|
"formTitle": "Please specify the dimensions, filename, and desired type for the output image.",
|
||||||
|
"Image height (px)": "高(px)",
|
||||||
|
"Image Preview": "预览",
|
||||||
|
"Image preview": "预览",
|
||||||
|
"Image width (px)": "宽(px)",
|
||||||
|
"keepAspectRatio": "Keep aspect ratio",
|
||||||
|
"loadingPreview": "Loading Image Preview...",
|
||||||
|
"The minimum valid height is 100px.": "图片最小高度值为100px",
|
||||||
|
"The minimum valid width is 100px.": "图片最小宽度值为100px",
|
||||||
|
"Show Annotations": "显示标注",
|
||||||
|
"Please specify the dimensions, filename, and desired type for the output image.": "请指定输出图像的尺寸、文件名和所需类型。"
|
||||||
|
}
|
||||||
5
platform/i18n/src/locales/zh/Modes.json
Normal file
5
platform/i18n/src/locales/zh/Modes.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Basic Viewer": "基础查看器",
|
||||||
|
"Total Metabolic Tumor Volume": "总代谢肿瘤体积",
|
||||||
|
"Download High Quality Image": "A"
|
||||||
|
}
|
||||||
18
platform/i18n/src/locales/zh/Notification.json
Normal file
18
platform/i18n/src/locales/zh/Notification.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"Do you want to add this measurement to the existing report?": "添加测量值到当前报告中?",
|
||||||
|
"Create new report": "创建新报告",
|
||||||
|
"Add to existing report": "添加",
|
||||||
|
"Discard": "放弃",
|
||||||
|
"You have existing tracked measurements. What would you like to do with your existing tracked measurements?": "已经存在跟踪的测量,如何处理这些测量数据?",
|
||||||
|
"No, do not ask again for this series": "否,不再询问",
|
||||||
|
"No": "否",
|
||||||
|
"Track measurements for this series?": "对序列的测量值进行跟踪?",
|
||||||
|
"Yes": "是",
|
||||||
|
"Cancel": "取消",
|
||||||
|
"Measurements cannot span across multiple studies. Do you want to save your tracked measurements?": "测量不能跨多个检查,是否要保存跟踪的测量值?",
|
||||||
|
"No, discard previously tracked series & measurements": "否,放弃之前跟踪的序列和测量值。",
|
||||||
|
"Do you want to continue tracking measurements for this study?": "继续对该检查进行测量跟踪吗?",
|
||||||
|
"Create Report": "新建报告",
|
||||||
|
"Measurements saved successfully": "测量值保存成功",
|
||||||
|
"Failed to store measurements": "测量值保存失败"
|
||||||
|
}
|
||||||
8
platform/i18n/src/locales/zh/PatientInfo.json
Normal file
8
platform/i18n/src/locales/zh/PatientInfo.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Sex": "性别",
|
||||||
|
"Age": "年龄",
|
||||||
|
"MRN": "病例号",
|
||||||
|
"Thickness": "厚度",
|
||||||
|
"Spacing": "间距",
|
||||||
|
"Scanner": "扫描器"
|
||||||
|
}
|
||||||
6
platform/i18n/src/locales/zh/SidePanel.json
Normal file
6
platform/i18n/src/locales/zh/SidePanel.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Studies": "检查",
|
||||||
|
"Measurements": "测量",
|
||||||
|
"Measure": "测量",
|
||||||
|
"Segmentation": "分割"
|
||||||
|
}
|
||||||
6
platform/i18n/src/locales/zh/StudyBrowser.json
Normal file
6
platform/i18n/src/locales/zh/StudyBrowser.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Primary": "当前",
|
||||||
|
"Recent": "最近",
|
||||||
|
"All": "全部",
|
||||||
|
"Tracked Series": "个跟踪序列"
|
||||||
|
}
|
||||||
@ -4,5 +4,25 @@
|
|||||||
"PatientName": "患者姓名",
|
"PatientName": "患者姓名",
|
||||||
"StudyDate": "检查日期",
|
"StudyDate": "检查日期",
|
||||||
"StudyDescription": "描述",
|
"StudyDescription": "描述",
|
||||||
"StudyList": "检查列表"
|
"StudyList": "检查列表",
|
||||||
|
"Patient Name": "患者姓名",
|
||||||
|
"MRN": "病例号",
|
||||||
|
"Study date": "检查日期",
|
||||||
|
"Description": "描述",
|
||||||
|
"Study list": "检查列表",
|
||||||
|
"Clear filters": "清空条件",
|
||||||
|
"Studies": "",
|
||||||
|
"Instances": "图像数",
|
||||||
|
"Accession": "检查号",
|
||||||
|
"Results per page": "每页条数",
|
||||||
|
"< Previous": "上一页",
|
||||||
|
"Next >": "下一页",
|
||||||
|
"Page": "页码",
|
||||||
|
"Start Date": "开始日期",
|
||||||
|
"Series": "序列",
|
||||||
|
"No studies available": "没有数据",
|
||||||
|
"Loading...": "加载中...",
|
||||||
|
"Select...": "选择...",
|
||||||
|
"InstitutionName": "检查机构",
|
||||||
|
"Filter list to 100 studies or less to enable sorting": "将检查列表过滤到 100 个或更少以启用排序"
|
||||||
}
|
}
|
||||||
|
|||||||
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,19 +1,45 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
import Buttons from './Buttons.json';
|
import Buttons from './Buttons.json';
|
||||||
import CineDialog from './CineDialog.json';
|
import CineDialog from './CineDialog.json';
|
||||||
import Common from './Common.json';
|
import Common from './Common.json';
|
||||||
|
import DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
import MeasurementTable from './MeasurementTable.json';
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
import StudyList from './StudyList.json';
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
import StudyBrowser from './StudyBrowser.json';
|
||||||
|
import SidePanel from './SidePanel.json';
|
||||||
|
import Modes from './Modes.json';
|
||||||
|
import PatientInfo from './PatientInfo.json';
|
||||||
|
import Notification from './Notification.json';
|
||||||
|
import ContextMenu from './ContextMenu.json';
|
||||||
|
import Dialog from './Dialog.json';
|
||||||
|
import Modals from './Modals.json';
|
||||||
|
import Local from './Local.json';
|
||||||
|
import ErrorBoundary from './ErrorBoundary.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
zh: {
|
'zh': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
MeasurementTable,
|
MeasurementTable,
|
||||||
StudyList,
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
|
StudyBrowser,
|
||||||
|
SidePanel,
|
||||||
|
Modes,
|
||||||
|
PatientInfo,
|
||||||
|
Notification,
|
||||||
|
ContextMenu,
|
||||||
|
Dialog,
|
||||||
|
Modals,
|
||||||
|
Local,
|
||||||
|
ErrorBoundary,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
Loading…
Reference in New Issue
Block a user