21 | | For now replacing comments from [source:/manage/sched/sophie2-wbs.py] are enough. Note that comments should be for the whole task and may be bigger than a sentence. Define a function called "description" in python file [source:/manage/sched/sophie2-wbs.py]. Convert comments to strings in "description". Note that description should be similar to spec_entry function. |
| 21 | For now replacing comments from [source:/manage/sched/sophie2-wbs.py] are enough. Note that comments should be for the whole task and may be bigger than a sentence. Define a function called "desc" in python file [source:/manage/sched/sophie2-wbs.py]. Convert comments to strings in "description". Note that desc function should be similar to spec_entry function. Open the file using a text editor capable of searching regular expressions. |
| 22 | * Find |
| 23 | {{{ |
| 24 | (#.+) |
| 25 | }}} |
| 26 | and replace it with |
| 27 | {{{ |
| 28 | desc("%1") |
| 29 | }}} |
| 30 | Do not do "Replace all", replace it one by one separating comments you decide useful for later work. |
| 31 | * Open [source:/manage/reports/m02/0m02-descriptions-en.txt] and [source:/manage/reports/m02/0m02-descriptions-bg.txt], join the descriptions and add them to corresponding tasks. The desc function in that case should say |
| 32 | {{{ |
| 33 | desc("R? <task overview>") |
| 34 | }}} |