root/lib/lang/lang_str.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. gui_lang_init

   1 #include "camera_info.h"
   2 #include "conf.h"
   3 #include "lang.h"
   4 #include "gui_lang.h"
   5 #include "platform.h"
   6 
   7 //-------------------------------------------------------------------
   8 // String list now is generated automatically from .lng files
   9 // Please add new lines directly to english.lng and please try to keep ids serial
  10 #include "lang_str.h"
  11 
  12 //-------------------------------------------------------------------
  13 void gui_lang_init() {
  14     // this function do init and then map preparsed
  15     lang_map_preparsed_from_mem( gui_lang_default, GUI_LANG_ITEMS );
  16 
  17     if (conf.lang_file && *conf.lang_file) {
  18         lang_load_from_file(conf.lang_file);
  19     }
  20 }
  21 
  22 //-------------------------------------------------------------------

/* [<][>][^][v][top][bottom][index][help] */