Skip to content

Commit

Permalink
Correct spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBetts committed May 31, 2024
1 parent cc6a4fa commit 75e1bed
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ quicktill (16.0) stable; urgency=low

* Update migration script to cope with more wine sizes

* Add note about updating modifers to release notes
* Add note about updating modifiers to release notes

* Update emf2018 data for new schema

Expand Down Expand Up @@ -1420,7 +1420,7 @@ quicktill (0.13.0) stable; urgency=low

* Bump package name to quicktill4, version to 0.13

* Allowe UserToken.user_id field to be nullable
* Allow UserToken.user_id field to be nullable

* Add an 'autodetect' printer connection driver

Expand Down
2 changes: 1 addition & 1 deletion debian/runtill.1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ listening sockets for user tokens and barcodes.
.TP
.B dbshell
Starts an interactive python session with the database initialised, an
ORM session started, the first two commends being "import
ORM session started, the first two commands being "import
quicktill.td" and "from quicktill.models import *".
.TP
.B syncdb
Expand Down
4 changes: 2 additions & 2 deletions quicktill/foodorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,12 @@ def __init__(self, func, transid, menuurl, kitchenprinters,
return
foodmenu = self.menu_module
if "menu" not in foodmenu.__dict__:
ui.infopopup(["The menu file was read succesfully, but did not "
ui.infopopup(["The menu file was read successfully, but did not "
"contain a menu definition."],
title="No menu defined")
return
if "footer" not in foodmenu.__dict__:
ui.infopopup(["The recipt footer definition is missing from "
ui.infopopup(["The receipt footer definition is missing from "
"the menu file."], title="Footer missing")
return
if "dept" not in foodmenu.__dict__:
Expand Down
2 changes: 1 addition & 1 deletion quicktill/listen.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class db_listener:
"""Listen for notifictions delivered via the database
"""Listen for notifications delivered via the database
Manages a list of channels and functions to be called when
notifications are received on those channels. Deals with
Expand Down
2 changes: 1 addition & 1 deletion quicktill/localutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def stdkeyboard_20by7(line_base=1, cash_payment_method=None,
(6, 0): Key(K_CLEAR, css_class="clear"),
(0, 1): Key(K_MANAGETILL, css_class="management"),
(1, 1): Key(K_MANAGESTOCK, css_class="management"),
(2, 1): Key(K_USESTOCK, css_class="managment"),
(2, 1): Key(K_USESTOCK, css_class="management"),
(0, 2): Key(K_PRINT, css_class="register"),
(1, 2): Key(K_WASTE, css_class="management"),
(2, 2): Key(K_PRICECHECK, css_class="register"),
Expand Down
4 changes: 2 additions & 2 deletions quicktill/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ class StockTypeMeta(Base):
as well.
document_hash will be calculated. (Implementation note: for now it
is calculated client-side because we are targetting Postgresql
is calculated client-side because we are targeting Postgresql
10. In the future (from Postgresql 12 onwards) this can be
calculated automatically using a database trigger.
"""
Expand Down Expand Up @@ -3113,7 +3113,7 @@ def name(self):
"""Look up the name of this binding
Since the binding doesn't have an explicit name, we use the
stockline name, PLU name, or modifer name as appropriate.
stockline name, PLU name, or modifier name as appropriate.
"""
if self.stockline:
return self.stockline.name
Expand Down
2 changes: 1 addition & 1 deletion quicktill/pdrivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ def _qrcode_emulated(self, data, f):
# feed the paper through by one row. This means that each
# part of the code should be printed twice. We're also
# printing each pair of rows twice, advancing the paper by
# half a dot inbetween. We only use 6 of the 8 pins of the
# half a dot in between. We only use 6 of the 8 pins of the
# printer to keep this code simple.
lt = {
(False, False): bytes([0x00]),
Expand Down
2 changes: 1 addition & 1 deletion quicktill/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def linekey(self, kb):
if kb.modifier not in modifiers.all:
log.error("Missing modifier '%s'", kb.modifier)
ui.infopopup(
[f"The modifer '{kb.modifier}' can't be found. This is "
[f"The modifier '{kb.modifier}' can't be found. This is "
f"a till configuration error."],
title="Missing modifier")
return
Expand Down
4 changes: 2 additions & 2 deletions quicktill/xero.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def __init__(self,
"and bill lines")
self.department_tracking_category_name = config.ConfigItem(
f"{config_prefix}:department_tracking_category_name", '',
display_name="Xero deparment tracking category name",
description="Name of a tracking cagegory to use for invoice and "
display_name="Xero department tracking category name",
description="Name of a tracking category to use for invoice and "
"bill lines relating to departments. The value will be read from "
"the department sales_account and purchases_account fields; "
"it is separated from the account number by a '/' character.")
Expand Down

0 comments on commit 75e1bed

Please sign in to comment.