Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
2afaf4c6
Commit
2afaf4c6
authored
Feb 26, 2012
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use format strings as much as possible for translations
parent
9a20974d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
247 deletions
+166
-247
pronterface.pot
locale/pronterface.pot
+156
-236
pronterface.py
pronterface.py
+10
-11
No files found.
locale/pronterface.pot
View file @
2afaf4c6
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
msgid ""
msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-0
1-19 09:21
+CET\n"
"POT-Creation-Date: 2012-0
2-26 02:12
+CET\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
@@ -15,61 +15,11 @@ msgstr ""
...
@@ -15,61 +15,11 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
"Generated-By: pygettext.py 1.5\n"
#: pronsole.py:250
#: pronterface.py:30
msgid "Communications Speed (default: 115200)"
msgstr ""
#: pronsole.py:251
msgid "Heated Build Platform temp for ABS (default: 110 deg C)"
msgstr ""
#: pronsole.py:252
msgid "Heated Build Platform temp for PLA (default: 60 deg C)"
msgstr ""
#: pronsole.py:253
msgid "Feedrate for Control Panel Moves in Extrusions (default: 300mm/min)"
msgstr ""
#: pronsole.py:254
msgid "Port used to communicate with printer"
msgstr ""
#: pronsole.py:255
msgid ""
"Slice command\n"
" default:\n"
" python skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py $s)"
msgstr ""
#: pronsole.py:256
msgid ""
"Slice settings command\n"
" default:\n"
" python skeinforge/skeinforge_application/skeinforge.py"
msgstr ""
#: pronsole.py:257
msgid "Extruder temp for ABS (default: 230 deg C)"
msgstr ""
#: pronsole.py:258
msgid "Extruder temp for PLA (default: 185 deg C)"
msgstr ""
#: pronsole.py:259
msgid "Feedrate for Control Panel Moves in X and Y (default: 3000mm/min)"
msgstr ""
#: pronsole.py:260
msgid "Feedrate for Control Panel Moves in Z (default: 200mm/min)"
msgstr ""
#: pronterface.py:15
msgid "WX is not installed. This program requires WX to run."
msgid "WX is not installed. This program requires WX to run."
msgstr ""
msgstr ""
#: pronterface.py:
66
#: pronterface.py:
81
msgid ""
msgid ""
"Dimensions of Build Platform\n"
"Dimensions of Build Platform\n"
" & optional offset of origin\n"
" & optional offset of origin\n"
...
@@ -80,575 +30,545 @@ msgid ""
...
@@ -80,575 +30,545 @@ msgid ""
" XXXxYYYxZZZ+OffX+OffY+OffZ"
" XXXxYYYxZZZ+OffX+OffY+OffZ"
msgstr ""
msgstr ""
#: pronterface.py:
67
#: pronterface.py:
82
msgid "Last Set Temperature for the Heated Print Bed"
msgid "Last Set Temperature for the Heated Print Bed"
msgstr ""
msgstr ""
#: pronterface.py:
68
#: pronterface.py:
83
msgid "Folder of last opened file"
msgid "Folder of last opened file"
msgstr ""
msgstr ""
#: pronterface.py:
69
#: pronterface.py:
84
msgid "Last Temperature of the Hot End"
msgid "Last Temperature of the Hot End"
msgstr ""
msgstr ""
#: pronterface.py:
70
#: pronterface.py:
85
msgid "Width of Extrusion in Preview (default: 0.5)"
msgid "Width of Extrusion in Preview (default: 0.5)"
msgstr ""
msgstr ""
#: pronterface.py:
71
#: pronterface.py:
86
msgid "Fine Grid Spacing (default: 10)"
msgid "Fine Grid Spacing (default: 10)"
msgstr ""
msgstr ""
#: pronterface.py:
72
#: pronterface.py:
87
msgid "Coarse Grid Spacing (default: 50)"
msgid "Coarse Grid Spacing (default: 50)"
msgstr ""
msgstr ""
#: pronterface.py:
73
#: pronterface.py:
88
msgid "Pronterface background color (default: #FFFFFF)"
msgid "Pronterface background color (default: #FFFFFF)"
msgstr ""
msgstr ""
#: pronterface.py:
76
#: pronterface.py:
91
msgid "Printer Interface"
msgid "Printer Interface"
msgstr ""
msgstr ""
#: pronterface.py:
93
#: pronterface.py:
108
msgid "Motors off"
msgid "Motors off"
msgstr ""
msgstr ""
#: pronterface.py:
94
#: pronterface.py:
109
msgid "Check temp"
msgid "Check temp"
msgstr ""
msgstr ""
#: pronterface.py:
95
#: pronterface.py:
110
msgid "Extrude"
msgid "Extrude"
msgstr ""
msgstr ""
#: pronterface.py:
96
#: pronterface.py:
111
msgid "Reverse"
msgid "Reverse"
msgstr ""
msgstr ""
#: pronterface.py:1
14
#: pronterface.py:1
29
msgid ""
msgid ""
"# I moved all your custom buttons into .pronsolerc.\n"
"# I moved all your custom buttons into .pronsolerc.\n"
"# Please don't add them here any more.\n"
"# Please don't add them here any more.\n"
"# Backup of your old buttons is in custombtn.old\n"
"# Backup of your old buttons is in custombtn.old\n"
msgstr ""
msgstr ""
#: pronterface.py:1
19
#: pronterface.py:1
34
msgid "Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc"
msgid "Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc"
msgstr ""
msgstr ""
#: pronterface.py:1
20
#: pronterface.py:1
35
msgid "Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt"
msgid "Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt"
msgstr ""
msgstr ""
#: pronterface.py:1
48 pronterface.py:499 pronterface.py:1319
#: pronterface.py:1
63 pronterface.py:514 pronterface.py:1333
#: pronterface.py:13
73 pronterface.py:1495 pronterface.py:1529
#: pronterface.py:13
87 pronterface.py:1509 pronterface.py:1543
#: pronterface.py:15
44
#: pronterface.py:15
58
msgid "Print"
msgid "Print"
msgstr ""
msgstr ""
#: pronterface.py:1
52
#: pronterface.py:1
67
msgid "Printer is now online."
msgid "Printer is now online."
msgstr ""
msgstr ""
#: pronterface.py:
212
#: pronterface.py:
168
msgid "
Setting hotend temperature to
"
msgid "
Disconnect
"
msgstr ""
msgstr ""
#: pronterface.py:2
12 pronterface.py:248
#: pronterface.py:2
27
msgid " degrees Celsius."
msgid "
Setting hotend temperature to %f
degrees Celsius."
msgstr ""
msgstr ""
#: pronterface.py:2
31 pronterface.py:267 pronterface.py:325
#: pronterface.py:2
46 pronterface.py:282 pronterface.py:340
msgid "Printer is not online."
msgid "Printer is not online."
msgstr ""
msgstr ""
#: pronterface.py:2
33
#: pronterface.py:2
48
msgid "You cannot set negative temperatures. To turn the hotend off entirely, set its temperature to 0."
msgid "You cannot set negative temperatures. To turn the hotend off entirely, set its temperature to 0."
msgstr ""
msgstr ""
#: pronterface.py:248
#: pronterface.py:250
msgid "Setting bed temperature to "
msgid "You must enter a temperature. (%s)"
msgstr ""
#: pronterface.py:263
msgid "Setting bed temperature to %f degrees Celsius."
msgstr ""
msgstr ""
#: pronterface.py:2
69
#: pronterface.py:2
84
msgid "You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
msgid "You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
msgstr ""
msgstr ""
#: pronterface.py:2
71
#: pronterface.py:2
86
msgid "You must enter a temperature."
msgid "You must enter a temperature."
msgstr ""
msgstr ""
#: pronterface.py:
286
#: pronterface.py:
301
msgid "Do you want to erase the macro?"
msgid "Do you want to erase the macro?"
msgstr ""
msgstr ""
#: pronterface.py:
290
#: pronterface.py:
305
msgid "Cancelled."
msgid "Cancelled."
msgstr ""
msgstr ""
#: pronterface.py:3
31
#: pronterface.py:3
46
msgid " Opens file"
msgid " Opens file"
msgstr ""
msgstr ""
#: pronterface.py:3
31
#: pronterface.py:3
46
msgid "&Open..."
msgid "&Open..."
msgstr ""
msgstr ""
#: pronterface.py:3
32
#: pronterface.py:3
47
msgid " Edit open file"
msgid " Edit open file"
msgstr ""
msgstr ""
#: pronterface.py:3
32
#: pronterface.py:3
47
msgid "&Edit..."
msgid "&Edit..."
msgstr ""
msgstr ""
#: pronterface.py:3
33
#: pronterface.py:3
48
msgid " Clear output console"
msgid " Clear output console"
msgstr ""
msgstr ""
#: pronterface.py:3
33
#: pronterface.py:3
48
msgid "Clear console"
msgid "Clear console"
msgstr ""
msgstr ""
#: pronterface.py:3
34
#: pronterface.py:3
49
msgid " Project slices"
msgid " Project slices"
msgstr ""
msgstr ""
#: pronterface.py:3
34
#: pronterface.py:3
49
msgid "Projector"
msgid "Projector"
msgstr ""
msgstr ""
#: pronterface.py:3
35
#: pronterface.py:3
50
msgid " Closes the Window"
msgid " Closes the Window"
msgstr ""
msgstr ""
#: pronterface.py:3
35
#: pronterface.py:3
50
msgid "E&xit"
msgid "E&xit"
msgstr ""
msgstr ""
#: pronterface.py:3
36
#: pronterface.py:3
51
msgid "&File"
msgid "&File"
msgstr ""
msgstr ""
#: pronterface.py:3
41
#: pronterface.py:3
56
msgid "&Macros"
msgid "&Macros"
msgstr ""
msgstr ""
#: pronterface.py:3
42
#: pronterface.py:3
57
msgid "<&New...>"
msgid "<&New...>"
msgstr ""
msgstr ""
#: pronterface.py:3
43
#: pronterface.py:3
58
msgid " Options dialog"
msgid " Options dialog"
msgstr ""
msgstr ""
#: pronterface.py:3
43
#: pronterface.py:3
58
msgid "&Options"
msgid "&Options"
msgstr ""
msgstr ""
#: pronterface.py:3
45
#: pronterface.py:3
60
msgid " Adjust slicing settings"
msgid " Adjust slicing settings"
msgstr ""
msgstr ""
#: pronterface.py:3
45
#: pronterface.py:3
60
msgid "Slicing Settings"
msgid "Slicing Settings"
msgstr ""
msgstr ""
#: pronterface.py:3
52
#: pronterface.py:3
67
msgid "&Settings"
msgid "&Settings"
msgstr ""
msgstr ""
#: pronterface.py:3
68
#: pronterface.py:3
83
msgid "Enter macro name"
msgid "Enter macro name"
msgstr ""
msgstr ""
#: pronterface.py:3
71
#: pronterface.py:3
86
msgid "Macro name:"
msgid "Macro name:"
msgstr ""
msgstr ""
#: pronterface.py:3
74
#: pronterface.py:3
89
msgid "Ok"
msgid "Ok"
msgstr ""
msgstr ""
#: pronterface.py:3
78 pronterface.py:1330 pronterface.py:1587
#: pronterface.py:3
93 pronterface.py:1344 pronterface.py:1601
msgid "Cancel"
msgid "Cancel"
msgstr ""
msgstr ""
#: pronterface.py:396
#: pronterface.py:411
msgid "' is being used by built-in command"
msgid "Name '%s' is being used by built-in command"
msgstr ""
#: pronterface.py:396
msgid "Name '"
msgstr ""
msgstr ""
#: pronterface.py:
399
#: pronterface.py:
414
msgid "Macro name may contain only alphanumeric symbols and underscores"
msgid "Macro name may contain only alphanumeric symbols and underscores"
msgstr ""
msgstr ""
#: pronterface.py:4
48
#: pronterface.py:4
63
msgid "Port"
msgid "Port"
msgstr ""
msgstr ""
#: pronterface.py:4
67
#: pronterface.py:4
82
msgid "Connect"
msgid "Connect"
msgstr ""
msgstr ""
#: pronterface.py:4
69
#: pronterface.py:4
84
msgid "Connect to the printer"
msgid "Connect to the printer"
msgstr ""
msgstr ""
#: pronterface.py:4
71
#: pronterface.py:4
86
msgid "Reset"
msgid "Reset"
msgstr ""
msgstr ""
#: pronterface.py:4
74 pronterface.py:751
#: pronterface.py:4
89 pronterface.py:766
msgid "Mini mode"
msgid "Mini mode"
msgstr ""
msgstr ""
#: pronterface.py:4
78
#: pronterface.py:4
93
msgid "Monitor Printer"
msgid "Monitor Printer"
msgstr ""
msgstr ""
#: pronterface.py:
488
#: pronterface.py:
503
msgid "Load file"
msgid "Load file"
msgstr ""
msgstr ""
#: pronterface.py:
491
#: pronterface.py:
506
msgid "Compose"
msgid "Compose"
msgstr ""
msgstr ""
#: pronterface.py:
495
#: pronterface.py:
510
msgid "SD"
msgid "SD"
msgstr ""
msgstr ""
#: pronterface.py:5
03 pronterface.py:1374 pronterface.py:1419
#: pronterface.py:5
18 pronterface.py:1388 pronterface.py:1433
#: pronterface.py:14
69 pronterface.py:1494 pronterface.py:1528
#: pronterface.py:14
83 pronterface.py:1508 pronterface.py:1542
#: pronterface.py:15
43
#: pronterface.py:15
57
msgid "Pause"
msgid "Pause"
msgstr ""
msgstr ""
#: pronterface.py:5
16
#: pronterface.py:5
31
msgid "Send"
msgid "Send"
msgstr ""
msgstr ""
#: pronterface.py:5
24 pronterface.py:625
#: pronterface.py:5
39 pronterface.py:640
msgid "mm/min"
msgid "mm/min"
msgstr ""
msgstr ""
#: pronterface.py:5
26
#: pronterface.py:5
41
msgid "XY:"
msgid "XY:"
msgstr ""
msgstr ""
#: pronterface.py:5
28
#: pronterface.py:5
43
msgid "Z:"
msgid "Z:"
msgstr ""
msgstr ""
#: pronterface.py:5
51 pronterface.py:632
#: pronterface.py:5
66 pronterface.py:647
msgid "Heater:"
msgid "Heater:"
msgstr ""
msgstr ""
#: pronterface.py:5
54 pronterface.py:574
#: pronterface.py:5
69 pronterface.py:589
msgid "Off"
msgid "Off"
msgstr ""
msgstr ""
#: pronterface.py:5
66 pronterface.py:586
#: pronterface.py:5
81 pronterface.py:601
msgid "Set"
msgid "Set"
msgstr ""
msgstr ""
#: pronterface.py:5
71 pronterface.py:634
#: pronterface.py:5
86 pronterface.py:649
msgid "Bed:"
msgid "Bed:"
msgstr ""
msgstr ""
#: pronterface.py:6
19
#: pronterface.py:6
34
msgid "mm"
msgid "mm"
msgstr ""
msgstr ""
#: pronterface.py:6
77 pronterface.py:1182 pronterface.py:1413
#: pronterface.py:6
92 pronterface.py:1196 pronterface.py:1427
msgid "Not connected to printer."
msgid "Not connected to printer."
msgstr ""
msgstr ""
#: pronterface.py:7
06
#: pronterface.py:7
21
msgid "SD Upload"
msgid "SD Upload"
msgstr ""
msgstr ""
#: pronterface.py:7
10
#: pronterface.py:7
25
msgid "SD Print"
msgid "SD Print"
msgstr ""
msgstr ""
#: pronterface.py:7
58
#: pronterface.py:7
73
msgid "Full mode"
msgid "Full mode"
msgstr ""
msgstr ""
#: pronterface.py:7
83
#: pronterface.py:7
98
msgid "Execute command: "
msgid "Execute command: "
msgstr ""
msgstr ""
#: pronterface.py:
794
#: pronterface.py:
809
msgid "click to add new custom button"
msgid "click to add new custom button"
msgstr ""
msgstr ""
#: pronterface.py:8
13
#: pronterface.py:8
28
msgid "Defines custom button. Usage: button <num> \"title\" [/c \"colour\"] command"
msgid "Defines custom button. Usage: button <num> \"title\" [/c \"colour\"] command"
msgstr ""
msgstr ""
#: pronterface.py:8
35
#: pronterface.py:8
50
msgid "Custom button number should be between 0 and 63"
msgid "Custom button number should be between 0 and 63"
msgstr ""
msgstr ""
#: pronterface.py:9
27
#: pronterface.py:9
42
msgid "Edit custom button '%s'"
msgid "Edit custom button '%s'"
msgstr ""
msgstr ""
#: pronterface.py:9
29
#: pronterface.py:9
44
msgid "Move left <<"
msgid "Move left <<"
msgstr ""
msgstr ""
#: pronterface.py:9
32
#: pronterface.py:9
47
msgid "Move right >>"
msgid "Move right >>"
msgstr ""
msgstr ""
#: pronterface.py:9
36
#: pronterface.py:9
51
msgid "Remove custom button '%s'"
msgid "Remove custom button '%s'"
msgstr ""
msgstr ""
#: pronterface.py:9
39
#: pronterface.py:9
54
msgid "Add custom button"
msgid "Add custom button"
msgstr ""
msgstr ""
#: pronterface.py:10
84
#: pronterface.py:10
99
msgid "event object missing"
msgid "event object missing"
msgstr ""
msgstr ""
#: pronterface.py:11
12
#: pronterface.py:11
27
msgid "Invalid period given."
msgid "Invalid period given."
msgstr ""
msgstr ""
#: pronterface.py:11
15
#: pronterface.py:11
30
msgid "Monitoring printer."
msgid "Monitoring printer."
msgstr ""
msgstr ""
#: pronterface.py:11
17
#: pronterface.py:11
32
msgid "Done monitoring."
msgid "Done monitoring."
msgstr ""
msgstr ""
#: pronterface.py:11
39
#: pronterface.py:11
54
msgid "Printer is online. "
msgid "Printer is online. "
msgstr ""
msgstr ""
#: pronterface.py:11
41 pronterface.py:1317 pronterface.py:1372
#: pronterface.py:11
56 pronterface.py:1331
msgid "Loaded "
msgid "Loaded "
msgstr ""
msgstr ""
#: pronterface.py:11
44
#: pronterface.py:11
59
msgid "Bed"
msgid "Bed"
msgstr ""
msgstr ""
#: pronterface.py:11
44
#: pronterface.py:11
59
msgid "Hotend"
msgid "Hotend"
msgstr ""
msgstr ""
#: pronterface.py:11
54
#: pronterface.py:11
69
msgid " SD printing:%04.2f %%"
msgid " SD printing:%04.2f %%"
msgstr ""
msgstr ""
#: pronterface.py:11
57
#: pronterface.py:11
72
msgid " Printing:%04.2f %% |"
msgid " Printing:%04.2f %% |"
msgstr ""
msgstr ""
#: pronterface.py:1158
#: pronterface.py:1173
msgid " Line# "
msgid " Line# %d of %d lines |"
msgstr ""
#: pronterface.py:1158
msgid " lines |"
msgstr ""
#: pronterface.py:1158
msgid "of "
msgstr ""
#: pronterface.py:1163
msgid " Est: "
msgstr ""
#: pronterface.py:1164
msgid " of: "
msgstr ""
msgstr ""
#: pronterface.py:11
65
#: pronterface.py:11
78
msgid "
R
emaining | "
msgid "
Est: %s of %s r
emaining | "
msgstr ""
msgstr ""
#: pronterface.py:11
66
#: pronterface.py:11
80
msgid " Z: %0.2f mm"
msgid " Z: %0.2f mm"
msgstr ""
msgstr ""
#: pronterface.py:12
33
#: pronterface.py:12
47
msgid "Opening file failed."
msgid "Opening file failed."
msgstr ""
msgstr ""
#: pronterface.py:12
39
#: pronterface.py:12
53
msgid "Starting print"
msgid "Starting print"
msgstr ""
msgstr ""
#: pronterface.py:12
62
#: pronterface.py:12
76
msgid "Pick SD file"
msgid "Pick SD file"
msgstr ""
msgstr ""
#: pronterface.py:12
62
#: pronterface.py:12
76
msgid "Select the file to print"
msgid "Select the file to print"
msgstr ""
msgstr ""
#: pronterface.py:1
297
#: pronterface.py:1
311
msgid "Failed to execute slicing software: "
msgid "Failed to execute slicing software: "
msgstr ""
msgstr ""
#: pronterface.py:13
04
#: pronterface.py:13
18
msgid "Slicing..."
msgid "Slicing..."
msgstr ""
msgstr ""
#: pronterface.py:13
17 pronterface.py:1372
#: pronterface.py:13
31
msgid ", %d lines"
msgid ", %d lines"
msgstr ""
msgstr ""
#: pronterface.py:13
24
#: pronterface.py:13
38
msgid "Load File"
msgid "Load File"
msgstr ""
msgstr ""
#: pronterface.py:13
31
#: pronterface.py:13
45
msgid "Slicing "
msgid "Slicing "
msgstr ""
msgstr ""
#: pronterface.py:13
50
#: pronterface.py:13
64
msgid "Open file to print"
msgid "Open file to print"
msgstr ""
msgstr ""
#: pronterface.py:13
51
#: pronterface.py:13
65
msgid "OBJ, STL, and GCODE files (;*.gcode;*.gco;*.g;*.stl;*.STL;*.obj;*.OBJ;)"
msgid "OBJ, STL, and GCODE files (;*.gcode;*.gco;*.g;*.stl;*.STL;*.obj;*.OBJ;)"
msgstr ""
msgstr ""
#: pronterface.py:13
58
#: pronterface.py:13
72
msgid "File not found!"
msgid "File not found!"
msgstr ""
msgstr ""
#: pronterface.py:1382
#: pronterface.py:1386
msgid ""
msgid "Loaded %s, %d lines"
"mm of filament used in this print\n"
msgstr ""
#: pronterface.py:1383
msgid ""
"mm in X\n"
"and is"
msgstr ""
msgstr ""
#: pronterface.py:13
83 pronterface.py:1384
#: pronterface.py:13
96
msgid ""
msgid ""
"mm wide\n"
"mm of filament used in this print\n"
msgstr ""
#: pronterface.py:1383 pronterface.py:1384 pronterface.py:1385
msgid "mm to"
msgstr ""
#: pronterface.py:1383 pronterface.py:1384 pronterface.py:1385
msgid "the print goes from"
msgstr ""
msgstr ""
#: pronterface.py:13
84
#: pronterface.py:13
97
msgid ""
msgid ""
"
mm in Y
\n"
"
the print goes from %f mm to %f mm in X
\n"
"and is"
"and is
%f mm wide\n
"
msgstr ""
msgstr ""
#: pronterface.py:13
85
#: pronterface.py:13
98
msgid ""
msgid ""
"mm high\n"
"the print goes from %f mm to %f mm in Y\n"
"and is %f mm wide\n"
msgstr ""
msgstr ""
#: pronterface.py:13
85
#: pronterface.py:13
99
msgid ""
msgid ""
"mm in Z\n"
"
the print goes from %f mm to %f
mm in Z\n"
"and is"
"and is
%f mm high\n
"
msgstr ""
msgstr ""
#: pronterface.py:1
386
#: pronterface.py:1
400
msgid "Estimated duration (pessimistic): "
msgid "Estimated duration (pessimistic): "
msgstr ""
msgstr ""
#: pronterface.py:14
10
#: pronterface.py:14
24
msgid "No file loaded. Please use load first."
msgid "No file loaded. Please use load first."
msgstr ""
msgstr ""
#: pronterface.py:14
21
#: pronterface.py:14
35
msgid "Restart"
msgid "Restart"
msgstr ""
msgstr ""
#: pronterface.py:14
25
#: pronterface.py:14
39
msgid "File upload complete"
msgid "File upload complete"
msgstr ""
msgstr ""
#: pronterface.py:14
44
#: pronterface.py:14
58
msgid "Pick SD filename"
msgid "Pick SD filename"
msgstr ""
msgstr ""
#: pronterface.py:14
52
#: pronterface.py:14
66
msgid "Paused."
msgid "Paused."
msgstr ""
msgstr ""
#: pronterface.py:14
62
#: pronterface.py:14
76
msgid "Resume"
msgid "Resume"
msgstr ""
msgstr ""
#: pronterface.py:14
78
#: pronterface.py:14
92
msgid "Connecting..."
msgid "Connecting..."
msgstr ""
msgstr ""
#: pronterface.py:15
09
#: pronterface.py:15
23
msgid "Disconnected."
msgid "Disconnected."
msgstr ""
msgstr ""
#: pronterface.py:15
36
#: pronterface.py:15
50
msgid "Reset."
msgid "Reset."
msgstr ""
msgstr ""
#: pronterface.py:15
37
#: pronterface.py:15
51
msgid "Are you sure you want to reset the printer?"
msgid "Are you sure you want to reset the printer?"
msgstr ""
msgstr ""
#: pronterface.py:15
37
#: pronterface.py:15
51
msgid "Reset?"
msgid "Reset?"
msgstr ""
msgstr ""
#: pronterface.py:15
83
#: pronterface.py:15
97
msgid "Save"
msgid "Save"
msgstr ""
msgstr ""
#: pronterface.py:16
39
#: pronterface.py:16
53
msgid "Edit settings"
msgid "Edit settings"
msgstr ""
msgstr ""
#: pronterface.py:16
41
#: pronterface.py:16
55
msgid "Defaults"
msgid "Defaults"
msgstr ""
msgstr ""
#: pronterface.py:16
70
#: pronterface.py:16
84
msgid "Custom button"
msgid "Custom button"
msgstr ""
msgstr ""
#: pronterface.py:16
75
#: pronterface.py:16
89
msgid "Button title"
msgid "Button title"
msgstr ""
msgstr ""
#: pronterface.py:16
78
#: pronterface.py:16
92
msgid "Command"
msgid "Command"
msgstr ""
msgstr ""
#: pronterface.py:1
687
#: pronterface.py:1
701
msgid "Color"
msgid "Color"
msgstr ""
msgstr ""
pronterface.py
View file @
2afaf4c6
...
@@ -224,7 +224,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -224,7 +224,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
if
f
>=
0
:
if
f
>=
0
:
if
self
.
p
.
online
:
if
self
.
p
.
online
:
self
.
p
.
send_now
(
"M104 S"
+
l
)
self
.
p
.
send_now
(
"M104 S"
+
l
)
print
_
(
"Setting hotend temperature to
"
),
f
,
_
(
" degrees Celsius."
)
print
_
(
"Setting hotend temperature to
%
f degrees Celsius."
)
%
f
self
.
hsetpoint
=
f
self
.
hsetpoint
=
f
self
.
hottgauge
.
SetTarget
(
int
(
f
))
self
.
hottgauge
.
SetTarget
(
int
(
f
))
if
f
>
0
:
if
f
>
0
:
...
@@ -260,7 +260,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -260,7 +260,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
if
f
>=
0
:
if
f
>=
0
:
if
self
.
p
.
online
:
if
self
.
p
.
online
:
self
.
p
.
send_now
(
"M140 S"
+
l
)
self
.
p
.
send_now
(
"M140 S"
+
l
)
print
_
(
"Setting bed temperature to
"
),
f
,
_
(
" degrees Celsius."
)
print
_
(
"Setting bed temperature to
%
f degrees Celsius."
)
%
f
self
.
bsetpoint
=
f
self
.
bsetpoint
=
f
self
.
bedtgauge
.
SetTarget
(
int
(
f
))
self
.
bedtgauge
.
SetTarget
(
int
(
f
))
if
f
>
0
:
if
f
>
0
:
...
@@ -408,7 +408,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -408,7 +408,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
if
self
.
macros
.
has_key
(
macro
):
if
self
.
macros
.
has_key
(
macro
):
old_def
=
self
.
macros
[
macro
]
old_def
=
self
.
macros
[
macro
]
elif
hasattr
(
self
.
__class__
,
"do_"
+
macro
):
elif
hasattr
(
self
.
__class__
,
"do_"
+
macro
):
print
_
(
"Name '
"
)
+
macro
+
_
(
"' is being used by built-in command"
)
print
_
(
"Name '
%
s' is being used by built-in command"
)
%
macro
return
return
elif
len
([
c
for
c
in
macro
if
not
c
.
isalnum
()
and
c
!=
"_"
]):
elif
len
([
c
for
c
in
macro
if
not
c
.
isalnum
()
and
c
!=
"_"
]):
print
_
(
"Macro name may contain only alphanumeric symbols and underscores"
)
print
_
(
"Macro name may contain only alphanumeric symbols and underscores"
)
...
@@ -1170,14 +1170,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -1170,14 +1170,13 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
if
self
.
p
.
printing
:
if
self
.
p
.
printing
:
fractioncomplete
=
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
)
fractioncomplete
=
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
)
string
+=
_
(
" Printing:
%04.2
f
%%
|"
)
%
(
100
*
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
),)
string
+=
_
(
" Printing:
%04.2
f
%%
|"
)
%
(
100
*
float
(
self
.
p
.
queueindex
)
/
len
(
self
.
p
.
mainqueue
),)
string
+=
_
(
" Line#
"
)
+
str
(
self
.
p
.
queueindex
)
+
_
(
"of "
)
+
str
(
len
(
self
.
p
.
mainqueue
))
+
_
(
" lines |"
)
string
+=
_
(
" Line#
%
d of
%
d lines |"
)
%
(
self
.
p
.
queueindex
,
len
(
self
.
p
.
mainqueue
)
)
if
fractioncomplete
>
0.0
:
if
fractioncomplete
>
0.0
:
secondselapsed
=
int
(
time
.
time
()
-
self
.
starttime
)
secondselapsed
=
int
(
time
.
time
()
-
self
.
starttime
)
secondsestimate
=
secondselapsed
/
fractioncomplete
secondsestimate
=
secondselapsed
/
fractioncomplete
secondsremain
=
secondsestimate
-
secondselapsed
secondsremain
=
secondsestimate
-
secondselapsed
string
+=
_
(
" Est: "
)
+
time
.
strftime
(
'
%
H:
%
M:
%
S'
,
time
.
gmtime
(
secondsremain
))
string
+=
_
(
" Est:
%
s of
%
s remaining | "
)
%
(
time
.
strftime
(
'
%
H:
%
M:
%
S'
,
time
.
gmtime
(
secondsremain
)),
string
+=
_
(
" of: "
)
+
time
.
strftime
(
'
%
H:
%
M:
%
S'
,
time
.
gmtime
(
secondsestimate
))
time
.
strftime
(
'
%
H:
%
M:
%
S'
,
time
.
gmtime
(
secondsestimate
)))
string
+=
_
(
" Remaining | "
)
string
+=
_
(
" Z:
%0.2
f mm"
)
%
self
.
curlayer
string
+=
_
(
" Z:
%0.2
f mm"
)
%
self
.
curlayer
wx
.
CallAfter
(
self
.
status
.
SetStatusText
,
string
)
wx
.
CallAfter
(
self
.
status
.
SetStatusText
,
string
)
wx
.
CallAfter
(
self
.
gviz
.
Refresh
)
wx
.
CallAfter
(
self
.
gviz
.
Refresh
)
...
@@ -1384,7 +1383,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -1384,7 +1383,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
of
=
open
(
self
.
filename
)
of
=
open
(
self
.
filename
)
self
.
f
=
[
i
.
replace
(
"
\n
"
,
""
)
.
replace
(
"
\r
"
,
""
)
for
i
in
of
]
self
.
f
=
[
i
.
replace
(
"
\n
"
,
""
)
.
replace
(
"
\r
"
,
""
)
for
i
in
of
]
of
.
close
of
.
close
self
.
status
.
SetStatusText
(
_
(
"Loaded
"
)
+
name
+
_
(
",
%
d lines"
)
%
(
len
(
self
.
f
),
))
self
.
status
.
SetStatusText
(
_
(
"Loaded
%
s,
%
d lines"
)
%
(
name
,
len
(
self
.
f
)
))
wx
.
CallAfter
(
self
.
printbtn
.
SetLabel
,
_
(
"Print"
))
wx
.
CallAfter
(
self
.
printbtn
.
SetLabel
,
_
(
"Print"
))
wx
.
CallAfter
(
self
.
pausebtn
.
SetLabel
,
_
(
"Pause"
))
wx
.
CallAfter
(
self
.
pausebtn
.
SetLabel
,
_
(
"Pause"
))
wx
.
CallAfter
(
self
.
pausebtn
.
Disable
)
wx
.
CallAfter
(
self
.
pausebtn
.
Disable
)
...
@@ -1395,9 +1394,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -1395,9 +1394,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
def
loadviz
(
self
):
def
loadviz
(
self
):
Xtot
,
Ytot
,
Ztot
,
Xmin
,
Xmax
,
Ymin
,
Ymax
,
Zmin
,
Zmax
=
pronsole
.
measurements
(
self
.
f
)
Xtot
,
Ytot
,
Ztot
,
Xmin
,
Xmax
,
Ymin
,
Ymax
,
Zmin
,
Zmax
=
pronsole
.
measurements
(
self
.
f
)
print
pronsole
.
totalelength
(
self
.
f
),
_
(
"mm of filament used in this print
\n
"
)
print
pronsole
.
totalelength
(
self
.
f
),
_
(
"mm of filament used in this print
\n
"
)
print
_
(
"the print goes from
"
),
Xmin
,
_
(
"mm to"
),
Xmax
,
_
(
"mm in X
\n
and is"
),
Xtot
,
_
(
"mm wide
\n
"
)
print
_
(
"the print goes from
%
f mm to
%
f mm in X
\n
and is
%
f mm wide
\n
"
)
%
(
Xmin
,
Xmax
,
Xtot
)
print
_
(
"the print goes from
"
),
Ymin
,
_
(
"mm to"
),
Ymax
,
_
(
"mm in Y
\n
and is"
),
Ytot
,
_
(
"mm wide
\n
"
)
print
_
(
"the print goes from
%
f mm to
%
f mm in Y
\n
and is
%
f mm wide
\n
"
)
%
(
Ymin
,
Ymax
,
Ytot
)
print
_
(
"the print goes from
"
),
Zmin
,
_
(
"mm to"
),
Zmax
,
_
(
"mm in Z
\n
and is"
),
Ztot
,
_
(
"mm high
\n
"
)
print
_
(
"the print goes from
%
f mm to
%
f mm in Z
\n
and is
%
f mm high
\n
"
)
%
(
Zmin
,
Zmax
,
Ztot
)
print
_
(
"Estimated duration (pessimistic): "
),
pronsole
.
estimate_duration
(
self
.
f
)
print
_
(
"Estimated duration (pessimistic): "
),
pronsole
.
estimate_duration
(
self
.
f
)
#import time
#import time
#t0=time.time()
#t0=time.time()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment