From OpenSCADAWiki
Templates:
- _(mess); trS(mess) — Wrappers over the translation of the messages function for the provision of the accepted by the most of the programs translation of the messages. trS() also provides the prestoring, when the base message stored together the catalogue, that is "{base}\000{cat}" and what is translated really in second call inward the translation context or _().
- trD(base) — Wrapper over the text variables dynamic translation using the translation context to the function translGet().
- trD_L(base,lng); trD_U(base,usr); trD_LU(base,lng,usr) — Wrappers over the text variables dynamic translation functions by language and user.
- trDSet(base,mess) — Wrapper over the text variables dynamic translation set using the translation context to the function translSet().
- trDSet_L(base,lng,mess); trDSet_U(base,usr,mess); trDSet_LU(base,lng,usr,mess) — Wrapper over the text variables dynamic translation set functions by language and user.
- FTM(rec); FTM2(tm, utm) — Get a full time of the message, in microseconds, using the two fields of time of the message structure.
- mess_lev() — The system's messages level. Often used for debug mode check (=Debug).
- message( cat, lev, fmt, args ... ) — Formation of the the full message.
- mess_debug( cat, fmt, args ... ) — Formation of the debug message.
- mess_info( cat, fmt, args ... ) — Formation of the information message.
- mess_note( cat, fmt, args ... ) — Formations of the message - notification.
- mess_warning( cat, fmt, args ... ) — Formation of the warning message.
- mess_err( cat, fmt, args ... ) — Formation of the error message.
- mess_crit( cat, fmt, args ... ) — Formation of the critical condition message.
- mess_alert( cat, fmt, args ... ) — Formation of the alarm message.
- mess_emerg( cat, fmt, args ... ) — Formation of the emergency message.
- message_( cat, lev, fmt, args ... ) — Formation of the the full message (selected level and debug categories are ignored).
- mess_debug_( cat, fmt, args ... ) — Formation of the debug message (selected level and debug categories are ignored).
- mess_info_( cat, fmt, args ... ) — Formation of the information message (selected level is ignored).
- mess_note_( cat, fmt, args ... ) — Formations of the message - notification (selected level is ignored).
- mess_warning_( cat, fmt, args ... ) — Formation of the warning message (selected level is ignored).
- mess_err_( cat, fmt, args ... ) — Formation of the error message (selected level is ignored).
- mess_crit_( cat, fmt, args ... ) — Formation of the critical condition message (selected level is ignored).
- mess_alert_( cat, fmt, args ... ) — Formation of the alarm message (selected level is ignored).
- mess_emerg_( cat, fmt, args ... ) — Formation of the emergency message (selected level is ignored).