Skip to content

Commit

Permalink
fix: 物品制作类别翻译p3
Browse files Browse the repository at this point in the history
  • Loading branch information
waveyl committed Sep 2, 2024
1 parent 2d574b3 commit a632408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 翻译.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ ${wikiSiteBase}${getContext(sourceModName, fullItem, index).replace('%', '%25')}
// "CSC_SECRONOM_FLESH ALTERATION"
const categoryTrans = await category(categoryName);
const prefix = categoryTrans.replace('CC_', 'CSC_') + '_'; //CSC_谁的手记_
const realCategoryName = subCategoryName.replace(prefix, '');//voiceroid
const realCategoryName = subCategoryName.replace(categoryName + '_', '');//voiceroid
const translated = await translateFunction(realCategoryName);
return prefix + translated;
};
Expand Down

0 comments on commit a632408

Please sign in to comment.