1
0
forked from me/IronOS

Translation note

This commit is contained in:
Ben V. Brown
2017-10-07 11:58:19 +11:00
parent 64dbd7d32e
commit ee9029703b
2 changed files with 6 additions and 1 deletions

5
Translation.md Normal file
View File

@@ -0,0 +1,5 @@
# Translation
If you would like to contribute a translation, look at the file `translation.c` in the source code.
Currently translations are compiled in at compile time with #defines (nothing complex).
So all you need to do is add another section formatted like the english one that is there and either create a pull request or a github issue for inclusion.
If the glyphs required already exist in the fonts then support should be quick. Otherwise it may take longer for the fonts to be created.

View File

@@ -672,7 +672,7 @@ void startGUITask(void const * argument) {
lcd.clearScreen(); //Ensure the buffer starts clean
lcd.setCursor(0, 0); //Position the cursor at the 0,0 (top left)
lcd.setFont(1); //small font
lcd.print((char*) "V2.00"); //Print version number
lcd.print((char*) "V2.00a4"); //Print version number
lcd.setCursor(0, 8); //second line
lcd.print(__DATE__); //print the compile date
lcd.refresh();