From a65c9e68c7db42ab529da2815bc36466a715fc61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Tue, 23 Apr 2024 04:53:00 +0200 Subject: [PATCH 1/7] New translations guisqlitestudio.ts (Chinese Traditional) --- .../guiSQLiteStudio/translations/guiSQLiteStudio_zh_TW.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_TW.ts b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_TW.ts index 97d50951c7..e4cfaf1ab7 100644 --- a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_TW.ts +++ b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_TW.ts @@ -41,7 +41,7 @@ SQLite extension directories - SQLite extension directories + SQLite 擴充套件目錄 @@ -3871,7 +3871,7 @@ Please enter new, unique name, or press '%1' to abort the operation: Re&name selected window - Re&name selected window + 重新命名目前視窗(&N) From 9c70a17d37e0bbd90a1b4632414bdd8322b4d235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Tue, 23 Apr 2024 04:53:01 +0200 Subject: [PATCH 2/7] New translations sqlitestudiocli.ts (Chinese Traditional) --- .../sqlitestudiocli/translations/sqlitestudiocli_zh_TW.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_TW.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_TW.ts index e1bd4e35f6..f39ac13e52 100644 --- a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_TW.ts +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_TW.ts @@ -132,7 +132,7 @@ Closes the database connection. If the database was already closed, nothing happens. If <name> is provided, it should be the name of the database to close (as printed by the %1 command). If <name> is not provided, then the current working database is closed (see help for %2 for details). - Closes the database connection. If the database was already closed, nothing happens. If <name> is provided, it should be the name of the database to close (as printed by the %1 command). If <name> is not provided, then the current working database is closed (see help for %2 for details). + 關閉資料庫連線。如果資料庫已關閉,什麼也不做。如果提供了<名稱>,則表示需要關閉的資料庫的名稱(見 %1 命令的結果)。如果沒有提供<名稱>,則關閉目前操作的資料庫(詳見 %2 的幫助)。 From c72ba1409607a2bfa1e6f8e620e82c6864cbf3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Mon, 3 Jun 2024 05:46:31 +0200 Subject: [PATCH 3/7] New translations sqlexport.ts (Chinese Simplified) --- Plugins/SqlExport/translations/SqlExport_zh_CN.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/SqlExport/translations/SqlExport_zh_CN.ts b/Plugins/SqlExport/translations/SqlExport_zh_CN.ts index 36e90c19ee..ab012874e7 100644 --- a/Plugins/SqlExport/translations/SqlExport_zh_CN.ts +++ b/Plugins/SqlExport/translations/SqlExport_zh_CN.ts @@ -59,7 +59,7 @@ Add "IF NOT EXISTS" clause to "CREATE" statement - Add "IF NOT EXISTS" clause to "CREATE" statement + 添加 "IF NOT EXISTS" clause 到 "CREATE" statement @@ -102,7 +102,7 @@ Add "IF NOT EXISTS" clause to "CREATE" statement - Add "IF NOT EXISTS" clause to "CREATE" statement + 添加 "IF NOT EXISTS" clause 到 "CREATE" statement From 6136c27675827a9c947a4bd655afd092fa70bb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Mon, 3 Jun 2024 05:46:32 +0200 Subject: [PATCH 4/7] New translations coresqlitestudio.ts (Chinese Simplified) --- .../translations/coreSQLiteStudio_zh_CN.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SQLiteStudio3/coreSQLiteStudio/translations/coreSQLiteStudio_zh_CN.ts b/SQLiteStudio3/coreSQLiteStudio/translations/coreSQLiteStudio_zh_CN.ts index 776f9a7dcc..53225da474 100644 --- a/SQLiteStudio3/coreSQLiteStudio/translations/coreSQLiteStudio_zh_CN.ts +++ b/SQLiteStudio3/coreSQLiteStudio/translations/coreSQLiteStudio_zh_CN.ts @@ -17,7 +17,7 @@ Failed to make full WAL checkpoint on database '%1'. Error returned from SQLite engine: %2 - Failed to make full WAL checkpoint on database '%1'. Error returned from SQLite engine: %2 + 无法在数据库 '%1' 设置完整的 WAL 检查点。从 SQLite 引擎返回错误︰ %2 @@ -787,7 +787,7 @@ Tables, indexes, triggers and views copied to database %3 will remain. Could not run WAL checkpoint: %1 - Could not run WAL checkpoint: %1 + 无法运行 WAL 检查点: %1 @@ -1024,12 +1024,12 @@ The view will remain as it is. Could not execute SQL, because application has failed to start transaction: %1 - Could not execute SQL, because application has failed to start transaction: %1 + 应用程序启动事务失败,因此无法执行 SQL:%1 Execution from file cancelled. Any queries executed so far have been rolled back. - Execution from file cancelled. Any queries executed so far have been rolled back. + 从文件执行已取消。执行的所有查询已回滚。 @@ -1039,7 +1039,7 @@ The view will remain as it is. Could not execute SQL, because application has failed to commit the transaction: %1 - Could not execute SQL, because application has failed to commit the transaction: %1 + 应用程序提交事务失败,因此无法执行 SQL:%1 From 553de464e91ab7bd94735e4353648d0218ed60ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Mon, 3 Jun 2024 05:46:35 +0200 Subject: [PATCH 5/7] New translations guisqlitestudio.ts (Chinese Simplified) --- .../translations/guiSQLiteStudio_zh_CN.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts index 6ef28311a2..5524710094 100644 --- a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts +++ b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts @@ -76,7 +76,7 @@ MacOS X application bundle distribution. - MacOS X application bundle distribution. + MacOS X 应用程序捆绑分发。 @@ -113,13 +113,13 @@ <html><head/><body><p>Optional shortcut, that will work only in context of the active code assistant window. It allows user to use key combinations, that would otherwise be conflicting with other shortcuts. Having the code assistant window as required context makes the choice of keys more versatile.</p></body></html> - <html><head/><body><p>Optional shortcut, that will work only in context of the active code assistant window. It allows user to use key combinations, that would otherwise be conflicting with other shortcuts. Having the code assistant window as required context makes the choice of keys more versatile.</p></body></html> + <html><head/><body><p>可选快捷键,仅在激活的代码助手窗口中使用。它允许用户使用组合键,否则会与其他快捷键发生冲突。将代码助手窗口作为所需的上下文,可以使按键的选择更加灵活。</p></body></html> <html><head/><body><p>The name of the snippet will be displayed in the code assistant. To access the list of snippets user has to hit the code assistant shortcut twice.</p></body></html> - <html><head/><body><p>The name of the snippet will be displayed in the code assistant. To access the list of snippets user has to hit the code assistant shortcut twice.</p></body></html> + <html><head/><body><p>代码片段的名称将显示在代码助手中。要访问片段列表,用户必须点击两次代码助手快捷键。</p></body></html> @@ -129,7 +129,7 @@ Code assistant shortcut - Code assistant shortcut + 代码助手快捷键 @@ -139,7 +139,7 @@ Code Snippets editor window has uncommitted modifications. - Code Snippets editor window has uncommitted modifications. + 代码片段编辑器窗口有未提交的修改。 @@ -149,32 +149,32 @@ Commit all snippet changes - Commit all snippet changes + 提交所有片段更改 Rollback all snippet changes - Rollback all snippet changes + 回滚所有片段更改 Create new snippet - Create new snippet + 创建新的片段 Delete selected snippet - Delete selected snippet + 删除所选代码片段 Move the snippet up - Move the snippet up + 向上移动代码片段 Move the snippet down - Move the snippet down + 向下移动代码片段 From 220c39b7e21c62c7fd1ffeca2a5c9a7b21ab651b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Mon, 3 Jun 2024 06:52:54 +0200 Subject: [PATCH 6/7] New translations guisqlitestudio.ts (Chinese Simplified) --- .../translations/guiSQLiteStudio_zh_CN.ts | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts index 5524710094..230b2de36e 100644 --- a/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts +++ b/SQLiteStudio3/guiSQLiteStudio/translations/guiSQLiteStudio_zh_CN.ts @@ -184,17 +184,17 @@ Enter a non-empty, unique name of the snippet. - Enter a non-empty, unique name of the snippet. + 输入一个非空、唯一的片段名称。 Enter a non-empty snippet content. - Enter a non-empty snippet content. + 输入非空的片段内容。 This hotkey is not unique in context of a code assistant. - This hotkey is not unique in context of a code assistant. + 在代码助手中,这个热键并不是唯一的。 @@ -566,7 +566,7 @@ Could not match valid STRICT table datatype from declared type: %1. - Could not match valid STRICT table datatype from declared type: %1. + 无法从声明的类型中匹配有效的 STRICT 表数据类型:%1。 @@ -1012,12 +1012,12 @@ <html><head/><body><p>When user enters new value into column and the value is bigger than the current column width, the application will enlarge the column to fit the new value, but not wider than the limit defined in the option above.</p></body></html> - <html><head/><body><p>When user enters new value into column and the value is bigger than the current column width, the application will enlarge the column to fit the new value, but not wider than the limit defined in the option above.</p></body></html> + <html><head/><body><p>当用户在列中输入新值,且该值大于当前列宽时,应用程序将放大该列以适应新值,但宽度不得超过上述选项中定义的限制。</p></body></html> Enlarge column when entering value longer than current width - Enlarge column when entering value longer than current width + 当输入的数值长于当前宽度时,放大列 @@ -1188,7 +1188,7 @@ <html><head/><body><p>If there is more than one query in the SQL editor window, then (if this option is enabled) only a single query will be executed - the one under the keyboard insertion cursor. Otherwise all queries will be executed. You can always limit queries to be executed by selecting those queries before calling to execute. You can also use dedicated shortcuts for executing in one mode or the other (currently configured to %1 for single query execution and %2 for all queries execution).</p></body></html> - <html><head/><body><p>If there is more than one query in the SQL editor window, then (if this option is enabled) only a single query will be executed - the one under the keyboard insertion cursor. Otherwise all queries will be executed. You can always limit queries to be executed by selecting those queries before calling to execute. You can also use dedicated shortcuts for executing in one mode or the other (currently configured to %1 for single query execution and %2 for all queries execution).</p></body></html> + <html><head/><body><p>如果 SQL 编辑器窗口中有多个查询,那么(如果启用此选项)将只执行一个查询,即键盘插入光标下的查询。否则将执行所有查询。您可以在调用执行之前选择要执行的查询,从而限制要执行的查询。您还可以使用专用快捷键在一种或另一种模式下执行查询(目前配置为 %1 用于执行单个查询,%2 用于执行所有查询)。</p></body></html> @@ -1214,37 +1214,37 @@ <html><head/><body><p>By default (when this option is disabled) a real number is displayed in the format of decimals with decimal point. In some cases, when the number is really small (several places after decimal point), the default representation may appear inaccurate. In such case you may want to enable this option to use the scientific notation (i.e. <span style=" font-style:italic;">5.3e-21</span>).</p></body></html> - <html><head/><body><p>By default (when this option is disabled) a real number is displayed in the format of decimals with decimal point. In some cases, when the number is really small (several places after decimal point), the default representation may appear inaccurate. In such case you may want to enable this option to use the scientific notation (i.e. <span style=" font-style:italic;">5.3e-21</span>).</p></body></html> + <html><head/><body><p>默认情况下(禁用该选项时),实数以带小数点的小数格式显示。在某些情况下,当数字非常小(小数点后几位)时,默认表示法可能会显得不准确。在这种情况下,您可能需要启用该选项来使用科学记数法 (例如 <span style=" font-style:italic;">5.3e-21</span>).</p></body></html> Use scientific notation for real numbers in the grid view - Use scientific notation for real numbers in the grid view + 在网格视图中使用科学记数法表示实数 <html><head/><body><p>When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit. This value is also used when enlarging column upon new, longer value entered by the user (see option below).</p></body></html> - <html><head/><body><p>When the data is read into grid view columns width is automatically adjusted. This value limits the initial width for the adjustment, but user can still resize the column manually over this limit. This value is also used when enlarging column upon new, longer value entered by the user (see option below).</p></body></html> + <html><head/><body><p>数据读入网格视图时,列宽会自动调整。该值限制了调整的初始宽度,但用户仍可手动调整列宽,使其超过该限制。当用户输入新的、更长的值时,该值也会用于扩大列宽(请参阅下面的选项)。</p></body></html> Limit automatic data column width to (in pixels): - Limit automatic data column width to (in pixels): + 限制自动数据列宽度为(像素): <html><head/><body><p>Initial width of data columns will be set to at least show complete name of the column in the header. This can still be overwritten by the initial limit of column width specified in pixels (the setting above).</p></body></html> - <html><head/><body><p>Initial width of data columns will be set to at least show complete name of the column in the header. This can still be overwritten by the initial limit of column width specified in pixels (the setting above).</p></body></html> + <html><head/><body><p>数据列的初始宽度将至少设置为在标题中显示列的完整名称。这仍然可以被以像素为单位指定的列宽初始限制(上述设置)所覆盖。</p></body></html> Keep at least the width to show complete column name - Keep at least the width to show complete column name + 至少保持显示完整列名的宽度 <html><head/><body><p>If enabled, lines longer than the editor width will be wrapped, so horizontal scrolling will not be needed.</p></body></html> - <html><head/><body><p>If enabled, lines longer than the editor width will be wrapped, so horizontal scrolling will not be needed.</p></body></html> + <html><head/><body><p>如果启用,长度超过编辑器宽度的行将被包裹,因此不需要水平滚动。</p></body></html> @@ -1254,7 +1254,7 @@ <html><head/><body><p>Highlights entire query that is currently under the insertion cursor. It's the same query that will be executed when you hit &quot;Execute query&quot; hotkey or button (unless configured otherwise).</p></body></html> - <html><head/><body><p>Highlights entire query that is currently under the insertion cursor. It's the same query that will be executed when you hit &quot;Execute query&quot; hotkey or button (unless configured otherwise).</p></body></html> + <html><head/><body><p>高亮显示当前插入光标下的整个查询。当您按下 's 时将执行相同的查询。 &quot;执行查询&quot; 热键或按钮(除非另有配置)。</p></body></html> @@ -1304,72 +1304,72 @@ Code syntax colors - Code syntax colors + 代码语法颜色 Keyword foreground - Keyword foreground + 关键字前景色 Regular foreground - Regular foreground + 常规前景色 String foreground - String foreground + 字符串前景色 Comment foreground - Comment foreground + 注释前景色 Valid objects foreground - Valid objects foreground + 有效对象前景色 Current query background - Current query background + 当前查询背景色 Bind parameter foreground - Bind parameter foreground + 绑定参数前景色 Current line background - Current line background + 当前行背景色 Matched parenthesis background - Matched parenthesis background + 匹配括号背景色 <html><head/><body><p>You can disable current query highlighting entirely on the General settings page.</p></body></html> - <html><head/><body><p>You can disable current query highlighting entirely on the General settings page.</p></body></html> + <html><head/><body><p>您可以在常规设置页面完全禁用当前查询高亮显示。</p></body></html> Number foreground - Number foreground + 数字前景色 BLOB value foreground - BLOB value foreground + BLOB 值前景色 Matched parenthesis foreground - Matched parenthesis foreground + 匹配括号前景色 @@ -1490,17 +1490,17 @@ Code assistant settings - Code assistant settings + 代码助手设置 <html><head/><body><p>If this option is enabled, the code assistant will be triggered in cases, when user types for example <span style=" font-weight:700;">tableName.</span> to propose columns of the table. If the option is disabled, user will have to hit the assistant hotkey explicitly.</p></body></html> - <html><head/><body><p>If this option is enabled, the code assistant will be triggered in cases, when user types for example <span style=" font-weight:700;">tableName.</span> to propose columns of the table. If the option is disabled, user will have to hit the assistant hotkey explicitly.</p></body></html> + <html><head/><body><p>如果启用该选项,当用户键入例如 <span style=" font-weight:700;">tableName.</span> 到提出表格的列。 如果禁用该选项,用户就必须明确点击助手热键。</p></body></html> Automatically trigger the assistant after a dot is typed after an object name - Automatically trigger the assistant after a dot is typed after an object name + 在对象名称后输入点后自动触发助手 @@ -1593,17 +1593,17 @@ Clear hotkey for this action - Clear hotkey for this action + 清除该操作的热键 Restore original hotkey for this action - Restore original hotkey for this action + 恢复此操作的原始热键 Here you can configure colors for code syntax highlighting. They are shared across different languages - not only for SQL, but also JavaScript and others. By default a theme-based color is used. To define your own color, enable a custom color by selecting a checkbox next to a particular color. - Here you can configure colors for code syntax highlighting. They are shared across different languages - not only for SQL, but also JavaScript and others. By default a theme-based color is used. To define your own color, enable a custom color by selecting a checkbox next to a particular color. + 您可以在此配置代码语法高亮的颜色。这些颜色在不同语言中共享,不仅适用于 SQL,也适用于 JavaScript 和其他语言。默认情况下使用基于主题的颜色。要定义自己的颜色,请选择特定颜色旁边的复选框,启用自定义颜色。 @@ -1832,7 +1832,7 @@ Filter by text (if contains) data view - Filter by text (if contains) + 按文本筛选(如果包含) @@ -3293,7 +3293,7 @@ Please enter new, unique name, or press '%1' to abort the operation: Deterministic - Deterministic + 确定 @@ -4506,7 +4506,7 @@ Please enter new, unique name, or press '%1' to abort the operation: Toggle the height adjustment of rows - Toggle the height adjustment of rows + 切换行的高度调整 @@ -5504,7 +5504,7 @@ find next Editing a huge contents in an inline cell editor is not a good idea. It can become slow and inconvenient. It's better to edit such big contents in a Form View, or in popup editor (available under right-click menu). - Editing a huge contents in an inline cell editor is not a good idea. It can become slow and inconvenient. It's better to edit such big contents in a Form View, or in popup editor (available under right-click menu). + 在内联单元格编辑器中编辑庞大的内容并不是一个好主意。它可能会变得缓慢而不方便。它's 最好在表单视图或弹出编辑器(右键菜单下可用)中编辑这些大内容。 @@ -6195,12 +6195,12 @@ NULL <html><head/><body><p>Enables/disabled the WITHOUT ROWID clause on the table. Such table will no longer have the &quot;rowid&quot; hidden column. For such table an explicit PRIMARY KEY column is mandatory. You can read more details on this in SQLite official documentation.</p></body></html> - <html><head/><body><p>Enables/disabled the WITHOUT ROWID clause on the table. Such table will no longer have the &quot;rowid&quot; hidden column. For such table an explicit PRIMARY KEY column is mandatory. You can read more details on this in SQLite official documentation.</p></body></html> + <html><head/><body><p>启用/禁用表上的 WITHOUT ROWID 子句。此类表将不再具有 &quot;rowid&quot; 隐藏列。对于此类表,必须有明确的 PRIMARY KEY 列。有关详细信息,请参阅 SQLite 官方文档。</p></body></html> <html><head/><body><p>Enables/disables the STRICT clause for the table. Such table makes strict verification of data stored in columns against declared data types for these columns. This is similar to how data types are usually enforced in most other database engines. Keep it disabled to use the classical SQLite bahavior (i.e. no data type enforcement). You can find more details in the official SQLite documentation.</p></body></html> - <html><head/><body><p>Enables/disables the STRICT clause for the table. Such table makes strict verification of data stored in columns against declared data types for these columns. This is similar to how data types are usually enforced in most other database engines. Keep it disabled to use the classical SQLite bahavior (i.e. no data type enforcement). You can find more details in the official SQLite documentation.</p></body></html> + <html><head/><body><p>启用/禁用表的 STRICT 子句。此类表将根据列的声明数据类型对列中存储的数据进行严格验证。这与大多数其他数据库引擎通常执行数据类型的方式类似。将其禁用可使用经典的 SQLite 行为(即不执行数据类型)。更多详情,请参阅 SQLite 官方文档。</p></body></html> From 35ca1b1784397235c0804102f2fc39890e4523d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Mon, 3 Jun 2024 06:52:55 +0200 Subject: [PATCH 7/7] New translations sqlitestudiocli.ts (Chinese Simplified) --- .../translations/sqlitestudiocli_zh_CN.ts | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts index 3a91c5fe65..7d0ac9aea8 100644 --- a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts @@ -132,7 +132,7 @@ Closes the database connection. If the database was already closed, nothing happens. If <name> is provided, it should be the name of the database to close (as printed by the %1 command). If <name> is not provided, then the current working database is closed (see help for %2 for details). - Closes the database connection. If the database was already closed, nothing happens. If <name> is provided, it should be the name of the database to close (as printed by the %1 command). If <name> is not provided, then the current working database is closed (see help for %2 for details). + 关闭数据库连接。如果数据库已经关闭,则不会发生任何操作。如果提供了 <name>,则应是要关闭的数据库名称(由 %1 命令打印)。如果未提供 <name>,则关闭当前工作数据库(详情请查看 %2 的帮助)。 @@ -433,20 +433,20 @@ The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widths, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other). - When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: -- CLASSIC - columns are separated by a comma, not aligned, -- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, -- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), -- ROW - each column from the row is displayed in new line, so the full data is displayed. + 调用时不带参数,用于显示查询结果的当前输出格式。如果传递了 <mode> ,则会将模式更改为给定的模式。支持的模式有 +- CLASSIC - 各列以逗号分隔,不对齐、 +- FIXED(固定)- 列的宽度相等且固定,始终适合终端窗口的宽度,但列中的数据可以截断、 +- COLUMNS - 与 FIXED 类似,但更智能(请勿用于庞大的结果集,详见下文)、 +- ROW - 行中的每一列都以新行显示,因此可以显示完整的数据。 -The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. +如果想查看所有数据,但又不想浪费每列的行数,建议使用经典模式。每一行将显示每一列的全部数据,但这也意味着下一行的列之间不会对齐。经典模式也不会考虑终端(控制台)窗口的宽度,因此如果列中的值比窗口宽,该行将在下一行继续显示。 -The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. +如果希望输出结果清晰易读,且不在意数据值是否过长,建议使用固定模式。列将对齐,使输出成为漂亮的表格。列宽根据控制台窗口宽度和列数计算。 -The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. -ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widths, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. +COLUMNS 模式与 FIXED 模式类似,但它会尽量聪明地让数值较短的列变得更细,而让数值较长的列获得更多空间。首先缩减的是标题最长的列(因此标题名称将首先被切掉),然后缩减数值最长的列,直至所有列都适合终端窗口。 +注意 为了评估列宽,“列 ”模式会一次性读取查询的所有结果,因此在处理庞大的结果集时使用该模式很危险。请记住,该模式会将整个结果集加载到内存中。 -The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other). +如果需要查看全部数值,且不希望显示很多行,则推荐使用 ROW(行)模式,因为该模式下每列显示一行输出结果,因此 10 列的单行将显示 10 行输出结果,如果有 10 行这样的行,则将显示 100 行输出结果(每行+1 行额外输出结果,用于区分行与行)。 @@ -819,7 +819,7 @@ Expected one of: %2 Executes provided SQL file (including all rich features of SQLiteStudio's query executor) on the specified database file and quits. The database parameter becomes mandatory if this option is used. - Executes provided SQL file (including all rich features of SQLiteStudio's query executor) on the specified database file and quits. The database parameter becomes mandatory if this option is used. + 在指定的数据库文件上执行提供的 SQL 文件(包括 SQLiteStudio's 查询执行器的所有丰富功能)并退出。如果使用此选项,数据库参数将成为必填项。 @@ -829,22 +829,22 @@ Expected one of: %2 Character encoding to use when reading SQL file (-e option). Use -cl to list available codecs. Defaults to %1. - Character encoding to use when reading SQL file (-e option). Use -cl to list available codecs. Defaults to %1. + 读取 SQL 文件时使用的字符编码(-e 选项)。使用 -cl 列出可用的编解码器。默认为 %1。 codec - codec + 解码器 Lists available codecs to be used with -c option and quits. - Lists available codecs to be used with -c option and quits. + 列出与 -c 选项一起使用的可用编解码器,然后退出。 When used together with -e option, the execution will not stop on an error, but rather continue until the end, ignoring errors. - When used together with -e option, the execution will not stop on an error, but rather continue until the end, ignoring errors. + 与 -e 选项一起使用时,执行不会因出错而停止,而是继续到结束,忽略错误。 @@ -859,17 +859,17 @@ Expected one of: %2 Invalid codec: %1. Use -cl option to list available codecs. - Invalid codec: %1. Use -cl option to list available codecs. + 无效编解码器:%1。使用 -cl 选项列出可用的编解码器。 Database file argument is mandatory when executing SQL file. - Database file argument is mandatory when executing SQL file. + 在执行 SQL 文件时,数据库文件参数是强制性的。 Could not open specified database for executing SQL file. You may try using -d option to find out more details. - Could not open specified database for executing SQL file. You may try using -d option to find out more details. + 无法打开指定数据库以执行 SQL 文件。您可以尝试使用 -d 选项了解更多详情。