diff --git a/lcd-image-converter.pro b/lcd-image-converter.pro index d4799db..ab58417 100644 --- a/lcd-image-converter.pro +++ b/lcd-image-converter.pro @@ -379,12 +379,11 @@ win32 { OTHER_FILES += win-res.rc } -TRANSLATIONS = resources/lcd-image-converter-ru.ts - OTHER_FILES += \ resources/image.tmpl \ resources/font.tmpl \ resources/lcd-image-converter-ru.ts \ + resources/lcd-image-converter-zh_CN.ts \ win-res.rc \ README \ readme.md \ @@ -430,11 +429,43 @@ QMAKE_EXTRA_TARGETS += version PRE_TARGETDEPS += git_revision # compile translation -translation_ru.target = $$PWD/resources/lcd-image-converter-ru.qm -translation_ru.commands = lrelease $$PWD/resources/lcd-image-converter-ru.ts $$PWD/resources/lcd-image-converter-ru.qm +LANGUAGES = ru zh_CN +# parameters: var, prepend, append +defineReplace(prependAll) { + for(a,$$1):result += $$2$${a}$$3 + return($$result) +} -QMAKE_EXTRA_TARGETS += translation_ru -PRE_TARGETDEPS += $$PWD/resources/lcd-image-converter-ru.qm $$PWD/resources/lcd-image-converter-ru.ts + + +TRANSLATIONS = $$prependAll(LANGUAGES, $$PWD/resources/lcd-image-converter-, .ts) + +TRANSLATIONS_FILES = + +qtPrepareTool(LRELEASE, lrelease) + +win32 { + LRELEASE ~= s,^/([a-zA-Z])/,\\1:/, +} + +for(tsfile, TRANSLATIONS) { + # qmfile = $$shadowed($$tsfile) + qmfile = $$tsfile + qmfile ~= s,.ts$,.qm, + qmdir = $$dirname(qmfile) + !exists($$qmdir) { + mkpath($$qmdir)|error("Aborting.") + } + tsfile_fixed = $$tsfile + qmfile_fixed = $$qmfile + win32 { + tsfile_fixed ~= s,^/([a-zA-Z])/,\\1:/, + qmfile_fixed ~= s,^/([a-zA-Z])/,\\1:/, + } + command = $$LRELEASE -removeidentical $$tsfile_fixed -qm $$qmfile_fixed + system($$command)|error("Failed to run: $$command") + TRANSLATIONS_FILES += $$qmfile +} DISTFILES += \ .clang-format diff --git a/resources/lcd-image-converter-ru.ts b/resources/lcd-image-converter-ru.ts index 1033c81..a239fc5 100644 --- a/resources/lcd-image-converter-ru.ts +++ b/resources/lcd-image-converter-ru.ts @@ -2230,7 +2230,7 @@ Only minimal amount (%3) will be imported. - ToolFill + ImageEditor::Tools::ToolFill Fill diff --git a/resources/lcd-image-converter-zh_CN.ts b/resources/lcd-image-converter-zh_CN.ts new file mode 100644 index 0000000..239c648 --- /dev/null +++ b/resources/lcd-image-converter-zh_CN.ts @@ -0,0 +1,2288 @@ + + + + + AlignModProxy + + + Size + 尺寸 + + + + AppUI::CommonDialogs::DialogSaveChanges + + + Save changes? + 保存更改吗? + + + + Document '%1' have unsaved changes. + 文档 '%1' 有未保存的更改。 + + + + Closing document without saving can cause loss of changes. + 关闭文档而不保存可能会导致更改丢失。 + + + + AppUI::Fonts::DialogFontSelect + + + + Max size (w × h): %1 × %2 + 最大尺寸 (宽 × 高): %1 × %2 + + + + Count: %1 + 数量: %1 + + + + Fore Color: %1 + 前景色: %1 + + + + Back Color: %1 + 背景色: %1 + + + + AppUI::Fonts::UnicodeBlocksModel + + + All + 全部 + + + + AppUI::MainWindow + + + XML Files (*.xml) + XML 文件 (*.xml) + + + + Save file as + 文件另存为 + + + + AppUI::MenuHandlers::ActionEditHandlers + + + More than 1 image(s) selected. But only one will be copied - "%1". + Warning about image copy + 选择了超过 1 个图像。但只有一个会被复制 - "%1"。 + + + + Copy - Attention + 复制 - 注意 + + + + More than 1 image(s) selected. All of them will be overwritten. + Warning about image paste + 选择了超过 1 个图像。它们都将被覆盖。 + + + + Paste - Attention + 粘贴 - 注意 + + + + AppUI::MenuHandlers::ActionFileHandlers + + + Enter image name + 输入图像名称 + + + + Image name: + 图像名称: + + + + Enter font name + 输入字体名称 + + + + Font name: + 字体名称: + + + + Open xml or image file + 打开 XML 或图像文件 + + + + + XML Files (*.xml) + XML 文件 (*.xml) + + + + Images (*.bmp *.gif *.jpg *.jpeg *.png *.pbm *.pgm *.ppm *.tiff *.xbm *.xpm) + 图像 (*.bmp *.gif *.jpg *.jpeg *.png *.pbm *.pgm *.ppm *.tiff *.xbm *.xpm) + + + + Rename + 重命名 + + + + New name: + 新名称: + + + + Save file as + 文件另存为 + + + + Save result file as + 结果文件另存为 + + + + C source code (*.c) + C 源代码 (*.c) + + + + C++ source code (*.cpp) + C++ 源代码 (*.cpp) + + + + C/C++ headers (*.h) + C/C++ 头文件 (*.h) + + + + C/C++ files (*.c *.cpp *.h) + C/C++ 文件 (*.c *.cpp *.h) + + + + All Files (*.*) + 所有文件 (*.*) + + + + AppUI::Setup::DialogExternalEditor + + + All files (*.*) + 所有文件 (*.*) + + + + Select application + 选择应用程序 + + + + AppUI::Setup::DialogOptions + + + Import - Attention + 导入 - 注意 + + + + Enter preset name + 输入预设名称 + + + + Preset name: + 预设名称: + + + + + XML Files (*.xml) + XML 文件 (*.xml) + + + + Open xml preset file + 打开 XML 预设文件 + + + + Save file as + 文件另存为 + + + + Preset with name "%1" already exists. Continue with overwrite? + Warning about preset overwrite + 名为 "%1" 的预设已存在。继续覆盖吗? + + + + Preset with name "%1" doesn't exists. All OK. + Warning about preset overwrite + 名为 "%1" 的预设不存在。可以继续。 + + + + Save changes? + 保存更改吗? + + + + AppUI::Setup::Parts::Font::SetupTabFont + + + None + + + + + Ascending + 升序 + + + + Descending + 降序 + + + + AppUI::Setup::Parts::Image::SetupTabImage + + + 8 bit + 8 位 + + + + 16 bit + 16 位 + + + + 24 bit + 24 位 + + + + 32 bit + 32 位 + + + + Binary + 二进制 + + + + Octal + 八进制 + + + + Decimal + 十进制 + + + + Hecadecimal + 十六进制 + + + + Check to split data by rows/bands on packing. + 选择此项以按行/带分割数据进行打包。 + + + + Number of blocks per line code. 0 to single line. + 每行代码的数据块数。设为 0 表示单行。 + + + + AppUI::Setup::Parts::Matrix::MatrixPreviewModel + + + Source + 源数据 + + + + Operation %1 + 操作 %1 + + + + Used + 已使用 + + + + Result + 结果 + + + + Stream + 数据流 + + + + Fill + 填充 + + + + AppUI::Setup::Parts::Matrix::SetupTabMatrix + + + Source + 源数据 + + + + Add "Left Shift" + 添加 "左移" + + + + Add "Right Shift" + 添加 "右移" + + + + Operation + 操作 + + + + Shift left + 左移 + + + + Shift right + 右移 + + + + Remove + 删除 + + + + Mask + 掩码 + + + + Set 1 + 设为 1 + + + + Set 0 + 设为 0 + + + + AppUI::Setup::Parts::Prepare::SetupTabPrepare + + + Scanning + 扫描 + + + + Preprocessing + 预处理 + + + + AppUI::Setup::Parts::Prepare::SetupTabPreparePreprocessing + + + Monochrome + 单色 + + + + Grayscale + 灰度 + + + + Color + 彩色 + + + + Custom + 自定义 + + + + Edge + 边缘 + + + + AppUI::Setup::Parts::Prepare::SetupTabPrepareScanning + + + Top to Bottom + 从上到下 + + + + Bottom to Top + 从下到上 + + + + Left to Right + 从左到右 + + + + Right to Left + 从右到左 + + + + Forward + 正向 + + + + Backward + 反向 + + + + AppUI::Setup::Parts::Reordering::ReorderingPreviewModel + + + Source + 源数据 + + + + Operation %1 + 操作 %1 + + + + Result + 结果 + + + + AppUI::Setup::Parts::Reordering::SetupTabReordering + + + Source + 源数据 + + + + Add "Left Shift" + 添加 "左移" + + + + Add "Right Shift" + 添加 "右移" + + + + Operation + 操作 + + + + Shift left + 左移 + + + + Shift right + 右移 + + + + Remove + 删除 + + + + AppUI::Setup::Parts::Templates::SetupTabTemplates + + + All files (*.*) + 所有文件 (*.*) + + + + Open image template file + 打开图像模板文件 + + + + Any file (*.*) + 所有文件 (*.*) + + + + Open font template file + 打开字体模板文件 + + + + AppUI::Start::StartTab + + + Start + 开始 + + + + AppUI::Status::StatusManager + + + Char: %1/%2 + 字符: %1/%2 + + + + Cursor: %1,%2 + 光标: %1,%2 + + + + Scale: %1x + 缩放: %1x + + + + Size: %1x%2 + 尺寸: %1x%2 + + + + AppUI::Updates::DialogUpdates + + + Check updates failed with HTTP code: %1 + 检查更新失败,HTTP 代码: %1 + + + + Check updates failed with QNetworkReply message:<br/>%1 + 检查更新失败,QNetworkReply 消息:<br/>%1 + + + + CanvasModProxy + + + Original size + 原始尺寸 + + + + New size + 新尺寸 + + + + CmdLineParser + + + Conversion mode for application, "convert-image", "convert-font" or "hex2bin". + 应用程序的转换模式:"convert-image"(图像转换)、"convert-font"(字体转换)或"hex2bin"(十六进制转二进制)。 + + + + mode + 模式 + + + + Path to main configuration file. If not specified, default is used. + 主配置文件的路径。如果未指定,将使用默认路径。 + + + + + file + 文件 + + + + Path to presets configuration file. If not specified, default is used. + 预设配置文件的路径集。如果未指定,将使用默认路径。 + + + + Reset all settings to default state. + 将所有设置重置为默认状态。 + + + + Full <path> to source image in binary format. + 二进制格式源图像的完整 <path>(路径)。 + + + + + + + + + + + path + 路径 + + + + + Full <path> to output result. + 输出结果的完整 <path>(路径)。 + + + + <Family> of new font. + 新字体的 <Family>(字体族)。 + + + + family + 字体族 + + + + Font <size>. + 字体 <size>(大小)。 + + + + size + 大小 + + + + Make monospaced font. + 制作等宽字体。 + + + + Font <style>, Regular, Bold, Italic or Bold Italic. + 字体 <style>(样式):Regular(常规)、Bold(加粗)、Italic(斜体)或 Bold Italic(粗斜体)。 + + + + Use antialiasing. + 使用抗锯齿。 + + + + Foreground color in hex format. + 十六进制格式的前景色。 + + + + + color + 颜色 + + + + Background color in hex format. + 十六进制格式的背景色。 + + + + Characters, what included to the font. + 字体中包含的字符。 + + + + characters + 字符 + + + + Characters range, for example "32-255". + 字符范围,例如 "32-255"。 + + + + range + 范围 + + + + Characters encoding, for example "UTF-8". + 字符编码,例如 "UTF-8"。 + + + + encoding + 编码 + + + + Use big-endian instead of little-endian. + 使用大端序 (Big-endian) 而非小端序 (Little-endian)。 + + + + Multiplicity of character's width. + 字符宽度的倍数(对齐)。 + + + + multiplicity-width + 宽度倍数 + + + + Multiplicity of character's height. + 字符高度的倍数(对齐)。 + + + + multiplicity-height + 高度倍数 + + + + Full <path> to font document in xml format. + XML 格式字体文档的完整 <path>(路径)。 + + + + + Full <path> to template file, used in conversion. [Optional] + 转换所使用的模板文件的完整 <path>(路径)。[可选] + + + + + Document name. + 文档名称。 + + + + + + + name + 名称 + + + + + Output preset <name> from predefined presets in application settings. + 从应用程序设置中的预定义预设中选择输出预设 <name>(名称)。 + + + + Full <path> to image in *.C format. + *.C 格式图像的完整 <path>(路径)。 + + + + Full <path> to output binary result. + 输出二进制结果的完整 <path>(路径)。 + + + + Data::Models::ImagesAlignedProxy + + Original size + 原始尺寸 + + + New size + 新尺寸 + + + + Data::Models::ImagesModel + + + Character + 字符 + + + + Preview + character preview + 预览 + + + + Data::Models::ImagesResizedProxy + + Original size + 原始尺寸 + + + New size + 新尺寸 + + + + DialogAbout + + + About + 关于 + + + + LCD Image Converter<br/> +Tool to create image and font source files for embedded applications.<br/> +<br/> +Author: +<a href="mailto:riuson@gmail.com?subject=lcd-image-converter&">riuson@gmail.com</a><br/> +Project's home page: <a href="http://www.riuson.com/lcd-image-converter">http://www.riuson.com/lcd-image-converter</a> +<hr/> +Revision <a href="https://github.com/riuson/lcd-image-converter/commit/%1">%2</a> from <i>%3</i><br/> +Qt %4 + LCD Image Converter<br/> +为嵌入式应用程序创建图像和字体源文件的工具。<br/> +<br/> +作者: +<a href="mailto:riuson@gmail.com?subject=lcd-image-converter&">riuson@gmail.com</a><br/> +项目主页: +<a href="http://www.riuson.com/lcd-image-converter">http://www.riuson.com/lcd-image-converter</a> +<hr/> +版本 <a href="https://github.com/riuson/lcd-image-converter/commit/%1">%2</a> 来自 <i>%3</i><br/> +Qt: %4 + + + + DialogAlign + + + Align + 对齐 + + + + Mode: + 模式: + + + + Offset: + 偏移: + + + + Scale: + 缩放: + + + + Horizontal: + 水平: + + + + Vertical: + 垂直: + + + + + None + + + + + Left + 左对齐 + + + + Center Left + 居中偏左 + + + + Center Right + 居中偏右 + + + + Right + 右对齐 + + + + Top + 顶部对齐 + + + + Center Top + 居中偏上 + + + + Center Bottom + 居中偏下 + + + + Bottom + 底部对齐 + + + + DialogCanvasResize + + + Resize + 调整大小 + + + + Crop/Expand: + 裁剪/扩展: + + + + Optimize height + 优化高度 + + + + Optimize width + 优化宽度 + + + + Scale: + 缩放: + + + + Reset + 重置 + + + + DialogExternalEditor + + + External editor + 外部编辑器 + + + + Path to application: + 应用程序路径: + + + + ... + 浏览... + + + + DialogFontChanged + + + Font changed + 字体已更改 + + + + Update all characters + 更新所有字符 + + + + Save new font parameters and regenerate all characters + 保存新字体参数并重新生成所有字符 + + + + Add/remove only + 仅添加/删除 + + + + Add new characters with new parameters or remove existing + 仅添加具有新参数的新字符或删除现有字符 + + + + Cancel + 取消 + + + + Don't change anything + 不做任何更改 + + + + DialogFontPreview + + + Font preview + 字体预览 + + + + Enter text to preview + 输入要预览的文本 + + + + DialogFontRange + + + Append characters range + 添加字符范围 + + + + Encoding: + 编码: + + + + From: + 从: + + + + To: + 到: + + + + Byte order: + 字节顺序: + + + + DialogFontSelect + + + Font setup + 字体设置 + + + + Source Font + 源字体 + + + + Font: + 字体: + + + + Style: + Стиль шрифта + 样式: + + + + Size: + 大小: + + + + Parameters + 参数 + + + + Proportional + 比例字体 + + + + Monospaced + 等宽字体 + + + + Multiplicity of width + 宽度的倍数 + + + + W / + 宽 / + + + + Multiplicity of height + 高度的倍数 + + + + H / + 高 / + + + + Antialiasing + 抗锯齿 + + + + Fore Color + 前景色 + + + + Max char size + 最大字符尺寸 + + + + Max glyph size + 最大字形尺寸 + + + + Back Color + 背景色 + + + + Enter filter... + 输入筛选条件... + + + + Characters + 字符 + + + + Filter: + 筛选: + + + + Append Selected + 添加已选择 + + + + Append Range... + 添加范围... + + + + Sort + 排序 + + + + + Selected characters + 已选择的字符 + + + + Count + 数量 + + + Max size + 最大尺寸 + + + + DialogOptions + + + Options + 选项 + + + + Preset: + 预设: + + + + Save As... + 另存为... + + + + Remove + 删除 + + + + Import... + 导入... + + + + Export... + 导出... + + + + Show Preview + 显示预览 + + + + DialogPreview + + + Preview + 预览 + + + + Preview image: + 预览图像: + + + + Scale: + 缩放: + + + + DialogUpdates + + + Updates + 更新 + + + + EditorTabFont + + + Form + 未使用 + + + + + EditorTabImage + + + Form + 不使用 + + + + + ImageEditor::Tools::ToolColor + + + Color + 颜色 + + + + Select color + 选择颜色 + + + + + Swap Colors + 交换颜色 + + + + + Fore Color: %1 + 前景色: %1 + + + + + Back Color: %1 + 背景色: %1 + + + + ImageEditor::Tools::ToolLine + + + Line + 直线 + + + + <b>Draw line</b><br/>Use left mouse button to draw forecolor.<br/>Use right mouse button to draw backcolor. + <b>绘制直线</b><br/>使用鼠标左键绘制前景色。<br/>使用鼠标右键绘制背景色。 + + + + Line Width + 线条宽度 + + + + ImageEditor::Tools::ToolMove + + + Move + 移动 + + + + Move entire image or selection + 移动整个图像或选区 + + + + + Cut & Move + 剪切并移动 + + + + + Copy & Move + 复制并移动 + + + + + Move circular (rectancular area only) + 循环移动 (仅限矩形区域) + + + + ImageEditor::Tools::ToolPen + + + Pen + 画笔 + + + + <b>Draw pixels</b><br/>Use left mouse button to draw forecolor.<br/>Use right mouse button to draw backcolor. + <b>绘制像素</b><br/>使用鼠标左键绘制前景色。<br/>使用鼠标右键绘制背景色。 + + + + Size + 大小 + + + + ImageEditor::Tools::ToolRect + + + Rectangle + 矩形 + + + + <b>Draw rectangle</b><br/>Left mouse button: outline - forecolor, filling - backcolor.<br/>Right mouse button: outline - backcolor, filling - forecolor. + <b>绘制矩形</b><br/>鼠标左键: 边框 - 前景色,填充 - 背景色。<br/>鼠标右键: 边框 - 背景色,填充 - 前景色。 + + + + Outline Width + 边框宽度 + + + + Outline + 边框 + + + + Outline only + 仅边框 + + + + Filled Outline + 填充和边框 + + + + Filled with Outline + 带边框的填充 + + + + + Filled + 填充 + + + + ImageEditor::Tools::ToolSelect + + + Select + 选择 + + + + Select area + 选择区域 + + + + Modify selection + 修改选区 + + + + <b>Modify selection</b><br/>Left mouse button to add selection.<br/>Right mouse button to subtract selection.<br/>Middle mouse button to reset selection. + <b>修改选区</b><br/>鼠标左键添加选区。<br/>鼠标右键减少选区。<br/>鼠标中键重置选区。 + + + + <b>Move selection</b><br/>Use left mouse button to move selection. + <b>移动选区</b><br/>使用鼠标左键移动选区。 + + + + Move selection + 移动选区 + + + + ImageEditor::Tools::ToolZoom + + + Zoom + 缩放 + + + + Zoom image + 缩放图像 + + + + Scale value + 缩放值 + + + + MainWindow + + + LCD Image Converter + + + + + File + 文件 + + + + Recent + Список последних открытых файлов + 最近文件 + + + + Image + 图像 + + + + Rotate + 旋转 + + + + Shift + 移位 + + + + Font + 字体 + + + + Help + 帮助 + + + + Options + 选项 + + + + Language + 语言 + + + + Edit + 编辑 + + + + New Image... + 新建图像... + + + + New Font... + 新建字体... + + + + Open... + 打开... + + + + Save + 保存 + + + + Save As... + 另存为... + + + + Close + 关闭 + + + + Quit + 退出 + + + + Flip Horizontal + 水平翻转 + + + + Flip Vertical + 垂直翻转 + + + + 90 Clockwise + 顺时针90度 + + + + 180 + 180度 + + + + 90 Counter-Clockwise + 逆时针90度 + + + + + Inverse + 反色 + + + + Convert... + 转换... + + + + + Conversion... + 转换... + + + + Import... + 导入... + + + + Export... + 导出... + + + + + Resize... + 调整大小... + + + + About... + 关于... + + + + Home Page... + 主页... + + + + To Image + 转为图像 + + + + Convert All + 全部转换 + + + + Edit in external tool... + 在外部工具中编辑... + + + + External editor... + 外部编辑器... + + + + Left + + + + + Right + + + + + Up + + + + + Down + + + + + Undo + 撤销 + + + + Redo + 重做 + + + + Updates... + 更新... + + + + Copy + 复制 + + + + Paste + 粘贴 + + + + About Qt... + 关于 Qt... + + + + To Grayscale + Преобразовать изображение из цветного в градации серого + 转为灰度 + + + + Close All + 关闭全部 + + + + + Align... + 对齐... + + + + Rename... + 重命名... + + + + Preview... + 预览... + + + + Change... + 更改... + + + + English + 不翻译 + English + + + + langName + 翻译后的语言名称 + 简体中文 + + + + Operations::ImageEditInExternalTool + + + Failed to Start + 启动失败 + + + + The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. + 进程启动失败。可能是调用的程序不存在,或者您没有足够的权限调用该程序。 + + + + Crashed + 崩溃 + + + + The process crashed some time after starting successfully. + 进程在成功启动后崩溃。 + + + + Read Error + 读取错误 + + + + An error occurred when attempting to read from the process. For example, the process may not be running. + 尝试从进程读取时发生错误。例如,进程可能未运行。 + + + + Write Error + 写入错误 + + + + An error occurred when attempting to write to the process. For example, the process may not be running, or it may have closed its input channel. + 尝试写入进程时发生错误。例如,进程可能未运行,或已关闭其输入通道。 + + + + Unknown Error + 未知错误 + + + + An unknown error occurred. + 发生了未知错误。 + + + + Error running external tool + 运行外部工具时出错 + + + + Operations::ImageExport + + + Save image file + 保存图像文件 + + + + Operations::ImageImport + + + Images (*.bmp *.gif *.jpg *.jpeg *.png *.pbm *.pgm *.ppm *.tiff *.xbm *.xpm) + 图像 (*.bmp *.gif *.jpg *.jpeg *.png *.pbm *.pgm *.ppm *.tiff *.xbm *.xpm) + + + + Open image file + 打开图像文件 + + + + Selected %1 file(s) and %2 character(s). +Only minimal amount (%3) will be imported. + 选择了 %1 个文件和 %2 个字符。 +只有最小数量 (%3) 会被导入。 + + + + Selected a different number of files and characters. + 选择了不同数量的文件和字符。 + + + + Warning + 警告 + + + + SetupTabFont + + + Font + 字体 + + + + Use BOM (Byte Order Mark) for Unicode + 对 Unicode 使用 BOM (字节顺序标记) + + + + Encoding: + 编码: + + + + Sort characters: + 排序字符: + + + + Escaping + 转义 + + + + Characters: + 字符: + + + + Preifx: + 前缀: + + + + Suffix: + 后缀: + + + + Skip characters that can't be represented by the specified encoding + 跳过无法用指定编码表示的字符 + + + + Compact glyphs (encode rectangle of active pixels only) + 压缩字形 (仅编码使用像素的矩形) + + + + SetupTabImage + + + Image + 图像 + + + + Common + 通用 + + + + Split to rows + 分割为行 + + + + Trailing bits: + Unused bits at the end of data blocks + Неиспользуемые биты в конце блока данных + 尾部位: + + + + Set to '1' + 设为 '1' + + + + RLE Compression + RLE 压缩 + + + + block(s) + с 1 блока, 3 блоков + + + + + from + с 1 блока + + + + + Blocks/code line: + 每行块数: + + + + Byte order: + 字节顺序: + + + + Data + 数据 + + + + + Prefix: + 前缀: + + + + + Suffix: + 后缀: + + + + + Delimiter: + 分隔符: + + + + Numeral system: + 数制: + + + + Preview + 预览 + + + + Level's replacement: + 级别替换: + + + + Block size: + 块大小: + + + + SetupTabMatrix + + + Matrix + 矩阵 + + + + SetupTabPrepare + + + Prepare + 预处理 + + + + SetupTabPreparePreprocessing + + + Preprocessing + 预处理 + + + + Type: + 类型: + + + + Inverse + 反转 + + + + Script test + 脚本测试 + + + + Input: + 输入值: + + + + 0x0 + 0x0 + + + + 0x0 to 0xffffffff + 从 0x0 到 0xffffffff + + + + Output: + 输出值: + + + + Result + 结果 + + + + SetupTabPrepareScanning + + + Scanning + 扫描 + + + + Main Scan Direction: + 主扫描方向: + + + + Line Scan Direction: + 行扫描方向: + + + + Bands + 条带 + + + + Band Width + 条带宽 + + + + Use custom script + 使用自定义脚本 + + + + s + + + + + Time: + 时间: + + + + ms + 毫秒 + + + + Interval: + 间隔: + + + + SetupTabReordering + + + Reordering + 重排序 + + + + SetupTabTemplates + + + Templates + 模板 + + + + + ... + 浏览... + + + + Image: + 图像: + + + + Font: + 字体: + + + + StartTab + + + New Image + 新建图像 + + + + Start work with new image + 开始处理新图像 + + + + New Font + 新建字体 + + + + Start work with new font + 开始处理新字体 + + + + <html> +<head/> +<body> +<p>Last edited files: + + <ul> + #list# + </ul> +<br/> +</p> +</body> +</html> + <html> +<head/> +<body> +<p>最近编辑的文件: + + <ul> + #list# + </ul> +<br/> +</p> +</body> +</html> + + + + <a href="http://www.riuson.com/lcd-image-converter">Project's home page</a> + <a href="http://www.riuson.com/lcd-image-converter">项目主页</a> + + + + ImageEditor::Tools::ToolFill + + + Fill + 填充 + + + + <b>Fill area</b><br/>Use left mouse button to fill with forecolor.<br/>Use right mouse button to fill with backcolor. + <b>填充区域</b><br/>使用鼠标左键填充前景色。<br/>使用鼠标右键填充背景色。 + + + + WidgetBitmapEditor + + + Form + не используется + + + + + TextLabel + не используется + + + + + x + + + + + Color 1 + 颜色 1 + + + + Color 2 + 颜色 2 + + + + WindowEditor + + + Tools + 工具 + + + + Options + 选项 + + + diff --git a/resources/resources.qrc b/resources/resources.qrc index cee8081..bdad830 100644 --- a/resources/resources.qrc +++ b/resources/resources.qrc @@ -12,6 +12,7 @@ lcd-image-converter-ru.qm + lcd-image-converter-zh_CN.qm demos/scanning_background.png