While it lives, Tr and TrLabel look in package's own table first, so text a package's class shows (its component, property and enum names) reads as that package translates it even when the editor or another package translates the same English word differently: deki-fsm's "Add" (an arithmetic operation) is not the editor's "Add" button.
More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/Localization.h>
While it lives, Tr and TrLabel look in package's own table first, so text a package's class shows (its component, property and enum names) reads as that package translates it even when the editor or another package translates the same English word differently: deki-fsm's "Add" (an arithmetic operation) is not the editor's "Add" button.
Draw each component or node inside one, with Deki::ComponentMeta::package or DekiNodeMeta::package. nullptr or "" means the shared table only. Scopes nest.
◆ ScopedPackage() [1/2]
| DekiEditor::Localization::ScopedPackage::ScopedPackage |
( |
const char * | package | ) |
|
|
explicit |
◆ ~ScopedPackage()
| DekiEditor::Localization::ScopedPackage::~ScopedPackage |
( |
| ) |
|
◆ ScopedPackage() [2/2]
| DekiEditor::Localization::ScopedPackage::ScopedPackage |
( |
const ScopedPackage & | | ) |
|
|
delete |
◆ operator=()
The documentation for this class was generated from the following file: