From dc50cd9193d00d06a99b5b2f8fb8463a70a50155 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Wed, 10 Jan 2018 16:18:27 +0100 Subject: [PATCH] Fix invalid ui language name for Simplified Chinese (zh_CN) --- flameshot.pro | 2 +- translation/Internationalization_es.ts | 6 +- translation/Internationalization_ru.ts | 6 +- ...zh-cn.ts => Internationalization_zh_CN.ts} | 151 +++++++++++++++++- 4 files changed, 155 insertions(+), 10 deletions(-) rename translation/{Internationalization_zh-cn.ts => Internationalization_zh_CN.ts} (63%) diff --git a/flameshot.pro b/flameshot.pro index 8c0485c7..f8b3cb15 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -36,7 +36,7 @@ win32:RC_ICONS += img/flameshot.ico TRANSLATIONS = translation/Internationalization_es.ts \ translation/Internationalization_ca.ts \ translation/Internationalization_ru.ts \ - translation/Internationalization_zh-cn.ts + translation/Internationalization_zh_CN.ts # Generate translations in build TRANSLATIONS_FILES = diff --git a/translation/Internationalization_es.ts b/translation/Internationalization_es.ts index 3c86c08a..17de3759 100644 --- a/translation/Internationalization_es.ts +++ b/translation/Internationalization_es.ts @@ -140,17 +140,17 @@ Usa la rueda del ratón para cambiar el grosor de la herramienta. Controller - + &Configuration &Configuración - + &Information &Información - + &Quit &Salir diff --git a/translation/Internationalization_ru.ts b/translation/Internationalization_ru.ts index 7b57c953..69e402b5 100644 --- a/translation/Internationalization_ru.ts +++ b/translation/Internationalization_ru.ts @@ -140,17 +140,17 @@ Use the Mouse Wheel to change the thickness of your tool. Controller - + &Configuration &Настройка - + &Information &Информация - + &Quit &Выход diff --git a/translation/Internationalization_zh-cn.ts b/translation/Internationalization_zh_CN.ts similarity index 63% rename from translation/Internationalization_zh-cn.ts rename to translation/Internationalization_zh_CN.ts index 5f358b1b..63735e21 100644 --- a/translation/Internationalization_zh-cn.ts +++ b/translation/Internationalization_zh_CN.ts @@ -4,10 +4,12 @@ AppLauncher + App Launcher 应用启动器 + Choose an app to open the capture 选择一个应用打开此截图 @@ -15,26 +17,33 @@ AppLauncherWidget + Open With 打开 + Launch in terminal 在终端中启动 + Keep open after selection 选择后保持此窗口打开 + + Error 错误 + Unable to launch in terminal. 无法在终端中启动。 + Unable to write in 无法写入 @@ -42,10 +51,12 @@ ArrowTool + Arrow 箭头 + Sets the Arrow as the paint tool 选择箭头作为油漆工具 @@ -53,10 +64,12 @@ BlurTool + Blur 模糊 + Sets the Blur as the paint tool 选择模糊作为绘画工具 @@ -64,6 +77,7 @@ CaptureWidget + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -74,6 +88,7 @@ Use the Mouse Wheel to change the thickness of your tool. 使用鼠标滚轮来改变油漆工具的厚度。 + Unable to capture screen 无法捕获屏幕 无法捕获屏幕 @@ -82,10 +97,12 @@ Use the Mouse Wheel to change the thickness of your tool. CircleTool + Circle 圆环 + Sets the Circle as the paint tool 选择圆环作为绘画工具 @@ -93,6 +110,7 @@ Use the Mouse Wheel to change the thickness of your tool. ConfigWindow + Configuration 配置 @@ -105,14 +123,17 @@ Use the Mouse Wheel to change the thickness of your tool. 全选 + Interface 界面 + Filename Editor 文件名编辑器 + General 常规 @@ -120,14 +141,17 @@ Use the Mouse Wheel to change the thickness of your tool. Controller + &Configuration &配置 + &Information &信息 + &Quit &退出 @@ -135,10 +159,12 @@ Use the Mouse Wheel to change the thickness of your tool. CopyTool + Copy 复制 + Copies the selecion into the clipboard 复制选择到剪贴板 @@ -146,6 +172,7 @@ Use the Mouse Wheel to change the thickness of your tool. DBusUtils + Unable to connect via DBus 无法通过Dbus进行连接 @@ -153,10 +180,12 @@ Use the Mouse Wheel to change the thickness of your tool. ExitTool + Exit 退出 + Leave the capture screen 离开屏幕捕获 @@ -164,38 +193,47 @@ Use the Mouse Wheel to change the thickness of your tool. FileNameEditor + Edit the name of your captures: 编辑您的截图名称: + Edit: 编辑器: + Preview: 预览: + Save 保存 + Saves the pattern 保存样式 + Reset 恢复 + Restores the saved pattern 恢复保存的样式 + Clear 清空 + Deletes the name 删除这个名字 @@ -203,6 +241,7 @@ Use the Mouse Wheel to change the thickness of your tool. FileNameHandler + screenshot 屏幕截图 @@ -210,6 +249,7 @@ Use the Mouse Wheel to change the thickness of your tool. FlameshotDBusAdapter + Unable to capture screen 无法捕获屏幕 @@ -217,70 +257,90 @@ Use the Mouse Wheel to change the thickness of your tool. GeneneralConf + Show help message 显示帮助文档 + Show the help message at the beginning in the capture mode. 在捕获之前显示帮助信息。 + + Show desktop notifications 显示桌面通知 + Show tray icon 显示托盘图标 + Show the systemtray icon 显示任务栏图标 + + Import 导入 + + Error 错误 + Unable to read file. 无法读取文件. + Unable to write file. 无法写入文件. + Save File 保存到文件 + Confirm Reset 确定重置 + Are you sure you want to reset the configuration? 你确定你想要重置配置? + Configuration File 配置文件 + Export 导出 + Reset 重置 + Launch at startup + Launch Flameshot @@ -288,34 +348,42 @@ Use the Mouse Wheel to change the thickness of your tool. ImgurUploader + Upload to Imgur 上传到Imgur + Uploading Image 正在上传 + Copy URL 复制链接 + Open URL 打开链接 + Image to Clipboard. 保存文件到剪贴板。 + Unable to open the URL. 无法打开此链接。 + URL copied to clipboard. 复制链接到剪贴板。 + Screenshot copied to clipboard. 截图复制到剪贴板。 @@ -323,10 +391,12 @@ Use the Mouse Wheel to change the thickness of your tool. ImgurUploaderTool + Image Uploader 上传图片 + Uploads the selection to Imgur 上传选择到 Imgur @@ -334,46 +404,57 @@ Use the Mouse Wheel to change the thickness of your tool. InfoWindow + About 关于 + Right Click 右键 + Mouse Wheel 鼠标滑轮 + Move selection 1px 移动选择 1 px + Resize selection 1px 调整选择大小 1 px + Quit capture 退出捕获 + Copy to clipboard 复制到剪贴板 + Save selection as a file 将选择保存为文件 + Undo the last modification 撤消上次修改 + Show color picker 显示颜色选择器 + Change the tool's thickness 改变工具的厚度 @@ -382,37 +463,45 @@ Use the Mouse Wheel to change the thickness of your tool. 屏幕捕捉模式中的可用快捷键。 + Key + Description 描述 + <u><b>License</b></u> <u><b>License</b></u> + <u><b>Version</b></u> <u><b>Version</b></u> + <u><b>Shortcuts</b></u> <u><b>快捷键</b></u> + Available shortcuts in the screen capture mode. - + 屏幕捕捉模式中的可用快捷键。 LineTool + Line 直线 + Sets the Line as the paint tool 将直线线设置为绘画工具 @@ -420,10 +509,12 @@ Use the Mouse Wheel to change the thickness of your tool. MarkerTool + Marker 标记 + Sets the Marker as the paint tool 将标记设置为绘画工具 @@ -431,10 +522,12 @@ Use the Mouse Wheel to change the thickness of your tool. MoveTool + Move 移动 + Move the selection area 移动选择区域 @@ -442,10 +535,12 @@ Use the Mouse Wheel to change the thickness of your tool. PencilTool + Pencil 铅笔 + Sets the Pencil as the paint tool 将铅笔设置为绘画工具 @@ -453,22 +548,31 @@ Use the Mouse Wheel to change the thickness of your tool. QObject + Save As 另存为 + Save Error 保存错误 + + Capture saved as 捕获保存为 + + Error trying to save as 尝试另存为时出错 + + + Unable to connect via DBus 无法通过DBus进行连接 @@ -476,10 +580,12 @@ Use the Mouse Wheel to change the thickness of your tool. RectangleTool + Rectangle 实心矩形 + Sets the Rectangle as the paint tool 将实心矩形设置为绘画工具 @@ -487,10 +593,12 @@ Use the Mouse Wheel to change the thickness of your tool. SaveTool + Save 保存 + Save the capture 保存捕获 @@ -498,10 +606,12 @@ Use the Mouse Wheel to change the thickness of your tool. SelectionTool + Rectangular Selection 矩形选择 + Sets the Selection as the paint tool 将矩形选择设置为绘画工具 @@ -509,10 +619,12 @@ Use the Mouse Wheel to change the thickness of your tool. SizeIndicatorTool + Selection Size Indicator 选择尺寸指示 + Shows the dimensions of the selection (X Y) 显示选择的尺寸 (X Y) @@ -520,86 +632,107 @@ Use the Mouse Wheel to change the thickness of your tool. StrftimeChooserWidget + Century (00-99) 世纪 (00-99) + Year (00-99) 年 (00-99) + Year (2000) 年 (2000) + Month Name (jan) 月 (jul) + Month Name (january) 月 (juliol) + Month (01-12) 月 (01-12) + Week Day (1-7) 平常日 (1-7) + Week (01-53) 周 (01-53) + Day Name (mon) 星期 (dg) + Day Name (monday) 星期 (diumenge) + Day (01-31) 天 (01-31) + Day of Month (1-31) 一月中的某天 (1-31) + Day (001-366) 天 (001-366) + Time (%H:%M:%S) 时间 (%H:%M:%S) + Time (%H:%M) 时间 (%H:%M) + Hour (00-23) 小时 (00-23) + Hour (01-12) 小时 (01-12) + Minute (00-59) 分钟 (00-59) + Second (00-59) 秒 (00-59) + Full Date (%m/%d/%y) 日期 (%m/%d/%y) + Full Date (%Y-%m-%d) 日期 (%Y-%m-%d) @@ -607,30 +740,37 @@ Use the Mouse Wheel to change the thickness of your tool. UIcolorEditor + UI Color Editor UI颜色编辑器 + Change the color moving the selectors and see the changes in the preview buttons. 移动颜色选择并在预览按钮查看。 + Select a Button to modify it 选择一个按钮来修改它 + Main Color 主色 + Click on this button to set the edition mode of the main color. 点击按钮设置主色。 + Contrast Color 对比色 + Click on this button to set the edition mode of the contrast color. 点击按钮设置对比色。 @@ -638,10 +778,12 @@ Use the Mouse Wheel to change the thickness of your tool. UndoTool + Undo 撤消 + Undo the last modification 撤消上次修改 @@ -649,16 +791,19 @@ Use the Mouse Wheel to change the thickness of your tool. VisualsEditor + Opacity of area outside selection: + Button Selection - 按钮选择 + 按钮选择 + Select All - 全选 + 全选