mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-28 18:32:50 +00:00
32a099dcb6
There is a third-party translation (and can happen with our own translations) that a fmt format string is ill-formed in the .ini file of the translation (this could happen even if the en.ini file was manually modified/broken by hand). This patch includes a refactor of the Strings class so we can: 1) Static check at compile-time about the number of required arguments to format a string (no need to call fmt::format() directly with arbitrary number of args) 2) If a string is not valid for the fmt library, the runtime exception is caught and the default (English) string is returned.
Here are third party libraries with necessary components for Aseprite. Some directories are git submodules, and other are just a copy of its original package.