From 55681194794aae7c3446461ad1a8f4283f65cc72 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Tue, 12 Mar 2024 20:32:26 -0400 Subject: [PATCH] v0.5.2: Automatic subtitle translation --- Cargo.lock | 2 +- substudy/CHANGELOG.md | 10 ++++++++++ substudy/Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2534777..60cc450f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1753,7 +1753,7 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "substudy" -version = "0.5.1" +version = "0.5.2" dependencies = [ "anyhow", "async-openai", diff --git a/substudy/CHANGELOG.md b/substudy/CHANGELOG.md index b9d62049..9ce7c308 100644 --- a/substudy/CHANGELOG.md +++ b/substudy/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +## [0.5.2] - 2024-03-12 + +### Added + +- Add automatic subtitle translation using `substudy translate foreign_subs.srt --native-lang=en > native_subs.srt`. This requires setting an `OPENAI_API_KEY` environment variable. (Or [a `.env` file](https://crates.io/crates/dotenv) containing that variable.) This is still experimental, but it worked well for Spanish-to-English translations in my test. + +### Fixed + +- Much prettier progress bars. + ## [0.5.1] - 2024-03-10 ### Changed diff --git a/substudy/Cargo.toml b/substudy/Cargo.toml index 5dcd50d7..2ee7793f 100644 --- a/substudy/Cargo.toml +++ b/substudy/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "substudy" -version = "0.5.1" +version = "0.5.2" authors = ["Eric Kidd "] license = "Apache-2.0" edition = "2021"