QcTexturePackProblem Struct
One problem found while loading a texture pack: the file it concerns (relative to the pack, "" for the pack itself) and a message. More...
| Header: | #include <clientcore/texturepacks/QcTexturePackProblem.h> |
Public Functions
| QString | englishText() const |
| QString | text() const |
Related Non-Members
Detailed Description
The message is an English source text with %1… placeholders, marked for translation in the context "QcTexturePack"; text() translates it for the player.
Member Function Documentation
QString QcTexturePackProblem::englishText() const
Returns the message in English with the arguments filled in (logs, tests).
QString QcTexturePackProblem::text() const
Returns the message in the UI language with the arguments filled in, prefixed by the file.
Related Non-Members
[alias] QcTexturePackProblems
Problems of a texture pack, in the order they were found.