diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index e9cce12e0..d9597ec2c 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -180,7 +180,7 @@ foreach(po_file ${po_files}) get_filename_component(PO_FILE_NAME ${po_file} NAME_WE) add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/86box_${PO_FILE_NAME}.qm" - COMMAND ${LCONVERT_EXECUTABLE} -i ${po_file} -o ${CMAKE_CURRENT_BINARY_DIR}/86box_${PO_FILE_NAME}.qm + COMMAND ${LCONVERT_EXECUTABLE} -input-format po -input-file ${po_file} -output-format qm -output-file ${CMAKE_CURRENT_BINARY_DIR}/86box_${PO_FILE_NAME}.qm WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" DEPENDS "${po_file}") list(APPEND QM_FILES "${CMAKE_CURRENT_BINARY_DIR}/86box_${PO_FILE_NAME}.qm") diff --git a/src/qt/languages/.ts b/src/qt/languages/.ts deleted file mode 100644 index 085ec047d..000000000 --- a/src/qt/languages/.ts +++ /dev/null @@ -1,1603 +0,0 @@ - - - - - - - Translated by - Unknown - - - &Action - 操作(&A) - - - &Keyboard requires capture - 键盘需要捕捉(&K) - - - &Right CTRL is left ALT - 将右 CTRL 键映射为左 ALT 键(&R) - - - &Hard Reset... - 硬重置(&H)... - - - &Ctrl+Alt+Del Ctrl+F12 - Ctrl+Alt+Del(&C) Ctrl+F12 - - - Ctrl+Alt+&Esc - Ctrl+Alt+Esc(&E) - - - &Pause - 暂停(&P) - - - E&xit... - 退出(&X)... - - - &View - 查看(&V) - - - &Hide status bar - 隐藏状态栏(&H) - - - &Resizeable window - 窗口大小可调(&R) - - - R&emember size && position - 记住窗口大小和位置(&E) - - - Re&nderer - 渲染器(&N) - - - &Qt (Software) - Qt (软件)(&Q) - - - Qt (&Hardware) - Qt (硬件)(&H) - - - Qt (&OpenGL) - Qt (OpenGL)(&O) - - - Qt (OpenGL &ES) - Qt (OpenGL ES)(&E) - - - Open&GL (3.0 Core) - OpenGL (3.0 核心)(&G) - - - &VNC - VNC(&V) - - - Specify dimensions... - 指定窗口大小... - - - F&orce 4:3 display ratio - 强制 4:3 显示比例(&O) - - - &Window scale factor - 窗口缩放系数(&W) - - - &0.5x - 0.5x(&0) - - - &1x - 1x(&1) - - - 1.&5x - 1.5x(&5) - - - &2x - 2x(&2) - - - Filter method - 过滤方式 - - - &Nearest - 邻近(&N) - - - &Linear - 线性(&L) - - - Hi&DPI scaling - HiDPI 缩放(&D) - - - &Fullscreen Ctrl+Alt+PageUP - 全屏(&F) Ctrl+Alt+PageUP - - - Fullscreen &stretch mode - 全屏拉伸模式(&S) - - - &Full screen stretch - 全屏拉伸(&F) - - - &4:3 - 4:3(&4) - - - &Square pixels (Keep ratio) - 保持比例(&S) - - - &Integer scale - 整数比例(&I) - - - E&GA/(S)VGA settings - EGA/(S)VGA 设置(&G) - - - &Inverted VGA monitor - VGA 显示器反色显示(&I) - - - VGA screen &type - VGA 屏幕类型(&T) - - - RGB &Color - RGB 彩色(&C) - - - &RGB Grayscale - RGB 灰度(&R) - - - &Amber monitor - 琥珀色单色显示器(&A) - - - &Green monitor - 绿色单色显示器(&G) - - - &White monitor - 白色单色显示器(&W) - - - Grayscale &conversion type - 灰度转换类型(&C) - - - BT&601 (NTSC/PAL) - BT601 (NTSC/PAL)(&6) - - - BT&709 (HDTV) - BT709 (HDTV)(&7) - - - &Average - 平均(&A) - - - CGA/PCjr/Tandy/E&GA/(S)VGA overscan - CGA/PCjr/Tandy/EGA/(S)VGA 过扫描(&G) - - - Change contrast for &monochrome display - 更改单色显示对比度(&M) - - - &Media - 介质(&M) - - - &Tools - 工具(&T) - - - &Settings... - 设置(&S)... - - - &Update status bar icons - 更新状态栏图标(&U) - - - Take s&creenshot Ctrl+F11 - 截图(&C) Ctrl+F11 - - - &Preferences... - 首选项(&P)... - - - Enable &Discord integration - 启用 Discord 集成(&D) - - - Sound &gain... - 音量增益(&G)... - - - Begin trace Ctrl+T - 开始追踪 Ctrl+T - - - End trace Ctrl+T - 结束追踪 Ctrl+T - - - &Logging - 记录日志(&L) - - - Enable BusLogic logs Ctrl+F4 - 启用 BusLogic 日志 Ctrl+F4 - - - Enable CD-ROM logs Ctrl+F5 - 启用 CD-ROM 日志 Ctrl+F5 - - - Enable floppy (86F) logs Ctrl+F6 - 启用软盘 (86F) 日志 Ctrl+F6 - - - Enable floppy controller logs Ctrl+F7 - 启用软盘控制器日志 Ctrl+F7 - - - Enable IDE logs Ctrl+F8 - 启用 IDE 日志 Ctrl+F8 - - - Enable Serial Port logs Ctrl+F3 - 启用串口日志 Ctrl+F3 - - - Enable Network logs Ctrl+F9 - 启用网络日志 Ctrl+F9 - - - &Log breakpoint Ctrl+F10 - 日志断点(&L) Ctrl+F10 - - - Dump &video RAM Ctrl+F1 - 创建显卡内存转储(&V) Ctrl+F1 - - - &Help - 帮助(&H) - - - &Documentation... - 文档(&D)... - - - &About 86Box... - 关于 86Box(&A)... - - - &New image... - 新建镜像(&N)... - - - &Existing image... - 打开已存在的镜像(&E)... - - - Existing image (&Write-protected)... - 打开已存在的镜像并写保护(&W)... - - - &Record - 录制(&R) - - - &Play - 播放(&P) - - - &Rewind to the beginning - 倒带至起点(&R) - - - &Fast forward to the end - 快进至终点(&F) - - - E&ject - 弹出(&J) - - - &Image... - 镜像(&I)... - - - E&xport to 86F... - 导出为 86F 格式(&x)... - - - &Mute - 静音(&M) - - - E&mpty - 空置驱动器(&M) - - - &Reload previous image - 载入上一个镜像(&R) - - - &Image - 镜像(&I) - - - Target &framerate - 目标帧率(&F) - - - &Sync with video - 与视频同步(&S) - - - &25 fps - 25 fps(&2) - - - &30 fps - 30 fps(&3) - - - &50 fps - 50 fps(&5) - - - &60 fps - 60 fps(&6) - - - &75 fps - 75 fps(&7) - - - &VSync - 垂直同步(&V) - - - &Select shader... - 选择着色器(&S)... - - - &Remove shader - 移除着色器(&R) - - - Preferences - 首选项 - - - Sound Gain - 音量增益 - - - New Image - 新建镜像 - - - Settings - 设置 - - - Specify Main Window Dimensions - 指定主窗口大小 - - - OK - 确定 - - - Cancel - 取消 - - - Save these settings as &global defaults - 将以上设置存储为全局默认值(&G) - - - &Default - 默认(&D) - - - Language: - 语言: - - - Icon set: - 图标集: - - - Gain - 增益 - - - File name: - 文件名: - - - Disk size: - 磁盘大小: - - - RPM mode: - 转速 (RPM) 模式: - - - Progress: - 进度: - - - Width: - 宽度: - - - Height: - 高度: - - - Lock to this size - 锁定此大小 - - - Machine type: - 机器类型: - - - Machine: - 机型: - - - Configure - 配置 - - - CPU type: - CPU 类型: - - - Speed: - 速度: - - - FPU: - 浮点处理器 (FPU): - - - Wait states: - 等待状态 (WS): - - - MB - MB - - - Memory: - 内存: - - - Time synchronization - 时间同步 - - - Disabled - 禁用 - - - Enabled (local time) - 启用 (本地时间) - - - Enabled (UTC) - 启用 (UTC) - - - Dynamic Recompiler - 动态重编译器 - - - Video: - 显卡: - - - Voodoo Graphics - Voodoo Graphics - - - Mouse: - 鼠标: - - - Joystick: - 操纵杆: - - - Joystick 1... - 操纵杆 1... - - - Joystick 2... - 操纵杆 2... - - - Joystick 3... - 操纵杆 3... - - - Joystick 4... - 操纵杆 4... - - - Sound card: - 声卡: - - - MIDI Out Device: - MIDI 输出设备: - - - MIDI In Device: - MIDI 输入设备: - - - Standalone MPU-401 - 独立 MPU-401 - - - Innovation SSI-2001 - Innovation SSI-2001 - - - CMS / Game Blaster - CMS / Game Blaster - - - Gravis Ultrasound - Gravis Ultrasound - - - Use FLOAT32 sound - 使用单精度浮点 (FLOAT32) - - - Network type: - 网络类型: - - - PCap device: - PCap 设备: - - - Network adapter: - 网络适配器: - - - LPT1 Device: - LPT1 设备: - - - LPT2 Device: - LPT2 设备: - - - LPT3 Device: - LPT3 设备: - - - Serial port 1 - 串口 1 - - - Serial port 2 - 串口 2 - - - Serial port 3 - 串口 3 - - - Serial port 4 - 串口 4 - - - Parallel port 1 - 并口 1 - - - Parallel port 2 - 并口 2 - - - Parallel port 3 - 并口 3 - - - HD Controller: - 硬盘控制器: - - - FD Controller: - 软盘控制器: - - - Tertiary IDE Controller - 第三 IDE 控制器 - - - Quaternary IDE Controller - 第四 IDE 控制器 - - - SCSI - SCSI - - - Controller 1: - 控制器 1: - - - Controller 2: - 控制器 2: - - - Controller 3: - 控制器 3: - - - Controller 4: - 控制器 4: - - - Cassette - 磁带 - - - Hard disks: - 硬盘: - - - &New... - 新建(&N)... - - - &Existing... - 已有镜像(&E)... - - - &Remove - 移除(&R) - - - Bus: - 总线: - - - Channel: - 通道: - - - ID: - ID: - - - &Specify... - 指定(&S)... - - - Sectors: - 扇区(S): - - - Heads: - 磁头(H): - - - Cylinders: - 柱面(C): - - - Size (MB): - 大小 (MB): - - - Type: - 类型: - - - Image Format: - 镜像格式: - - - Block Size: - 块大小: - - - Floppy drives: - 软盘驱动器: - - - Turbo timings - 加速时序 - - - Check BPB - 检查 BPB - - - CD-ROM drives: - 光盘驱动器: - - - MO drives: - 磁光盘驱动器: - - - ZIP drives: - ZIP 驱动器: - - - ZIP 250 - ZIP 250 - - - ISA RTC: - ISA 实时时钟: - - - ISA Memory Expansion - ISA 内存扩充 - - - Card 1: - 扩展卡 1: - - - Card 2: - 扩展卡 2: - - - Card 3: - 扩展卡 3: - - - Card 4: - 扩展卡 4: - - - ISABugger device - ISABugger 设备 - - - POST card - 自检 (POST) 卡 - - - Segoe UI - Microsoft YaHei - - - 86Box - 86Box - - - Error - 错误 - - - Fatal error - 致命错误 - - - <reserved> - <reserved> - - - Press CTRL+ALT+PAGE DOWN to return to windowed mode. - 按 CTRL+ALT+PAGE DOWN 组合键返回到窗口模式。 - - - Speed - 速度 - - - ZIP %03i %i (%s): %ls - ZIP %03i %i (%s): %ls - - - ZIP images (*.IM? *.im? *.ZDI *.zdi) - ZIP 镜像 (*.IM? *.im? *.ZDI *.zdi) - - - 86Box could not find any usable ROM images. - -Please <a href=https://github.com/86Box/roms/releases/latest>download</a> a ROM set and extract it into the roms directory. - 86Box 找不到任何可用的 ROM 镜像。 - -请<a href=https://github.com/86Box/roms/releases/latest>下载</a>ROM 包并将其解压到 roms 文件夹。 - - - (empty) - (空) - - - ZIP images (*.IM? *.im? *.ZDI *.zdi);;All files (*) - ZIP 镜像 (*.IM? *.im? *.ZDI *.zdi);;所有文件 (*) - - - Turbo - 加速 - - - On - - - - Off - - - - All images (*.86F *.86f *.DSK *.dsk *.FLP *.flp *.IM? *.im? *.*FD? *.*fd?);;Basic sector images (*.DSK *.dsk *.FLP *.flp *.IM? *.im? *.IMG *.img *.*FD? *.*fd?);;Surface images (*.86F *.86f) - 所有镜像 (*.86F *.86f *.DSK *.dsk *.FLP *.flp *.IM? *.im? *.*FD? *.*fd?);;基本扇区镜像 (*.DSK *.dsk *.FLP *.flp *.IM? *.im? *.IMG *.img *.*FD? *.*fd?);;表面镜像 (*.86F *.86f) - - - Machine %hs is not available due to missing ROMs in the roms/machines directory. Switching to an available machine. - 由于 roms/machines 文件夹中缺少合适的 ROM,机型 %hs 不可用。将切换到其他可用机型。 - - - Video card %hs is not available due to missing ROMs in the roms/video directory. Switching to an available video card. - 由于 roms/video 文件夹中缺少合适的 ROM,显卡 %hs 不可用。将切换到其他可用显卡。 - - - Machine - 机型 - - - Display - 显示 - - - Input devices - 输入设备 - - - Sound - 声音 - - - Network - 网络 - - - Ports (COM & LPT) - 端口 (COM 和 LPT) - - - Storage controllers - 存储控制器 - - - Hard disks - 硬盘 - - - Floppy & CD-ROM drives - 软盘/光盘驱动器 - - - Other removable devices - 其他可移动设备 - - - Other peripherals - 其他外围设备 - - - Surface images (*.86F *.86f) - 表面镜像 (*.86F *.86f) - - - Click to capture mouse - 单击窗口捕捉鼠标 - - - Press F8+F12 to release mouse - 按 F8+F12 释放鼠标 - - - Press F8+F12 or middle button to release mouse - 按 F8+F12 或鼠标中键释放鼠标 - - - Unable to initialize FluidSynth - 无法初始化 FluidSynth - - - Bus - 总线 - - - File - 文件 - - - C - C - - - H - H - - - S - S - - - KB - KB - - - Could not initialize the video renderer. - 无法初始化视频渲染器。 - - - Default - 默认 - - - %i Wait state(s) - %i 等待状态 (WS) - - - Type - 类型 - - - Failed to set up PCap - 设置 PCap 失败 - - - No PCap devices found - 未找到 PCap 设备 - - - Invalid PCap device - 无效 PCap 设备 - - - Standard 2-button joystick(s) - 标准 2 键操纵杆 - - - Standard 4-button joystick - 标准 4 键操纵杆 - - - Standard 6-button joystick - 标准 6 键操纵杆 - - - Standard 8-button joystick - 标准 8 键操纵杆 - - - CH Flightstick Pro - CH Flightstick Pro - - - Microsoft SideWinder Pad - Microsoft SideWinder Pad - - - Thrustmaster Flight Control System - Thrustmaster Flight Control System - - - None - - - - Unable to load keyboard accelerators. - 无法加载键盘加速器。 - - - Unable to register raw input. - 无法注册原始输入。 - - - %u - %u - - - %u MB (CHS: %i, %i, %i) - %u MB (CHS: %i, %i, %i) - - - Floppy %i (%s): %ls - 软盘 %i (%s): %ls - - - All images (*.0?? *.1?? *.??0 *.86F *.86f *.BIN *.bin *.CQ? *.cq? *.D?? *.d?? *.FLP *.flp *.HDM *.hdm *.IM? *.im? *.JSON *.json *.TD0 *.td0 *.*FD? *.*fd? *.MFM *.mfm *.XDF *.xdf);;Advanced sector images (*.IMD *.imd *.JSON *.json *.TD0 *.td0);;Basic sector images (*.0?? *.1?? *.??0 *.BIN *.bin *.CQ? *.cq? *.D?? *.d?? *.FLP *.flp *.HDM *.hdm *.IM? *.im? *.XDF *.xdf *.*FD? *.*fd?);;Flux images (*.FDI *.fdi);;Surface images (*.86F *.86f *.MFM *.mfm);;All files (*) - 所有镜像 (*.0?? *.1?? *.??0 *.86F *.86f *.BIN *.bin *.CQ? *.cq? *.D?? *.d?? *.FLP *.flp *.HDM *.hdm *.IM? *.im? *.JSON *.json *.TD0 *.td0 *.*FD? *.*fd? *.MFM *.mfm *.XDF *.xdf);;高级扇区镜像 (*.IMD *.imd *.JSON *.json *.TD0 *.td0);;基本扇区镜像 (*.0?? *.1?? *.??0 *.BIN *.bin *.CQ? *.cq? *.D?? *.d?? *.FLP *.flp *.HDM *.hdm *.IM? *.im? *.XDF *.xdf *.*FD? *.*fd?);;Flux 镜像 (*.FDI *.fdi);;表面镜像 (*.86F *.86f *.MFM *.mfm);;所有文件 (*) - - - Unable to initialize FreeType - 无法初始化 FreeType - - - Unable to initialize SDL, SDL2.dll is required - 无法初始化 SDL,需要 SDL2.dll - - - Are you sure you want to hard reset the emulated machine? - 确定要硬重置模拟器吗? - - - Are you sure you want to exit 86Box? - 确定要退出 86Box 吗? - - - Unable to initialize Ghostscript - 无法初始化 Ghostscript - - - MO %i (%ls): %ls - 磁光盘 %i (%ls): %ls - - - MO images (*.IM? *.im? *.MDI *.mdi);;All files (*) - 磁光盘镜像 (*.IM? *.im? *.MDI *.mdi);;所有文件 (*) - - - Welcome to 86Box! - 欢迎使用 86Box! - - - Internal controller - 内部控制器 - - - Exit - 退出 - - - No ROMs found - 找不到 ROM - - - Do you want to save the settings? - 要保存设置吗? - - - This will hard reset the emulated machine. - 此操作将硬重置模拟器。 - - - Save - 保存 - - - About 86Box - 关于 86Box - - - 86Box v - 86Box v - - - An emulator of old computers - -Authors: Sarah Walker, Miran Grca, Fred N. van Kempen (waltje), SA1988, Tiseno100, reenigne, leilei, JohnElliott, greatpsycho, and others. - -Released under the GNU General Public License version 2 or later. See LICENSE for more information. - 一个旧式计算机模拟器 - -作者: Sarah Walker、Miran Grca、Fred N. van Kempen (waltje)、SA1988、Tiseno100、reenigne、leilei、JohnElliott、greatpsycho 等人。 - -本软件依据 GNU 通用公共许可证第二版或更新版本发布。详情见 LICENSE 文件。 - - - Hardware not available - 硬件不可用 - - - WinPcap - WinPcap - - - libpcap - libpcap - - - Make sure libpcap is installed and that you are on a libpcap-compatible network connection. - 请确认 libpcap 已安装且使用兼容 libpcap 的网络连接。 - - - Invalid configuration - 无效配置 - - - freetype.dll - freetype.dll - - - libfreetype - libfreetype - - - is required for ESC/P printer emulation. - ESC/P 打印机模拟需要 - - - gsdll32.dll - gsdll32.dll - - - libgs - libgs - - - is required for automatic conversion of PostScript files to PDF. - -Any documents sent to the generic PostScript printer will be saved as PostScript (.ps) files. - 是将 PostScript 文件转换为 PDF 所需要的库。 - -使用通用 PostScript 打印机打印的文档将被保存为 PostScript (.ps) 文件。 - - - libfluidsynth.dll - libfluidsynth.dll - - - libfluidsynth - libfluidsynth - - - is required for FluidSynth MIDI output. - FluidSynth MIDI 输出需要 - - - Entering fullscreen mode - 正在进入全屏模式 - - - Don't show this message again - 不要再显示此消息 - - - Don't exit - 不退出 - - - Reset - 重置 - - - Don't reset - 不重置 - - - CD-ROM images (*.ISO *.iso *.CUE *.cue);;All files (*) - 光盘镜像 (*.ISO *.iso *.CUE *.cue);;所有文件 (*) - - - %hs Device Configuration - %hs 设备配置 - - - Monitor in sleep mode - 显示器处在睡眠状态 - - - OpenGL Shaders (*.GLSL *.glsl);;All files (*) - OpenGL 着色器 (*.GLSL *.glsl);;所有文件 (*) - - - OpenGL options - OpenGL 选项 - - - You are loading an unsupported configuration - 正在载入一个不受支持的配置 - - - CPU type filtering based on selected machine is disabled for this emulated machine. - -This makes it possible to choose a CPU that is otherwise incompatible with the selected machine. However, you may run into incompatibilities with the machine BIOS or other software. - -Enabling this setting is not officially supported and any bug reports filed may be closed as invalid. - 此模拟计算机禁用了基于选定计算机的 CPU 类型过滤。 - -能够选中与所选机器本不兼容的 CPU,但是可能会遇到与机器 BIOS 或其他软件不兼容的问题。 - -启用此设置不受官方支持,并且提交的任何错误报告可能会视为无效而关闭。 - - - Continue - 继续 - - - Cassette: %s - 磁带: %s - - - Cassette images (*.PCM *.pcm *.RAW *.raw *.WAV *.wav *.CAS *.cas);;All files (*) - 磁带镜像 (*.PCM *.pcm *.RAW *.raw *.WAV *.wav *.CAS *.cas);;所有文件 (*) - - - Cartridge %i: %ls - 卡带 %i: %ls - - - Cartridge images (*.A *.a *.B *.b *.JRC *.jrc);;All files (*) - 卡带镜像 (*.A *.a *.B *.b *.JRC *.jrc);;所有文件 (*) - - - Error initializing renderer - 初始化渲染器时出错 - - - OpenGL (3.0 Core) renderer could not be initialized. Use another renderer. - 无法初始化 OpenGL (3.0 核心) 渲染器。请使用其他渲染器。 - - - Hard disk (%s) - 硬盘 (%s) - - - %01i:%01i - %01i:%01i - - - %01i - %01i - - - MFM/RLL or ESDI CD-ROM drives never existed - 不存在 MFM/RLL 或 ESDI CD-ROM 驱动器 - - - Custom... - 自定义... - - - Custom (large)... - 自定义 (大容量)... - - - Add New Hard Disk - 添加新硬盘 - - - Add Existing Hard Disk - 添加已存在的硬盘 - - - HDI disk images cannot be larger than 4 GB. - HDI 磁盘镜像不能超过 4 GB。 - - - Disk images cannot be larger than 127 GB. - 磁盘镜像不能超过 127 GB。 - - - Hard disk images (*.HD? *.hd? *.IM? *.im? *.VHD *.vhd);;All files (*) - 硬盘镜像 (*.HD? *.hd? *.IM? *.im? *.VHD *.vhd);;所有文件 (*) - - - Unable to read file - 无法读取文件 - - - Unable to write file - 无法写入文件 - - - HDI or HDX images with a sector size other than 512 are not supported. - 不支持非 512 字节扇区大小的 HDI 或 HDX 镜像。 - - - USB is not yet supported - 尚未支持 USB - - - Disk image file already exists - 磁盘镜像文件已存在 - - - Please specify a valid file name. - 请指定有效的文件名。 - - - Disk image created - 已创建磁盘镜像 - - - Make sure the file exists and is readable. - 请确定此文件已存在并可读取。 - - - Make sure the file is being saved to a writable directory. - 请确定此文件保存在可写目录中。 - - - Disk image too large - 磁盘镜像太大 - - - Remember to partition and format the newly-created drive. - 请记得为新创建的镜像分区并格式化。 - - - The selected file will be overwritten. Are you sure you want to use it? - 选定的文件将被覆盖。确定继续使用此文件吗? - - - Unsupported disk image - 不支持的磁盘镜像 - - - Overwrite - 覆盖 - - - Don't overwrite - 不覆盖 - - - Raw image (.img) - 原始镜像 (.img) - - - HDI image (.hdi) - HDI 镜像 (.hdi) - - - HDX image (.hdx) - HDX 镜像 (.hdx) - - - Fixed-size VHD (.vhd) - 固定大小 VHD (.vhd) - - - Dynamic-size VHD (.vhd) - 动态大小 VHD (.vhd) - - - Differencing VHD (.vhd) - 差分 VHD (.vhd) - - - Large blocks (2 MB) - 大块 (2 MB) - - - Small blocks (512 KB) - 小块 (512 KB) - - - VHD files (*.VHD *.vhd);;All files (*) - VHD 文件 (*.VHD *.vhd);;所有文件 (*) - - - Select the parent VHD - 选择父 VHD 文件 - - - This could mean that the parent image was modified after the differencing image was created. - -It can also happen if the image files were moved or copied, or by a bug in the program that created this disk. - -Do you want to fix the timestamps? - 父映像可能在创建差异镜像后被修改。 - -如果镜像文件被移动或复制,或创建此磁盘的程序中存在错误,也可能发生这种情况。 - -是否需要修复时间戳? - - - Parent and child disk timestamps do not match - 父盘与子盘的时间戳不匹配 - - - Could not fix VHD timestamp. - 无法修复 VHD 时间戳。 - - - %01i:%02i - %01i:%02i - - - MFM/RLL - MFM/RLL - - - XTA - XTA - - - ESDI - ESDI - - - IDE - IDE - - - ATAPI - ATAPI - - - MFM/RLL (%01i:%01i) - MFM/RLL (%01i:%01i) - - - XTA (%01i:%01i) - XTA (%01i:%01i) - - - ESDI (%01i:%01i) - ESDI (%01i:%01i) - - - IDE (%01i:%01i) - IDE (%01i:%01i) - - - ATAPI (%01i:%01i) - ATAPI (%01i:%01i) - - - SCSI (%01i:%02i) - SCSI (%01i:%02i) - - - CD-ROM %i (%s): %s - 光盘 %i (%s): %s - - - 160 kB - 160 kB - - - 180 kB - 180 kB - - - 320 kB - 320 kB - - - 360 kB - 360 kB - - - 640 kB - 640 kB - - - 720 kB - 720 kB - - - 1.2 MB - 1.2 MB - - - 1.25 MB - 1.25 MB - - - 1.44 MB - 1.44 MB - - - DMF (cluster 1024) - DMF (1024 簇) - - - DMF (cluster 2048) - DMF (2048 簇) - - - 2.88 MB - 2.88 MB - - - ZIP 100 - ZIP 100 - - - 3.5 128Mb M.O. (ISO 10090) - 3.5 英寸 128Mb 磁光盘 (ISO 10090) - - - 3.5 230Mb M.O. (ISO 13963) - 3.5 英寸 230Mb 磁光盘 (ISO 13963) - - - 3.5 540Mb M.O. (ISO 15498) - 3.5 英寸 540Mb 磁光盘 (ISO 15498) - - - 3.5 640Mb M.O. (ISO 15498) - 3.5 英寸 640Mb 磁光盘 (ISO 15498) - - - 3.5 1.3Gb M.O. (GigaMO) - 3.5 英寸 1.3Gb 磁光盘 (GigaMO) - - - 3.5 2.3Gb M.O. (GigaMO 2) - 3.5 英寸 2.3Gb 磁光盘 (GigaMO 2) - - - 5.25 600Mb M.O. - 5.25 英寸 600Mb 磁光盘 - - - 5.25 650Mb M.O. - 5.25 英寸 650Mb 磁光盘 - - - 5.25 1Gb M.O. - 5.25 英寸 1Gb 磁光盘 - - - 5.25 1.3Gb M.O. - 5.25 英寸 1.3Gb 磁光盘 - - - Perfect RPM - 标准转速 (RPM) - - - 1%% below perfect RPM - 低于标准转速的 1%% - - - 1.5%% below perfect RPM - 低于标准转速的 1.5%% - - - 2%% below perfect RPM - 低于标准转速的 2%% - - - (System Default) - (系统默认) - - - diff --git a/src/qt/languages/fi-fi.po b/src/qt/languages/fi-fi.po index 52c103e60..a8e3e8c5c 100644 --- a/src/qt/languages/fi-fi.po +++ b/src/qt/languages/fi-fi.po @@ -217,9 +217,6 @@ msgstr "&Dokumentaatio..." msgid "&About 86Box..." msgstr "&Tietoja 86Box:sta..." - - - msgid "&New image..." msgstr "&Uusi kasettikuva..." diff --git a/src/qt/languages/tr-TR.po b/src/qt/languages/tr-TR.po index ef70640df..de5417e87 100644 --- a/src/qt/languages/tr-TR.po +++ b/src/qt/languages/tr-TR.po @@ -644,10 +644,10 @@ msgid "All images (*.86F *.86f *.DSK *.dsk *.FLP *.flp *.IM? *.im? *.*FD? *.*fd? msgstr "Tüm imajlar (*.86F *.86f *.DSK *.dsk *.FLP *.flp *.IM? *.im? *.*FD? *.*fd?);;Basit sektör imajları (*.DSK *.dsk *.FLP *.flp *.IM? *.im? *.IMG *.img *.*FD? *.*fd?);;Yüzey imajları (*.86F *.86f)" msgid "Machine \"%hs\" is not available due to missing ROMs in the roms/machines directory. Switching to an available machine." -msgstr \""%hs\" makinesi roms/machines klasöründe mevcut olmayan ROM imajı yüzünden mevcut değil. Mevcut olan bir makineye geçiş yapılıyor." +msgstr "\"%hs\" makinesi roms/machines klasöründe mevcut olmayan ROM imajı yüzünden mevcut değil. Mevcut olan bir makineye geçiş yapılıyor." msgid "Video card \"%hs\" is not available due to missing ROMs in the roms/video directory. Switching to an available video card." -msgstr \""%hs\" ekran kartı roms/video klasöründe mevcut olmayan ROM imajı yüzünden mevcut değil. Mevcut olan bir ekran kartına geçiş yapılıyor." +msgstr "\"%hs\" ekran kartı roms/video klasöründe mevcut olmayan ROM imajı yüzünden mevcut değil. Mevcut olan bir ekran kartına geçiş yapılıyor." msgid "Machine" msgstr "Makine" diff --git a/src/qt/qt_deviceconfig.cpp b/src/qt/qt_deviceconfig.cpp index 7218ab63c..65fb865ac 100644 --- a/src/qt/qt_deviceconfig.cpp +++ b/src/qt/qt_deviceconfig.cpp @@ -198,9 +198,9 @@ void DeviceConfig::ConfigureDevice(const _device_* device, int instance) { QString DeviceConfig::DeviceName(const _device_* device, const char *internalName, int bus) { if (QStringLiteral("none") == internalName) { - return "None"; + return tr("None"); } else if (QStringLiteral("internal") == internalName) { - return "Internal"; + return tr("Internal controller"); } else if (device == nullptr) { return QString(); } else { diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index 91bed1298..609245ad0 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -103,6 +103,9 @@ protected: QString translate(const char *context, const char *sourceText, const char *disambiguation = nullptr, int n = -1) const override { + if (strcmp(sourceText, "&Fullscreen") == 0) sourceText = "&Fullscreen\tCtrl+Alt+PageUP"; + if (strcmp(sourceText, "&Ctrl+Alt+Del") == 0) sourceText = "&Ctrl+Alt+Del\tCtrl+F12"; + if (strcmp(sourceText, "Take s&creenshot") == 0) sourceText = "Take s&creenshot\tCtrl+F11"; return QTranslator::translate("", sourceText, disambiguation, n); } }; diff --git a/src/qt/qt_mainwindow.ui b/src/qt/qt_mainwindow.ui index 731876907..424b21e07 100644 --- a/src/qt/qt_mainwindow.ui +++ b/src/qt/qt_mainwindow.ui @@ -47,7 +47,7 @@ 0 0 724 - 23 + 21 @@ -209,6 +209,12 @@ Ctrl+Alt+Del + + Ctrl+F12 + + + false + @@ -243,6 +249,9 @@ Ctrl+Alt+PgUp + + false + @@ -515,7 +524,13 @@ - Take s&creenshot... + Take s&creenshot + + + Ctrl+F11 + + + false diff --git a/src/qt/qt_settings.cpp b/src/qt/qt_settings.cpp index b06495ce8..0ce21a7a4 100644 --- a/src/qt/qt_settings.cpp +++ b/src/qt/qt_settings.cpp @@ -34,15 +34,15 @@ private: QStringList pages = { "Machine", "Display", - "Input Devices", + "Input devices", "Sound", "Network", "Ports (COM & LPT)", - "Storage Controllers", - "Hard Disks", - "Floppy & CD-ROM Drives", - "Other Removable Devices", - "Other Peripherals", + "Storage controllers", + "Hard disks", + "Floppy & CD-ROM drives", + "Other removable devices", + "Other peripherals", }; QStringList page_icons = { "machine", @@ -64,7 +64,7 @@ QVariant SettingsModel::data(const QModelIndex &index, int role) const { switch (role) { case Qt::DisplayRole: - return pages.at(index.row()); + return tr(pages.at(index.row()).toUtf8().data()); case Qt::DecorationRole: return QIcon(QString("%1/%2.ico").arg(ProgSettings::getIconSetPath(), page_icons[index.row()])); default: diff --git a/src/qt/qt_settingsdisplay.ui b/src/qt/qt_settingsdisplay.ui index 02ee3a1a9..58a2e6aef 100644 --- a/src/qt/qt_settingsdisplay.ui +++ b/src/qt/qt_settingsdisplay.ui @@ -32,7 +32,7 @@ - Video + Video: diff --git a/src/qt/qt_settingsinput.cpp b/src/qt/qt_settingsinput.cpp index b34cb31ca..f9b99dd7a 100644 --- a/src/qt/qt_settingsinput.cpp +++ b/src/qt/qt_settingsinput.cpp @@ -75,7 +75,7 @@ void SettingsInput::onCurrentMachineChanged(int machineId) { removeRows = joystickModel->rowCount(); selectedRow = 0; while (joyName) { - int row = Models::AddEntry(joystickModel, joyName, i); + int row = Models::AddEntry(joystickModel, tr(joyName).toUtf8().data(), i); if (i == joystick_type) { selectedRow = row - removeRows; } diff --git a/src/qt/qt_settingsinput.ui b/src/qt/qt_settingsinput.ui index 28bf16eb8..7332ad907 100644 --- a/src/qt/qt_settingsinput.ui +++ b/src/qt/qt_settingsinput.ui @@ -41,7 +41,7 @@ - Mouse + Mouse: @@ -58,7 +58,7 @@ - Joystick + Joystick: diff --git a/src/qt/qt_settingsmachine.cpp b/src/qt/qt_settingsmachine.cpp index 959c53635..dee831e39 100644 --- a/src/qt/qt_settingsmachine.cpp +++ b/src/qt/qt_settingsmachine.cpp @@ -161,10 +161,10 @@ void SettingsMachine::on_comboBoxMachine_currentIndexChanged(int index) { int divisor; if ((machine_get_ram_granularity(machineId) < 1024)) { divisor = 1; - ui->spinBoxRAM->setSuffix(" KB"); + ui->spinBoxRAM->setSuffix(QCoreApplication::translate("", "KB").prepend(' ')); } else { divisor = 1024; - ui->spinBoxRAM->setSuffix(" MB"); + ui->spinBoxRAM->setSuffix(QCoreApplication::translate("", "MB").prepend(' ')); } ui->spinBoxRAM->setMinimum(machine_get_min_ram(machineId) / divisor); ui->spinBoxRAM->setMaximum(machine_get_max_ram(machineId) / divisor); diff --git a/src/qt/qt_settingsmachine.ui b/src/qt/qt_settingsmachine.ui index f404aa629..e4c010f17 100644 --- a/src/qt/qt_settingsmachine.ui +++ b/src/qt/qt_settingsmachine.ui @@ -44,7 +44,7 @@ - Machine Type: + Machine type: @@ -61,7 +61,7 @@ - CPU: + CPU type: @@ -116,7 +116,7 @@ - Speed + Speed: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -208,7 +208,7 @@ - Enabled (Local Time) + Enabled (local time) diff --git a/src/qt/qt_settingsotherperipherals.ui b/src/qt/qt_settingsotherperipherals.ui index a47b79425..0a8d93efb 100644 --- a/src/qt/qt_settingsotherperipherals.ui +++ b/src/qt/qt_settingsotherperipherals.ui @@ -31,7 +31,7 @@ - ISA RTC + ISA RTC: @@ -73,14 +73,14 @@ - Card 2 + Card 2: - Card 3 + Card 3: @@ -97,7 +97,7 @@ - Card 1 + Card 1: @@ -117,7 +117,7 @@ - Card 4 + Card 4: @@ -129,7 +129,7 @@ - ISABugger Device + ISABugger device diff --git a/src/qt/qt_settingssound.ui b/src/qt/qt_settingssound.ui index 6290f63aa..f8bad2c61 100644 --- a/src/qt/qt_settingssound.ui +++ b/src/qt/qt_settingssound.ui @@ -29,7 +29,7 @@ - MIDI In + MIDI In Device: @@ -50,7 +50,7 @@ - Sound Card + Sound card: @@ -67,7 +67,7 @@ - MIDI Out + MIDI Out Device: diff --git a/vcpkg.json b/vcpkg.json index 193d96e6f..bc7c7c524 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -11,6 +11,6 @@ "sdl2", "rtmidi", "qt5-base", - "qt5-translations", + "qt5-translations" ] }