Byaidu 1 rok pred
rodič
commit
a8e6043811
2 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  1. 4 2
      README.md
  2. 2 0
      README_zh-CN.md

+ 4 - 2
README.md

@@ -39,7 +39,9 @@ pip install pdf2zh
 
 ## Usage
 
-Execute the translation command in the command line to generate the translated document `example-zh.pdf` and the bilingual document `example-dual.pdf` in the current directory. Use Google as the default translation service.
+Execute the translation command in the command line to generate the translated document `example-zh.pdf` and the bilingual document `example-dual.pdf` in the current directory. Use Google as the default translation service. 
+
+Please refer to [ChatGPT](https://chatgpt.com/share/6734a83d-9d48-800e-8a46-f57ca6e8bcb4) for how to set environment variables.
 
 ### Translate the entire document
 
@@ -55,7 +57,7 @@ pdf2zh example.pdf -p 1-3,5
 
 ### Translate with the specified language
 
-See [Google Languages Codes](https://developers.google.com/admin-sdk/directory/v1/languages), [DeepL Languages Codes](https://developers.deepl.com/docs/resources/supported-languages).
+See [Google Languages Codes](https://developers.google.com/admin-sdk/directory/v1/languages), [DeepL Languages Codes](https://developers.deepl.com/docs/resources/supported-languages)
 
 ```bash
 pdf2zh example.pdf -li en -lo ja

+ 2 - 0
README_zh-CN.md

@@ -41,6 +41,8 @@ pip install pdf2zh
 
 命令行中执行翻译指令,在工作目录下生成翻译文档 `example-zh.pdf` 和双语对照文档 `example-dual.pdf`,默认使用 Google 作为翻译服务
 
+有关如何设置环境变量,请参考 [ChatGPT](https://chatgpt.com/share/6734a83d-9d48-800e-8a46-f57ca6e8bcb4)
+
 ### 翻译完整文档
 
 ```bash