Skip to content

Commit

Permalink
fix: i18n忘れ
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed May 27, 2024
1 parent ef77987 commit 53aca68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/ui/deck/tl-note-notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ export async function soundSettingsButton(soundSetting: Ref<SoundStore>): Promis
}
}

const { canceled, result } = await os.form('通知設定', {
const { canceled, result } = await os.form(i18n.ts.sound, {
type: {
type: 'enum',
label: '通知音',
label: i18n.ts.sound,
default: soundSetting.value.type ?? 'none',
enum: soundsTypes.map(f => ({
value: f ?? 'none', label: getSoundTypeName(f),
})),
},
soundFile: {
type: 'drive-file',
label: 'ファイル',
label: i18n.ts.file,
defaultFileId: soundSetting.value.type === '_driveFile_' ? soundSetting.value.fileId : null,
hidden: v => v.type !== '_driveFile_',
validate: async (file: Misskey.entities.DriveFile) => {
Expand Down

0 comments on commit 53aca68

Please sign in to comment.