improve translation of sync errors

This commit is contained in:
lins05 2014-04-04 16:02:56 +08:00
parent c4b2e0996c
commit 1a45577772
5 changed files with 507 additions and 151 deletions

View file

@ -4,7 +4,7 @@
<context>
<name>AccountManager</name>
<message>
<location filename="../src/account-mgr.cpp" line="35"/>
<location filename="../src/account-mgr.cpp" line="36"/>
<source>failed to open account database</source>
<translation type="unfinished"></translation>
</message>
@ -424,94 +424,99 @@
<context>
<name>DownloadRepoDialog</name>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="22"/>
<source>Download library &quot;%1&quot;</source>
<location filename="../src/ui/download-repo-dialog.cpp" line="29"/>
<source>Choose a folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="46"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="71"/>
<source>merge</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="72"/>
<source>or %1 with an existing folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="74"/>
<source>Create a new sync folder at:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="81"/>
<source>create</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="82"/>
<source>or %1 a new sync folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="83"/>
<source>Merge with this existing folder:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="113"/>
<source>Please choose a directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="77"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="144"/>
<source>Please choose the folder to sync</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="84"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="151"/>
<source>The folder does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="92"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="159"/>
<source>Please enter the password</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="110"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="26"/>
<source>Sync library &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="111"/>
<source>Sync this library with:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="153"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="206"/>
<source>Failed to add download task:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="164"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="217"/>
<source>Failed to get repo download information:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="215"/>
<location filename="../ui_download-repo-dialog.h" line="200"/>
<source>Download Library</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="216"/>
<source>Download this library to:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="217"/>
<location filename="../ui_download-repo-dialog.h" line="201"/>
<source>choose...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="218"/>
<location filename="../ui_download-repo-dialog.h" line="202"/>
<source>Password for this library:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="219"/>
<source>Files in the local folder will be merged with files in the library</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="220"/>
<source>Advanced:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="221"/>
<source>sync with existing folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="222"/>
<location filename="../ui_download-repo-dialog.h" line="203"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="223"/>
<location filename="../ui_download-repo-dialog.h" line="204"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
@ -887,132 +892,189 @@ The library owner&apos;s storage space is used up.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="61"/>
<location filename="../src/rpc/local-repo.cpp" line="62"/>
<source>synchronized</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="65"/>
<location filename="../src/rpc/local-repo.cpp" line="66"/>
<source>indexing files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="69"/>
<location filename="../src/rpc/local-repo.cpp" line="70"/>
<source>sync initializing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="73"/>
<location filename="../src/rpc/local-repo.cpp" line="74"/>
<source>downloading</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="77"/>
<location filename="../src/rpc/local-repo.cpp" line="78"/>
<source>uploading</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="81"/>
<location filename="../src/rpc/local-repo.cpp" line="82"/>
<source>sync merging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="85"/>
<location filename="../src/rpc/local-repo.cpp" line="86"/>
<source>waiting for sync</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="89"/>
<location filename="../src/rpc/local-repo.cpp" line="117"/>
<location filename="../src/rpc/local-repo.cpp" line="90"/>
<location filename="../src/rpc/local-repo.cpp" line="118"/>
<source>server not connected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="93"/>
<location filename="../src/rpc/local-repo.cpp" line="94"/>
<source>server authenticating</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="97"/>
<location filename="../src/rpc/local-repo.cpp" line="107"/>
<location filename="../src/rpc/local-repo.cpp" line="98"/>
<location filename="../src/rpc/local-repo.cpp" line="108"/>
<source>auto sync is turned off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="102"/>
<location filename="../src/rpc/local-repo.cpp" line="103"/>
<source>unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="120"/>
<location filename="../src/rpc/local-repo.cpp" line="121"/>
<source>Server has been removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="123"/>
<location filename="../src/rpc/local-repo.cpp" line="124"/>
<source>You have not logged in to the server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="126"/>
<location filename="../src/rpc/local-repo.cpp" line="127"/>
<source>You do not have permission to access this library</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="129"/>
<location filename="../src/rpc/local-repo.cpp" line="130"/>
<source>The storage space of the library owner has been used up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="132"/>
<location filename="../src/rpc/local-repo.cpp" line="133"/>
<source>Remote service is not available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="135"/>
<source>Access denied to service.</source>
<location filename="../src/rpc/local-repo.cpp" line="136"/>
<location filename="../src/rpc/local-repo.cpp" line="178"/>
<source>Access denied to service</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="138"/>
<source>Internal data corrupted.</source>
<location filename="../src/rpc/local-repo.cpp" line="139"/>
<source>Internal data corrupted</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="141"/>
<source>Failed to start upload.</source>
<location filename="../src/rpc/local-repo.cpp" line="142"/>
<source>Failed to start upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="144"/>
<source>Error occured in upload.</source>
<location filename="../src/rpc/local-repo.cpp" line="145"/>
<source>Error occured in upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="147"/>
<source>Failed to start download.</source>
<location filename="../src/rpc/local-repo.cpp" line="148"/>
<source>Failed to start download</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="150"/>
<source>Error occured in download.</source>
<location filename="../src/rpc/local-repo.cpp" line="151"/>
<source>Error occured in download</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="153"/>
<location filename="../src/rpc/local-repo.cpp" line="157"/>
<source>Library is damaged on server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="160"/>
<source>Conflict in merge</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="163"/>
<source>Server version is too old</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="169"/>
<source>Unknown error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="172"/>
<source>The storage quota has been used up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="175"/>
<source>Internal server error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="181"/>
<source>Your %1 client is too old</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="184"/>
<location filename="../src/rpc/local-repo.cpp" line="187"/>
<location filename="../src/rpc/local-repo.cpp" line="190"/>
<location filename="../src/rpc/local-repo.cpp" line="193"/>
<location filename="../src/rpc/local-repo.cpp" line="196"/>
<location filename="../src/rpc/local-repo.cpp" line="198"/>
<location filename="../src/rpc/local-repo.cpp" line="200"/>
<location filename="../src/rpc/local-repo.cpp" line="202"/>
<location filename="../src/rpc/local-repo.cpp" line="204"/>
<location filename="../src/rpc/local-repo.cpp" line="206"/>
<location filename="../src/rpc/local-repo.cpp" line="208"/>
<location filename="../src/rpc/local-repo.cpp" line="210"/>
<location filename="../src/rpc/local-repo.cpp" line="212"/>
<location filename="../src/rpc/local-repo.cpp" line="214"/>
<location filename="../src/rpc/local-repo.cpp" line="216"/>
<location filename="../src/rpc/local-repo.cpp" line="218"/>
<location filename="../src/rpc/local-repo.cpp" line="220"/>
<location filename="../src/rpc/local-repo.cpp" line="222"/>
<location filename="../src/rpc/local-repo.cpp" line="224"/>
<location filename="../src/rpc/local-repo.cpp" line="226"/>
<location filename="../src/rpc/local-repo.cpp" line="228"/>
<location filename="../src/rpc/local-repo.cpp" line="230"/>
<source>Failed to sync this library</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="154"/>
<source>Library is deleted on server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="156"/>
<location filename="../src/rpc/local-repo.cpp" line="166"/>
<source>Error when accessing the local folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="159"/>
<source>Unknown error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/rpc/clone-task.cpp" line="71"/>
<source>initializing...</source>
@ -1230,6 +1292,11 @@ The library owner&apos;s storage space is used up.</source>
<source>Server Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/certs-mgr.cpp" line="65"/>
<source>failed to open certs database</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RepoDetailDialog</name>
@ -1464,15 +1531,23 @@ The library owner&apos;s storage space is used up.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SeafileApiClient</name>
<message>
<location filename="../src/api/api-client.cpp" line="93"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; The ssl certificate of this server is not trusted, proceed anyway?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SeafileApplet</name>
<message>
<location filename="../src/seafile-applet.cpp" line="210"/>
<location filename="../src/seafile-applet.cpp" line="214"/>
<source>Failed to initialize log</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/seafile-applet.cpp" line="297"/>
<location filename="../src/seafile-applet.cpp" line="301"/>
<source>A new version of %1 client (%2) is available.
Do you want to visit the download page?</source>
<translation type="unfinished"></translation>
@ -1694,6 +1769,39 @@ Do you want to visit the download page?</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SslConfirmDialog</name>
<message>
<location filename="../src/ui/ssl-confirm-dialog.cpp" line="11"/>
<source>Untrusted Connection</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/ui/ssl-confirm-dialog.cpp" line="13"/>
<source>%1 uses an invalid security certificate. The connection may be insecure. Do you want to continue?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="97"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="98"/>
<source>Remember my choice</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="99"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="100"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UninstallHelperDialog</name>
<message>

View file

@ -4,7 +4,7 @@
<context>
<name>AccountManager</name>
<message>
<location filename="../src/account-mgr.cpp" line="35"/>
<location filename="../src/account-mgr.cpp" line="36"/>
<source>failed to open account database</source>
<translation></translation>
</message>
@ -441,48 +441,81 @@
<context>
<name>DownloadRepoDialog</name>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="22"/>
<source>Download library &quot;%1&quot;</source>
<translation> &quot;%1&quot;</translation>
<translation type="obsolete"> &quot;%1&quot;</translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="46"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="29"/>
<source>Choose a folder</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="71"/>
<source>merge</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="72"/>
<source>or %1 with an existing folder</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="74"/>
<source>Create a new sync folder at:</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="81"/>
<source>create</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="82"/>
<source>or %1 a new sync folder</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="83"/>
<source>Merge with this existing folder:</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="113"/>
<source>Please choose a directory</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="77"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="144"/>
<source>Please choose the folder to sync</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="84"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="151"/>
<source>The folder does not exist</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="92"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="159"/>
<source>Please enter the password</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="110"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="26"/>
<source>Sync library &quot;%1&quot;</source>
<translation> &quot;%1&quot;</translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="111"/>
<source>Sync this library with:</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="153"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="206"/>
<source>Failed to add download task:
%1</source>
<translation>%1</translation>
</message>
<message>
<location filename="../src/ui/download-repo-dialog.cpp" line="164"/>
<location filename="../src/ui/download-repo-dialog.cpp" line="217"/>
<source>Failed to get repo download information:
%1</source>
<translation>
@ -493,47 +526,43 @@
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="215"/>
<location filename="../ui_download-repo-dialog.h" line="200"/>
<source>Download Library</source>
<translation></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="216"/>
<source>Download this library to:</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="217"/>
<location filename="../ui_download-repo-dialog.h" line="201"/>
<source>choose...</source>
<translation>...</translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="218"/>
<location filename="../ui_download-repo-dialog.h" line="202"/>
<source>Password for this library:</source>
<translation></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="219"/>
<source>Files in the local folder will be merged with files in the library</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="220"/>
<source>Advanced:</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="221"/>
<source>sync with existing folder</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="222"/>
<location filename="../ui_download-repo-dialog.h" line="203"/>
<source>Ok</source>
<translation></translation>
</message>
<message>
<location filename="../ui_download-repo-dialog.h" line="223"/>
<location filename="../ui_download-repo-dialog.h" line="204"/>
<source>Cancel</source>
<translation></translation>
</message>
@ -943,131 +972,224 @@ The library owner&apos;s storage space is used up.</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="61"/>
<location filename="../src/rpc/local-repo.cpp" line="62"/>
<source>synchronized</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="65"/>
<location filename="../src/rpc/local-repo.cpp" line="66"/>
<source>indexing files</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="69"/>
<location filename="../src/rpc/local-repo.cpp" line="70"/>
<source>sync initializing</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="73"/>
<location filename="../src/rpc/local-repo.cpp" line="74"/>
<source>downloading</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="77"/>
<location filename="../src/rpc/local-repo.cpp" line="78"/>
<source>uploading</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="81"/>
<location filename="../src/rpc/local-repo.cpp" line="82"/>
<source>sync merging</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="85"/>
<location filename="../src/rpc/local-repo.cpp" line="86"/>
<source>waiting for sync</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="89"/>
<location filename="../src/rpc/local-repo.cpp" line="117"/>
<location filename="../src/rpc/local-repo.cpp" line="90"/>
<location filename="../src/rpc/local-repo.cpp" line="118"/>
<source>server not connected</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="93"/>
<location filename="../src/rpc/local-repo.cpp" line="94"/>
<source>server authenticating</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="97"/>
<location filename="../src/rpc/local-repo.cpp" line="107"/>
<location filename="../src/rpc/local-repo.cpp" line="98"/>
<location filename="../src/rpc/local-repo.cpp" line="108"/>
<source>auto sync is turned off</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="102"/>
<location filename="../src/rpc/local-repo.cpp" line="103"/>
<source>unknown</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="120"/>
<location filename="../src/rpc/local-repo.cpp" line="121"/>
<source>Server has been removed</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="123"/>
<location filename="../src/rpc/local-repo.cpp" line="124"/>
<source>You have not logged in to the server</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="126"/>
<location filename="../src/rpc/local-repo.cpp" line="127"/>
<source>You do not have permission to access this library</source>
<translation>访</translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="129"/>
<location filename="../src/rpc/local-repo.cpp" line="130"/>
<source>The storage space of the library owner has been used up</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="132"/>
<location filename="../src/rpc/local-repo.cpp" line="133"/>
<source>Remote service is not available</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="135"/>
<location filename="../src/rpc/local-repo.cpp" line="136"/>
<location filename="../src/rpc/local-repo.cpp" line="178"/>
<source>Access denied to service</source>
<translation>访</translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="139"/>
<source>Internal data corrupted</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="142"/>
<source>Failed to start upload</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="145"/>
<source>Error occured in upload</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="148"/>
<source>Failed to start download</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="151"/>
<source>Error occured in download</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="157"/>
<source>Library is damaged on server</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="160"/>
<source>Conflict in merge</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="163"/>
<source>Server version is too old</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="169"/>
<source>Unknown error</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="172"/>
<source>The storage quota has been used up</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="175"/>
<source>Internal server error</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="181"/>
<source>Your %1 client is too old</source>
<translation> % </translation>
</message>
<message>
<source>Your seafile client is too old</source>
<translation type="obsolete"> Seafile </translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="184"/>
<location filename="../src/rpc/local-repo.cpp" line="187"/>
<location filename="../src/rpc/local-repo.cpp" line="190"/>
<location filename="../src/rpc/local-repo.cpp" line="193"/>
<location filename="../src/rpc/local-repo.cpp" line="196"/>
<location filename="../src/rpc/local-repo.cpp" line="198"/>
<location filename="../src/rpc/local-repo.cpp" line="200"/>
<location filename="../src/rpc/local-repo.cpp" line="202"/>
<location filename="../src/rpc/local-repo.cpp" line="204"/>
<location filename="../src/rpc/local-repo.cpp" line="206"/>
<location filename="../src/rpc/local-repo.cpp" line="208"/>
<location filename="../src/rpc/local-repo.cpp" line="210"/>
<location filename="../src/rpc/local-repo.cpp" line="212"/>
<location filename="../src/rpc/local-repo.cpp" line="214"/>
<location filename="../src/rpc/local-repo.cpp" line="216"/>
<location filename="../src/rpc/local-repo.cpp" line="218"/>
<location filename="../src/rpc/local-repo.cpp" line="220"/>
<location filename="../src/rpc/local-repo.cpp" line="222"/>
<location filename="../src/rpc/local-repo.cpp" line="224"/>
<location filename="../src/rpc/local-repo.cpp" line="226"/>
<location filename="../src/rpc/local-repo.cpp" line="228"/>
<location filename="../src/rpc/local-repo.cpp" line="230"/>
<source>Failed to sync this library</source>
<translation></translation>
</message>
<message>
<source>Access denied to service.</source>
<translation>访</translation>
<translation type="obsolete">访</translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="138"/>
<source>Internal data corrupted.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="141"/>
<source>Failed to start upload.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="144"/>
<source>Error occured in upload.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="147"/>
<source>Failed to start download.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="150"/>
<source>Error occured in download.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="153"/>
<location filename="../src/rpc/local-repo.cpp" line="154"/>
<source>Library is deleted on server</source>
<translation></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="156"/>
<source>Repo is damaged on relay.</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="166"/>
<source>Error when accessing the local folder</source>
<translation>访</translation>
</message>
<message>
<location filename="../src/rpc/local-repo.cpp" line="159"/>
<source>Unknown error.</source>
<translation></translation>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/rpc/clone-task.cpp" line="71"/>
@ -1290,6 +1412,11 @@ The library owner&apos;s storage space is used up.</source>
<source>Server Error</source>
<translation></translation>
</message>
<message>
<location filename="../src/certs-mgr.cpp" line="65"/>
<source>failed to open certs database</source>
<translation></translation>
</message>
</context>
<context>
<name>RepoDetailDialog</name>
@ -1524,15 +1651,23 @@ The library owner&apos;s storage space is used up.</source>
<translation></translation>
</message>
</context>
<context>
<name>SeafileApiClient</name>
<message>
<location filename="../src/api/api-client.cpp" line="93"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; The ssl certificate of this server is not trusted, proceed anyway?</source>
<translation>&lt;b&gt;:&lt;/b&gt; SSL </translation>
</message>
</context>
<context>
<name>SeafileApplet</name>
<message>
<location filename="../src/seafile-applet.cpp" line="210"/>
<location filename="../src/seafile-applet.cpp" line="214"/>
<source>Failed to initialize log</source>
<translation></translation>
</message>
<message>
<location filename="../src/seafile-applet.cpp" line="297"/>
<location filename="../src/seafile-applet.cpp" line="301"/>
<source>A new version of %1 client (%2) is available.
Do you want to visit the download page?</source>
<translation>%1 (%2)
@ -1768,6 +1903,47 @@ Do you want to visit the download page?</source>
<translation></translation>
</message>
</context>
<context>
<name>SslConfirmDialog</name>
<message>
<location filename="../src/ui/ssl-confirm-dialog.cpp" line="11"/>
<source>Untrusted Connection</source>
<translation></translation>
</message>
<message>
<location filename="../src/ui/ssl-confirm-dialog.cpp" line="13"/>
<source>%1 uses an invalid security certificate. The connection may be insecure. Do you want to continue?</source>
<translation>%1 使</translation>
</message>
<message>
<source>%1 uses an invalid security certificate. The connection is not secure. Do you want to continue?</source>
<translation type="obsolete">%1 使</translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="97"/>
<source>Dialog</source>
<translation></translation>
</message>
<message>
<source>Don&apos;t Ask Again</source>
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="98"/>
<source>Remember my choice</source>
<translation></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="99"/>
<source>Yes</source>
<translation></translation>
</message>
<message>
<location filename="../ui_ssl-confirm-dialog.h" line="100"/>
<source>No</source>
<translation></translation>
</message>
</context>
<context>
<name>UninstallHelperDialog</name>
<message>

View file

@ -1,6 +1,7 @@
#include <glib-object.h>
#include "utils/utils.h"
#include "seafile-applet.h"
#include "local-repo.h"
LocalRepo LocalRepo::fromGObject(GObject *obj)
@ -132,35 +133,106 @@ void LocalRepo::translateSyncError(QString error)
sync_error_str = QObject::tr("Remote service is not available");
} else if (error == "Access denied to service. Please check your registration on relay.") {
sync_error_str = QObject::tr("Access denied to service.");
sync_error_str = QObject::tr("Access denied to service");
} else if (error == "Internal data corrupted.") {
sync_error_str = QObject::tr("Internal data corrupted.");
sync_error_str = QObject::tr("Internal data corrupted");
} else if (error == "Failed to start upload.") {
sync_error_str = QObject::tr("Failed to start upload.");
sync_error_str = QObject::tr("Failed to start upload");
} else if (error == "Error occured in upload.") {
sync_error_str = QObject::tr("Error occured in upload.");
sync_error_str = QObject::tr("Error occured in upload");
} else if (error == "Failed to start download.") {
sync_error_str = QObject::tr("Failed to start download.");
sync_error_str = QObject::tr("Failed to start download");
} else if (error == "Error occured in download.") {
sync_error_str = QObject::tr("Error occured in download.");
sync_error_str = QObject::tr("Error occured in download");
} else if (error == "No such repo on relay.") {
sync_error_str = QObject::tr("Library is deleted on server");
} else if (error == "Repo is damaged on relay.") {
sync_error_str = QObject::tr("Library is damaged on server");
} else if (error == "Conflict in merge.") {
sync_error_str = QObject::tr("Conflict in merge");
} else if (error == "Server version is too old.") {
sync_error_str = QObject::tr("Server version is too old");
} else if (error == "invalid worktree") {
sync_error_str = QObject::tr("Error when accessing the local folder");
} else if (error == "Unknown error.") {
sync_error_str = QObject::tr("Unknown error.");
} else if (error == "Unknown error." || error == "Unknown error") {
sync_error_str = QObject::tr("Unknown error");
} else if (error == "Storage quota full") {
sync_error_str = QObject::tr("The storage quota has been used up");
} else if (error == "Service on remote server is not available") {
sync_error_str = QObject::tr("Internal server error");
} else if (error == "Access denied to service. Please check your registration on server.") {
sync_error_str = QObject::tr("Access denied to service");
} else if (error == "Transfer protocol outdated. You need to upgrade seafile.") {
sync_error_str = QObject::tr("Your %1 client is too old").arg(getBrand());
} else if (error == "Internal error when preparing upload") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when preparing download") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "No permission to access remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Library doesn't exist on the remote end") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when starting to send revision information") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when starting to get revision information") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to upload revision information to remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to get revision information from remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when starting to send file information") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when starting to get file information") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Incomplete file information in the local library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to upload file information to remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to get file information from remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Internal error when starting to update remote library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Others have concurrent updates to the remote library. You need to sync again.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Server failed to check storage quota") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Incomplete revision information in the local library") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to compare data to server.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to get block server list.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to start block transfer client.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to upload blocks.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else if (error == "Failed to download blocks.") {
sync_error_str = QObject::tr("Failed to sync this library");
} else {
sync_error_str = error;
}
};
}
QIcon LocalRepo::getIcon() const
{

View file

@ -10,7 +10,7 @@ SslConfirmDialog::SslConfirmDialog(const QUrl& url,
setWindowTitle(tr("Untrusted Connection"));
QString hint = tr("%1 uses an invalid security certificate. The connection is not secure. Do you want to continue?").arg(url_.host());
QString hint = tr("%1 uses an invalid security certificate. The connection may be insecure. Do you want to continue?").arg(url_.host());
mHint->setText(hint);
connect(mYesBtn, SIGNAL(clicked()), this, SLOT(accept()));

View file

@ -27,7 +27,7 @@
<item>
<widget class="QCheckBox" name="mRememberChoiceCheckBox">
<property name="text">
<string>Don't Ask Again</string>
<string>Remember my choice</string>
</property>
</widget>
</item>