[0.5] "Send to the calculator" doesn't work in non-english
Bug #363382 reported by
Steve Dodier-Lazaro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wxBanker |
Fix Released
|
Medium
|
Michael Rooney |
Bug Description
As said in the summary, the "send/add/substract to/from calculator" context menu entries don't work in wxBanker 0.5 (at least, they don't here ;) ).
To post a comment you must log in.
Traceback (most recent call last): python2. 5/site- packages/ wxbanker/ transactionolv. py", line 192, in <lambda> Bind(wx. EVT_MENU, lambda e, s=actionStr: self.onCalculat orAction( transactions, col, s), source=item) python2. 5/site- packages/ wxbanker/ transactionolv. py", line 240, in onCalculatorAction
File "/usr/lib/
menu.
File "/usr/lib/
pushStr = {'SEND': 'C%s', 'SUBTRACT': '-%s=', 'ADD': '+%s='}[command]
KeyError: 'ENVOYER'
(python:26052): Gtk-WARNING **: /build/ buildd/ gtk+2.0- 2.14.4/ gtk/gtkwidget. c:9042: widget class `GtkPizza' has no property named `row-ending- details'
See here :
KeyError: 'ENVOYER' , envoyer means SEND in french. I suppose you parse the string and use this as a key, which would cause the problem.