# HG changeset patch # User laurent # Date 1318969210 -7200 # Node ID 73138d14d88d70c844658f613fa6f644292d2ff9 # Parent 9dbb79722fbc4b00d804f1e48786bee5ff33634a Fix bug with internationalization in ResourceEditor diff -r 9dbb79722fbc -r 73138d14d88d RessourceEditor.py --- a/RessourceEditor.py Fri Oct 14 19:26:29 2011 +0200 +++ b/RessourceEditor.py Tue Oct 18 22:20:10 2011 +0200 @@ -232,7 +232,7 @@ grid.SetReadOnly(row, col, True) elif colname == "Triggering": editor = wx.grid.GridCellChoiceEditor() - editor.SetParameters(",".join([""] + GetTaskTriggeringOptions())) + editor.SetParameters(",".join([""] + map(_, GetTaskTriggeringOptions()))) elif colname == "Type": editor = wx.grid.GridCellChoiceEditor() editor.SetParameters(self.Parent.TypeList)