Skip to content

Commit

Permalink
Add german translation
Browse files Browse the repository at this point in the history
  • Loading branch information
meonwax committed Sep 23, 2016
1 parent 7da292b commit 9c7bff5
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config-user.h.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
// uncomment one of these sets for your specific LCD

// #define LCD_USE_1602_LCD_MODULE
// #define LCD_I2C_ADDR 0x27 // I2C address for the LCD
// #define LCD_I2C_ADDR 0x27 // I2C address for the LCD

// #define LCD_USE_SSD1306_OLED_MODULE
// #define LCD_I2C_ADDR 0x3C // I2C address for the OLED

// #define LCD_USE_SSD131X_OLED_MODULE
// #define LCD_I2C_ADDR 0x3C // I2C address for the OLED
// #define LCD_I2C_ADDR 0x3C // I2C address for the OLED

/********************************************************************************/
// Language Definitions
Expand All @@ -28,4 +28,4 @@
// #define TAPUINO_LANGUAGE_IT
// #define TAPUINO_LANGUAGE_TR
// #define TAPUINO_LANGUAGE_ES

// #define TAPUINO_LANGUAGE_DE
6 changes: 3 additions & 3 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
#error Ether no or multiple LCD types defined! Have you created your config-user.h file?
#endif

#if defined(TAPUINO_LANGUAGE_EN) + defined(TAPUINO_LANGUAGE_ES) + defined(TAPUINO_LANGUAGE_IT) + defined(TAPUINO_LANGUAGE_TR) != 1
#if defined(TAPUINO_LANGUAGE_EN) + defined(TAPUINO_LANGUAGE_ES) + defined(TAPUINO_LANGUAGE_IT) + defined(TAPUINO_LANGUAGE_TR) + defined(TAPUINO_LANGUAGE_DE) != 1
#error Either no or multiple languages defined! Have you created your config-user.h file?
#endif


#define LCD_BIT_RS 0 // Register select
#define LCD_BIT_RW 1 // Read / Write
#define LCD_BIT_RW 1 // Read / Write
#define LCD_BIT_EN 2 // Enable
#define LCD_BIT_BACKLIGHT 3 // Backlight
#define LCD_BIT_DATA0 4 // 4 bit data, bit 0
#define LCD_BIT_DATA1 5 // 4 bit data, bit 1
#define LCD_BIT_DATA1 5 // 4 bit data, bit 1
#define LCD_BIT_DATA2 6 // 4 bit data, bit 2
#define LCD_BIT_DATA3 7 // 4 bit data, bit 3
// LCD dimensions config
Expand Down
48 changes: 48 additions & 0 deletions memstrings-de.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#include <avr/pgmspace.h>
#include "config.h"
#include "memstrings.h"

#ifdef TAPUINO_LANGUAGE_DE

const char S_DEFAULT_RECORD_DIR[] PROGMEM = "/aufnahmen";
const char S_RECORDING[] PROGMEM = "Aufnahme";
const char S_SELECT_RECORD_MODE[] PROGMEM = "Aufnahmemodus:";
const char S_REC_MODE_MANUAL[] PROGMEM = "Manuell";
const char S_REC_MODE_AUTO[] PROGMEM = "Automatisch";
const char S_ENTER_FILENAME[] PROGMEM = "Dateiname:";

const char S_INIT[] PROGMEM = "Starten...";
const char S_INIT_FAILED[] PROGMEM = "Fehler";
const char S_INIT_OK[] PROGMEM = "Start OK";

const char S_NO_FILES_FOUND[] PROGMEM = "Keine Dateien";
const char S_SELECT_FILE[] PROGMEM = "Datei waehlen:";
const char S_SELECT_MODE[] PROGMEM = "Modus waehlen:";
const char S_MODE_PLAY[] PROGMEM = "Laden";
const char S_MODE_RECORD[] PROGMEM = "Aufnehmen";
const char S_READY_RECORD[] PROGMEM = "Bereit...";
const char S_PRESS_START[] PROGMEM = "Druecke START";

const char S_MODE_OPTIONS[] PROGMEM = "Optionen";
const char S_OPTION_SIGNAL[] PROGMEM = "Invertieren";
const char S_OPTION_KEY_REPEAT[] PROGMEM = "Tastenwiederhlng";
const char S_OPTION_TICKER_SPEED[] PROGMEM = "Ticker-Geschw.";
const char S_OPTION_TICKER_HOLD[] PROGMEM = "Ticker-Pause";
const char S_OPTION_REC_FINALIZE[] PROGMEM = "Finalisieren";
const char S_OPTION_REC_AUTO_FINALIZE[] PROGMEM = "Automatisch fin.";

const char S_MKDIR_FAILED[] PROGMEM = "MKDIR Fehler";
const char S_CHDIR_FAILED[] PROGMEM = "CHDIR Fehler";
const char S_READ_FAILED[] PROGMEM = "READ Fehler";
const char S_OPEN_FAILED[] PROGMEM = "OPEN Fehler";
const char S_INVALID_TAP[] PROGMEM = "Ungueltiges TAP";
const char S_INVALID_SIZE[] PROGMEM = "Falsche Groesse";

const char S_LOADING[] PROGMEM = "Laden...";
const char S_OPERATION_COMPLETE[] PROGMEM = "Vollstaendig";
const char S_OPERATION_ABORTED[] PROGMEM = "Abbruch...";

const char S_OPTION_MACHINE_TYPE[] PROGMEM = "Computer-Typ";
const char S_OPTION_VIDEO_MODE[] PROGMEM = "Video-Standard";

#endif

0 comments on commit 9c7bff5

Please sign in to comment.