chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -70,13 +70,13 @@ const useAgentSkillPluginSettingModalController = (
|
||||
},
|
||||
{
|
||||
refreshDeps: [commonParams],
|
||||
// 即将支持,敬请期待
|
||||
// Support soon, so stay tuned.
|
||||
ready: visible && FLAGS['bot.devops.plugin_mockset'],
|
||||
},
|
||||
);
|
||||
|
||||
// mock-set 支持设置禁用,端插件类型不支持
|
||||
// 没有 response的 也不能 开启 mock-set
|
||||
// mock-set support setting is disabled, end plug-in type is not supported
|
||||
// If there is no response, you can't open mock-set.
|
||||
const isDisabledMockSet = useMemo(
|
||||
() => !responseData?.length || isCheckingResponse,
|
||||
[responseData, isCheckingResponse],
|
||||
|
||||
@@ -73,7 +73,7 @@ const usePartMainController = (pluginInfo: PluginInfoForPlayground) => {
|
||||
value: PARA.toLowerCase(),
|
||||
},
|
||||
];
|
||||
// 即将支持,敬请期待
|
||||
// Support soon, so stay tuned.
|
||||
if (FLAGS['bot.devops.plugin_mockset']) {
|
||||
keyOptions.unshift({
|
||||
label: I18n.t('bot_ide_plugin_setting_modal_mockset_tab'),
|
||||
|
||||
@@ -75,7 +75,7 @@ const PartParams = (
|
||||
|
||||
const size = useSize(props.contentRef);
|
||||
|
||||
// 变量事例值列表
|
||||
// Variable case value list
|
||||
const [variableOption, setVariableOption] = useState<OptionProps[]>([]);
|
||||
|
||||
const { variables } = useBotSkillStore(
|
||||
@@ -93,8 +93,8 @@ const PartParams = (
|
||||
const varList = variables?.map(item => {
|
||||
const example = res.conf?.find(conf => conf.key === item.key);
|
||||
return {
|
||||
label: item.key, // 变量名
|
||||
value: example?.example ?? item.default_value ?? '', // 事例值,无则默认值
|
||||
label: item.key, // variable name
|
||||
value: example?.example ?? item.default_value ?? '', // Case value, no default value
|
||||
};
|
||||
});
|
||||
setVariableOption(varList);
|
||||
|
||||
Reference in New Issue
Block a user