add instruments i18n
This commit is contained in:
parent
e687cf02bb
commit
93e8660d69
@ -282,5 +282,18 @@
|
||||
"Play": "再生",
|
||||
"New Track": "新規トラック",
|
||||
"Select a track to preview the content": "トラックを選択して内容をプレビュー",
|
||||
"Save to generation area": "生成エリアに保存"
|
||||
"Save to generation area": "生成エリアに保存",
|
||||
"Piano": "ピアノ",
|
||||
"Percussion": "パーカッション",
|
||||
"Drum": "ドラム",
|
||||
"Tuba": "チューバ",
|
||||
"Marimba": "マリンバ",
|
||||
"Bass": "ベース",
|
||||
"Guitar": "ギター",
|
||||
"Violin": "バイオリン",
|
||||
"Trumpet": "トランペット",
|
||||
"Sax": "サックス",
|
||||
"Flute": "フルート",
|
||||
"Lead": "リード",
|
||||
"Pad": "パッド"
|
||||
}
|
@ -282,5 +282,18 @@
|
||||
"Play": "播放",
|
||||
"New Track": "新建音轨",
|
||||
"Select a track to preview the content": "选择一个音轨以预览内容",
|
||||
"Save to generation area": "保存到生成区"
|
||||
"Save to generation area": "保存到生成区",
|
||||
"Piano": "钢琴",
|
||||
"Percussion": "打击乐",
|
||||
"Drum": "鼓",
|
||||
"Tuba": "大号",
|
||||
"Marimba": "马林巴",
|
||||
"Bass": "贝斯",
|
||||
"Guitar": "吉他",
|
||||
"Violin": "小提琴",
|
||||
"Trumpet": "小号",
|
||||
"Sax": "萨克斯",
|
||||
"Flute": "长笛",
|
||||
"Lead": "主音",
|
||||
"Pad": "和音"
|
||||
}
|
@ -29,6 +29,7 @@ import { toast } from 'react-toastify';
|
||||
import { ToastOptions } from 'react-toastify/dist/types';
|
||||
import { flushMidiRecordingContent, refreshTracksTotalTime } from '../../utils';
|
||||
import { PlayNote } from '../../../wailsjs/go/backend_golang/App';
|
||||
import { t } from 'i18next';
|
||||
|
||||
const snapValue = 25;
|
||||
const minimalMoveTime = 8; // 1000/125=8ms wait_events=125
|
||||
@ -63,7 +64,7 @@ const displayCurrentInstrumentType = () => {
|
||||
className={commonStore.instrumentType === i ? 'text-blue-600' : ''}
|
||||
weight={commonStore.instrumentType === i ? 'bold' : 'regular'}
|
||||
size={commonStore.instrumentType === i ? 300 : 100}
|
||||
>{name}</Text>)}
|
||||
>{t(name)}</Text>)}
|
||||
</div>;
|
||||
const options: ToastOptions = {
|
||||
type: 'default',
|
||||
|
Loading…
Reference in New Issue
Block a user