Refactor equipmenthandler
This commit is contained in:
parent
b2e41c2ddc
commit
df5ae68a3c
4 changed files with 314 additions and 296 deletions
|
|
@ -2713,7 +2713,7 @@ def run_in_main_thread(function_or_method, *args, **kwargs):
|
|||
return threads.blockingCallFromThread(reactor, function_or_method, *args, **kwargs)
|
||||
|
||||
|
||||
_INT2STR_MAP_NOUN = {1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six",
|
||||
_INT2STR_MAP_NOUN = {0: "no", 1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six",
|
||||
7: "seven", 8: "eight", 9: "nine", 10: "ten", 11: "eleven", 12: "twelve"}
|
||||
_INT2STR_MAP_ADJ = {1: "1st", 2: "2nd", 3: "3rd"} # rest is Xth.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue