Skip to content

Commit

Permalink
fix:returnResourceUrlの説明を追加 (#2158)
Browse files Browse the repository at this point in the history
fix:returnResourceUrlの説明を追加
  • Loading branch information
Hiroshiba authored Jul 4, 2024
1 parent d2f0cbe commit a8cd541
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/components/Dialog/EngineManageDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -448,18 +448,20 @@ const getEngineTypeName = (name: string) => {
};
const getFeatureName = (name: keyof SupportedFeatures) => {
const featureNameMap: { [key in keyof SupportedFeatures]: string } = {
adjustMoraPitch: "モーラごとの音高の調整",
adjustPhonemeLength: "音素ごとの長さの調整",
adjustSpeedScale: "全体の話速の調整",
adjustPitchScale: "全体の音高の調整",
adjustIntonationScale: "全体の抑揚の調整",
adjustVolumeScale: "全体の音量の調整",
interrogativeUpspeak: "疑問文の自動調整",
synthesisMorphing: "2種類のスタイルでモーフィングした音声を合成",
sing: "歌唱音声合成",
manageLibrary: "音声ライブラリ(vvlib)の管理",
};
const featureNameMap: { [key in keyof Required<SupportedFeatures>]: string } =
{
adjustMoraPitch: "モーラごとの音高の調整",
adjustPhonemeLength: "音素ごとの長さの調整",
adjustSpeedScale: "全体の話速の調整",
adjustPitchScale: "全体の音高の調整",
adjustIntonationScale: "全体の抑揚の調整",
adjustVolumeScale: "全体の音量の調整",
interrogativeUpspeak: "疑問文の自動調整",
synthesisMorphing: "2種類のスタイルでモーフィングした音声を合成",
sing: "歌唱音声合成",
manageLibrary: "音声ライブラリのインストール・アンインストール",
returnResourceUrl: "キャラクター情報のリソースをURLで返送",
};
return featureNameMap[name];
};
Expand Down

0 comments on commit a8cd541

Please sign in to comment.