Browse Source

Improve new charset featur.

Select DOGM-displays automaticly.
Give hint where to find charsets.
Add '²' and '³' characters.
pull/1/head
AnHardt 10 years ago
parent
commit
8dce5a6644
  1. 36
      Marlin/language.h

36
Marlin/language.h

@ -161,25 +161,19 @@
// LCD Menu Messages // LCD Menu Messages
#define STR_Ae "Ae" // No charset known now. Default will be overruled when we know. // Add your own character. Reference: https://github.com/MarlinFirmware/Marlin/pull/1434 photos
#define STR_ae "ae" // and https://www.sparkfun.com/datasheets/LCD/HD44780.pdf page 17-18
#define STR_Oe "Oe" #ifdef DOGLCD
#define STR_oe "oe" #define STR_Ae "\304" // 'Ä' U8glib
#define STR_Ue "Ue" #define STR_ae "\344" // 'ä'
#define STR_ue "ue" #define STR_Oe "\326" // 'Ö'
#define STR_sz "ss" #define STR_oe STR_Oe // 'ö'
#define STR_Deg "" #define STR_Ue "\334" // 'Ü'
#define STR_THERMOMETER "\302" #define STR_ue STR_Ue // 'ü'
#define STR_sz "\337" // 'ß'
#ifdef DISPLAY_CHARSET_DOGM #define STR_h2 "\262" // '²'
#define STR_Ae "\304" // U8glib #define STR_h3 "\263" // '³'
#define STR_ae "\344" #define STR_Deg "\260" // '°'
#define STR_Oe "\326"
#define STR_oe STR_Oe
#define STR_Ue "\334"
#define STR_ue STR_Ue
#define STR_sz "\337"
#define STR_Deg "\260"
#define STR_THERMOMETER "\377" #define STR_THERMOMETER "\377"
#endif #endif
#ifdef DISPLAY_CHARSET_HD44870_JAPAN // HD44870 ROM Code: A00 (Japan) #ifdef DISPLAY_CHARSET_HD44870_JAPAN // HD44870 ROM Code: A00 (Japan)
@ -190,6 +184,8 @@
#define STR_ue "\365" #define STR_ue "\365"
#define STR_Ue STR_ue #define STR_Ue STR_ue
#define STR_sz "\342" #define STR_sz "\342"
#define STR_h2 "2"
#define STR_h3 "3"
#define STR_Deg "\271" #define STR_Deg "\271"
#define STR_THERMOMETER "\302" #define STR_THERMOMETER "\302"
#endif #endif
@ -201,6 +197,8 @@
#define STR_Ue "\212" #define STR_Ue "\212"
#define STR_ue "\201" #define STR_ue "\201"
#define STR_sz "\160" #define STR_sz "\160"
#define STR_h2 "\262"
#define STR_h3 "\263"
#define STR_Deg "\337" #define STR_Deg "\337"
#define STR_THERMOMETER "\302" #define STR_THERMOMETER "\302"
#endif #endif

Loading…
Cancel
Save