Update i18n translations

This commit is contained in:
kagami 2024-03-15 16:45:30 +08:00
parent 4fb3b79ebe
commit ef6554df5a
4 changed files with 85 additions and 79 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-11 22:42+0800\n"
"POT-Creation-Date: 2024-03-15 16:39+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,77 +17,75 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: main.py:79
#: main.py:107
msgid "Analyzing the function and current unit tests..."
msgstr ""
#: main.py:116
#: main.py:146
msgid "Select test cases to generate"
msgstr ""
#: main.py:121
#: main.py:151
msgid ""
"You can add more test cases here\n"
"(Multiple cases can be separated by line breaks)"
msgstr ""
#: main.py:127
#: main.py:157
msgid ""
"Edit reference test file\n"
"(Multiple files can be separated by line breaks)"
msgstr ""
#: main.py:134
#: main.py:164
msgid ""
"Write your customized requirements(prompts) for tests here.\n"
"(For example, what testing framework to use.)"
msgstr ""
#: main.py:153
#: main.py:183
msgid "No test case is selected. Quit generating tests."
msgstr ""
#: main.py:176
#: main.py:220
msgid "Will generate tests for the following cases."
msgstr ""
#: main.py:179
#: main.py:223
msgid ""
"\n"
"Test cases:"
msgstr ""
#: main.py:186
#: main.py:230
msgid ""
"\n"
"No valid reference file is provided. Will not use reference to generate "
"tests."
msgstr ""
#: main.py:191
#: main.py:235
msgid ""
"\n"
"Will use the following reference files to generate tests."
msgstr ""
#: main.py:192
msgid ""
"\n"
"Valid reference files:"
msgstr ""
#: main.py:197
msgid ""
"\n"
"Invalid files:"
msgstr ""
#: main.py:201
#: main.py:245
msgid ""
"\n"
"Customized requirements(prompts):"
msgstr ""
#: main.py:330
#: main.py:249
msgid "No customized requirments."
msgstr ""
#: main.py:252
msgid ""
"\n"
"Additional context:"
msgstr ""
#: main.py:348
msgid "The function's size surpasses AI's context capacity."
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-11 22:42+0800\n"
"POT-Creation-Date: 2024-03-15 16:39+0800\n"
"PO-Revision-Date: 2023-12-24 16:51+0800\n"
"Last-Translator: kagami <mingjing@merico.dev>\n"
"Language-Team: English\n"
@ -17,78 +17,76 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: main.py:79
#: main.py:107
msgid "Analyzing the function and current unit tests..."
msgstr ""
#: main.py:116
#: main.py:146
msgid "Select test cases to generate"
msgstr ""
#: main.py:121
#: main.py:151
msgid ""
"You can add more test cases here\n"
"(Multiple cases can be separated by line breaks)"
msgstr ""
#: main.py:127
#: main.py:157
msgid ""
"Edit reference test file\n"
"(Multiple files can be separated by line breaks)"
msgstr ""
#: main.py:134
#: main.py:164
msgid ""
"Write your customized requirements(prompts) for tests here.\n"
"(For example, what testing framework to use.)"
msgstr ""
#: main.py:153
#: main.py:183
msgid "No test case is selected. Quit generating tests."
msgstr ""
#: main.py:176
#: main.py:220
msgid "Will generate tests for the following cases."
msgstr ""
#: main.py:179
#: main.py:223
msgid ""
"\n"
"Test cases:"
msgstr ""
#: main.py:186
#: main.py:230
msgid ""
"\n"
"No valid reference file is provided. Will not use reference to generate "
"tests."
msgstr ""
#: main.py:191
#: main.py:235
msgid ""
"\n"
"Will use the following reference files to generate tests."
msgstr ""
#: main.py:192
msgid ""
"\n"
"Valid reference files:"
msgstr ""
#: main.py:197
msgid ""
"\n"
"Invalid files:"
msgstr ""
#: main.py:201
#: main.py:245
msgid ""
"\n"
"Customized requirements(prompts):"
msgstr ""
#: main.py:330
#: main.py:249
msgid "No customized requirments."
msgstr ""
#: main.py:252
msgid ""
"\n"
"Additional context:"
msgstr ""
#: main.py:348
msgid "The function's size surpasses AI's context capacity."
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-11 22:42+0800\n"
"POT-Creation-Date: 2024-03-15 16:39+0800\n"
"PO-Revision-Date: 2023-12-24 16:51+0800\n"
"Last-Translator: kagami <mingjing@merico.dev>\n"
"Language-Team: Chinese\n"
@ -16,15 +16,15 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: main.py:79
#: main.py:107
msgid "Analyzing the function and current unit tests..."
msgstr "正在分析目标函数和项目中现有的单元测试……"
#: main.py:116
#: main.py:146
msgid "Select test cases to generate"
msgstr "选择测试用例以生成单元测试"
#: main.py:121
#: main.py:151
msgid ""
"You can add more test cases here\n"
"(Multiple cases can be separated by line breaks)"
@ -32,7 +32,7 @@ msgstr ""
"可在输入框中添加更多测试用例\n"
"(多个测试用例用换行分隔)"
#: main.py:127
#: main.py:157
msgid ""
"Edit reference test file\n"
"(Multiple files can be separated by line breaks)"
@ -40,7 +40,7 @@ msgstr ""
"参考的测试文件\n"
"(多个文件路径用换行分隔)"
#: main.py:134
#: main.py:164
msgid ""
"Write your customized requirements(prompts) for tests here.\n"
"(For example, what testing framework to use.)"
@ -48,15 +48,15 @@ msgstr ""
"可在以下输入框中填写自定义的测试需求(提示词)\n"
"(例如指定特定的测试框架)"
#: main.py:153
#: main.py:183
msgid "No test case is selected. Quit generating tests."
msgstr "未选择测试用例,退出生成单元测试。"
#: main.py:176
#: main.py:220
msgid "Will generate tests for the following cases."
msgstr "将为以下用例生成测试。"
#: main.py:179
#: main.py:223
msgid ""
"\n"
"Test cases:"
@ -64,7 +64,7 @@ msgstr ""
"\n"
"测试用例:"
#: main.py:186
#: main.py:230
msgid ""
"\n"
"No valid reference file is provided. Will not use reference to generate "
@ -73,7 +73,7 @@ msgstr ""
"\n"
"没有提供合法的文件,生成单元测试时将不使用参考。"
#: main.py:191
#: main.py:235
msgid ""
"\n"
"Will use the following reference files to generate tests."
@ -81,23 +81,7 @@ msgstr ""
"\n"
"将参考以下文件生成单元测试。"
#: main.py:192
msgid ""
"\n"
"Valid reference files:"
msgstr ""
"\n"
"参考文件:"
#: main.py:197
msgid ""
"\n"
"Invalid files:"
msgstr ""
"\n"
"不合法的文件:"
#: main.py:201
#: main.py:245
msgid ""
"\n"
"Customized requirements(prompts):"
@ -105,10 +89,36 @@ msgstr ""
"\n"
"自定义测试需求(提示词):"
#: main.py:330
#: main.py:249
msgid "No customized requirments."
msgstr "未添加自定义需求。"
#: main.py:252
msgid ""
"\n"
"Additional context:"
msgstr ""
"\n"
"补充的上下文:"
#: main.py:348
msgid "The function's size surpasses AI's context capacity."
msgstr "由于当前函数过大AI暂时无法处理。"
#~ msgid ""
#~ "\n"
#~ "Valid reference files:"
#~ msgstr ""
#~ "\n"
#~ "参考文件:"
#~ msgid ""
#~ "\n"
#~ "Invalid files:"
#~ msgstr ""
#~ "\n"
#~ "不合法的文件:"
#~ msgid "proposed cases"
#~ msgstr "建议的测试用例"