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
8e9a09a7
Commit
8e9a09a7
authored
Aug 04, 2012
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n fix to pronterface.py
parent
ea3ea4e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pronterface.py
pronterface.py
+3
-3
No files found.
pronterface.py
View file @
8e9a09a7
...
@@ -325,7 +325,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -325,7 +325,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
else
:
else
:
print
_
(
"You cannot set negative temperatures. To turn the hotend off entirely, set its temperature to 0."
)
print
_
(
"You cannot set negative temperatures. To turn the hotend off entirely, set its temperature to 0."
)
except
Exception
,
x
:
except
Exception
,
x
:
print
_
(
"You must enter a temperature. (
%
s)"
%
(
repr
(
x
),)
)
print
_
(
"You must enter a temperature. (
%
s)"
)
%
(
repr
(
x
),
)
if
self
.
webInterface
:
if
self
.
webInterface
:
self
.
webInterface
.
AddLog
(
"You must enter a temperature. (
%
s)"
%
(
repr
(
x
),))
self
.
webInterface
.
AddLog
(
"You must enter a temperature. (
%
s)"
%
(
repr
(
x
),))
...
@@ -350,8 +350,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -350,8 +350,8 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
print
_
(
"You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
)
print
_
(
"You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
)
if
self
.
webInterface
:
if
self
.
webInterface
:
self
.
webInterface
.
AddLog
(
"You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
)
self
.
webInterface
.
AddLog
(
"You cannot set negative temperatures. To turn the bed off entirely, set its temperature to 0."
)
except
:
except
Exception
,
x
:
print
_
(
"You must enter a temperature.
"
)
print
_
(
"You must enter a temperature.
(
%
s)"
)
%
(
repr
(
x
),
)
if
self
.
webInterface
:
if
self
.
webInterface
:
self
.
webInterface
.
AddLog
(
"You must enter a temperature."
)
self
.
webInterface
.
AddLog
(
"You must enter a temperature."
)
...
...
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