Make Translate and Speech to Text operate on selected lines by default

Aperta
#16,928 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
desktop-dev

Direzione di ricerca

Start from the toolbar click handlers for the Translate and Speech to Text buttons, and compare them with the right-click "Selected lines" path that already works on a selection. Reuse that selection check so the toolbar acts on selected lines when any exist and falls back to the whole subtitle otherwise. Done means both buttons behave this way with a selection and without one, and the existing full-subtitle behaviour is unchanged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Currently, the Translate and Speech to Text buttons in the toolbar operate on the entire subtitle.

However, processing the entire subtitle is usually only necessary once, at the beginning of a project.
During the actual translation workflow, I often need to translate or run speech recognition on just a few selected lines.

For translation, this currently requires opening the right-click menu and navigating to the "Selected lines" option each time.
It would be much more convenient if the toolbar buttons worked as follows:

・ If one or more subtitle lines are selected, process only the selected lines.

・ If no lines are selected, process the entire subtitle as they do now.

This would make the toolbar much more useful during day-to-day subtitle editing,
while preserving the existing full-subtitle workflow.

Lingua principale
C#
Stelle
15k
Fork
1.4k
Merge medio
1h 37m
PR unite (30g)
582

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SubtitleEdit/subtitleedit

Tutte le issue di SubtitleEdit/subtitleedit

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.