Prusa MINI Firmware overview
multi_language.h File Reference

Go to the source code of this file.

Macros

#define NUM_LANGUAGES   1
 
#define LCD_LANGUAGE_2   LCD_LANGUAGE
 
#define LCD_LANGUAGE_3   LCD_LANGUAGE_2
 
#define LCD_LANGUAGE_4   LCD_LANGUAGE_3
 
#define LCD_LANGUAGE_5   LCD_LANGUAGE_4
 
#define _GET_LANG(LANG)   Language_##LANG
 
#define GET_LANG(LANG)   _GET_LANG(LANG)
 
#define GET_TEXT(MSG)   GET_LANG(LCD_LANGUAGE)::MSG
 
#define MAX_LANG_CHARSIZE   GET_LANG(LCD_LANGUAGE)::CHARSIZE
 
#define GET_TEXT_F(MSG)   (const __FlashStringHelper*)GET_TEXT(MSG)
 
#define MSG_CONCAT(A, B)   pgm_p_pair_t(GET_TEXT(A),GET_TEXT(B))
 

Variables

const typedef char Language_Str []
 

Macro Definition Documentation

◆ NUM_LANGUAGES

#define NUM_LANGUAGES   1

◆ LCD_LANGUAGE_2

#define LCD_LANGUAGE_2   LCD_LANGUAGE

◆ LCD_LANGUAGE_3

#define LCD_LANGUAGE_3   LCD_LANGUAGE_2

◆ LCD_LANGUAGE_4

#define LCD_LANGUAGE_4   LCD_LANGUAGE_3

◆ LCD_LANGUAGE_5

#define LCD_LANGUAGE_5   LCD_LANGUAGE_4

◆ _GET_LANG

#define _GET_LANG (   LANG)    Language_##LANG

◆ GET_LANG

#define GET_LANG (   LANG)    _GET_LANG(LANG)

◆ GET_TEXT

#define GET_TEXT (   MSG)    GET_LANG(LCD_LANGUAGE)::MSG

◆ MAX_LANG_CHARSIZE

#define MAX_LANG_CHARSIZE   GET_LANG(LCD_LANGUAGE)::CHARSIZE

◆ GET_TEXT_F

#define GET_TEXT_F (   MSG)    (const __FlashStringHelper*)GET_TEXT(MSG)

◆ MSG_CONCAT

#define MSG_CONCAT (   A,
 
)    pgm_p_pair_t(GET_TEXT(A),GET_TEXT(B))

Variable Documentation

◆ Language_Str

const typedef char Language_Str[]