Show More
@@ -452,15 +452,17 b' def findadmonitions(blocks, admonitions=' | |||
|
452 | 452 | i = i + 1 |
|
453 | 453 | return blocks |
|
454 | 454 | |
|
455 | _admonitiontitles = {'attention': _('Attention:'), | |
|
456 |
|
|
|
457 | 'danger': _('!Danger!') , | |
|
458 | 'error': _('Error:'), | |
|
459 | 'hint': _('Hint:'), | |
|
460 | 'important': _('Important:'), | |
|
461 | 'note': _('Note:'), | |
|
462 | 'tip': _('Tip:'), | |
|
463 | 'warning': _('Warning!')} | |
|
455 | _admonitiontitles = { | |
|
456 | 'attention': _('Attention:'), | |
|
457 | 'caution': _('Caution:'), | |
|
458 | 'danger': _('!Danger!'), | |
|
459 | 'error': _('Error:'), | |
|
460 | 'hint': _('Hint:'), | |
|
461 | 'important': _('Important:'), | |
|
462 | 'note': _('Note:'), | |
|
463 | 'tip': _('Tip:'), | |
|
464 | 'warning': _('Warning!'), | |
|
465 | } | |
|
464 | 466 | |
|
465 | 467 | def formatoption(block, width): |
|
466 | 468 | desc = ' '.join(map(str.strip, block['lines'])) |
General Comments 0
You need to be logged in to leave comments.
Login now