motion  4.3.0
About: Motion monitors the video signal from one or more cameras and is able to detect motion.
  Fossies Dox: motion-Release-4.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

translate.c File Reference
#include <locale.h>
#include "motion.h"
#include "translate.h"
Include dependency graph for translate.c:

Go to the source code of this file.

Functions

void translate_locale_chg (const char *langcd)
 
void translate_init (void)
 
char * translate_text (const char *msgid)
 

Function Documentation

◆ translate_init()

void translate_init ( void  )

Definition at line 29 of file translate.c.

References _, MOTION_LOG, nls_enabled, NO_ERRNO, NTC, translate_locale_chg(), and TYPE_ALL.

Referenced by main().

◆ translate_locale_chg()

void translate_locale_chg ( const char *  langcd)

Definition at line 13 of file translate.c.

References MOTION_LOG, NO_ERRNO, NTC, and TYPE_ALL.

Referenced by translate_init().

◆ translate_text()

char* translate_text ( const char *  msgid)

Definition at line 54 of file translate.c.

References nls_enabled.