@ohif/i18n - Add Vietnamese translation (Thanks @lam0620!) - Improve Chinese translations (Thanks @MarlonLiu1991!) (0.2.4)
This commit is contained in:
parent
c455253c0e
commit
d033bd5995
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ohif/i18n",
|
"name": "@ohif/i18n",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"description": "OHIF extension for internationalization",
|
"description": "OHIF extension for internationalization",
|
||||||
"author": "OHIF",
|
"author": "OHIF",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import en_US from './en-US/';
|
|||||||
import es from './es/';
|
import es from './es/';
|
||||||
import nl from './nl/';
|
import nl from './nl/';
|
||||||
import pt_BR from './pt-BR/';
|
import pt_BR from './pt-BR/';
|
||||||
|
import vi from './vi/';
|
||||||
import zh from './zh/';
|
import zh from './zh/';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -9,5 +10,6 @@ export default {
|
|||||||
...es,
|
...es,
|
||||||
...nl,
|
...nl,
|
||||||
...pt_BR,
|
...pt_BR,
|
||||||
|
...vi,
|
||||||
...zh,
|
...zh,
|
||||||
};
|
};
|
||||||
42
extensions/ohif-i18n/src/locales/vi/Buttons.json
Normal file
42
extensions/ohif-i18n/src/locales/vi/Buttons.json
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"Acquired": "Đã lấy",
|
||||||
|
"Angle": "Góc",
|
||||||
|
"Axial": "Trục",
|
||||||
|
"Bidirectional": "Hai hướng",
|
||||||
|
"Brush": "Bút lông",
|
||||||
|
"CINE": "Duyệt tự động",
|
||||||
|
"Cancel": "Hủy bỏ",
|
||||||
|
"Circle": "Vòng tròn",
|
||||||
|
"Clear": "Xóa",
|
||||||
|
"Coronal": "Mặt phẳng vành",
|
||||||
|
"Crosshairs": "Vị trí tương quan",
|
||||||
|
"Ellipse": "Đo Elip",
|
||||||
|
"Elliptical": "Elip",
|
||||||
|
"Flip H": "Lật ngang",
|
||||||
|
"Flip V": "Lật dọc",
|
||||||
|
"Freehand": "Bằng tay",
|
||||||
|
"Invert": "Ảnh dương bản",
|
||||||
|
"Layout": "$t(Common:Layout)",
|
||||||
|
"Length": "Thước đo chiều dài",
|
||||||
|
"Levels": "Độ sáng",
|
||||||
|
"Magnify": "Phóng đại một phần",
|
||||||
|
"Manual": "Thủ công",
|
||||||
|
"Measurements": "Đo lường",
|
||||||
|
"More": "$t(Common:More)",
|
||||||
|
"Next": "$t(Common:Next)",
|
||||||
|
"Pan": "Di chuyển",
|
||||||
|
"Play": "$t(Common:Play)",
|
||||||
|
"Previous": "$t(Common:Previous)",
|
||||||
|
"Probe": "Thông tin điểm ảnh",
|
||||||
|
"ROI Window": "ROI Window",
|
||||||
|
"Rectangle": "Đo chữ nhật",
|
||||||
|
"Reset": "$t(Common:Reset)",
|
||||||
|
"Reset to Defaults": "$t(Common:Reset) đến mặc định",
|
||||||
|
"Rotate Right": "Xoay phải",
|
||||||
|
"Sagittal": "Mặt phẳng đứng dọc",
|
||||||
|
"Save": "Lưu",
|
||||||
|
"Stack Scroll": "Duyệt",
|
||||||
|
"Stop": "$t(Common:Stop)",
|
||||||
|
"Themes": "Giao diện",
|
||||||
|
"Zoom": "Thu phóng"
|
||||||
|
}
|
||||||
8
extensions/ohif-i18n/src/locales/vi/CineDialog.json
Normal file
8
extensions/ohif-i18n/src/locales/vi/CineDialog.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Next image": "$t(Common:Play) $t(Common:Image)",
|
||||||
|
"Play / Stop": "$t(Common:Play) / $t(Common:Stop)",
|
||||||
|
"Previous image": "$t(Common:Previous) $t(Common:Image)",
|
||||||
|
"Skip to first image": "Bỏ qua đến đầu $t(Common:Image)",
|
||||||
|
"Skip to last image": "Bỏ qua đến cuối $t(Common:Image)",
|
||||||
|
"fps": "fps"
|
||||||
|
}
|
||||||
15
extensions/ohif-i18n/src/locales/vi/Common.json
Normal file
15
extensions/ohif-i18n/src/locales/vi/Common.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"Image": "Ảnh",
|
||||||
|
"Layout": "Cách bố trí",
|
||||||
|
"Measurements": "Đo lường",
|
||||||
|
"More": "Thêm",
|
||||||
|
"Next": "Tiếp theo",
|
||||||
|
"Play": "Phát",
|
||||||
|
"Previous": "Về sau",
|
||||||
|
"Reset": "Đặt lại",
|
||||||
|
"RowsPerPage": "trên 1 trang",
|
||||||
|
"Series": "Tập ảnh",
|
||||||
|
"Show": "Hiển thị",
|
||||||
|
"Stop": "Dừng",
|
||||||
|
"StudyDate": "Ngày chụp"
|
||||||
|
}
|
||||||
8
extensions/ohif-i18n/src/locales/vi/Header.json
Normal file
8
extensions/ohif-i18n/src/locales/vi/Header.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"About": "Về chúng tôi",
|
||||||
|
"Back to Viewer": "Ảnh vừa xem",
|
||||||
|
"INVESTIGATIONAL USE ONLY": "Chỉ dùng cho nghiên cứu",
|
||||||
|
"Options": "Lựa chọn",
|
||||||
|
"Preferences": "Thiết lập",
|
||||||
|
"Study list": "Danh sách"
|
||||||
|
}
|
||||||
10
extensions/ohif-i18n/src/locales/vi/StudyList.json
Normal file
10
extensions/ohif-i18n/src/locales/vi/StudyList.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"AccessionNumber": "Mã phiểu",
|
||||||
|
"Empty": "Rỗng",
|
||||||
|
"MRN": "Mã Bệnh nhân",
|
||||||
|
"Modality": "Thiết bị",
|
||||||
|
"PatientName": "Tên Bệnh nhân",
|
||||||
|
"StudyDate": "Ngày chụp",
|
||||||
|
"StudyDescription": "Diễn giải",
|
||||||
|
"StudyList": "Danh sách"
|
||||||
|
}
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Cancel": "$t(Buttons:Cancel)",
|
||||||
|
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
||||||
|
"Save": "$t(Buttons:Save)",
|
||||||
|
"User Preferences": "Thiết lập theo người dùng"
|
||||||
|
}
|
||||||
17
extensions/ohif-i18n/src/locales/vi/index.js
Normal file
17
extensions/ohif-i18n/src/locales/vi/index.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import Buttons from "./Buttons.json";
|
||||||
|
import CineDialog from "./CineDialog.json";
|
||||||
|
import Common from "./Common.json";
|
||||||
|
import Header from "./Header.json";
|
||||||
|
import StudyList from "./StudyList.json";
|
||||||
|
import UserPreferencesModal from "./UserPreferencesModal.json";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
'vi': {
|
||||||
|
Buttons,
|
||||||
|
CineDialog,
|
||||||
|
Common,
|
||||||
|
Header,
|
||||||
|
StudyList,
|
||||||
|
UserPreferencesModal,
|
||||||
|
}
|
||||||
|
};
|
||||||
@ -1,13 +1,42 @@
|
|||||||
{
|
{
|
||||||
"Angle": "线角测量",
|
"Acquired": "已获取",
|
||||||
"CINE": "播放",
|
"Angle": "角度",
|
||||||
"Length": "长度测量",
|
"Axial": "轴状面",
|
||||||
"Levels": "窗宽/窗位",
|
"Bidirectional": "双向",
|
||||||
|
"Brush": "橡皮擦",
|
||||||
|
"CINE": "播放动画",
|
||||||
|
"Cancel": "取消",
|
||||||
|
"Circle": "圆",
|
||||||
|
"Clear": "清除",
|
||||||
|
"Coronal": "冠状面",
|
||||||
|
"Crosshairs": "十字线",
|
||||||
|
"Ellipse": "椭圆",
|
||||||
|
"Elliptical": "椭圆的",
|
||||||
|
"Flip H": "左右翻转",
|
||||||
|
"Flip V": "上下翻转",
|
||||||
|
"Freehand": "自由画线",
|
||||||
|
"Invert": "灰度反转",
|
||||||
|
"Layout": "显示窗口",
|
||||||
|
"Length": "长度",
|
||||||
|
"Levels": "层级",
|
||||||
|
"Magnify": "放大镜",
|
||||||
|
"Manual": "手动",
|
||||||
"Measurements": "测量",
|
"Measurements": "测量",
|
||||||
"More": "更多",
|
"More": "更多",
|
||||||
"Pan": "平移",
|
"Next": "下一个",
|
||||||
|
"Pan": "移动",
|
||||||
"Play": "播放",
|
"Play": "播放",
|
||||||
"Reset": "重置",
|
"Previous": "上一个",
|
||||||
"Rotate Right": "顺时针",
|
"Probe": "探针",
|
||||||
"Zoom": "缩放"
|
"ROI Window": "选择对比度",
|
||||||
|
"Rectangle": "矩形",
|
||||||
|
"Reset": "复原",
|
||||||
|
"Reset to Defaults": "返回默认",
|
||||||
|
"Rotate Right": "顺时针旋转",
|
||||||
|
"Sagittal": "矢状面",
|
||||||
|
"Save": "保存",
|
||||||
|
"Stack Scroll": "滑动切换图层",
|
||||||
|
"Stop": "停止",
|
||||||
|
"Themes": "主题",
|
||||||
|
"Zoom": "放大"
|
||||||
}
|
}
|
||||||
8
extensions/ohif-i18n/src/locales/zh/CineDialog.json
Normal file
8
extensions/ohif-i18n/src/locales/zh/CineDialog.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Next image": "下一个图像",
|
||||||
|
"Play / Stop": "播放/停止",
|
||||||
|
"Previous image": "上一个图像",
|
||||||
|
"Skip to first image": "跳转到第一个图像",
|
||||||
|
"Skip to last image": "跳转到最后一个图像",
|
||||||
|
"fps": "帧率"
|
||||||
|
}
|
||||||
@ -1,3 +1,10 @@
|
|||||||
{
|
{
|
||||||
"Play": "播放"
|
"Image": "图像",
|
||||||
|
"Layout": "显示窗口",
|
||||||
|
"More": "更多",
|
||||||
|
"Next": "下一个",
|
||||||
|
"Play": "播放",
|
||||||
|
"Previous": "上一个",
|
||||||
|
"Reset": "复原",
|
||||||
|
"Stop": "停止"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Study list": "检查"
|
"About": "关于",
|
||||||
|
"Back to Viewer": "返回视图",
|
||||||
|
"INVESTIGATIONAL USE ONLY": "研究用途",
|
||||||
|
"Options": "选项",
|
||||||
|
"Preferences": "偏好",
|
||||||
|
"Study list": "研究列表"
|
||||||
}
|
}
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Cancel": "取消",
|
||||||
|
"Reset to Defaults": "返回默认",
|
||||||
|
"Save": "保存",
|
||||||
|
"User Preferences": "用户偏好"
|
||||||
|
}
|
||||||
@ -1,11 +1,15 @@
|
|||||||
import Buttons from "./Buttons.json";
|
import Buttons from "./Buttons.json";
|
||||||
|
import CineDialog from "./CineDialog.json";
|
||||||
import Common from "./Common.json";
|
import Common from "./Common.json";
|
||||||
import Header from "./Header.json";
|
import Header from "./Header.json";
|
||||||
|
import UserPreferencesModal from "./UserPreferencesModal.json";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'zh': {
|
'zh': {
|
||||||
Buttons,
|
Buttons,
|
||||||
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
Header,
|
Header,
|
||||||
|
UserPreferencesModal,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in New Issue
Block a user