From 5c9b61b7a947bbb51586170f0069aa144fa06231 Mon Sep 17 00:00:00 2001 From: mercury233 Date: Mon, 5 Oct 2020 21:17:31 +0800 Subject: [PATCH 1/2] update zh-cn translations --- src/translations/sqlb_zh.ts | 193 ++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 94 deletions(-) diff --git a/src/translations/sqlb_zh.ts b/src/translations/sqlb_zh.ts index 21fc7ff7ef..15d1c37dd7 100644 --- a/src/translations/sqlb_zh.ts +++ b/src/translations/sqlb_zh.ts @@ -214,67 +214,68 @@ Usage: %1 [options] [<database>|<project>] - + 用法: %1 [选项] [<数据库>|<项目>] + -h, --help Show command line options - + -h, --help 显示命令行选项 -q, --quit Exit application after running scripts - + -q, --quit 在运行脚本后退出应用程序 -s, --sql <file> Execute this SQL file after opening the DB - + -s, --sql [文件] 在打开数据库后执行此 SQL 文件 -t, --table <table> Browse this table after opening the DB - + -t, --table [表] 在打开数据库后浏览此表 -R, --read-only Open database in read-only mode - + -R, --read-only 用只读模式打开数据库 -o, --option <group>/<setting>=<value> - + -o, --option [分组/设置=值] Run application with this setting temporarily set to value - + 临时以此设置运行程序 -O, --save-option <group>/<setting>=<value> - + -O, --save-option [分组/设置=值] Run application saving this value for this setting - + 以此设置运行程序并保存设置 -v, --version Display the current version - + -v, --version 显示当前版本 <database> Open this SQLite database - + [文件] 打开这个 SQLite 数据库 <project> Open this project file (*.sqbpro) - + <项目> 打开这个项目文件 (*.sqbpro) @@ -299,27 +300,27 @@ SQLite Version - SQLite 版本 + SQLite 版本 SQLCipher Version %1 (based on SQLite %2) - SQLCipher 版本 %1 (基于 SQLite %2) + SQLCipher 版本 %1 (基于 SQLite %2) DB Browser for SQLite Version %1. - + DB Browser for SQLite 版本 %1. Built for %1, running on %2 - 为 %1 构建,运行于 %2 + 为 %1 构建,运行于 %2 Qt Version %1 - + Qt 版本 %1 @@ -472,7 +473,7 @@ If any of the other settings were altered for this database file you need to pro .NET DateTime.Ticks to date - + .NET 日期时间(Ticks到日期) @@ -4689,12 +4690,12 @@ Are you sure? Opened '%1' in read-only mode from recent file list - + 从最近的文件列表中用只读方式打开 %1 Opened '%1' from recent file list - + 从最近的文件列表中打开 %1 @@ -4864,32 +4865,32 @@ If you answer no we will attempt to import the data in the SQL file to the curre Window Layout - + 窗口布局 Simplify Window Layout - + 精简窗口布局 Shift+Alt+0 - + Shift+Alt+0 Dock Windows at Bottom - + 停靠窗口到底部 Dock Windows at Left Side - + 停靠窗口到左侧 Dock Windows at Top - + 停靠窗口到顶部 @@ -5978,12 +5979,12 @@ Warning: not all data has been fetched from the table yet due to the partial fet This sets the font size for all UI elements which do not have their own font size option. - + 此选项为所有组件设置字体大小,有单独的字体大小选项的组件除外。 Font size - + 字体大小 @@ -5993,7 +5994,7 @@ Warning: not all data has been fetched from the table yet due to the partial fet Database structure font size - + 数据库结构字体大小 @@ -6553,37 +6554,37 @@ Create a backup! Commit ID - + 提交ID Message - + 说明 Date - 日期 + 日期 Author - + 作者 Size - 大小 + 大小 Authored and committed by %1 - + 由 %1 为作者并提交 Authored by %1, committed by %2 - + 由 %1 为作者,由 %2 提交 @@ -6700,7 +6701,7 @@ Create a backup! DBHub.io - + DBHub.io @@ -6710,137 +6711,137 @@ Create a backup! Current Database - + 当前数据库 Clone - + 克隆 User - 用户 + 用户 Database - 数据库 + 数据库 Branch - 分支 + 分支 Commits - + 提交记录 Commits for - + 提交于 Delete Database - + 删除数据库 Delete the local clone of this database - + 删除此数据库的本地克隆 Open in Web Browser - + 在浏览器中打开 Open the web page for the current database in your browser - + 在你的浏览器中打开当前数据库的网页版 Clone from Link - + 从链接克隆 Use this to download a remote database for local editing using a URL as provided on the web page of the database. - + 使用数据库页面提供的链接,将数据库下载到本地以供编辑。 Refresh - 刷新 + 刷新 Reload all data and update the views - + 重新载入所有数据并更新视图 F5 - + F5 Clone Database - + 克隆数据库 Open Database - + 打开数据库 Open the local copy of this database - + 打开此数据库的本地拷贝 Check out Commit - + 签出某个提交 Download and open this specific commit - + 下载并打开特定的提交版本 Check out Latest Commit - + 签出最新提交 Check out the latest commit of the current branch - + 从当前分支签出最近一次的提交版本 Save Revision to File - + 将版本另存为文件 Saves the selected revision of the database to another file - + 将选择的版本的数据库保存到另一个文件 Upload Database - + 上传数据库 Upload this database as a new commit - + 将当前数据库作为新的提交上传 <html><head/><body><p>In this pane, remote databases from dbhub.io website can be added to DB4S. First you need an identity:</p><ol style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Login to the dbhub.io website (use your GitHub credentials or whatever you want)</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click the button to create a DB4S certificate (that's your identity). That'll give you a certificate file (save it to your local disk).</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Go to the Remote tab in DB4S Preferences. Click the button to add a new certificate to DB4S and choose the just downloaded certificate file.</li></ol><p>Now the Remote panel shows your identity and you can add remote databases.</p></body></html> @@ -6859,7 +6860,7 @@ Create a backup! Select an identity to connect - + 选择要用于连接的凭据 @@ -6872,43 +6873,47 @@ Create a backup! Please enter the URL to clone from. You can generate this URL by clicking the 'Clone Database in DB4S' button on the web page of the database. - + 将远程服务器上的数据库下载到本地以编辑。 +请输入用于克隆的URL。可通过在网页上点击 +“Clone Database in DB4S”获得数据库的URL。 Invalid URL: The host name does not match the host name of the current identity. - + 无效的URL:主机名与凭据的主机名不符。 Invalid URL: No branch name specified. - + 无效的URL:未指定分支名。 Invalid URL: No commit ID specified. - + 无效的URL:未指定提交ID。 You have modified the local clone of the database. Fetching this commit overrides these local changes. Are you sure you want to proceed? - + 你已经修改了本地的数据库。此时获取远程提交将覆盖本地的更改。 +确实要继续吗? The database has unsaved changes. Are you sure you want to push it before saving? - + 数据库有未保存的更改,确实要在保存前推送吗? The database you are trying to delete is currently opened. Please close it before deleting. - + 尝试删除的数据库当前已被打开,请先将之关闭。 This deletes the local version of this database with all the changes you have not committed yet. Are you sure you want to delete this database? - + 将删除本地的数据库,包括你未提交的修改。 +确实要删除此数据库吗? @@ -6916,32 +6921,32 @@ Are you sure you want to proceed? Name - 名称 + 名称 Branch - 分支 + 分支 Last modified - 上次修改 + 上次修改 Size - 大小 + 大小 Commit - 提交 + 提交 File - 文件 + 文件 @@ -6973,22 +6978,22 @@ Are you sure you want to proceed? Size: - + 大小: Last Modified: - + 上次修改: Licence: - + 授权: Default Branch: - + 默认分支: bytes @@ -7000,54 +7005,54 @@ Are you sure you want to proceed? Choose a location to save the file - + 选择保存位置 Error opening remote file at %1. %2 - 在 %1 打开远程文件时出错. + 打开远程文件 %1 时出错. %2 Error: Invalid client certificate specified. - 错误: 指定了错误的客户端证书。 + 错误: 指定了错误的客户端证书。 Please enter the passphrase for this client certificate in order to authenticate. - 请输入客户端证书的口令以进行身份认证。 + 请输入客户端证书的口令以进行身份认证。 Cancel - 取消 + 取消 Uploading remote database to %1 - 正在上传远程数据库到 + 正在上传远程数据库到 %1. {1?} Downloading remote database from %1 - 正在下载远程数据库于 + 正在下载远程数据库于 %1. {1?} Error: The network is not accessible. - 错误: 网络无法访问。 + 错误: 网络无法访问。 Error: Cannot open the file for sending. - 错误: 无法打开文件用于发送。 + 错误: 无法打开文件用于发送。 @@ -7102,7 +7107,7 @@ p, li { white-space: pre-wrap; } Username - + 用户名 From 728a3c5ead44b5558e35056405ce6468d7a47a03 Mon Sep 17 00:00:00 2001 From: mercury233 Date: Tue, 6 Oct 2020 21:24:58 +0800 Subject: [PATCH 2/2] fix --- src/translations/sqlb_zh.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/translations/sqlb_zh.ts b/src/translations/sqlb_zh.ts index 15d1c37dd7..4bf590d1db 100644 --- a/src/translations/sqlb_zh.ts +++ b/src/translations/sqlb_zh.ts @@ -230,12 +230,12 @@ -s, --sql <file> Execute this SQL file after opening the DB - -s, --sql [文件] 在打开数据库后执行此 SQL 文件 + -s, --sql <文件> 在打开数据库后执行此 SQL 文件 -t, --table <table> Browse this table after opening the DB - -t, --table [表] 在打开数据库后浏览此表 + -t, --table <表> 在打开数据库后浏览此表 @@ -245,7 +245,7 @@ -o, --option <group>/<setting>=<value> - -o, --option [分组/设置=值] + -o, --option <分组/设置=值> @@ -255,7 +255,7 @@ -O, --save-option <group>/<setting>=<value> - -O, --save-option [分组/设置=值] + -O, --save-option <分组/设置=值> @@ -270,7 +270,7 @@ <database> Open this SQLite database - [文件] 打开这个 SQLite 数据库 + <文件> 打开这个 SQLite 数据库