Skip to content

Conversation

@pjkaufman
Copy link
Collaborator

@pjkaufman pjkaufman commented Jun 11, 2025

Fixes #1331

window.localStorage.getItem('language') used to include the current language for Obsidian. However it no longer does. So to fix this we will use the getLanguage function that was added for Obsidian 1.8.7. It should no longer getting the warning anymore.

Changes Made:

  • Swap from using local storage value to the exposed getLanguage API function
  • Added a newer version of the obsidian API typings

@pjkaufman pjkaufman self-assigned this Jun 11, 2025
@pjkaufman pjkaufman added bug Something isn't working obsidian Obsidian specific syntax issue or feature labels Jun 11, 2025
@pjkaufman pjkaufman merged commit 34d5c2c into platers:master Jun 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working obsidian Obsidian specific syntax issue or feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: warning in Obsidian console: "[Obsidian Linter] locale not found for 'null'"

1 participant