Skip to content

Translator Preview v1.0.1

Latest

Choose a tag to compare

Changelog

  • Added Translator Preview, a compact alternative to KOReader’s default translator popup.
  • Added support for two preview layouts:
    • Bottom panel;
    • Floating preview card.
  • Added a cleaner translation header showing the language pair, for example: English → Portuguese ▾.
  • Made the language pair header clickable, allowing the target language to be changed directly from the preview.
  • Added a fixed separator between the language header and the translated text, keeping the header visually separated even when the translation text is scrolled.
  • Improved spacing between translated text and action buttons to avoid cutting descenders in letters such as g, p, q and ç.
  • Reduced header and button typography for a more compact visual style.
  • Added action buttons for:
    • Copying the translated text;
    • Saving the translation as a note when used from a highlight;
    • Opening KOReader’s original detailed translator view.
  • Replaced the verbose details button with a compact ••• action.
  • Added a Buttons submenu in the plugin settings to group button-related options.
  • Added settings for:
    • Enabling/disabling the preview;
    • Enabling floating preview mode;
    • Showing/hiding source text;
    • Showing/hiding the copy button;
    • Showing/hiding the note button.
  • Added a version entry in the settings menu.
  • Included internal cleanup and small performance improvements around popup handling, layout calculation, and translation result processing.

Documentation

translatorpreview.koplugin.md

Assets

  • translatorpreview.koplugin-v1.0.1.zip