Skip to content

Releases: mclemente/fvtt-module-polyglot

2.3.13

25 Oct 22:59
Compare
Choose a tag to compare
  • PF2e: Fixed removed languages showing on the language selector due to Ancestries and Rule Elements adding them back (#330 and foundryvtt/pf2e#10911).

From 2.3.12

  • WFRP4E: Fixed the Queekish language not using the Skaven font (#331).

From 2.3.11

  • Fixed error thrown when players set an invalid default language.
  • Fixed messages with inline rolls (e.g. [[/r 1d6]]) being translated into gigantic messages.

2.3.12

25 Oct 20:24
Compare
Choose a tag to compare
  • WFRP4E: Fixed the Queekish language not using the Skaven font (#331).

From 2.3.11

  • Fixed error thrown when players set an invalid default language.
  • Fixed messages with inline rolls (e.g. [[/r 1d6]]) being translated into gigantic messages.

2.3.11

24 Oct 18:35
Compare
Choose a tag to compare
  • Fixed error thrown when players set an invalid default language.
  • Fixed messages with inline rolls (e.g. [[/r 1d6]]) being translated into gigantic messages.

2.3.10

21 Oct 21:24
Compare
Choose a tag to compare
  • Fixed module failing to load on systems that use the Select2 v4.0.13 library

2.3.8

15 Oct 05:27
2966962
Compare
Choose a tag to compare
  • Removed "button" CSS class from the Globe icon to improve compatibility with CSS styling modules (@Dorako).
  • Updated French and Polish localization.

From 2.3.7

  • Speakers of the Omniglot/Omnispeech/Omniscient languages are now taken into account when setting pips on the language selector.
    • This is an upgrade from 2.3.6 where only the Omniglot language was taken into account.

From 2.3.6

  • Fixed an issue where chat messages weren't properly updated based on the previously selected token (#235).
  • Added a blue color for the Globe icon for languages that are understood but aren't properly known by the reader.
    • Previously the translation was shown but the globe was red.
    • It still won't show the language's name.
  • Speakers of the Omniglot language now are taken into account when setting pips on the language selector.
  • Changed the Custom Languages setting's input to a Text Area to make it better to write long lines.
  • Updated the description of the Omniglot, Omniscient and Omnispeech settings.
  • Added a libWrapper shim and removed the module requirement.

2.3.7

13 Oct 23:23
Compare
Choose a tag to compare
  • Speakers of the Omniglot/Omnispeech/Omniscient languages are now taken into account when setting pips on the language selector.
    • This is an upgrade from 2.3.6 where only the Omniglot language was taken into account.

From 2.3.6

  • Fixed an issue where chat messages weren't properly updated based on the previously selected token (#235).
  • Added a blue color for the Globe icon for languages that are understood but aren't properly known by the reader.
    • Previously the translation was shown but the globe was red.
    • It still won't show the language's name.
  • Speakers of the Omniglot language now are taken into account when setting pips on the language selector.
  • Changed the Custom Languages setting's input to a Text Area to make it better to write long lines.
  • Updated the description of the Omniglot, Omniscient and Omnispeech settings.
  • Added a libWrapper shim and removed the module requirement.

2.3.6

13 Oct 04:43
Compare
Choose a tag to compare
  • Fixed an issue where chat messages weren't properly updated based on the previously selected token (#235).
  • Added a blue color for the Globe icon for languages that are understood but aren't properly known by the reader.
    • Previously the translation was shown but the globe was red.
    • It still won't show the language's name.
  • Speakers of the Omniglot language now are taken into account when setting pips on the language selector.
  • Changed the Custom Languages setting's input to a Text Area to make it better to write long lines.
  • Updated the description of the Omniglot, Omniscient and Omnispeech settings.
  • Added a libWrapper shim and removed the module requirement.

2.3.5

11 Oct 06:50
Compare
Choose a tag to compare
  • The language selector's speaker pip now also displays a user's owned actors between parens (#323).
    • The pips now wrap instead of just jumping below the label if there were too many pips.
  • Under the hood: Removed a wrapper of JournalTextPageSheet.prototype.activateEditor.

2.3.4

05 Oct 17:47
Compare
Choose a tag to compare
  • Fixed the Scramble OOC Chat Messages setting presenting an empty selector.
  • D&D5e and PF2e: Fixed missing string for Target Group/Party setting's hint.

From 2.3.2

  • D&D5e and PF2e: Added a Targeted Group/Party setting for both systems to help filter users in worlds with 10+ users (#321).
    • If you are using another system that has a similar group actor, let me know.
  • Fixed messages sent by chat commands from modules like Cautious Gamemaster's Pack and Narrator Tools being affected by the module (e.g. /desc, /narrate, etc) (#305).
  • Fixed the selector not changing its default value to the set Default Language (#320).
  • Fixed the Default Language setting showing up on the both the Game Settings and Polyglot's General Settings window.

From 2.3

  • Added Select2.
    • The Language Selector now shows a language's speakers inside the box and in the dropdown menu.
    • It comes with a search bar.
  • API: Changed the way the default provider is set to guarantee that a registered provider (system > module) is the default.

Styling

Since this introduces a whole new CSS styling, here's some new styles to target:

Selector

  • Selector: .polyglot-lang-select span.select2-selection
  • Selector's margin: .polyglot-lang-select > span.select2-container
  • Selector's line-height or color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__rendered
  • Selector's arrow color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__arrow b

Dropdown

  • Dropdown's color: .select2-dropdown.polyglot-language
  • Dropdown's selected color: .select2-dropdown.polyglot-language .select2-results__option--selected
  • Dropdown's highlighted color: .select2-dropdown.polyglot-language .select2-results__option.select2-results__option--highlighted

2.3.2

03 Oct 19:52
Compare
Choose a tag to compare
  • D&D5e and PF2e: Added a Targeted Group/Party setting for both systems to help filter users in worlds with 10+ users (#321).
    • If you are using another system that has a similar group actor, let me know.
  • Fixed messages sent by chat commands from modules like Cautious Gamemaster's Pack and Narrator Tools being affected by the module (e.g. /desc, /narrate, etc) (#305).
  • Fixed the selector not changing its default value to the set Default Language (#320).
  • Fixed the Default Language setting showing up on the both the Game Settings and Polyglot's General Settings window.

From 2.3

  • Added Select2.
    • The Language Selector now shows a language's speakers inside the box and in the dropdown menu.
    • It comes with a search bar.
  • API: Changed the way the default provider is set to guarantee that a registered provider (system > module) is the default.

Styling

Since this introduces a whole new CSS styling, here's some new styles to target:

Selector

  • Selector: .polyglot-lang-select span.select2-selection
  • Selector's margin: .polyglot-lang-select > span.select2-container
  • Selector's line-height or color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__rendered
  • Selector's arrow color: .polyglot-lang-select .select2-container--default .select2-selection--single .select2-selection__arrow b

Dropdown

  • Dropdown's color: .select2-dropdown.polyglot-language
  • Dropdown's selected color: .select2-dropdown.polyglot-language .select2-results__option--selected
  • Dropdown's highlighted color: .select2-dropdown.polyglot-language .select2-results__option.select2-results__option--highlighted