diff --git a/CMakeLists.txt b/CMakeLists.txt index a6ad84fc..2f218bda 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,6 +149,7 @@ set(SQLB_MISC # Translation files set(SQLB_TSS "${CMAKE_SOURCE_DIR}/src/translations/sqlb_zh.ts" + "${CMAKE_SOURCE_DIR}/src/translations/sqlb_zh_TW.ts" "${CMAKE_SOURCE_DIR}/src/translations/sqlb_de.ts" "${CMAKE_SOURCE_DIR}/src/translations/sqlb_fr.ts" "${CMAKE_SOURCE_DIR}/src/translations/sqlb_ru.ts" diff --git a/src/src.pro b/src/src.pro index c3da61b8..5d18b040 100644 --- a/src/src.pro +++ b/src/src.pro @@ -103,6 +103,7 @@ FORMS += \ TRANSLATIONS += \ translations/sqlb_zh.ts \ + translations/sqlb_zh_TW.ts \ translations/sqlb_de.ts \ translations/sqlb_fr.ts \ translations/sqlb_ru.ts \ diff --git a/src/translations/flags/flags.qrc b/src/translations/flags/flags.qrc index db0b2c20..8323e46f 100644 --- a/src/translations/flags/flags.qrc +++ b/src/translations/flags/flags.qrc @@ -7,5 +7,6 @@ cn.png br.png gb.png + roc.png diff --git a/src/translations/flags/roc.png b/src/translations/flags/roc.png new file mode 100644 index 00000000..23f01ce4 Binary files /dev/null and b/src/translations/flags/roc.png differ diff --git a/src/translations/sqlb_zh_TW.ts b/src/translations/sqlb_zh_TW.ts new file mode 100644 index 00000000..5e25a07e --- /dev/null +++ b/src/translations/sqlb_zh_TW.ts @@ -0,0 +1,2061 @@ + + + + + AboutDialog + + + About SqliteBrowser + 關於 SqliteBrowser + + + + Version + 版本 + + + + Qt Version + Qt 版本 + + + + SQLite Version + SQLite 版本 + + + + <html><head/><body><p>SQLite Database Browser is an open source, freeware visual tool used to create, design and edit SQLite database files.</p><p>It is bi-licensed under the Mozilla Public License Version 2, as well as the GNU General Public License Version 3 or later. You can modify or redistribute it under the conditions of these licenses.</p><p>See <a href="http://www.gnu.org/licenses/gpl.html"><span style=" text-decoration: underline; color:#0000ff;">http://www.gnu.org/licenses/gpl.html</span></a> and <a href="https://www.mozilla.org/MPL/2.0/index.txt"><span style=" text-decoration: underline; color:#0000ff;">https://www.mozilla.org/MPL/2.0/index.txt</span></a> for details.</p><p>For more information on this program please visit our website at: <a href="http://sqlitebrowser.org"><span style=" text-decoration: underline; color:#0000ff;">http://sqlitebrowser.org</span></a></p><p><span style=" font-size:small;">This software uses the GPL/LGPL Qt Toolkit from </span><a href="http://qt-project.org/"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://qt-project.org/</span></a><span style=" font-size:small;"><br/>See </span><a href="http://qt-project.org/doc/qt-5/licensing.html"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://qt-project.org/doc/qt-5/licensing.html</span></a><span style=" font-size:small;"> for licensing terms and information.</span></p><p><span style=" font-size:small;">It also uses the Silk icon set by Mark James licensed under a Creative Commons Attribution 2.5 and 3.0 license.<br/>See </span><a href="http://www.famfamfam.com/lab/icons/silk/"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://www.famfamfam.com/lab/icons/silk/</span></a><span style=" font-size:small;"> for details.</span></p></body></html> + <html><head/><body><p>SQLite Database Browser 是一個開放原始碼的免費視覺化工具,用於建立、設計和編輯 SQLite 資料庫檔案。</p><p>它是以第 2 版 Mozilla 公共許可,以及第 3 版及之後版本的 GNU 通用許可方式授權。你可以在遵循這些許可的條件下修改或重新發佈它。</p><p>參閱 <a href="http://www.gnu.org/licenses/gpl.html"><span style=" text-decoration: underline; color:#0000ff;">http://www.gnu.org/licenses/gpl.html</span></a> 和 <a href="https://www.mozilla.org/MPL/2.0/index.txt"><span style=" text-decoration: underline; color:#0000ff;">https://www.mozilla.org/MPL/2.0/index.txt</span></a> 瞭解細節。</p><p>要獲得本程式的更多資訊,請訪問我們的網站: <a href="http://sqlitebrowser.org"><span style=" text-decoration: underline; color:#0000ff;">http://sqlitebrowser.org</span></a></p><p><span style=" font-size:small;">這個軟體使用了 GPL/LGPL Qt Toolkit: </span><a href="http://qt-project.org/"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://qt-project.org/</span></a><span style=" font-size:small;"><br/>參閱 </span><a href="http://qt-project.org/doc/qt-5/licensing.html"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://qt-project.org/doc/qt-5/licensing.html</span></a><span style=" font-size:small;"> 瞭解許可條款和資訊。</span></p><p><span style=" font-size:small;">它還是用了由 Mark James 提供的 Silk 圖示集,以第 2.5 和 3.0 版知識共用署名(CCA)許可方式授權。<br/>參閱 </span><a href="http://www.famfamfam.com/lab/icons/silk/"><span style=" font-size:small; text-decoration: underline; color:#0000ff;">http://www.famfamfam.com/lab/icons/silk/</span></a><span style=" font-size:small;"> 瞭解細節。</span></p></body></html> + + + + Application + + + Usage: %1 [options] [db] + + 用法: %1 [選項] [資料庫] + + + + + Possible command line arguments: + 可用命令列參數: + + + + -h, --help Show command line options + -h, --help 顯示命令列選項 + + + + -s, --sql [file] Execute this SQL file after opening the DB + -s, --sql [檔] 在打開資料庫後執行這個 SQL 檔案 + + + + -q, --quit Exit application after running scripts + -q, --quit 在執行腳本後退出應用程式 + + + + [file] Open this SQLite database + [檔] 打開這個 SQLite 資料庫 + + + + The -s/--sql option requires an argument + -s/--sql 選項需要一個參數 + + + + The file %1 does not exist + 檔案 %1 不存在 + + + + Invalid option/non-existant file: %1 + 無效選項/不存在的檔案: %1 + + + + CreateIndexDialog + + + Create New Index + 建立新索引 + + + + &Name + 名稱(&N) + + + + &Columns + 列(&C) + + + + Column + + + + + Use in Index + 在索引中使用 + + + + Order + 順序 + + + + &Table + 資料表(&T) + + + + &Unique + 唯一(&U) + + + + Creating the index failed: +%1 + 建立索引時失敗: +%1 + + + + DbStructureModel + + + Name + 名稱 + + + + Object + 對象 + + + + Type + 類型 + + + + Schema + 架構 + + + + Tables (%1) + 資料表 (%1) + + + + Indices (%1) + 索引 (%1) + + + + Views (%1) + 視圖 (%1) + + + + Triggers (%1) + 觸發器 (%1) + + + + EditDialog + + + Edit database cell + 編輯資料庫儲存格 + + + + Import text + 匯入純文字檔案 + + + + Opens a file dialog used to import text to this database cell. + 打開一個檔對話方塊用於匯入純文字檔案到這個資料庫儲存格。 + + + + &Import + 匯入(&I) + + + + Export text + 匯出純文字檔案 + + + + Opens a file dialog used to export the contents of this database cell to a text file. + 打開一個檔對話方塊用於匯出這個資料庫儲存格的內容到一個文字檔案。 + + + + &Export + 匯出(&E) + + + + Text + 純文字檔案 + + + + Binary + 二進位 + + + + Clear cell data + 清除儲存格資料 + + + + Erases the contents of the cell + 刪除儲存格的內容 + + + + &Clear + 清除(&C) + + + + <html><head/><body><p><span style=" font-weight:600; color:#c00000;">Warning: Editing binary content in text mode may result in corrupted data!</span></p></body></html> + <html><head/><body><p><span style=" font-weight:600; color:#c00000;">警告: 在文字模式中編輯二進位內容可能會導致資料損壞!</span></p></body></html> + + + + This area displays information about the data present in this database cell + 這個區域顯示存在於這個資料庫儲存格中的資料的相關資訊 + + + + Type of data currently in cell + 目前在儲存格中的資料的類型 + + + + Size of data currently in table + 目前在資料表中的資料的大小 + + + + Choose a file + 選擇一個檔案 + + + + Text files(*.txt);;Image files(%1);;All files(*) + 文字檔案(*.txt);;影像檔案(%1);;所有擋檔案(*) + + + + Choose a filename to export data + 選擇一個匯出資料的檔案名稱 + + + + Text files(*.txt);;All files(*) + 文字檔案(*.txt);;所有擋檔案(*) + + + + Type of data currently in cell: Text / Numeric + 目前在儲存格中的資料的類型: Text 純文字檔案/ Numeric 數值 + + + + %n char(s) + + %n 個字元 + + + + + Type of data currently in cell: Image + 目前在儲存格中的資料的類型: Image 圖像 + + + + %1x%2 pixel + %1x%2 圖元 + + + + Type of data currently in cell: Binary + 目前在儲存格中的資料的類型: Binary 二進位 + + + + %n byte(s) + + %n 位元組 + + + + + EditTableDialog + + + Edit table definition + 編輯資料表定義 + + + + Table + 資料表 + + + + Fields + 欄位 + + + + Add field + 加入欄位 + + + + Remove field + 刪除欄位 + + + + Move field up + 上移欄位 + + + + Move field down + 下移欄位 + + + + Name + 名稱 + + + + Type + 類型 + + + + + Not null + 非空 + + + + PK + PK + + + + Primary key + 主鍵 + + + + AI + AI + + + + Autoincrement + 自動增值 + + + + Default + 預設 + + + + Default value + 預設值 + + + + Check + 檢查 + + + + Check constraint + 檢查約束條件 + + + + Error creating table. Message from database engine: +%1 + 建立資料表時出現錯誤。來自資料庫引擎的消息: +%1 + + + + There is at least one row with this field set to NULL. This makes it impossible to set this flag. Please change the table data first. + 至少有一行帶本欄位的記錄被設為空。這使得它不可能設定這個標誌。請首先修改資料表資料。 + + + + There is at least one row with a non-integer value in this field. This makes it impossible to set the AI flag. Please change the table data first. + 在這個欄位中至少有一行帶有一個非整數的值。這使得它不可能設定 AI 標誌。請首先修改資料表資料。 + + + + Are you sure you want to delete the field '%1'? +All data currently stored in this field will be lost. + 您是否確認您想刪除欄位 '%1'? +目前存儲在這個欄位中的所有資料將會遺失。 + + + + ExportCsvDialog + + + Export data as CSV + 匯出資料為 CSV + + + + &Table + 資料表(&T) + + + + &Column names in first line + 列名在首行(&C) + + + + Field &separator + 欄位分隔符號(&S) + + + + , + , + + + + ; + ; + + + + + Tab + Tab + + + + | + | + + + + + Other + 其它 + + + + &Quote character + 引號(&Q) + + + + " + " + + + + ' + ' + + + + Choose a filename to export data + 選擇匯出資料的檔案名稱 + + + + Text files(*.csv *.txt) + 文字檔案(*.csv *.txt) + + + + Export completed. + 匯出完成。 + + + + Could not open output file. + 無法打開輸出檔案。 + + + + FilterTableHeader + + + Filter + 過濾 + + + + ImportCsvDialog + + + Import CSV file + 匯入 CSV 檔案 + + + + &Table name + 資料表名稱(&T) + + + + &Column names in first line + 列名在首行(&C) + + + + Field &separator + 欄位分隔符號(&S) + + + + , + , + + + + ; + ; + + + + + Tab + Tab + + + + | + ; + + + + + Other + 其它 + + + + &Quote character + 引號(&Q) + + + + " + ; + + + + ' + ' + + + + Inserting data... + 正在插入資料... + + + + Cancel + 取消 + + + + There is already a table of that name and an import into an existing table is only possible if the number of columns match. + 已有同名的資料表,並且匯入只有在列數相符的情況下才能匯入到一個現有的資料表。 + + + + There is already a table of that name. Do you want to import the data into it? + 已有同名的資料表。您是否想匯入資料到其中? + + + + MainWindow + + + SQLiteBrowser + SQLiteBrowser + + + + Database &Structure + 資料庫結構(&S) + + + + + toolBar1 + + + + + &Browse Data + 瀏覽資料(&B) + + + + Table: + 資料表: + + + + Select a table to browse data + 選擇一個資料表以瀏覽資料 + + + + Use this list to select a table to be displayed in the database view + 使用這個清單選擇一個要顯示在資料庫視圖中的資料表 + + + + Refresh the data in the selected table. + 更新選擇的資料表中的資料。 + + + + This button refreshes the data in the currently selected table. + 這個按鈕更新在目前選擇的資料表中的資料。 + + + + + F5 + F5 + + + + Insert a new record in the current table + 在目前資料表中插入一條新記錄 + + + + This button creates a new, empty record in the database + 這個按鈕在資料庫中建立一條新的空白記錄 + + + + New Record + 新建記錄 + + + + Delete the current record + 刪除目前記錄 + + + + This button deletes the record currently selected in the database + 這個按鈕刪除在資料庫中目前選擇的記錄 + + + + Delete Record + 刪除記錄 + + + + This is the database view. You can double-click any record to edit its contents in the cell editor window. + 這是資料庫視圖。您可以按兩下任何記錄,在儲存格編輯器視窗中編輯記錄內容。 + + + + < + < + + + + 0 - 0 of 0 + 0 - 0 / 0 + + + + > + > + + + + Scroll 100 records upwards + 上滾 100 條記錄 + + + + <html><head/><body><p>Clicking this button navigates 100 records upwards in the table view above.</p></body></html> + <html><head/><body><p>點擊這個按鈕在上面的資料表視圖中向上導航 100 條記錄。</p></body></html> + + + + <html><head/><body><p>Scroll 100 records downwards</p></body></html> + <html><head/><body><p>下滾 100 條記錄</p></body></html> + + + + <html><head/><body><p>Clicking this button navigates 100 records downwards in the table view above.</p></body></html> + <html><head/><body><p>點擊這個按鈕在上面的資料表視圖中向下導航 100 條記錄。</p></body></html> + + + + <html><head/><body><p>Click here to jump to the specified record</p></body></html> + <html><head/><body><p>點擊這裡跳到指定的記錄</p></body></html> + + + + <html><head/><body><p>This button is used to navigate to the record number specified in the Go to area.</p></body></html> + <html><head/><body><p>這個按鈕用於導航到在“轉到”區域中指定的記錄編號。</p></body></html> + + + + Go to: + 轉到: + + + + Enter record number to browse + 輸入要瀏覽的記錄編號 + + + + Type a record number in this area and click the Go to: button to display the record in the database view + 在這個區域中輸入一個記錄編號,並點擊“轉到:”按鈕以在資料庫視圖中顯示記錄 + + + + 1 + 1 + + + + Edit &Pragmas + 編輯雜注(&P) + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_auto_vacuum"><span style=" text-decoration: underline; color:#0000ff;">Auto Vacuum</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_auto_vacuum"><span style=" text-decoration: underline; color:#0000ff;">自動真空</span></a></p></body></html> + + + + None + + + + + + Full + 完整 + + + + Incremental + 增加 + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_automatic_index"><span style=" text-decoration: underline; color:#0000ff;">Automatic Index</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_automatic_index"><span style=" text-decoration: underline; color:#0000ff;">自動化索引</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_checkpoint_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">Checkpoint Full FSYNC</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_checkpoint_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">檢查點完全 FSYNC</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_foreign_keys"><span style=" text-decoration: underline; color:#0000ff;">Foreign Keys</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_foreign_keys"><span style=" text-decoration: underline; color:#0000ff;">外鍵</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">Full FSYNC</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_fullfsync"><span style=" text-decoration: underline; color:#0000ff;">完全 FSYNC</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_ignore_check_constraints"><span style=" text-decoration: underline; color:#0000ff;">Ignore Check Constraints</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_ignore_check_constraints"><span style=" text-decoration: underline; color:#0000ff;">忽略檢查約束</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_mode"><span style=" text-decoration: underline; color:#0000ff;">Journal Mode</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_mode"><span style=" text-decoration: underline; color:#0000ff;">日誌模式</span></a></p></body></html> + + + + Delete + 刪除 + + + + Truncate + 裁截 + + + + Persist + 永久 + + + + + Memory + 記憶體 + + + + WAL + WAL + + + + + Off + + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_size_limit"><span style=" text-decoration: underline; color:#0000ff;">Journal Size Limit</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_journal_size_limit"><span style=" text-decoration: underline; color:#0000ff;">日誌大小限制</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_locking_mode"><span style=" text-decoration: underline; color:#0000ff;">Locking Mode</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_locking_mode"><span style=" text-decoration: underline; color:#0000ff;">鎖定模式</span></a></p></body></html> + + + + + Normal + 正常 + + + + Exclusive + 獨佔 + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_max_page_count"><span style=" text-decoration: underline; color:#0000ff;">Max Page Count</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_max_page_count"><span style=" text-decoration: underline; color:#0000ff;">最大頁數</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_page_size"><span style=" text-decoration: underline; color:#0000ff;">Page Size</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_page_size"><span style=" text-decoration: underline; color:#0000ff;">頁面大小</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_recursive_triggers"><span style=" text-decoration: underline; color:#0000ff;">Recursive Triggers</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_recursive_triggers"><span style=" text-decoration: underline; color:#0000ff;">遞迴觸發器</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_secure_delete"><span style=" text-decoration: underline; color:#0000ff;">Secure Delete</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_secure_delete"><span style=" text-decoration: underline; color:#0000ff;">安全刪除</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_synchronous"><span style=" text-decoration: underline; color:#0000ff;">Synchronous</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_synchronous"><span style=" text-decoration: underline; color:#0000ff;">同步</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_temp_store"><span style=" text-decoration: underline; color:#0000ff;">Temp Store</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_temp_store"><span style=" text-decoration: underline; color:#0000ff;">臨時存儲</span></a></p></body></html> + + + + Default + 預設 + + + + File + 檔案 + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_schema_version"><span style=" text-decoration: underline; color:#0000ff;">User Version</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_schema_version"><span style=" text-decoration: underline; color:#0000ff;">用戶版本</span></a></p></body></html> + + + + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint"><span style=" text-decoration: underline; color:#0000ff;">WAL Auto Checkpoint</span></a></p></body></html> + <html><head/><body><p><a href="http://www.sqlite.org/pragma.html#pragma_wal_autocheckpoint"><span style=" text-decoration: underline; color:#0000ff;">WAL 自動檢查點</span></a></p></body></html> + + + + E&xecute SQL + 執行 SQL(&X) + + + + &File + 檔案(&F) + + + + &Import + 匯入(&I) + + + + &Export + 匯出(&E) + + + + &Edit + 編輯(&E) + + + + &View + 查看(&V) + + + + &Help + 幫助(&H) + + + + toolBar + toolBar + + + + SQL Log + SQL 日誌 + + + + &Show SQL submitted by + 顯示 SQL 提交自(&S) + + + + User + 用戶 + + + + Application + 應用程式 + + + + &Clear + 清除(&C) + + + + Plot + 圖表 + + + + Columns + 列列 + + + + X + X + + + + Y + Y + + + + _ + _ + + + + Save current plot... + 儲存目前圖表... + + + + &New Database... + 新建資料庫(&N)... + + + + + Create a new database file + 建立一個新的資料庫檔 + + + + This option is used to create a new database file. + 這個選項用於建立一個新的資料庫檔案。 + + + + Ctrl+N + Ctrl+N + + + + &Open Database... + 打開資料庫(&O)... + + + + + Open an existing database file + 打開一個現有的資料庫檔 + + + + This option is used to open an existing database file. + 這個選項用於打開一個現有的資料庫檔案。 + + + + Ctrl+O + Ctrl+O + + + + &Close Database + 關閉資料庫(&C) + + + + Ctrl+W + Ctrl+W + + + + Revert Changes + 復原修改 + + + + Revert database to last saved state + 把資料庫退回到先前儲存的狀態 + + + + This option is used to revert the current database file to its last saved state. All changes made since the last save operation are lost. + 這個選項用於倒退目前的資料庫檔為它最後的儲存狀態。從最後儲存操作開始做出的所有修改將會遺失。 + + + + Write Changes + 寫入修改 + + + + Write changes to the database file + 把修改寫入到資料庫檔 + + + + This option is used to save changes to the database file. + 這個選項用於儲存修改到資料庫檔案。 + + + + Ctrl+S + Ctrl+S + + + + Compact Database + 壓縮資料庫 + + + + Compact the database file, removing space wasted by deleted records + 壓縮資料庫檔,通過刪除記錄去掉浪費的空間 + + + + + Compact the database file, removing space wasted by deleted records. + 壓縮資料庫檔,通過刪除記錄去掉浪費的空間。 + + + + E&xit + 退出(&X) + + + + Ctrl+Q + Ctrl+Q + + + + Database from SQL file... + 來自 SQL 檔案的資料庫... + + + + Import data from an .sql dump text file into a new or existing database. + 從一個 .sql 轉儲文字檔中匯入資料到一個新的或已有的資料庫。 + + + + This option lets you import data from an .sql dump text file into a new or existing database. SQL dump files can be created on most database engines, including MySQL and PostgreSQL. + 這個選項讓你從一個 .sql 轉儲文字檔中匯入資料到一個新的或現有的資料庫。SQL 轉儲檔可以在大多數資料庫引擎上建立,包括 MySQL 和 PostgreSQL。 + + + + Table from CSV file... + 資料表來自 CSV 檔案... + + + + Open a wizard that lets you import data from a comma separated text file into a database table. + 打開一個引導精靈讓您從一個逗號間隔的文字檔匯入資料到一個資料庫資料表中。 + + + + Open a wizard that lets you import data from a comma separated text file into a database table. CSV files can be created on most database and spreadsheet applications. + 打開一個引導精靈讓您從一個逗號間隔的文字檔匯入資料到一個資料庫資料表中。CSV 檔可以在大多數資料庫和試算資料表應用程式上建立。 + + + + Database to SQL file... + 資料庫到 SQL 檔案... + + + + Export a database to a .sql dump text file. + 匯出一個資料庫導一個 .sql 轉儲文字檔案。 + + + + This option lets you export a database to a .sql dump text file. SQL dump files contain all data necessary to recreate the database on most database engines, including MySQL and PostgreSQL. + 這個選項讓你匯出一個資料庫導一個 .sql 轉儲文字檔案。SQL 轉儲檔包含在大多數資料庫引擎上(包括 MySQL 和 PostgreSQL)重新建立資料庫所需的所有資料。 + + + + Table as CSV file... + 資料表為 CSV 檔案... + + + + Export a database table as a comma separated text file. + 匯出一個資料庫資料表為逗號間隔的文字檔案。 + + + + Export a database table as a comma separated text file, ready to be imported into other database or spreadsheet applications. + 匯出一個資料庫資料表為逗號間隔的文字檔,準備好被匯入到其他資料庫或試算資料表應用程式。 + + + + Create Table... + 建立資料表... + + + + Open the Create Table wizard, where it is possible to define the name and fields for a new table in the database + 打開“建立資料表”引導精靈,在那裡可以定義在資料庫中的一個新資料表的名稱和欄位 + + + + Delete Table... + 刪除資料表... + + + + Open the Delete Table wizard, where you can select a database table to be dropped. + 打開“刪除資料表”引導精靈,在那裡你可以選擇要丟棄的一個資料庫資料表。 + + + + Modify Table... + 修改資料表... + + + + Open the Modify Table wizard, where it is possible to rename an existing table. It is also possible to add or delete fields form a table, as well as modify field names and types. + 打開“修改資料表”引導精靈,在其中可以重命名一個現有的資料表。也可以從一個資料表中加入或刪除欄位,以及修改欄位名稱和類型。 + + + + Create Index... + 建立索引... + + + + Open the Create Index wizard, where it is possible to define a new index on an existing database table. + 打開“建立索引”引導精靈,在那裡可以在一個現有的資料庫資料表上定義一個新索引。 + + + + &Preferences... + 偏好選項(&P)... + + + + + Open the preferences window. + 打開首選項視窗。 + + + + &DB Toolbar + 資料庫工具列(&D) + + + + Shows or hides the Database toolbar. + 顯示或隱藏資料庫工具列。 + + + + What's This? + 這是什麼? + + + + Shift+F1 + Shift+F1 + + + + &About... + 關於(&A)... + + + + &Recently opened + 最近打開(&R) + + + + Open &tab + 打開標籤頁(&T) + + + + Ctrl+T + Ctrl+T + + + + &Execute SQL + 執行 SQL(&E) + + + + Execute SQL [F5, Ctrl+Return] + 執行 SQL [F5, Ctrl+ Enter] + + + + &Wiki... + 維基百科(&W)... + + + + Bug &report... + 錯誤報告(&R)... + + + + Web&site... + 網站(&S)... + + + + Save Project + 儲存專案 + + + + + Save the current session to a file + 儲存目前會話到一個檔案 + + + + Open Project + 打開專案 + + + + + Load a working session from a file + 從一個檔載入工作會話 + + + + Open SQL file + 打開 SQL 檔案 + + + + <html><head/><body><p>Save current plot...</p><p>File format chosen by extension (png, jpg, pdf, bmp)</p></body></html> + <html><head/><body><p>儲存目前圖表...</p><p>檔案格式按副檔名選擇(png, jpg, pdf, bmp)</p></body></html> + + + + Save SQL file + 儲存 SQL 檔案 + + + + Load extension + 載入擴充套件 + + + + Execute current line + 執行目前行 + + + + Execute current line [Ctrl+E] + 執行目前行 [Ctrl+E] + + + + Ctrl+E + Ctrl+E + + + + Export as CSV file + 匯出為 CSV 檔案 + + + + Export table as comma separated values file + 匯出資料表為逗號間隔值檔案 + + + + Ctrl+L + Ctrl+L + + + + Ctrl+P + Ctrl+P + + + + Database encoding + 資料庫編碼 + + + + Choose a database file + 選擇一個資料庫檔案 + + + + Ctrl+Return + Ctrl+Return + + + + + + + Choose a filename to save under + 選擇一個檔案名稱儲存 + + + + Error adding record: + + 加入記錄時出現錯誤: + + + + + Error deleting record: +%1 + 刪除記錄時出現錯誤: +%1 + + + + Please select a record first + 請首先選擇一條記錄 + + + + %1 - %2 of %3 + %1 - %2 / %3 + + + + + There is no database opened. Please open or create a new database file. + 沒有打開資料庫。請打開或建立一個新的資料庫檔案。 + + + + Are you sure you want to delete the %1 '%2'? +All data associated with the %1 will be lost. + 您是否確認您想刪除 %1 '%2'? +所有和 %1 關聯的資料將會遺失。 + + + + Error: could not delete the %1. Message from database engine: +%2 + 錯誤: 無法刪除 %1。消息來自資料庫引擎: +%2 + + + + There is no database opened. + 沒有資料庫打開。 + + + + %1 Rows returned from: %2 (took %3ms) + %1 行返回自: %2 (耗時 %3毫秒) + + + + Error executing query: %1 + 執行查詢時出現錯誤: %1 + + + + Query executed successfully: %1 (took %2ms) + 查詢執行成功: %1 (耗時 %2毫秒) + + + + Choose a text file + 選擇一個文字檔 + + + + Text files(*.csv *.txt);;All files(*) + 文字檔案(*.csv *.txt);;所有擋檔案(*) + + + + Import completed + 匯入完成 + + + + Are you sure you want to undo all changes made to the database file '%1' since the last save? + 您是否確認您想撤銷從上次儲存以來對資料庫檔‘%1’做出的所有修改。? + + + + Choose a filename to export + 選擇要匯出的檔案名稱 + + + + Text files(*.sql *.txt) + 文字檔案(*.sql *.txt) + + + + Export cancelled or failed. + 匯出取消或失敗。 + + + + Export completed. + 匯出完成。 + + + + Choose a file to import + 選擇要匯入的一個檔案 + + + + + + Text files(*.sql *.txt);;All files(*) + 文字檔案(*.sql *.txt);;所有擋檔案(*) + + + + Do you want to create a new database file to hold the imported data? +If you answer no we will attempt to import the data in the SQL file to the current database. + 您是否確認您想建立一個新的資料庫檔用來存放匯入的資料? +如果您會到“否”的話,我們將嘗試匯入 SQL 檔中的資料到目前資料庫。 + + + + File %1 already exists. Please choose a different name. + 檔案 %1 已存在。請選擇一個不同的名稱。 + + + + Error importing data: %1 + 匯入資料時出現錯誤: %1 + + + + Import completed. + 匯入完成。 + + + + Delete View + 刪除視圖 + + + + Delete Trigger + 刪除觸發器 + + + + Delete Index + 刪除索引 + + + + + Delete Table + 刪除資料表 + + + + &%1 %2 + &%1 %2 + + + + Setting PRAGMA values will commit your current transaction. +Are you sure? + 設定 PRAGMA 值將會提交您的目前事務。. +您確認嗎? + + + + Select SQL file to open + 選擇要打開的 SQL 檔案 + + + + Select file name + 選擇檔案名稱 + + + + Select extension file + 選擇擴充套件檔 + + + + Extensions(*.so *.dll);;All files(*) + 擴充套件(*.so *.dll);;所有擋檔案(*) + + + + Extension successfully loaded. + 擴充套件成功載入。 + + + + + Error loading extension: %1 + 載入擴充套件時出現錯誤: %1 + + + + Don't show again + 不再顯示 + + + + New version available. + 新版本可用。 + + + + A new sqlitebrowser version is available (%1.%2.%3).<br/><br/>Please download at <a href='%4'>%4</a>. + 有新版本的 sqlitebrowser (%1.%2.%3)可用。<br/><br/>請從 <a href='%4'>%4</a> 下載。 + + + + Choose a axis color + 選擇一個軸的顏色 + + + + PNG(*.png);;JPG(*.jpg);;PDF(*.pdf);;BMP(*.bmp);;All Files(*) + PNG(*.png);;JPG(*.jpg);;PDF(*.pdf);;BMP(*.bmp);;所有擋檔案(*) + + + + Choose a file to open + 選擇要打開的一個檔案 + + + + + SQLiteBrowser project(*.sqbpro) + SQLiteBrowser 工程(*.sqbpro) + + + + Invalid file format. + 無效檔案格式。 + + + + PreferencesDialog + + + Preferences + 首選項 + + + + &Database + 資料庫(&D) + + + + Database &encoding + 資料庫編碼(&E) + + + + Open databases with foreign keys enabled. + 打開啟用了外鍵的資料庫。 + + + + &Foreign keys + 外鍵(&F) + + + + enabled + 啟用 + + + + Default &location + 預設位置(&L) + + + + ... + ... + + + + &Prefetch block size + 預取塊尺寸(&P) + + + + &SQL + &SQL + + + + Settings name + 設定名稱 + + + + Context + 上下文 + + + + Colour + 顏色 + + + + Bold + 粗體 + + + + Italic + 斜體 + + + + Underline + 底線 + + + + Keyword + 關鍵字 + + + + function + 函數 + + + + Function + 函數 + + + + Table + 資料表 + + + + Comment + 注釋 + + + + Identifier + 識別符 + + + + String + 字串 + + + + currentline + 目前行 + + + + Current line + 目前行 + + + + SQL &editor font size + SQL 編輯器字體大小(&E) + + + + SQL &log font size + SQL 日誌字體大小(&L) + + + + &Extensions + 擴充套件(&E) + + + + Select extensions to load for every database: + 選擇每個資料庫要載入的擴充套件: + + + + Add extension + 加入擴充套件 + + + + Remove extension + 刪除擴充套件 + + + + Choose a directory + 選擇一個目錄 + + + + Select extension file + 選擇擴充套件檔 + + + + Extensions(*.so *.dll);;All files(*) + 擴充套件(*.so *.dll);;所有擋檔案(*) + + + + QObject + + + Error importing data. Message from database engine: %1 + 匯入資料庫時出現錯誤。消息來自資料庫引擎: %1 + + + + File is not a SQLite 3 database + 檔案不是 SQLite 3 資料庫 + + + + File could not be read + 檔案無法讀取 + + + + + + no error + 無錯誤 + + + + Do you want to save the changes made to the database file %1? + 您是否想儲存對資料庫檔案 %1 做出的修改? + + + + Exporting database to SQL file... + 正在匯出資料庫到 SQL 檔案... + + + + + + Cancel + 取消 + + + + Executing SQL... + 正在執行 SQL... + + + + Action cancelled. + 操作已取消。 + + + + + Error in statement #%1: %2. +Aborting execution. + 錯誤在語句 #%1: %2。 +正在放棄執行。 + + + + renameColumn: cannot find table %1. + renameColumn: 無法查閱資料資料表 %1。 + + + + renameColumn: cannot find column %1. + renameColumn: 無法查詢列 %1。 + + + + renameColumn: creating savepoint failed. DB says: %1 + renameColumn: 建立保存點時失敗。DB 說: %1 + + + + renameColumn: creating new table failed. DB says: %1 + renameColumn: 建立新資料表時失敗。DB 說: %1 + + + + renameColumn: copying data to new table failed. DB says: +%1 + renameColumn: 複製資料到新資料表時失敗。DB 說: +%1 + + + + renameColumn: deleting old table failed. DB says: %1 + renameColumn: 刪除舊資料表失敗。DB 說: %1 + + + + Restoring some of the objects associated with this table failed. This is most likely because some column names changed. Here's the SQL statement which you might want to fix and execute manually: + + + 還原某些和這個資料表關聯的物件失敗。這個最可能是因為某些列的名稱修改了。這裡是您可能需要手動修復和執行的 SQL 語句: + + + + + + renameColumn: releasing savepoint failed. DB says: %1 + renameColumn: 釋放保存點時失敗。DB 說: %1 + + + + Error renaming table '%1' to '%2'.Message from database engine: +%3 + 重命名資料表 '%1' 為 '%2'時失敗。消息來自資料庫引擎: +%3 + + + + ... <string can not be logged, contains binary data> ... + ... <字串無法記錄,包含二進位資料> ... + + + + unknown object type %1 + 未知對象類型 %1 + + + + could not get list of db objects: %1, %2 + 無法取得資料庫物件的列表: %1, %2 + + + + could not get types + 無法取得類型 + + + + Decoding CSV file... + 正在解析 CSV 檔... + + + + didn't receive any output from pragma %1 + 無法接受來自雜注 %1 的任何輸出 + + + + could not execute pragma command: %1, %2 + 無法執行雜注命令: %1, %2 + + + + Error setting pragma %1 to %2: %3 + 設定雜注 %1 為 %2 時出現錯誤: %3 + + + + File not found. + 找不到檔案。 + + + + SqlExecutionArea + + + Form + 表單 + + + + Results of the last executed statements + 最後執行語句的結果 + + + + This field shows the results and status codes of the last executed statements. + 這個欄位顯示最後執行的語句的結果和狀態碼。 + + + + Export to &CSV + 匯出到 &CSV + + + + Save as &view + 儲存為視圖(&V) + + + + Save as view + 儲存為視圖 + + + + Please specify the view name + 請指定視圖名稱 + + + + There is already an object with that name. Please choose a different name. + 已有相同名稱的對象。請選擇一個不同的名稱。 + + + + View successfully created. + 成功建立視圖。 + + + + Error creating view: %1 + 建立視圖時出現錯誤: %1 + + + + SqliteTableModel + + + Error changing data: +%1 + 修改資料庫時出現錯誤: +%1 + + + + VacuumDialog + + + Compact Database + 壓縮資料庫 + + + + Warning: Compacting the database will commit all changes you made. + 警告: 壓縮資料庫將會提交您做出的所有修改。 + + + + Please select the objects to compact: + 請選擇要壓縮的物件: + + + diff --git a/src/translations/translations.qrc b/src/translations/translations.qrc index 2a82446f..bc9854b7 100644 --- a/src/translations/translations.qrc +++ b/src/translations/translations.qrc @@ -4,6 +4,7 @@ sqlb_de.qm sqlb_fr.qm sqlb_zh.qm + sqlb_zh_TW.qm sqlb_pt_BR.qm sqlb_en_GB.qm