mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:23:16 +02:00
string changes
This commit is contained in:
parent
263427884e
commit
c58c1e1a4c
1 changed files with 2 additions and 2 deletions
|
|
@ -358,7 +358,7 @@ def token_text(self):
|
|||
try:
|
||||
return self.prog[self.lex_pos][1]
|
||||
except:
|
||||
return _("'End Of Program'")
|
||||
return _("'End of program'")
|
||||
|
||||
def program(self, parent, funcs, prog):
|
||||
self.line_number = 1
|
||||
|
|
@ -605,7 +605,7 @@ def expr(self):
|
|||
# String or number
|
||||
return ConstantNode(self.line_number, self.token())
|
||||
else:
|
||||
self.error(_("Expected an expression, found '{0}''").format(self.token_text()))
|
||||
self.error(_("Expected an expression, found '{0}'").format(self.token_text()))
|
||||
|
||||
|
||||
class ExecutionBase(Exception):
|
||||
|
|
|
|||
Loading…
Reference in a new issue