Skip to content

Releases

TubeTran v0.1.25

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:51

本版重點 / Highlights

  • 改善:網址欄。 點一下網址欄會全選文字,方便直接貼上新網址;按 Enter 或「載入」後,鍵盤焦點離開輸入欄,Space、方向鍵、M 等播放器快捷鍵馬上有效,不會再把字打進網址欄。

  • 修正: 影片還在翻譯時直接移除,右側進度卡不再一直停在「cancelling」;進度卡的「取消中」也補上中英文標籤。

  • Improved: URL box. Clicking the box selects all its text, so you can paste a new URL right away; after Enter or "Load", keyboard focus leaves the box and player shortcuts such as Space, arrow keys and M work immediately, with no stray typing into the box.

  • Fixed: removing a video while it is still being translated no longer leaves the progress card stuck on "cancelling"; the cancelling state also has a proper Chinese/English label now.

Full Changelog: v0.1.24...v0.1.25

TubeTran v0.1.24

Choose a tag to compare

@github-actions github-actions released this 22 Nov 01:28

本版重點 / Highlights

  • 新增:匯出目前篩選。 影片庫套用標籤、「無標籤」或搜尋篩選後,上方會多一顆「匯出目前篩選」按鈕,只匯出篩選結果裡已翻譯完成的影片。

  • 新增:設定面板分頁。 分成「一般」與「快捷鍵」;「快捷鍵」列出所有快捷鍵,清單固定高度、自己捲動。

  • 修正: 編輯標籤時輸入框不再疊到右上角的按鈕、黃色焦點外框也不再被裁掉。

  • 移除: 影片項目上的「檢查字幕」按鈕(翻譯完成時本來就會自動檢查)。

  • New: export the current filter. Once a tag, "No tags" or search filter is applied in the library, an "Export current filter" button appears and exports only the fully translated videos in the filtered result.

  • New: settings panel tabs. General and Shortcuts; Shortcuts lists every keyboard shortcut in a fixed-height list that scrolls on its own.

  • Fixed: while editing tags, the input no longer overlaps the buttons at the top right, and its yellow focus ring is no longer clipped.

  • Removed: the "Check subtitles" button on library items (subtitles are already checked automatically when translation finishes).

Full Changelog: v0.1.23...v0.1.24

TubeTran v0.1.23

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:34

本版重點 / Highlights

  • 新增:重新開啟程式時,自動載入上次看的影片。 影片會停在上次的播放位置,不會自動播放,按播放就能接著看:

    • 只有「已處理完成、還在影片庫裡」的影片才會自動載入;處理中、失敗或已刪除的不會,避免你沒操作就開始處理、產生翻譯費用。
    • 設定面板多了「啟動時載入上次觀看的影片」選項,預設開啟;只記在這台電腦上,切換後立即生效,不需按「儲存」。
  • New: reopening the app loads the video you watched last. It is parked at the last playback position without autoplay, so you just press play to continue:

    • Only videos that are finished and still in the library are loaded this way; in-progress, failed or deleted ones are not, so nothing starts processing (and costing translation fees) without you doing anything.
    • The settings panel has a new "Load the last video on startup" option, on by default; it is saved on this computer only and takes effect right away, without pressing Save.

Full Changelog: v0.1.22...v0.1.23

TubeTran v0.1.22

Choose a tag to compare

@github-actions github-actions released this 20 Nov 14:41

本版重點 / Highlights

  • 新增:全螢幕時可以隨時切換字幕模式。 播放中按 Alt+C,依序切換 雙語 → 原文 → 譯文 → 無:

    • 全螢幕時播放器最上排(YouTube 音量圖示的左邊)多了一顆字幕模式鈕,點一下同樣依序切換,會跟全螢幕鈕一起顯示與隱藏。
    • 切換時畫面上方中央會短暫顯示目前模式;選擇的模式記在這台電腦上,下次開啟沿用,工具列的選項也會同步。
    • 用 Alt 組合鍵是為了不和 YouTube 自己的 C(開關字幕)衝突,YouTube 原生的控制照常可用。
    • 桌面版(Windows)點過影片之後也能用;瀏覽器模式要先點一下影片外面。
  • 新增:全螢幕時可以帶出書籤清單。 這支影片有書籤時,按 Alt+B(或最上排的書籤鈕)在播放區裡列出書籤:

    • 用 ↑ ↓ 選、Enter 跳到對應的字幕、再按一次 Alt+B 關閉,也可以直接用滑鼠點;開啟時從目前播放位置之前最近的書籤開始選。
    • 開啟時鍵盤焦點交給清單,所以 ↑ ↓ 不會動到 YouTube 的音量;關閉或跳轉後焦點還給播放器。
    • 全螢幕的清單只能選取跳轉,不提供刪除,避免誤刪;要刪除請回到視窗模式。
    • 視窗模式按 Alt+B 則是開關工具列的書籤清單。
  • New: switch the subtitle mode any time in fullscreen. Press Alt+C during playback to cycle Bilingual → Original → Translation → None:

    • In fullscreen there is a subtitle-mode button in the top row of the player (left of YouTube's volume icon); click it to cycle the same way. It shows and hides together with the fullscreen button.
    • The current mode flashes briefly at the top center; the chosen mode is saved on this computer and kept next time, and the toolbar options stay in sync.
    • Alt is used so it doesn't clash with YouTube's own C caption toggle, which keeps working as usual.
    • In the desktop app (Windows) it also works after you have clicked the video; in browser mode, click somewhere outside the video first.
  • New: bring up the bookmark list in fullscreen. When the video has bookmarks, press Alt+B (or the bookmark button in the top row) to list them over the player:

    • Use ↑ ↓ to choose, Enter to jump to that subtitle, press Alt+B again to close; the mouse works too. It starts on the nearest bookmark before the current playback position.
    • Keyboard focus moves to the list while it is open, so ↑ ↓ don't change YouTube's volume; closing or jumping gives focus back to the player.
    • The fullscreen list only jumps; it has no delete button, to avoid accidental deletes. Delete bookmarks in windowed mode.
    • In windowed mode, Alt+B opens and closes the toolbar's bookmark list.
  • 修正:全螢幕時 Space/K 無法播放暫停。 用 F 進入全螢幕、或進入前焦點不在影片上時,YouTube 的快捷鍵收不到按鍵(YouTube 需要焦點在播放器內部的元素上,程式無法替它設定)。現在全螢幕時由 TubeTran 自己處理同樣的快捷鍵:Space/K 播放暫停、← → 5 秒、J L 10 秒、M 靜音、↑ ↓ 音量;點過影片後焦點在 YouTube 裡,則仍由 YouTube 原生處理。

  • Fix: Space / K didn't play or pause in fullscreen. When you entered fullscreen with F, or the focus wasn't on the video beforehand, YouTube never received the keys (it needs focus on an element inside the player, which a page can't set for it). In fullscreen TubeTran now handles the same shortcuts itself: Space / K play and pause, ← → seek 5 s, J L 10 s, M mutes, ↑ ↓ change the volume; after you click the video, focus is inside YouTube and its own handling applies as before.

Full Changelog: v0.1.21...v0.1.22

TubeTran v0.1.21

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:52

本版重點 / Highlights

  • 新增:字幕高低位置可以調整。 字幕擋到 YouTube 進度條時,播放中按 Alt+↑ 把字幕往上、Alt+↓ 往下,按住不放會連續移動:

    • 視窗與全螢幕各記一個位置(兩種畫面的進度條高度不一樣),記在這台電腦上,下次開啟沿用;沒調整過就維持原本的預設位置。
    • 用 Alt 組合鍵是為了不和 YouTube 的音量快捷鍵(單純的 ↑ ↓)衝突。
    • 桌面版(Windows)點過影片之後也能用;瀏覽器模式要先點一下影片外面。
  • New: adjustable subtitle height. When the subtitles cover YouTube's progress bar, press Alt+↑ during playback to move them up and Alt+↓ to move them down; holding the keys keeps moving:

    • Windowed and fullscreen each remember their own position (the progress bar sits at a different height in the two views), saved on this computer and kept next time; until you adjust it, the default position is used.
    • Alt is used so the keys don't clash with YouTube's volume shortcut (plain ↑ ↓).
    • In the desktop app (Windows) it also works after you have clicked the video; in browser mode, click somewhere outside the video first.

Full Changelog: v0.1.20...v0.1.21

TubeTran v0.1.20

Choose a tag to compare

@github-actions github-actions released this 18 Nov 15:24

本版重點 / Highlights

  • 修正:繁體中文字幕不再送去翻譯。 YouTube 常把繁體中文字幕只標成「中文」(zh),過去因此整支影片仍會跑術語表與翻譯,浪費時間與費用。現在會看字幕內容判斷繁簡:

    • 是繁體中文:不呼叫 Claude API,原文直接當作譯文;雙語模式、搜尋與 SRT/VTT 也只顯示一次,不重複同一句。
    • 是簡體中文:照常翻成繁體中文(台灣用語)。
    • 已經翻過的影片,到影片庫按 ↻ 重新處理即可套用。
  • Fixed: Traditional Chinese captions are no longer translated. YouTube often labels Traditional Chinese captions as plain "Chinese" (zh), so such videos still went through the glossary and translation, wasting time and cost. The app now checks the caption text to tell Traditional from Simplified:

    • Traditional Chinese: the Claude API is not called and the original is used as the translation; bilingual mode, search and SRT / VTT show each line once.
    • Simplified Chinese: translated into Traditional Chinese (Taiwan usage) as before.
    • For videos translated earlier, press ↻ in the library to reprocess and apply this.

Full Changelog: v0.1.19...v0.1.20

TubeTran v0.1.19

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:22

本版重點 / Highlights

  • 新增:字幕書籤。 替重要的字幕做記號,之後一鍵跳回去:

    • 滑鼠移到字幕清單的某一行,左側浮現書籤圖示;按下後輸入名稱(Enter 儲存、Esc 取消)就加入書籤。已有書籤的行固定顯示實心圖示與名稱,可再改名或刪除。
    • 工具列搜尋鈕旁多了書籤鈕(這支影片有書籤時才出現):按下列出全部書籤,點一個就讓影片跳到對應的字幕(投影片模式則換到那一張),清單也捲到那一行;滑過項目會浮現 ✕,可直接刪除書籤。
    • 書籤跟著影片存在本機,匯出/匯入影片時一起帶走;重新處理影片後,書籤會對到時間最接近的那一句。
  • New: subtitle bookmarks. Mark important lines and jump back to them with one click:

    • Hover a line in the subtitle list and a bookmark icon appears at its left; press it, type a name (Enter to save, Esc to cancel) and the bookmark is added. A bookmarked line keeps a filled icon and its name, and can be renamed or deleted.
    • A bookmark button next to the magnifier in the toolbar (shown only when the video has bookmarks) lists them all; click one to jump the video to that line (in slide mode, to that slide) with the list scrolled to it; hover an item and a ✕ appears to delete the bookmark.
    • Bookmarks are saved locally with the video and travel with it when you export / import; after reprocessing a video, a bookmark lands on the line closest in time.

Full Changelog: v0.1.18...v0.1.19

TubeTran v0.1.18

Choose a tag to compare

@github-actions github-actions released this 18 Nov 07:50

本版重點 / Highlights

  • 新增:Linux 無標題列視窗。 Linux 桌面模式(desktop-qt)現在和 Windows 一樣沒有系統標題列,視窗按鈕畫在頁首右上角;拖曳頁首空白處或左上角圖示移動視窗(X11、Wayland 都可以),雙擊最大化/還原,視窗邊緣可縮放。不想要的話加 --native-titlebar。

  • 修正:Linux 關閉視窗後終端機回不到 shell。 現在視窗關閉後會直接結束程式。

  • 視窗標題依語系同步: 英文語系下標題為 TubeTran,中文為「水管譯工」。

  • New: frameless window on Linux. Desktop mode on Linux (desktop-qt) now has no system title bar, like Windows; the window buttons are drawn at the top right of the header. Drag an empty part of the header or the icon to move the window (works on both X11 and Wayland), double-click to maximize/restore, drag the edges to resize. Add --native-titlebar if you don't want this.

  • Fixed: the terminal did not return to the shell after closing the window on Linux. The program now exits right after the window closes.

  • The window title follows the language: TubeTran in English, 水管譯工 in Chinese.

Full Changelog: v0.1.17...v0.1.18

TubeTran v0.1.17

Choose a tag to compare

@github-actions github-actions released this 17 Nov 12:56

本版重點 / Highlights

  • 新增:搜尋字幕。 工具列「刪除投影片」旁邊多了放大鏡,按下去展開搜尋列:

    • 可選「不分大小寫」「完整單字」「規則表達式」;命中的地方在字幕清單中反白,目前這個顏色較深、有外框。
    • ⌃ ⌄ 按鈕(或 Shift+Enter/Enter)跳到上一個/下一個命中,清單捲到那一行;顯示「第幾個/共幾個」。
    • 勾選「影片也跳過去」時,影片也會跳到命中的那一則(投影片模式則換到那一張)。
    • 選項會記住;按 Esc 或再按一次放大鏡關閉。
  • New: search subtitles. A magnifier next to "Delete slides" in the toolbar opens a search bar:

    • Options for ignore case, whole word and regular expression; matches are highlighted in the subtitle list, the current one darker with an outline.
    • ⌃ ⌄ buttons (or Shift+Enter / Enter) go to the previous / next match and scroll the list to that line; "match / total" is shown.
    • With "Jump the video too" on, the video also jumps to the matching line (in slide mode, to that slide).
    • The options are remembered; press Esc or the magnifier again to close.

Full Changelog: v0.1.16...v0.1.17

TubeTran v0.1.16

Choose a tag to compare

@github-actions github-actions released this 17 Nov 10:33

本版重點 / Highlights

  • 修正:按全螢幕鈕後,焦點會回到播放器。 以前焦點停在全螢幕鈕上,← → 無法倒轉、快轉;現在進入全螢幕就能直接用(投影片模式則是上一則、下一則)。

  • 改善:翻譯失敗時看得到原因,也能直接重試。 錯誤訊息會附上最後一次失敗的原因(例如「回覆超過上限被截斷」「回覆少了幾句」);狀態列下方有「重試」鈕。影片庫的卡片會標成「翻譯失敗」並有重試鈕,滑鼠移上去可看到原因。重試從中斷處接著翻,已翻好的句子不會重翻。

  • 修正:降低翻譯失敗的機會。 每批的輸出上限從 8192 提高到 16000 個 token;模型會先花一部分 token 思考,原本的上限偶爾不夠,譯文被截斷就會三次都失敗。

  • Fixed: focus returns to the player after pressing the fullscreen button. Previously focus stayed on the button, so ← → didn't seek; now they work right away in fullscreen (in slide mode they go to the previous / next line).

  • Improved: failed translations show the reason and can be retried. The error now includes why the last attempt failed (for example "the reply was cut off at the limit" or "the reply was missing lines"), with a "Retry" button below the status line. The library card is marked "Translation failed" with a retry button, and hovering shows the reason. Retrying continues where it stopped; lines already translated are kept.

  • Fixed: translation fails less often. The per-batch output limit was raised from 8192 to 16000 tokens; the model spends part of it thinking first, and the old limit was occasionally too small, cutting off the reply so all three attempts failed.

Full Changelog: v0.1.15...v0.1.16