Merge remote-tracking branch 'origin/master' into move_lib_to_sep_dir

This commit is contained in:
Daniel Molkentin 2014-07-14 10:50:53 +02:00
commit 3c2e43d883
4 changed files with 54 additions and 53 deletions

View file

@ -1,5 +1,6 @@
# Auto-generated - do not modify
StrCpy $MUI_FINISHPAGE_SHOWREADME_TEXT_STRING "查看版本日志"
StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "有 ${APPLICATION_EXECUTABLE} 项进程需要关闭。$\n您想让安装程序关闭这些进程吗"
StrCpy $ConfirmEndProcess_KILLING_PROCESSES_TEXT "杀死${APPLICATION_EXECUTABLE}进程。"
StrCpy $ConfirmEndProcess_KILL_NOT_FOUND_TEXT "未找到要杀死的进程!"
StrCpy $PageReinstall_NEW_Field_1 "您的系统已经安装${APPLICATION_NAME}较老版本。建议安装前卸载当前版本。选择将要执行的操作,点击下一步继续。"
@ -7,11 +8,15 @@ StrCpy $PageReinstall_NEW_Field_2 "在安装前先卸载"
StrCpy $PageReinstall_NEW_Field_3 "不要卸载"
StrCpy $PageReinstall_NEW_MUI_HEADER_TEXT_TITLE "已经安装"
StrCpy $PageReinstall_NEW_MUI_HEADER_TEXT_SUBTITLE "选择如何安装${APPLICATION_NAME}。"
StrCpy $PageReinstall_OLD_Field_1 "较新版本的 ${APPLICATION_NAME} 已经安装!安装较旧版本的程序是不推荐的。如果您希望继续安装较旧版本,建议先卸载较新版本。选择您想要执行的操作并点击下一步以继续。"
StrCpy $PageReinstall_SAME_Field_1 "${APPLICATION_NAME} ${VERSION} 已经安装。\n请选择想要执行的操作并点击下一步。"
StrCpy $PageReinstall_SAME_Field_2 "增加/重装组件"
StrCpy $PageReinstall_SAME_Field_3 "卸载${APPLICATION_NAME}"
StrCpy $UNINSTALLER_APPDATA_TITLE "卸载${APPLICATION_NAME}"
StrCpy $PageReinstall_SAME_MUI_HEADER_TEXT_SUBTITLE "选择需要执行的维护选项。"
StrCpy $SEC_APPLICATION_DETAILS "安装${APPLICATION_NAME}基本组件。"
StrCpy $OPTION_SECTION_SC_START_MENU_SECTION "开始菜单程序快捷方式"
StrCpy $OPTION_SECTION_SC_START_MENU_DetailPrint "添加 ${APPLICATION_NAME} 快捷方式到开始菜单。"
StrCpy $OPTION_SECTION_SC_DESKTOP_SECTION "桌面快捷方式"
StrCpy $OPTION_SECTION_SC_DESKTOP_DetailPrint "创建桌面快捷方式"
StrCpy $OPTION_SECTION_SC_QUICK_LAUNCH_SECTION "快速启动栏快捷方式"
@ -20,25 +25,20 @@ StrCpy $OPTION_SECTION_SC_APPLICATION_Desc "${APPLICATION_NAME}基本组件。"
StrCpy $OPTION_SECTION_SC_START_MENU_Desc "${APPLICATION_NAME}快捷方式。"
StrCpy $OPTION_SECTION_SC_DESKTOP_Desc "${APPLICATION_NAME}桌面快捷方式。"
StrCpy $OPTION_SECTION_SC_QUICK_LAUNCH_Desc "${APPLICATION_NAME}快速启动栏快捷方式。"
StrCpy $UNINSTALLER_APPDATA_SUBTITLE "从电脑中移除 ${APPLICATION_NAME} 数据文件夹。"
StrCpy $UNINSTALLER_APPDATA_LABEL_1 "移除 ${APPLICATION_NAME} 数据文件夹?"
StrCpy $UNINSTALLER_APPDATA_LABEL_2 "选择以删除数据文件夹,不选择以保留数据文件夹内容供后续使用。"
StrCpy $UNINSTALLER_APPDATA_CHECKBOX "删除数据文件。"
StrCpy $UNINSTALLER_FILE_Detail "覆盖卸载器"
StrCpy $UNINSTALLER_REGISTRY_Detail "正在写入注册表"
StrCpy $UNINSTALLER_FINISHED_Detail "完成"
StrCpy $UNINSTALL_MESSAGEBOX "${APPLICATION_NAME} 可能并没有安装在 $INSTDIR。$\n$\n仍然继续吗(不推荐)"
StrCpy $UNINSTALL_ABORT "用户取消了卸载"
StrCpy $INIT_NO_QUICK_LAUNCH "快速启动栏快捷方式(N/A)"
StrCpy $INIT_NO_DESKTOP "桌面快捷方式(覆盖)"
StrCpy $UAC_ERROR_ELEVATE "无法获得权限,错误:"
StrCpy $UAC_INSTALLER_REQUIRE_ADMIN "安装程序需要管理员权限,请重试"
StrCpy $INIT_INSTALLER_RUNNING "安装程序已经运行。"
StrCpy $UAC_UNINSTALLER_REQUIRE_ADMIN "卸载程序需要管理员权限,请重试"
StrCpy $INIT_UNINSTALLER_RUNNING "卸载程序已经运行。"
StrCpy $SectionGroup_Shortcuts "快捷方式"
StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "Found ${APPLICATION_EXECUTABLE} process(s) which need to be stopped.$\nDo you want the installer to stop these for you?"
StrCpy $PageReinstall_OLD_Field_1 "A newer version of ${APPLICATION_NAME} is already installed! It is not recommended that you install an older version. If you really want to install this older version, it is better to uninstall the current version first. Select the operation you want to perform and click Next to continue."
StrCpy $PageReinstall_SAME_Field_1 "${APPLICATION_NAME} ${VERSION} is already installed.\r\nSelect the operation you want to perform and click Next to continue."
StrCpy $PageReinstall_SAME_MUI_HEADER_TEXT_SUBTITLE "Choose the maintenance option to perform."
StrCpy $OPTION_SECTION_SC_START_MENU_DetailPrint "Adding shortcut for ${APPLICATION_NAME} to the Start Menu."
StrCpy $UNINSTALLER_APPDATA_SUBTITLE "Remove ${APPLICATION_NAME}'s data folder from your computer."
StrCpy $UNINSTALLER_APPDATA_LABEL_1 "Do you want to delete ${APPLICATION_NAME}'s data folder?"
StrCpy $UNINSTALLER_APPDATA_LABEL_2 "Leave unchecked to keep the data folder for later use or check to delete the data folder."
StrCpy $UNINSTALLER_REGISTRY_Detail "Writing Installer Registry Keys"
StrCpy $UNINSTALL_MESSAGEBOX "It does not appear that ${APPLICATION_NAME} is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?"
StrCpy $UNINSTALL_ABORT "Uninstall aborted by user"
StrCpy $UAC_ERROR_ELEVATE "Unable to elevate, error:"
StrCpy $UAC_INSTALLER_REQUIRE_ADMIN "This installer requires admin access, try again"
StrCpy $INIT_INSTALLER_RUNNING "The installer is already running."
StrCpy $UAC_UNINSTALLER_REQUIRE_ADMIN "This uninstaller requires admin access, try again"
StrCpy $INIT_UNINSTALLER_RUNNING "The uninstaller is already running."

View file

@ -160,15 +160,6 @@ SocketApi::SocketApi(QObject* parent, const QUrl& localFile)
: QObject(parent)
, _localServer(0)
{
QString socketPath;
if (Utility::isWindows()) {
socketPath = QLatin1String("\\\\.\\pipe\\")
+ Theme::instance()->appName();
} else {
socketPath = localFile.toLocalFile();
}
// setup socket
_localServer = new QTcpServer(this);
_localServer->listen( QHostAddress::LocalHost, 33001);
@ -231,9 +222,17 @@ void SocketApi::slotReadSocket()
}
}
void SocketApi::slotSyncStateChanged(const QString&)
void SocketApi::slotSyncStateChanged(const QString& alias)
{
broadcastMessage("UPDATE_VIEW");
QString msg = QLatin1String("UPDATE_VIEW");
Folder *f = FolderMan::instance()->folder(alias);
if (f) {
msg.append(QLatin1String(":"));
msg.append(QDir::cleanPath(f->path()));
}
broadcastMessage(msg);
}
void SocketApi::slotJobCompleted(const QString &folder, const SyncFileItem &item)

View file

@ -1354,7 +1354,7 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/propagatorjobs.cpp" line="288"/>
<source>The file was renamed but is part of a read only share. The original file was restored.</source>
<translation type="unfinished"/>
<translation>Этот файл был переименован но является частью распространения только для чтения. Оригинальный файл был восстановлен.</translation>
</message>
</context>
<context>

View file

@ -599,12 +599,12 @@ Are you sure you want to perform this operation?</source>
<message>
<location filename="../src/mirall/propagator_qnam.cpp" line="443"/>
<source>No E-Tag received from server, check Proxy/Gateway</source>
<translation type="unfinished"/>
<translation> E-Tag/</translation>
</message>
<message>
<location filename="../src/mirall/propagator_qnam.cpp" line="450"/>
<source>We received a different E-Tag for resuming. Retrying next time.</source>
<translation type="unfinished"/>
<translation> E-Tag</translation>
</message>
<message>
<location filename="../src/mirall/propagator_qnam.cpp" line="486"/>
@ -931,28 +931,28 @@ Checked items will also be deleted if they prevent a directory from being remove
<message>
<location filename="../src/updater/ocupdater.cpp" line="55"/>
<source>New Update Ready</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/updater/ocupdater.cpp" line="56"/>
<source>A new update is about to be installed. The updater may ask
for additional privileges during the process.</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/updater/ocupdater.cpp" line="77"/>
<source>Downloading version %1. Please wait...</source>
<translation type="unfinished"/>
<translation> %1....</translation>
</message>
<message>
<location filename="../src/updater/ocupdater.cpp" line="79"/>
<source>Version %1 available. Restart application to start the update.</source>
<translation type="unfinished"/>
<translation> %1 </translation>
</message>
<message>
<location filename="../src/updater/ocupdater.cpp" line="81"/>
<source>Could not download update. Please click &lt;a href=&apos;%1&apos;&gt;here&lt;/a&gt; to download the update manually.</source>
<translation type="unfinished"/>
<translation>&lt;a href=&apos;%1&apos;&gt;&lt;/a&gt;</translation>
</message>
<message>
<location filename="../src/updater/ocupdater.cpp" line="83"/>
@ -1261,12 +1261,12 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/propagator_legacy.cpp" line="400"/>
<source>No E-Tag received from server, check Proxy/Gateway</source>
<translation type="unfinished"/>
<translation> E-Tag/</translation>
</message>
<message>
<location filename="../src/mirall/propagator_legacy.cpp" line="410"/>
<source>We received a different E-Tag for resuming. Retrying next time.</source>
<translation type="unfinished"/>
<translation> E-Tag</translation>
</message>
<message>
<location filename="../src/mirall/propagator_legacy.cpp" line="454"/>
@ -1583,17 +1583,17 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="96"/>
<source>&lt;h3&gt;Certificate Details&lt;/h3&gt;</source>
<translation type="unfinished"/>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="99"/>
<source>Common Name (CN):</source>
<translation type="unfinished"/>
<translation> (CN)</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="100"/>
<source>Subject Alternative Names:</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="102"/>
@ -1603,7 +1603,7 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="103"/>
<source>Organizational Unit (OU):</source>
<translation type="unfinished"/>
<translation> (OU)</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="104"/>
@ -1618,22 +1618,22 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="106"/>
<source>Serial:</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="109"/>
<source>&lt;h3&gt;Issuer&lt;/h3&gt;</source>
<translation type="unfinished"/>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="112"/>
<source>Issuer:</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="113"/>
<source>Issued on:</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="114"/>
@ -1643,7 +1643,7 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="117"/>
<source>&lt;h3&gt;Fingerprints&lt;/h3&gt;</source>
<translation type="unfinished"/>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="121"/>
@ -1663,12 +1663,12 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="129"/>
<source>&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This certificate was manually approved&lt;/p&gt;</source>
<translation type="unfinished"/>
<translation>&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="149"/>
<source>%1 (self-signed)</source>
<translation type="unfinished"/>
<translation>%1 ()</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="151"/>
@ -1679,7 +1679,8 @@ It is not advisable to use it.</source>
<location filename="../src/mirall/sslbutton.cpp" line="182"/>
<source>This connection is encrypted using %1 bit %2.
</source>
<translation type="unfinished"/>
<translation> %1 %2
</translation>
</message>
<message>
<location filename="../src/mirall/sslbutton.cpp" line="185"/>
@ -1690,7 +1691,8 @@ It is not advisable to use it.</source>
<location filename="../src/mirall/sslbutton.cpp" line="214"/>
<source>This connection is NOT secure as it is not encrypted.
</source>
<translation type="unfinished"/>
<translation>
</translation>
</message>
</context>
<context>
@ -1897,7 +1899,7 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/syncengine.cpp" line="157"/>
<source>CSync failed to access </source>
<translation type="unfinished"/>
<translation>访 CSync </translation>
</message>
<message>
<location filename="../src/mirall/syncengine.cpp" line="160"/>
@ -1933,12 +1935,12 @@ It is not advisable to use it.</source>
<message>
<location filename="../src/mirall/syncengine.cpp" line="282"/>
<source>Symbolic links are not supported in syncing.</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/syncengine.cpp" line="285"/>
<source>File is listed on the ignore list.</source>
<translation type="unfinished"/>
<translation></translation>
</message>
<message>
<location filename="../src/mirall/syncengine.cpp" line="288"/>