Skip to content

Commit

Permalink
fix: update settings desc
Browse files Browse the repository at this point in the history
  • Loading branch information
nikdanilov committed Jun 18, 2023
1 parent c340b22 commit 7b65bfc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/WhisperSettingsTab.ts
Expand Up @@ -119,7 +119,7 @@ export class WhisperSettingsTab extends PluginSettingTab {

private createSaveAudioFileToggleSetting(): void {
new Setting(this.containerEl)
.setName("Keep recording")
.setName("Save recording")
.setDesc(
"Turn on to save the audio file after sending it to the Whisper API"
)
Expand All @@ -141,13 +141,13 @@ export class WhisperSettingsTab extends PluginSettingTab {

private createSaveAudioFilePathSetting(): void {
this.saveAudioFileInput = new Setting(this.containerEl)
.setName("Keep recording file path")
.setName("Recordings folder")
.setDesc(
"Specify the path in the vault where to save the audio files"
)
.addText((text) =>
text
.setPlaceholder("Example: folder/subfolder")
.setPlaceholder("Example: folder/audio")
.setValue(this.plugin.settings.saveAudioFilePath)
.onChange(async (value) => {
this.plugin.settings.saveAudioFilePath = value;
Expand All @@ -161,7 +161,7 @@ export class WhisperSettingsTab extends PluginSettingTab {

private createNewFileToggleSetting(): void {
new Setting(this.containerEl)
.setName("Create a new file after recording")
.setName("Save transcription")
.setDesc(
"Turn on to create a new file for each recording, or leave off to add transcriptions at your cursor"
)
Expand All @@ -185,8 +185,10 @@ export class WhisperSettingsTab extends PluginSettingTab {

private createNewFilePathSetting(): void {
this.createNewFileInput = new Setting(this.containerEl)
.setName("Template file location")
.setDesc("Choose a folder for your template file")
.setName("Transcriptions folder")
.setDesc(
"Specify the path in the vault where to save the transcriptions files"
)
.addText((text) => {
text.setPlaceholder("Example: folder/note")
.setValue(
Expand Down

0 comments on commit 7b65bfc

Please sign in to comment.