Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLI18N.h File Reference
#include "vtkMRML.h"
#include <vtkObject.h>
Include dependency graph for vtkMRMLI18N.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkMRMLI18N
 Class that provide internationalization (i18n) features, such as language translation or region-specific units and date formatting. More...
 
class  vtkMRMLI18NInitialize
 Utility class to make sure qSlicerModuleManager is initialized before it is used. More...
 

Macros

#define vtkMRMLTr(context, sourceText)
 Translation function used in MRML classes.
 

Variables

static vtkMRMLI18NInitialize vtkMRMLI18NInitializer
 

Macro Definition Documentation

◆ vtkMRMLTr

#define vtkMRMLTr ( context,
sourceText )
Value:
vtkMRMLI18N::Translate(context, sourceText)
static std::string Translate(const char *context, const char *sourceText, const char *disambiguation=nullptr, int n=-1)
Translate message with the current translator.

Translation function used in MRML classes.

Definition at line 121 of file vtkMRMLI18N.h.

Variable Documentation

◆ vtkMRMLI18NInitializer

vtkMRMLI18NInitialize vtkMRMLI18NInitializer
static

This instance will show up in any translation unit that uses vtkMRMLI18N. It will make sure vtkMRMLI18N is initialized before it is used.

Definition at line 118 of file vtkMRMLI18N.h.