mirror of
https://github.com/martinlegend/neogdsync.git
synced 2026-07-22 06:08:29 +00:00
Fix: sentence case violations in settings UI text (L364, L378)
- setDesc 'Google OAuth2 refresh token' → 'Refresh token for Google Drive'
- setPlaceholder '1xGNFQGB…' → 'Root folder ID'
The linter (enforceCamelCaseLower mode) flags 'OAuth2' as camelCase and
'1xGNFQGB' because the leading digit '1' matches \p{Emoji} making the
first alpha ('x') get sentence-cased to 'X'.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
05682785f8
commit
2906817f9e
1 changed files with 2 additions and 2 deletions
|
|
@ -361,7 +361,7 @@ class NeoSettingsTab extends PluginSettingTab {
|
|||
|
||||
new Setting(containerEl)
|
||||
.setName('Refresh token')
|
||||
.setDesc('Google OAuth2 refresh token')
|
||||
.setDesc('Refresh token for Google Drive')
|
||||
.addText(t => t.setPlaceholder('1//05o…').setValue(this.plugin.settings.refreshToken)
|
||||
.onChange(async v => {
|
||||
this.plugin.settings.refreshToken = v.trim();
|
||||
|
|
@ -375,7 +375,7 @@ class NeoSettingsTab extends PluginSettingTab {
|
|||
.setDesc('Google Drive folder ID that is the root of this vault. Change requires plugin reload.')
|
||||
.addText(t => {
|
||||
t.inputEl.addClass('neogdsync-monospace-input');
|
||||
t.setPlaceholder('1xGNFQGB…').setValue(this.plugin.settings.vaultRootId)
|
||||
t.setPlaceholder('Root folder ID').setValue(this.plugin.settings.vaultRootId)
|
||||
.onChange(async v => {
|
||||
this.plugin.settings.vaultRootId = v.trim();
|
||||
this.plugin.index = new PathIndex(this.plugin.app, this.plugin.drive, v.trim());
|
||||
|
|
|
|||
Loading…
Reference in a new issue