Skip to content

1.1.0

Compare
Choose a tag to compare
@boxblinkracer boxblinkracer released this 14 Jan 08:52
· 505 commits to main since this release

Added

  • Add new config.xsd for configuration file to use autocompletion in IDEs and editors. Use either from the composer dependency vendor/boxblinkracer/phpunuhi/config.xsd or online https://raw.githubusercontent.com/boxblinkracer/phpunuhi/main/config.xsd
  • Add new "PHP" Storage for array based translations
  • Add coverage result of all sets (total) to status command.
  • OpenAI Translator and other translators now throw exceptions if no API key was set

Changed

  • Rename command "fix" to "fix:structure"
  • Update TranslatorInterface for a better dynamic registration approach. Also options can now be dynamically registered for different CLI commands.
  • Import and Export interfaces for Exchange formats are now combined as ExchangeFormat. The interface is now also designed to allow dynamic CLI commands and dynamic registration + lookup.

Fixed

  • Include referenced translation file from configuration in error message when translation file is not found