Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -526,12 +526,20 @@ |
527 | 527 | $wgTranslateGroupFiles = array(); |
528 | 528 | |
529 | 529 | /** |
530 | | - * List of possible message group review workflow states. Users who have |
531 | | - * translate-groupreview right can set this in Special:Translate. |
| 530 | + * List of possible message group review workflow states and colors for each state. |
| 531 | + * Users who have translate-groupreview right can set this in Special:Translate. |
532 | 532 | * The state is visible in Special:Translate, Special:MessageGroupStats and |
533 | | - * Special:LanguageStats. |
| 533 | + * Special:LanguageStats. If the value is false, the workflow states feature |
| 534 | + * is disabled. |
534 | 535 | * Up two 32 characters each. |
535 | | - * Example: array( 'new', 'needs_proofreading', 'ready', 'published', ); |
| 536 | + * Example: |
| 537 | + * array( |
| 538 | + * 'new' => 'FF0000', // red |
| 539 | + * 'needs_proofreading' => '0000FF', // blue |
| 540 | + * 'ready' => 'FFFF00', // yellow |
| 541 | + * 'published' => '00FF00', // green |
| 542 | + * ); |
| 543 | + * |
536 | 544 | */ |
537 | 545 | $wgTranslateWorkflowStates = false; |
538 | 546 | |