openPilotLog
ATranslator Class Reference

The ATranslator class is responsible for managing the QTranslator used for providing localisations. Translations are planned, but are not currently being worked on. The way QT language tools are working with CMAKE, there are some considerations for when works on translation actually start. See here and here. Long story short, make sure to use a version of CMake that is 3.16 or earlier, or 3.19.2 or later. More...

#include <atranslator.h>

Inheritance diagram for ATranslator:

Static Public Member Functions

static void installTranslator (Opl::Translations language=Opl::Translations::English)
 Installs a QTranslator with the selected language. Defaults to English. Call this function before constructing the Main Window.
 

Detailed Description

The ATranslator class is responsible for managing the QTranslator used for providing localisations. Translations are planned, but are not currently being worked on. The way QT language tools are working with CMAKE, there are some considerations for when works on translation actually start. See here and here. Long story short, make sure to use a version of CMake that is 3.16 or earlier, or 3.19.2 or later.


The documentation for this class was generated from the following files: