Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在翻译文本文档的时候会忽略缩进[Bug]: #1727

Open
Diplproveably opened this issue May 20, 2024 · 2 comments
Open

在翻译文本文档的时候会忽略缩进[Bug]: #1727

Diplproveably opened this issue May 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Diplproveably
Copy link

插件版本号 | Version

1.5.5

平台 | Platform

Windows

浏览器 | Browsers

Microsoft Edge

插件类型 | Extension Type

浏览器插件 | Browser Extension

请描述这个Bug | Describe the bug

当我用插件翻译文本文档的时候,一段有缩进的文本例如:

cleanup and repair process.

    - **Remodeling Phase (Days to Weeks):**
    - 
        - **Macronutrients:**  Increase caloric intake by 10%, maintain carbohydrate and fat intake at previous levels, and ensure adequate protein (1 gram per pound of body weight or more). 

        - **Micronutrients:**  Consume a multivitamin, magnesium (6 milligrams per kilogram of body weight), and consider calcium for bone health. 

        - **Tart Cherry Juice:**  May reduce muscle soreness and potentially enhance sleep. 

会在沉浸式翻译的界面中显示成:

- **Proliferation Phase (Hours to Days):** Consider glutamine supplementation (20 grams per day) to aid in the cleanup and repair process.
- **增殖阶段(几小时到几天):** 考虑补充谷氨酰胺(每天 20 克)以帮助清理和修复过程。

- **Remodeling Phase (Days to Weeks):**
- **改造阶段(几天到几周):**

- **Macronutrients:** Increase caloric intake by 10%, maintain carbohydrate and fat intake at previous levels, and ensure adequate protein (1 gram per pound of body weight or more).
- **常量营养素:** 增加10%的热量摄入,将碳水化合物和脂肪的摄入量维持在之前的水平,并确保充足的蛋白质(每磅体重1克或更多)。

- **Micronutrients:** Consume a multivitamin, magnesium (6 milligrams per kilogram of body weight), and consider calcium for bone health.
- **微量营养素:** 摄入多种维生素、镁(每公斤体重 6 毫克),并考虑钙以促进骨骼健康。

- **Tart Cherry Juice:** May reduce muscle soreness and potentially enhance sleep.
- **酸樱桃汁:** 可以减轻肌肉酸痛,并可能改善睡眠。

忽略了所有的缩进,同时所有的单换行都会被忽略。

出现问题的网址 | URL

No response

重现步骤 | To Reproduce

  1. 找一个有Markdown缩进列表的文档,例如
cleanup and repair process.

    - **Remodeling Phase (Days to Weeks):**

        - **Macronutrients:**  Increase caloric intake by 10%, maintain carbohydrate and fat intake at previous levels, and ensure adequate protein (1 gram per pound of body weight or more). 

        - **Micronutrients:**  Consume a multivitamin, magnesium (6 milligrams per kilogram of body weight), and consider calcium for bone health. 

        - **Tart Cherry Juice:**  May reduce muscle soreness and potentially enhance sleep. 
  1. 拖入沉浸式翻译进行执行翻译

补充说明 | Additional context

No response

@Diplproveably Diplproveably added the bug Something isn't working label May 20, 2024
@Diplproveably Diplproveably changed the title 在翻译文本文档的时候会忽略缩进和空格[Bug]: 在翻译文本文档的时候会忽略缩进[Bug]: May 20, 2024
@Diplproveably
Copy link
Author

@keyboard3
Copy link
Contributor

你应该需要的是一个markdown文件翻译功能是吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants