You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
This commit is contained in:
@@ -1933,20 +1933,21 @@ const builtInMetadata = (Setting: typeof SettingType) => {
|
||||
section: 'note',
|
||||
},
|
||||
|
||||
// Deprecated and currently unused. For now, the mobile app only supports the Whisper voice typing provider.
|
||||
'voiceTyping.preferredProvider': {
|
||||
value: 'whisper-tiny',
|
||||
type: SettingItemType.String,
|
||||
public: true,
|
||||
public: false,
|
||||
appTypes: [AppType.Mobile],
|
||||
label: () => _('Preferred voice typing provider'),
|
||||
label: () => 'Preferred voice typing provider',
|
||||
isEnum: true,
|
||||
show: showVoiceTypingSettings,
|
||||
section: 'note',
|
||||
|
||||
options: () => {
|
||||
return {
|
||||
'vosk': _('Vosk'),
|
||||
'whisper-tiny': _('Whisper'),
|
||||
'vosk': 'Vosk', // No longer supported
|
||||
'whisper-tiny': 'Whisper',
|
||||
};
|
||||
},
|
||||
},
|
||||
@@ -1958,7 +1959,7 @@ const builtInMetadata = (Setting: typeof SettingType) => {
|
||||
appTypes: [AppType.Mobile],
|
||||
label: () => _('Voice typing: Glossary'),
|
||||
description: () => _('A comma-separated list of words. May be used for uncommon words, to help voice typing spell them correctly.'),
|
||||
show: (settings) => showVoiceTypingSettings() && settings['voiceTyping.preferredProvider'].startsWith('whisper'),
|
||||
show: () => showVoiceTypingSettings(),
|
||||
section: 'note',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user