Merge pull request #779 from XPila/MK3-new_lang

Mk3 new lang
This commit is contained in:
PavelSindler 2018-05-29 16:19:34 +02:00 committed by GitHub
commit f6f0de4cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2137 additions and 8 deletions

View File

@ -3610,7 +3610,7 @@ static void lcd_crash_mode_info()
static uint32_t tim = 0;
if ((tim + 1000) < millis())
{
fputs_P(_i("Crash detection canbe turned on only inNormal mode"), lcdout);////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4
fputs_P(_i("\x1b[2JCrash detection can\x1b[1;0Hbe turned on only in\x1b[2;0HNormal mode"), lcdout);////MSG_CRASH_DET_ONLY_IN_NORMAL c=20 r=4
tim = millis();
}
if (lcd_clicked())
@ -3623,7 +3623,7 @@ static void lcd_crash_mode_info2()
static uint32_t tim = 0;
if ((tim + 1000) < millis())
{
fputs_P(_i("WARNING:Crash detectiondisabled inStealth mode"), lcdout);////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4
fputs_P(_i("\x1b[2JWARNING:\x1b[1;0HCrash detection\x1b[2;0Hdisabled in\x1b[3;0HStealth mode"), lcdout);////MSG_CRASH_DET_STEALTH_FORCE_OFF c=20 r=4
tim = millis();
}
if (lcd_clicked())
@ -5995,9 +5995,9 @@ static void lcd_control_temperature_menu()
MENU_ITEM_EDIT(int3, _T(MSG_FAN_SPEED), &fanSpeed, 0, 255);
#if defined AUTOTEMP && (TEMP_SENSOR_0 != 0)
MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &autotemp_enabled);
MENU_ITEM_EDIT(float3, _i(" MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 10);02 Min"), &autotemp_min, 0, HEATER_0_MAXTEMP - 10);////MSG_MIN c=0 r=0
MENU_ITEM_EDIT(float3, _i(" MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 10);02 Max"), &autotemp_max, 0, HEATER_0_MAXTEMP - 10);////MSG_MAX c=0 r=0
MENU_ITEM_EDIT(float32, _i(" MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);02 Fact"), &autotemp_factor, 0.0, 1.0);////MSG_FACTOR c=0 r=0
MENU_ITEM_EDIT(float3, _i(" \002 Min"), &autotemp_min, 0, HEATER_0_MAXTEMP - 10);////MSG_MIN c=0 r=0
MENU_ITEM_EDIT(float3, _i(" \002 Max"), &autotemp_max, 0, HEATER_0_MAXTEMP - 10);////MSG_MAX c=0 r=0
MENU_ITEM_EDIT(float32, _i(" \002 Fact"), &autotemp_factor, 0.0, 1.0);////MSG_FACTOR c=0 r=0
#endif
END_MENU();

View File

@ -436,7 +436,7 @@
#MSG_PRUSA3D_FORUM c=0 r=0
"forum.prusa3d.com"
"\x00"
"forum.prusa3d.com"
#MSG_SELFTEST_COOLING_FAN c=20 r=0
"Front print fan?"
@ -472,7 +472,7 @@
#MSG_PRUSA3D_HOWTO c=0 r=0
"howto.prusa3d.com"
"\x00"
"howto.prusa3d.com"
#MSG_CHANGE_EXTR c=20 r=1
"Change extruder"
@ -972,7 +972,7 @@
#MSG_PRUSA3D c=0 r=0
"prusa3d.com"
"\x00"
"prusa3d.com"
#MSG_BED_CORRECTION_REAR c=14 r=1
"Rear side [um]"

28
lang/po/lang_cz.po Normal file
View File

@ -0,0 +1,28 @@
# Translation into Czech.
#
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ultralcd.cpp:6304
msgid " [off"
msgstr ""
#: ultralcd.cpp:2362
msgid "[0;0] point offset"
msgstr ""
#: ultralcd.cpp:4213
msgid "E-correct"
msgstr ""
#: ultralcd.cpp:607
msgid "Printer disconnected"
msgstr ""
#: Marlin_main.cpp:3504
msgid "Stable ambient temperature 21-26C is needed a rigid stand is required."
msgstr ""

1120
lang/po/lang_de.po Normal file

File diff suppressed because it is too large Load Diff

324
lang/po/lang_es.po Normal file
View File

@ -0,0 +1,324 @@
# Translation into Spanish.
#
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ultralcd.cpp:6304
msgid " [off"
msgstr ""
#: ultralcd.cpp:2362
msgid "[0;0] point offset"
msgstr ""
#: ultralcd.cpp:3613
msgid "\x1b[2JCrash detection can\x1b[1;0Hbe turned on only in\x1b[2;0HNormal mode"
msgstr ""
#: ultralcd.cpp:3626
msgid "\x1b[2JWARNING:\x1b[1;0HCrash detection\x1b[2;0Hdisabled in\x1b[3;0HStealth mode"
msgstr ""
#: ultralcd.cpp:5796
msgid "AutoLoad filament"
msgstr ""
#: ultralcd.cpp:3642
msgid "Autoloading filament available only when filament sensor is turned on..."
msgstr ""
#: ultralcd.cpp:2089
msgid "Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
#: ultralcd.cpp:6999
msgid "Axis length"
msgstr ""
#: ultralcd.cpp:7001
msgid "Axis"
msgstr ""
#: ultralcd.cpp:1738
msgid "Belt status"
msgstr ""
#: messages.c:72
msgid "Blackout occurred. Recover print?"
msgstr ""
#: messages.c:28
msgid "Crash det. [on]"
msgstr ""
#: messages.c:26
msgid "Crash det. [N/A]"
msgstr ""
#: messages.c:27
msgid "Crash det. [off]"
msgstr ""
#: messages.c:25
msgid "Crash detected."
msgstr ""
#: ultralcd.cpp:1828
msgid "Date:"
msgstr ""
#: ultralcd.cpp:4213
msgid "E-correct"
msgstr ""
#: ultralcd.cpp:5835
msgid "Error - static memory has been overwritten"
msgstr ""
#: ultralcd.cpp:3656
msgid "ERROR: Filament sensor is not responding, please check connection."
msgstr ""
#: ultralcd.cpp:7236
msgid "Extruder fan:"
msgstr ""
#: ultralcd.cpp:1840
msgid "Extruder info"
msgstr ""
#: ultralcd.cpp:4178
msgid "F. autoload [on]"
msgstr ""
#: messages.c:47
msgid "F. autoload [N/A]"
msgstr ""
#: ultralcd.cpp:4181
msgid "F. autoload [off]"
msgstr ""
#: ultralcd.cpp:4189
msgid "Fans check [on]"
msgstr ""
#: ultralcd.cpp:4192
msgid "Fans check [off]"
msgstr ""
#: messages.c:49
msgid "Fil. sensor [on]"
msgstr ""
#: ultralcd.cpp:4164
msgid "Fil. sensor [N/A]"
msgstr ""
#: messages.c:48
msgid "Fil. sensor [off]"
msgstr ""
#: ultralcd.cpp:7015
msgid "Filament sensor"
msgstr ""
#: ultralcd.cpp:7245
msgid "Filament sensor:"
msgstr ""
#: ultralcd.cpp:7388
msgid "File incomplete. Continue anyway?"
msgstr ""
#: ultralcd.cpp:7007
msgid "Front/left fans"
msgstr ""
#: Marlin_main.cpp:7190
msgid "Heating disabled by safety timer."
msgstr ""
#: messages.c:85
msgid "Checking sensors "
msgstr ""
#: messages.c:93
msgid "Is steel sheet on heatbed?"
msgstr ""
#: ultralcd.cpp:2308
msgid "Left:"
msgstr ""
#: ultralcd.cpp:2335
msgid "Measured skew:"
msgstr ""
#: messages.c:91
msgid "Mode [Normal]"
msgstr ""
#: messages.c:92
msgid "Mode [Stealth]"
msgstr ""
#: messages.c:13
msgid "Mode [auto power]"
msgstr ""
#: ultralcd.cpp:1537
msgid "Nozzle FAN:"
msgstr ""
#: Marlin_main.cpp:1364
msgid "Old settings found. Default PID, Esteps etc. will be set."
msgstr ""
#: Marlin_main.cpp:6124
msgid "Please open idler and remove filament manually."
msgstr ""
#: messages.c:65
msgid "Please place steel sheet on heatbed."
msgstr ""
#: messages.c:69
msgid "Please press the knob to unload filament"
msgstr ""
#: messages.c:71
msgid "Please pull out filament immediately"
msgstr ""
#: messages.c:74
msgid "Please remove steel sheet from heatbed."
msgstr ""
#: Marlin_main.cpp:5983
msgid "Press knob to preheat nozzle and continue."
msgstr ""
#: ultralcd.cpp:1549
msgid "Print FAN: "
msgstr ""
#: ultralcd.cpp:7239
msgid "Print fan:"
msgstr ""
#: ultralcd.cpp:607
msgid "Printer disconnected"
msgstr ""
#: Marlin_main.cpp:8247
msgid "Recovering print "
msgstr ""
#: ultralcd.cpp:2309
msgid "Right:"
msgstr ""
#: ultralcd.cpp:4227
msgid "RPi port [on]"
msgstr ""
#: ultralcd.cpp:4224
msgid "RPi port [off]"
msgstr ""
#: Marlin_main.cpp:1396
msgid "Selftest will be run to calibrate accurate sensorless rehoming."
msgstr ""
#: ultralcd.cpp:2346
msgid "Severe skew:"
msgstr ""
#: ultralcd.cpp:2342
msgid "Slight skew:"
msgstr ""
#: cardreader.cpp:754
msgid "Some files will not be sorted. Max. No. of files in 1 folder for sorting is 100."
msgstr ""
#: ultralcd.cpp:4250
msgid "Sort: [None]"
msgstr ""
#: ultralcd.cpp:4248
msgid "Sort: [Time]"
msgstr ""
#: ultralcd.cpp:4249
msgid "Sort: [Alphabet]"
msgstr ""
#: cardreader.cpp:761
msgid "Sorting files"
msgstr ""
#: Marlin_main.cpp:3504
msgid "Stable ambient temperature 21-26C is needed a rigid stand is required."
msgstr ""
#: ultralcd.cpp:7009
msgid "Swapped"
msgstr ""
#: ultralcd.cpp:3189
msgid "Temperature calibration failed"
msgstr ""
#: ultralcd.cpp:1846
msgid "Temperatures"
msgstr ""
#: ultralcd.cpp:1849
msgid "Voltages"
msgstr ""
#: ultralcd.cpp:2683
msgid "Waiting for PINDA probe cooling"
msgstr ""
#: Marlin_main.cpp:1356
msgid "Warning: both printer type and motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1348
msgid "Warning: motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1352
msgid "Warning: printer type changed."
msgstr ""
#: Marlin_main.cpp:946
msgid "WARNING: This is an unofficial, unsupported build. Use at your own risk!"
msgstr ""
#: Marlin_main.cpp:6123
msgid "Was filament unload successful?"
msgstr ""
#: ultralcd.cpp:1839
msgid "XYZ cal. details"
msgstr ""
#: ultralcd.cpp:2306
msgid "Y distance from min:"
msgstr ""
#: Marlin_main.cpp:930
msgid "You are using firmware alpha version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""
#: Marlin_main.cpp:931
msgid "You are using firmware beta version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""

304
lang/po/lang_it.po Normal file
View File

@ -0,0 +1,304 @@
# Translation into Italian.
#
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ultralcd.cpp:6304
msgid " [off"
msgstr ""
#: ultralcd.cpp:6000
msgid " \002 Fact"
msgstr ""
#: ultralcd.cpp:5999
msgid " \002 Max"
msgstr ""
#: ultralcd.cpp:5998
msgid " \002 Min"
msgstr ""
#: ultralcd.cpp:2362
msgid "[0;0] point offset"
msgstr ""
#: ultralcd.cpp:3613
msgid "\x1b[2JCrash detection can\x1b[1;0Hbe turned on only in\x1b[2;0HNormal mode"
msgstr ""
#: ultralcd.cpp:3626
msgid "\x1b[2JWARNING:\x1b[1;0HCrash detection\x1b[2;0Hdisabled in\x1b[3;0HStealth mode"
msgstr ""
#: ultralcd.cpp:5796
msgid "AutoLoad filament"
msgstr ""
#: ultralcd.cpp:3642
msgid "Autoloading filament available only when filament sensor is turned on..."
msgstr ""
#: ultralcd.cpp:2089
msgid "Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
#: ultralcd.cpp:6999
msgid "Axis length"
msgstr ""
#: ultralcd.cpp:7001
msgid "Axis"
msgstr ""
#: ultralcd.cpp:1738
msgid "Belt status"
msgstr ""
#: messages.c:72
msgid "Blackout occurred. Recover print?"
msgstr ""
#: messages.c:28
msgid "Crash det. [on]"
msgstr ""
#: messages.c:26
msgid "Crash det. [N/A]"
msgstr ""
#: messages.c:27
msgid "Crash det. [off]"
msgstr ""
#: messages.c:25
msgid "Crash detected."
msgstr ""
#: ultralcd.cpp:4213
msgid "E-correct"
msgstr ""
#: ultralcd.cpp:5835
msgid "Error - static memory has been overwritten"
msgstr ""
#: ultralcd.cpp:3656
msgid "ERROR: Filament sensor is not responding, please check connection."
msgstr ""
#: ultralcd.cpp:7236
msgid "Extruder fan:"
msgstr ""
#: ultralcd.cpp:1840
msgid "Extruder info"
msgstr ""
#: ultralcd.cpp:4178
msgid "F. autoload [on]"
msgstr ""
#: messages.c:47
msgid "F. autoload [N/A]"
msgstr ""
#: ultralcd.cpp:4181
msgid "F. autoload [off]"
msgstr ""
#: ultralcd.cpp:4189
msgid "Fans check [on]"
msgstr ""
#: ultralcd.cpp:4192
msgid "Fans check [off]"
msgstr ""
#: messages.c:49
msgid "Fil. sensor [on]"
msgstr ""
#: ultralcd.cpp:4164
msgid "Fil. sensor [N/A]"
msgstr ""
#: messages.c:48
msgid "Fil. sensor [off]"
msgstr ""
#: ultralcd.cpp:7015
msgid "Filament sensor"
msgstr ""
#: ultralcd.cpp:7245
msgid "Filament sensor:"
msgstr ""
#: ultralcd.cpp:7388
msgid "File incomplete. Continue anyway?"
msgstr ""
#: ultralcd.cpp:7007
msgid "Front/left fans"
msgstr ""
#: Marlin_main.cpp:7190
msgid "Heating disabled by safety timer."
msgstr ""
#: messages.c:85
msgid "Checking sensors "
msgstr ""
#: messages.c:93
msgid "Is steel sheet on heatbed?"
msgstr ""
#: messages.c:91
msgid "Mode [Normal]"
msgstr ""
#: messages.c:92
msgid "Mode [Stealth]"
msgstr ""
#: messages.c:13
msgid "Mode [auto power]"
msgstr ""
#: ultralcd.cpp:1537
msgid "Nozzle FAN:"
msgstr ""
#: Marlin_main.cpp:1364
msgid "Old settings found. Default PID, Esteps etc. will be set."
msgstr ""
#: Marlin_main.cpp:6124
msgid "Please open idler and remove filament manually."
msgstr ""
#: messages.c:65
msgid "Please place steel sheet on heatbed."
msgstr ""
#: messages.c:69
msgid "Please press the knob to unload filament"
msgstr ""
#: messages.c:71
msgid "Please pull out filament immediately"
msgstr ""
#: messages.c:74
msgid "Please remove steel sheet from heatbed."
msgstr ""
#: Marlin_main.cpp:5983
msgid "Press knob to preheat nozzle and continue."
msgstr ""
#: ultralcd.cpp:1549
msgid "Print FAN: "
msgstr ""
#: ultralcd.cpp:7239
msgid "Print fan:"
msgstr ""
#: ultralcd.cpp:607
msgid "Printer disconnected"
msgstr ""
#: Marlin_main.cpp:8247
msgid "Recovering print "
msgstr ""
#: ultralcd.cpp:4227
msgid "RPi port [on]"
msgstr ""
#: ultralcd.cpp:4224
msgid "RPi port [off]"
msgstr ""
#: Marlin_main.cpp:1396
msgid "Selftest will be run to calibrate accurate sensorless rehoming."
msgstr ""
#: cardreader.cpp:754
msgid "Some files will not be sorted. Max. No. of files in 1 folder for sorting is 100."
msgstr ""
#: ultralcd.cpp:4250
msgid "Sort: [None]"
msgstr ""
#: ultralcd.cpp:4248
msgid "Sort: [Time]"
msgstr ""
#: ultralcd.cpp:4249
msgid "Sort: [Alphabet]"
msgstr ""
#: cardreader.cpp:761
msgid "Sorting files"
msgstr ""
#: Marlin_main.cpp:3504
msgid "Stable ambient temperature 21-26C is needed a rigid stand is required."
msgstr ""
#: ultralcd.cpp:7009
msgid "Swapped"
msgstr ""
#: ultralcd.cpp:3189
msgid "Temperature calibration failed"
msgstr ""
#: ultralcd.cpp:1846
msgid "Temperatures"
msgstr ""
#: ultralcd.cpp:1849
msgid "Voltages"
msgstr ""
#: ultralcd.cpp:2683
msgid "Waiting for PINDA probe cooling"
msgstr ""
#: Marlin_main.cpp:1356
msgid "Warning: both printer type and motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1348
msgid "Warning: motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1352
msgid "Warning: printer type changed."
msgstr ""
#: Marlin_main.cpp:946
msgid "WARNING: This is an unofficial, unsupported build. Use at your own risk!"
msgstr ""
#: Marlin_main.cpp:6123
msgid "Was filament unload successful?"
msgstr ""
#: Marlin_main.cpp:930
msgid "You are using firmware alpha version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""
#: Marlin_main.cpp:931
msgid "You are using firmware beta version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""

292
lang/po/lang_pl.po Normal file
View File

@ -0,0 +1,292 @@
# Translation into Polish.
#
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ultralcd.cpp:6304
msgid " [off"
msgstr ""
#: ultralcd.cpp:2362
msgid "[0;0] point offset"
msgstr ""
#: ultralcd.cpp:3613
msgid "\x1b[2JCrash detection can\x1b[1;0Hbe turned on only in\x1b[2;0HNormal mode"
msgstr ""
#: ultralcd.cpp:3626
msgid "\x1b[2JWARNING:\x1b[1;0HCrash detection\x1b[2;0Hdisabled in\x1b[3;0HStealth mode"
msgstr ""
#: ultralcd.cpp:5796
msgid "AutoLoad filament"
msgstr ""
#: ultralcd.cpp:3642
msgid "Autoloading filament available only when filament sensor is turned on..."
msgstr ""
#: ultralcd.cpp:2089
msgid "Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
#: ultralcd.cpp:6999
msgid "Axis length"
msgstr ""
#: ultralcd.cpp:7001
msgid "Axis"
msgstr ""
#: ultralcd.cpp:1738
msgid "Belt status"
msgstr ""
#: messages.c:72
msgid "Blackout occurred. Recover print?"
msgstr ""
#: messages.c:28
msgid "Crash det. [on]"
msgstr ""
#: messages.c:26
msgid "Crash det. [N/A]"
msgstr ""
#: messages.c:27
msgid "Crash det. [off]"
msgstr ""
#: messages.c:25
msgid "Crash detected."
msgstr ""
#: ultralcd.cpp:4213
msgid "E-correct"
msgstr ""
#: ultralcd.cpp:5835
msgid "Error - static memory has been overwritten"
msgstr ""
#: ultralcd.cpp:3656
msgid "ERROR: Filament sensor is not responding, please check connection."
msgstr ""
#: ultralcd.cpp:7236
msgid "Extruder fan:"
msgstr ""
#: ultralcd.cpp:1840
msgid "Extruder info"
msgstr ""
#: ultralcd.cpp:4178
msgid "F. autoload [on]"
msgstr ""
#: messages.c:47
msgid "F. autoload [N/A]"
msgstr ""
#: ultralcd.cpp:4181
msgid "F. autoload [off]"
msgstr ""
#: ultralcd.cpp:4189
msgid "Fans check [on]"
msgstr ""
#: ultralcd.cpp:4192
msgid "Fans check [off]"
msgstr ""
#: messages.c:49
msgid "Fil. sensor [on]"
msgstr ""
#: ultralcd.cpp:4164
msgid "Fil. sensor [N/A]"
msgstr ""
#: messages.c:48
msgid "Fil. sensor [off]"
msgstr ""
#: ultralcd.cpp:7015
msgid "Filament sensor"
msgstr ""
#: ultralcd.cpp:7245
msgid "Filament sensor:"
msgstr ""
#: ultralcd.cpp:7388
msgid "File incomplete. Continue anyway?"
msgstr ""
#: ultralcd.cpp:7007
msgid "Front/left fans"
msgstr ""
#: Marlin_main.cpp:7190
msgid "Heating disabled by safety timer."
msgstr ""
#: messages.c:85
msgid "Checking sensors "
msgstr ""
#: messages.c:93
msgid "Is steel sheet on heatbed?"
msgstr ""
#: messages.c:91
msgid "Mode [Normal]"
msgstr ""
#: messages.c:92
msgid "Mode [Stealth]"
msgstr ""
#: messages.c:13
msgid "Mode [auto power]"
msgstr ""
#: ultralcd.cpp:1537
msgid "Nozzle FAN:"
msgstr ""
#: Marlin_main.cpp:1364
msgid "Old settings found. Default PID, Esteps etc. will be set."
msgstr ""
#: Marlin_main.cpp:6124
msgid "Please open idler and remove filament manually."
msgstr ""
#: messages.c:65
msgid "Please place steel sheet on heatbed."
msgstr ""
#: messages.c:69
msgid "Please press the knob to unload filament"
msgstr ""
#: messages.c:71
msgid "Please pull out filament immediately"
msgstr ""
#: messages.c:74
msgid "Please remove steel sheet from heatbed."
msgstr ""
#: Marlin_main.cpp:5983
msgid "Press knob to preheat nozzle and continue."
msgstr ""
#: ultralcd.cpp:1549
msgid "Print FAN: "
msgstr ""
#: ultralcd.cpp:7239
msgid "Print fan:"
msgstr ""
#: ultralcd.cpp:607
msgid "Printer disconnected"
msgstr ""
#: Marlin_main.cpp:8247
msgid "Recovering print "
msgstr ""
#: ultralcd.cpp:4227
msgid "RPi port [on]"
msgstr ""
#: ultralcd.cpp:4224
msgid "RPi port [off]"
msgstr ""
#: Marlin_main.cpp:1396
msgid "Selftest will be run to calibrate accurate sensorless rehoming."
msgstr ""
#: cardreader.cpp:754
msgid "Some files will not be sorted. Max. No. of files in 1 folder for sorting is 100."
msgstr ""
#: ultralcd.cpp:4250
msgid "Sort: [None]"
msgstr ""
#: ultralcd.cpp:4248
msgid "Sort: [Time]"
msgstr ""
#: ultralcd.cpp:4249
msgid "Sort: [Alphabet]"
msgstr ""
#: cardreader.cpp:761
msgid "Sorting files"
msgstr ""
#: Marlin_main.cpp:3504
msgid "Stable ambient temperature 21-26C is needed a rigid stand is required."
msgstr ""
#: ultralcd.cpp:7009
msgid "Swapped"
msgstr ""
#: ultralcd.cpp:3189
msgid "Temperature calibration failed"
msgstr ""
#: ultralcd.cpp:1846
msgid "Temperatures"
msgstr ""
#: ultralcd.cpp:1849
msgid "Voltages"
msgstr ""
#: ultralcd.cpp:2683
msgid "Waiting for PINDA probe cooling"
msgstr ""
#: Marlin_main.cpp:1356
msgid "Warning: both printer type and motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1348
msgid "Warning: motherboard type changed."
msgstr ""
#: Marlin_main.cpp:1352
msgid "Warning: printer type changed."
msgstr ""
#: Marlin_main.cpp:946
msgid "WARNING: This is an unofficial, unsupported build. Use at your own risk!"
msgstr ""
#: Marlin_main.cpp:6123
msgid "Was filament unload successful?"
msgstr ""
#: Marlin_main.cpp:930
msgid "You are using firmware alpha version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""
#: Marlin_main.cpp:931
msgid "You are using firmware beta version. This is development version. Using this version is not recommended and may cause printer damage."
msgstr ""

61
lang/po/make_po.sh Normal file
View File

@ -0,0 +1,61 @@
#!/bin/sh
#
# make_po.sh - multi-language support script
# for generating lang_xx.po
#
SRCDIR="../../Firmware"
#
LANG=$1
if [ -z "$LANG" ]; then LANG=cz; fi
#
echo "make_po.sh started" >&2
#remove output file if exists
if [ -e lang_$LANG.po ]; then rm lang_$LANG.po; fi
langname=$(\
case "$LANG" in
*en*) echo "English" ;;
*cz*) echo "Czech" ;;
*de*) echo "German" ;;
*it*) echo "Italian" ;;
*es*) echo "Spanish" ;;
*pl*) echo "Polish" ;;
esac)
#write po header
echo "# Translation into $langname." > lang_$LANG.po
echo "#" >> lang_$LANG.po
echo 'msgid ""' >> lang_$LANG.po
echo 'msgstr ""' >> lang_$LANG.po
echo '"MIME-Version: 1.0\n"' >> lang_$LANG.po
echo '"Content-Type: text/plain; charset=UTF-8\n"' >> lang_$LANG.po
echo '"Content-Transfer-Encoding: 8bit\n"' >> lang_$LANG.po
echo >> lang_$LANG.po
#list .cpp, .c and .h files
files=$(ls "$SRCDIR"/*.cpp "$SRCDIR"/*.c "$SRCDIR"/*.h)
#loop over all messages, print only untranslated (=="\x00")
s0=''
s1=''
s2=''
cat ../lang_en_$LANG.txt | sed "s/\\\\/\\\\\\\\/g;s/^#/#: /" | while read -r s; do
if [ "$s" == "" ]; then
if [ "$s0" == "\"\\\\x00\"" ]; then
search=$(echo -e "$s1")
found=$(grep -m1 -n -F "$search" $files | head -n1 | cut -f1-2 -d':' | sed "s/^.*\///")
echo "#: $found"
echo -e "msgid $s1"
echo 'msgstr ""'
echo
fi
fi
s2=$s1
s1=$s0
s0=$s
done >> lang_$LANG.po
echo "make_po.sh finished" >&2
exit 0