feat: Optimize i18n keys and remove unused keys, supporting static files in I18nT (#2092)

* feat: packages web i18n

* delete file

* feat:i18n add i18nT

* handle keys

* delete unusedKeys

* fix build

* update dev.md
This commit is contained in:
jingyang
2024-07-19 16:28:07 +08:00
committed by GitHub
parent f7b55b501f
commit 57ff38e16f
64 changed files with 552 additions and 1547 deletions

View File

@@ -1,19 +1,19 @@
{
"Add new input": "新增输入",
"add_new_input": "新增输入",
"Code": "代码",
"Confirm delete field tip": "确认删除该字段?",
"Custom input": "自定义输入",
"Edit input": "编辑输入",
"Field Name already exists": "字段名已经存在",
"Field description": "字段描述",
"Field description placeholder": "描述该输入字段的功能,如果为工具调用参数,则该描述会影响模型生成的质量",
"Field required": "必填",
"Field used as tool input": "作为工具调用参数",
"Input description": "字段描述",
"Only the Reference type is supported": "仅支持引用类型",
"Optional value type": "可选的数据类型",
"Optional value type tip": "可以指定 1 个或多个数据类型,用户在冬天添加字段时,仅可选择配置的类型",
"Tool input": "工具参数",
"confirm_delete_field_tip": "确认删除该字段?",
"custom_input": "自定义输入",
"edit_input": "编辑输入",
"field_name_already_exists": "字段名已经存在",
"field_description": "字段描述",
"field_description_placeholder": "描述该输入字段的功能,如果为工具调用参数,则该描述会影响模型生成的质量",
"field_required": "必填",
"field_used_as_tool_input": "作为工具调用参数",
"input_description": "字段描述",
"only_the_reference_type_is_supported": "仅支持引用类型",
"optional_value_type": "可选的数据类型",
"optional_value_type_tip": "可以指定 1 个或多个数据类型,用户在冬天添加字段时,仅可选择配置的类型",
"tool_input": "工具参数",
"code": {
"Reset template": "还原模板",
"Reset template confirm": "确认还原代码模板?将会重置所有输入和输出至模板值,请注意保存当前代码。"
@@ -28,4 +28,4 @@
"Custom outputs": "自定义输出",
"Error": "错误信息"
}
}
}