Skip to content

Commit 4461412

Browse files
authored
Merge pull request #8 from masanorihirano/patch-1
fix: lang format
2 parents 9acf1ef + f069f28 commit 4461412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plamo_translate/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ async def print_translation(
7676
def run_translate(args: argparse.Namespace) -> None:
7777
from_lang = args.from_lang
7878
if from_lang != "":
79-
from_lang = f" lang:{from_lang}"
79+
from_lang = f" lang={from_lang}"
8080

8181
to = args.to
8282
if to != "":
83-
to = f" lang:{to}"
83+
to = f" lang={to}"
8484

8585
backend_type = args.backend_type
8686
stream = args.stream

0 commit comments

Comments
 (0)