Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh_CN translation and gitignore improvement #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bin
*.dll
*.exe
/Translation.ini

# Automatically generated files can be safely ignored
localization/*/strings.h
localization/languages.h
Binary file modified localization/zh_CN/Translation.ini
Binary file not shown.
34 changes: 17 additions & 17 deletions localization/zh_CN/installer.nsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; AltDrag - zh-CN localization by Jack Jin ([email protected]) and alex310110
; AltDrag - zh-CN localization by Jack Jin ([email protected]), alex310110, Zepp Lu
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
Expand All @@ -8,23 +8,23 @@
!insertmacro MUI_LANGUAGE "SimpChinese"
LangString L10N_LANG ${LANG_SIMPCHINESE} ""

LangString L10N_UPGRADE_TITLE 0 "已经安装"
LangString L10N_UPGRADE_SUBTITLE 0 "选择如何安装${APP_NAME}。"
LangString L10N_UPGRADE_HEADER 0 "${APP_NAME}已经安装在你的系统中。选择你想进行的操作,并点击下一步继续。"
LangString L10N_UPGRADE_UPGRADE 0 "(&U)把${APP_NAME}升级到${APP_VERSION}。"
LangString L10N_UPGRADE_INI 0 "你的旧配置将被保存为${APP_NAME}-old.ini。"
LangString L10N_UPGRADE_INSTALL 0 "(&I)安装到新的位置。"
LangString L10N_UPGRADE_UNINSTALL 0 "(&t)卸载${APP_NAME}。"
LangString L10N_UPGRADE_TITLE 0 "软件已安装"
LangString L10N_UPGRADE_SUBTITLE 0 "选择如何安装 ${APP_NAME}。"
LangString L10N_UPGRADE_HEADER 0 "系统中已装有 ${APP_NAME}。选择您想进行的操作,点击下一步继续。"
LangString L10N_UPGRADE_UPGRADE 0 "${APP_NAME} 升级到 ${APP_VERSION}(&U)。"
LangString L10N_UPGRADE_INI 0 "您的旧配置将被保存为 ${APP_NAME}-old.ini。"
LangString L10N_UPGRADE_INSTALL 0 "安装到新的位置(&I)。"
LangString L10N_UPGRADE_UNINSTALL 0 "卸载 ${APP_NAME}(&T)。"

LangString L10N_ALTSHIFT_TITLE 0 "快捷键"
LangString L10N_ALTSHIFT_SUBTITLE 0 "快捷键Alt + Shift和${APP_NAME}冲突。"
LangString L10N_ALTSHIFT_HEADER 0 "安装程序检测到当前windows切换键盘布局的快捷键为Alt + Shift。$\n$\n而在使用${APP_NAME}时,按住shift键可以在窗口之间相互吸附。所以切换键盘布局和窗口相互吸附这两个功能的快捷键相同。当${APP_NAME}内部试图阻止意外的键盘布局切换时,会造成按住shift键移动窗口操作的失败。$\n$\n此时,你可以禁止或修改切换键盘布局的快捷键。点击下一步继续。"
LangString L10N_ALTSHIFT_BUTTON 0 "(&O)打开键盘设置"
LangString L10N_ALTSHIFT_SUBTITLE 0 "快捷键 Alt + Shift 和 ${APP_NAME} 冲突。"
LangString L10N_ALTSHIFT_HEADER 0 "安装程序检测到当前 Windows 切换键盘布局的快捷键为 Alt + Shift。$\n$\n而在使用 ${APP_NAME} 时,按住 Shift 键可以在窗口之间自动吸附。换言之,当您使用 Alt 键拖动窗口时,同时又按下了 Shift 键,键盘布局就有可能会被切换。${APP_NAME} 内部的机制会试图阻止这种意外情形,但这会导致您无法通过 Shift 键来自动吸附到窗口。$\n$\n您可以禁止切换键盘布局的快捷键或将其改成另一个值。点击下一步继续。"
LangString L10N_ALTSHIFT_BUTTON 0 "打开键盘设置(&O)"

LangString L10N_HOOKTIMEOUT_TITLE 0 "注册表优化"
LangString L10N_HOOKTIMEOUT_SUBTITLE 0 "注山表优化是可选的,以保持${APP_NAME}不会意外中止。"
LangString L10N_HOOKTIMEOUT_HEADER 0 "在Windows 7中,微软加入了一个特性,如果键盘和鼠标勾子长时间没有响应,则会停用它们。不幸的是,这个检查会出错,特别是当你对电脑进行长时间休眠,睡眠或锁定时。$\n$\n如果发生这种情况,你会发现${APP_NAME}没有任何提示而停止工作,你必须先停用并再启用${APP_NAME}使之再次工作。$\n$\n有一个注册表项可以设定windows7等待hooks响应的时间,你可以通过下面的按钮来启用或停用这个注册表项。请注意,这个注册表项完全是可选的。"
LangString L10N_HOOKTIMEOUT_APPLYBUTTON 0 "&E启用注册表优化"
LangString L10N_HOOKTIMEOUT_REVERTBUTTON 0 "&D禁用注册表优化"
LangString L10N_HOOKTIMEOUT_ALREADYAPPLIED 0 "注册表优化已经成功应用。"
LangString L10N_HOOKTIMEOUT_FOOTER 0 "改动将会在你下次登录时起作用。"
LangString L10N_HOOKTIMEOUT_SUBTITLE 0 "注册表优化是可选的,能够避免 ${APP_NAME} 被意外中止。"
LangString L10N_HOOKTIMEOUT_HEADER 0 "微软在 Windows 7 中增加了一项功能,用于停用长时间无响应的键盘和鼠标钩子。但这个行为有时会出错,特别是当电脑长时间地休眠、睡眠或锁定时。$\n$\n这种情况发生时,${APP_NAME} 将会不发出任何警告而停止工作,您需要先停用再重新启用 ${APP_NAME} 来使之正常工作。$\n$\n该注册表优化可以延长 Windows 等待钩子响应的时间,您可以通过下面的按钮来启用或停用这个优化。请注意,这完全是个可选的优化。"
LangString L10N_HOOKTIMEOUT_APPLYBUTTON 0 "启用注册表优化(&E)"
LangString L10N_HOOKTIMEOUT_REVERTBUTTON 0 "禁用注册表优化(&D)"
LangString L10N_HOOKTIMEOUT_ALREADYAPPLIED 0 "注册表优化已启用。"
LangString L10N_HOOKTIMEOUT_FOOTER 0 "改动将会在您下次登录时生效。"