Skip to content

1.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 14:28

1.4.0

I heavily recommend reading the documentation for some explanations of the new features.

Features

General

  • Updated style to 1.0.0 and massively improved mobile styling
  • New Setting Tabs
    • Appearance Settings:
      • Set default appearance of Translator View
      • Disable animations & obfuscate API keys settings
    • Functionality Settings:
      • Set action for switch button
      • Default source/target languages (implements #32)
      • Glossary settings
    • Hotkeys Settings:
      • Set hotkeys for plugin-specific actions
    • Glossary Settings
      • Manage Glossary and sync it to services

Glossary

  • Add custom translation for terminology in Glossary settings
  • Ability to sync glossaries with services (only DeepL is supported right now)
  • Quick-add entry to glossary by right-clicking a selection and selecting Add to glossary action

Translation View

  • View is now completely customizable via Appearance Settings modal (activate Show tab title bar in Obsidian's Appearance settings to view button to open this modal)
    • Rearrange, add or remove quick settings (it is possible to completely remove the top bar)
    • Add or remove quick actions
    • Set layout
    • Hide/show attribution
  • Change functionality of View via the Functionality Settings modal
    • Set service
    • Set automatic translation on/off
    • Set apply glossary on/off
    • Set filter mode
  • Added quick actions (copy, paste, cut) (implements #31)
  • Added quick setting (apply glossary)

UIX

  • Improvements to translating via context menu
    • You can now click the Translate button, which will translate selection to the default target language you've set (change language in Functionality)
  • Quickly hide or set service as default by right-clicking their icon in the settings
  • Added shortcut hints for actions as tooltips (implements #30)
    • Disable in Appearance settings

Translation Service

  • DeepL: added Ukrainian language
  • Google Translate: added 25 new languages

Changes

  • Vault settings are now fully independent from other vaults
  • Ability to filter services from settings and commands via the Services selection setting
  • Improved descriptors for settings
  • Updated Tutorial and README to better match current state of plugin

Fixes

  • Many, many, many bug fixes.
  • Removed spolling mistaeks

Developers

  • Added tests for API handlers for validating that the services still work properly (testing validate(), translate(), languages(), detect()) (implements #25)
  • Refactored Settings page to improve extensibility
  • Renamed Bing Translator to Azure Translator to comply with attribution requirements
  • All handlers are now shared globally, and stored in reactivity inside active_services
  • Now easier to integrate with 3rd party plugins
  • Added two README's to explain workings of code and structure (/src/ and /src/handlers/)
  • Removed most !importants and made CSS overridable