diff --git a/src/src/PACS/Widget/pacsconfiguration.cpp b/src/src/PACS/Widget/pacsconfiguration.cpp index c83a6b1..f235b91 100644 --- a/src/src/PACS/Widget/pacsconfiguration.cpp +++ b/src/src/PACS/Widget/pacsconfiguration.cpp @@ -77,12 +77,12 @@ void ConfigurationDialog::initUi() m_pOurInfoWidget = new QWidget(this); m_pOurInfoLayout = new QHBoxLayout(this); m_pOurPortLabel = new QLabel(m_pOurInfoWidget); - m_pOurPortLabel->setText(tr("Listener port:")); + m_pOurPortLabel->setText(tr("Listening port:")); m_pOurInfoLayout->addWidget(m_pOurPortLabel); m_pOurPortEdit = new QLineEdit(m_pOurInfoWidget); m_pOurInfoLayout->addWidget(m_pOurPortEdit); m_pOurTitleLabel = new QLabel(m_pOurInfoWidget); - m_pOurTitleLabel->setText(tr("My AE title:")); + m_pOurTitleLabel->setText(tr("Local AE title:")); m_pOurInfoLayout->addWidget(m_pOurTitleLabel); m_pOurTitleEdit = new QLineEdit(m_pOurInfoWidget); m_pOurInfoLayout->addWidget(m_pOurTitleEdit); @@ -130,7 +130,7 @@ void ConfigurationDialog::initUi() connect(m_pPacsInfo,&QTableView::customContextMenuRequested,this,&ConfigurationDialog::pacsMenuRequest); m_pMainLayout->addWidget(m_pPacsInfo); m_pPacsMenu = new QMenu(m_pPacsInfo); - m_pRetriveProtocolMenu = new QMenu(tr("Retrive Protocol"),m_pPacsMenu); + m_pRetriveProtocolMenu = new QMenu(tr("Retrieval Protocol"),m_pPacsMenu); QAction* cGetAction = new QAction("C-GET",m_pRetriveProtocolMenu); cGetAction->setCheckable(true); connect(cGetAction,&QAction::triggered,this,&ConfigurationDialog::changeHostProtocol); @@ -221,7 +221,7 @@ void ConfigurationDialog::initHeaderInfo() { m_lPacsInfoHeaders.clear(); m_lPacsInfoHeaders << tr("IP address") << tr("Port") << tr("AE title") - << tr("Description") << tr("Retrieve protocol") << tr("Maximum active downloads") + << tr("Description") << tr("Retrieval protocol") << tr("Maximum active downloads Number") << tr("Preferred transfer syntax") << tr("Character set"); } diff --git a/src/src/UI/Widget/ToolBar/DefaultToolBar.cpp b/src/src/UI/Widget/ToolBar/DefaultToolBar.cpp index 9cabc2a..63f6bed 100644 --- a/src/src/UI/Widget/ToolBar/DefaultToolBar.cpp +++ b/src/src/UI/Widget/ToolBar/DefaultToolBar.cpp @@ -272,7 +272,7 @@ void DefaultToolBar::initModeButtons() { // Menu QMenu *m = new QMenu(this); - m->addAction(tr("Custom Window"), this, &DefaultToolBar::customWindow); + m->addAction(tr("Custom window width and level"), this, &DefaultToolBar::customWindow); auto action = m->addAction(tr("Negative"), this, &DefaultToolBar::negativeWindow); action->setCheckable(true); @@ -351,12 +351,13 @@ void DefaultToolBar::initAnonymizeButton() { void DefaultToolBar::initMeasureButton() { - QStringList measures={tr("Length"), - tr("Angle"), + QStringList measures={tr("Ruler"), + tr("Angle gauge"), tr("Closed polygon"), tr("Open polygon"), tr("Arrow"), - tr("Ellipse"), + tr("Ellipse"), + tr("Round"), tr("Text")}; #define ADD_MEASURE_ACTION(index)\ @@ -374,7 +375,7 @@ void DefaultToolBar::initMeasureButton() { }); mBtnMeasure->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); - mBtnMeasure->setToolTip(tr("Measurements")); + mBtnMeasure->setToolTip(tr("Measuring tool")); connect(mBtnMeasure, &QToolButton::clicked, [=](){ MeasureHelper::setMeasureType(MeasureHelper::getMeasureType()); diff --git a/src/translations/zh_CN.ts b/src/translations/zh_CN.ts index 5fcdff0..cc54e7d 100644 --- a/src/translations/zh_CN.ts +++ b/src/translations/zh_CN.ts @@ -4,14 +4,12 @@ ConfigurationDialog - Listener port: - 监听端口: + 监听端口: - My AE title: - 本地AETitle: + 本地AETitle: @@ -24,8 +22,22 @@ PACS位置 - Retrive Protocol + 检索协议 + + + + Listening port: + 监听端口: + + + + Local AE title: + 本地AETitle + + + + Retrieval Protocol 检索协议 @@ -64,14 +76,22 @@ - Retrieve protocol + Retrieval protocol 检索协议 - Maximum active downloads + Maximum active downloads Number 最大可同时下载数 + + Retrieve protocol + 检索协议 + + + Maximum active downloads + 最大可同时下载数 + Preferred transfer syntax @@ -88,33 +108,33 @@ PACS configuration - PACS设置 + PACS配置 Customwindow - + Customwindow 自定义窗宽窗位 - + Window level 窗位 - + Window width 窗宽 - + OK 确定 - + Cancel 取消 @@ -122,279 +142,297 @@ DefaultToolBar - + Open DICOM folder 打开文件夹 - + Open DICOM file 打开文件 - + Quit 退出 - + Search and download studies from PACS locations 从PACS获取 - + Export images - + Layout 动态布局 - + Toggle series synchronization 激活图像同步 - - - CUR STATE: %1 - 当前状态: %1 + 当前状态: %1 - + Open Dicom series from directory 打开DICOM - + Change Language Language: English - + Sychronize slice 同步翻页 - + Sychronize zoom & pan 同步缩放&移动 - + Sychronize window level & width 同步窗宽窗位 - + Adjust window level 调窗 - Custom Window - 自定义窗宽窗位 + 自定义窗宽窗位 - + Negative 负相 - + Pan image 移动 - + Zoom image 缩放 - + Browse series 翻页 - + Toggle annotations 四角标记 - + Annotations 四角标记 - + Cross Reference Line 参考线 - + Hide all measurements 隐藏所有测量 - + Hide patient data 隐藏患者信息 - + Show Dicom tags 显示DICOM标记 - Length - 直尺 + 直尺 - Angle - 量角器 + 量角器 - + Closed polygon 闭合多边形 - + Open polygon 开放多边形 - + Arrow 箭头 - + Ellipse 椭圆 - + + Round + 正圆直径测量 + + + Text 文字 - Measurements + 测量工具 + + + + Custom window width and level + 自定义窗宽窗位 + + + + Ruler + 直尺 + + + + Angle gauge + 量角器 + + + + Measuring tool 测量工具 - + Delete selected 删除选中 - + Delete all in current slice 删除当前图像中所有测量 - + Delete all in current series 删除当前序列所有图像 - + Fusion - + Cine - + Delete current series 删除当前序列所有测量 - + Transformations 翻页&旋转 - + Rotate 90 CCW 逆时针旋转90度 - + Rotate 90 CW 顺时针旋转90度 - + Rotate 180 旋转180度 - + Flip horizontal 水平翻转 - + Flip vertical 垂直翻转 - + Clear transformations 清除变换 - + MPR 多平面重建 - + 3D MPR - + Coronal 冠状面 - + Sagittal 矢状面 - + Axial 横断面 - + Full screen 全屏 - + Exit full screen mode 退出全屏 - + Minimize 最小化 - + Close 关闭 @@ -402,12 +440,12 @@ DicomImageView - + Error 错误 - + Unable to read file %1 无法读取文件 %1 @@ -448,140 +486,140 @@ EllipseAnnotationActor - + mm² - 平方毫米 + 平方毫米 - + cm² - 平方厘米 + 平方厘米 - + Area - 面积 + 面积 ExportDialog - + Dialog - + Export Type - + Export File - + Current Image - + Current Series - + All Opened Series - + File Format - + JPEG - + BMP - + PNG - + TIFF - + DICOM - + Export Location - + Export Folder - + FileName Prefix - + Choose Folder... - + Show in Explorer after exported - + File Settings - + Annotations 四角标记 - + Full - + Basic(anonymous) - + Disabled - + Export - + Close 关闭 @@ -618,22 +656,22 @@ FontPropertyWidget - + Text Property 文字属性 - + Specify the path to a TTF file here. - + Apply 应用 - + Cancel 取消 @@ -645,7 +683,7 @@ GridPopWidget - + Form @@ -655,7 +693,7 @@ Search and downlod studies from PACS locations - 从PACS服务器检索、下载检查 + 从PACS查找获取检查 @@ -772,14 +810,14 @@ - + Custom date 自定义日期 - + Custom date range 自定义时间段 @@ -846,27 +884,27 @@ OpenPolyAnnotationActor - + mm 毫米 - + cm 厘米 - + mm² 平方毫米 - + cm² 平方厘米 - + Distance 周长 @@ -875,7 +913,7 @@ 直径 - + Area 面积 @@ -885,7 +923,7 @@ OK - 确定 + 确定 @@ -893,7 +931,7 @@ Message - + 信息 @@ -904,42 +942,42 @@ 就绪 - + Open dicom directory 打开文件夹 - + Open dicom files 打开文件 - + confirm 确认 - + Change Language will reload the application, please confirm to do this! 更改语言会重载整个程序,请确认是否要如此操作! - + Ok 确认 - + Cancel 取消 - + Warning 警告 - + open DICOM Images From PACS Fail 从PACS打开 @@ -947,14 +985,14 @@ QDicomViewerClass - + QDicomViewer - + - + toolBar - + @@ -982,6 +1020,24 @@ + + RoundAnnotationActor + + + mm² + 平方毫米 + + + + cm² + 平方厘米 + + + + Area + 面积 + + RulerAnnotationActor @@ -1011,32 +1067,32 @@ VCRToolbar - + VCR Controls - + &Play - + Pre&vious Frame - + &First Frame - + &Next Frame - + &Last Frame @@ -1091,7 +1147,7 @@ Ruler - + 直尺 @@ -1106,27 +1162,27 @@ calibrationWidget - + Length Calibration - + Enter new distance - + mm 毫米 - + OK 确定 - + Cancel 取消