| @@ 764-768 (lines=5) @@ | ||
| 761 | } |
|
| 762 | ||
| 763 | if ($dep['type'] == 'suggests') { |
|
| 764 | if ($dep['status']) { |
|
| 765 | $strings['comment'] = $translator->translate('ok'); |
|
| 766 | } else { |
|
| 767 | $strings['comment'] = $translator->translate('ElggPlugin:Dependencies:Suggests:Unsatisfied'); |
|
| 768 | } |
|
| 769 | } else { |
|
| 770 | if ($dep['status']) { |
|
| 771 | $strings['comment'] = $translator->translate('ok'); |
|
| @@ 769-775 (lines=7) @@ | ||
| 766 | } else { |
|
| 767 | $strings['comment'] = $translator->translate('ElggPlugin:Dependencies:Suggests:Unsatisfied'); |
|
| 768 | } |
|
| 769 | } else { |
|
| 770 | if ($dep['status']) { |
|
| 771 | $strings['comment'] = $translator->translate('ok'); |
|
| 772 | } else { |
|
| 773 | $strings['comment'] = $translator->translate('error'); |
|
| 774 | } |
|
| 775 | } |
|
| 776 | ||
| 777 | return $strings; |
|
| 778 | } |
|