Needs review
Project:
Workflow-ng
Version:
5.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2008 at 12:10 UTC
Updated:
17 Jan 2008 at 15:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
mooffie commentedPerhaps we should use '1' and '0' instead of 'yes' and 'no'?
Comment #2
fagoor we just remove the t() around yes and no, so backward compatibility would be ensured at least for english users. Thia is the best fix which comes to my mind...
Comment #3
mooffie commentedOK. But before we give up, let's do a little brainstorming:
It's possible to write an upgrade path (that is, hook_update_xxx) that unserializes the data and replaces each '[status]' et all with '[status-text]' (and we'd handle these tokens specially).
Or... if we're lazy, and don't mind being called bad names, and our future boss is surely not to see this, we can simply do
UPDATE workflow_ng_cfgs SET data = REPLACE(data, '[status]', '[STATUS]')and do the aforementioned with the uppercase token versions. Hey, is this your laugh I'm hearing?! :-))OK, I give up, let's just remove the t(). The description has to mention that it's "in English". Patch attached.