mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
fix: correct typos in locale files and search hooks (#13932)
## Summary - Fix `Refrence` → `Reference` in zh, id, zh-traditional locale files (en.ts already correct) - Fix `from from` → `from` and `this files` → `this file` in en.ts - Fix variable name `reponse` → `response` in search hooks ## Test plan - [ ] Verify UI strings display correctly - [ ] Verify search functionality works with renamed variable 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: yuj <yuj@ztjzsoft.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -252,11 +252,11 @@ Example: A 1 KB message with 1024-dim embedding uses ~9 KB. The 5 MB default lim
|
||||
deleteManageFieldAllWarn:
|
||||
'This field and all its corresponding values will be deleted from all associated files.',
|
||||
deleteManageValueAllWarn:
|
||||
'This value will be deleted from from all associated files.',
|
||||
'This value will be deleted from all associated files.',
|
||||
deleteManageFieldSingleWarn:
|
||||
'This field and all its corresponding values will be deleted from this files.',
|
||||
'This field and all its corresponding values will be deleted from this file.',
|
||||
deleteManageValueSingleWarn:
|
||||
'This value will be deleted from this files.',
|
||||
'This value will be deleted from this file.',
|
||||
deleteSettingFieldWarn: `This field will be deleted; existing metadata won't be affected.`,
|
||||
deleteSettingValueWarn: `This value will be deleted; existing metadata won't be affected.`,
|
||||
},
|
||||
|
||||
@@ -653,7 +653,7 @@ export default {
|
||||
FishAudioModelNameMessage: 'Silakan beri nama model sintesis ucapan Anda',
|
||||
addFishAudioAK: 'Fish Audio API KEY',
|
||||
addFishAudioAKMessage: 'Silakan masukkan API KEY Anda',
|
||||
addFishAudioRefID: 'FishAudio Refrence ID',
|
||||
addFishAudioRefID: 'FishAudio Reference ID',
|
||||
addFishAudioRefIDMessage:
|
||||
'Silakan masukkan Reference ID (biarkan kosong untuk menggunakan model default).',
|
||||
GoogleModelIDMessage: 'Silakan masukkan ID model Anda!',
|
||||
|
||||
@@ -717,7 +717,7 @@ export default {
|
||||
FishAudioModelNameMessage: '請為你的TTS模型起名',
|
||||
addFishAudioAK: 'Fish Audio API KEY',
|
||||
addFishAudioAKMessage: '請輸入 API KEY',
|
||||
addFishAudioRefID: 'FishAudio Refrence ID',
|
||||
addFishAudioRefID: 'FishAudio Reference ID',
|
||||
addFishAudioRefIDMessage: '請輸入引用模型的ID(留空表示使用默認模型)',
|
||||
GoogleModelIDMessage: '請輸入 model ID!',
|
||||
addGoogleProjectID: 'Project ID',
|
||||
|
||||
@@ -1108,7 +1108,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
|
||||
FishAudioModelNameMessage: '请为你的TTS模型起名',
|
||||
addFishAudioAK: 'Fish Audio API KEY',
|
||||
FishAudioAKMessage: '请输入 API KEY',
|
||||
addFishAudioRefID: 'FishAudio Refrence ID',
|
||||
addFishAudioRefID: 'FishAudio Reference ID',
|
||||
FishAudioRefIDMessage: '请输入引用模型的ID(留空表示使用默认模型)',
|
||||
GoogleModelIDMessage: '请输入 model ID!',
|
||||
addGoogleProjectID: 'Project ID',
|
||||
|
||||
@@ -338,10 +338,10 @@ export const useRenameSearch = () => {
|
||||
setLoading(true);
|
||||
if (search?.id) {
|
||||
try {
|
||||
const reponse = await searchService.getSearchDetail({
|
||||
const response = await searchService.getSearchDetail({
|
||||
search_id: search?.id,
|
||||
});
|
||||
const detail = reponse.data?.data;
|
||||
const detail = response.data?.data;
|
||||
console.log('detail-->', detail);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
|
||||
Reference in New Issue
Block a user