jsonapi.install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jsonapi.install b/jsonapi.install index e3a7603..ca01ea2 100644 --- a/jsonapi.install +++ b/jsonapi.install @@ -21,10 +21,12 @@ function jsonapi_requirements($phase) { return $should_warn ?: $module_handler->moduleExists($module_name); }, FALSE); if ($should_warn) { - $requirements['jsonapi_git multilingual_support'] = [ + $requirements['jsonapi_multilingual_support'] = [ 'title' => 'JSON:API multilingual support', - 'value' => t('JSON:API multilingual support'), - 'severity' => REQUIREMENT_INFO, + 'value' => t('Limited'), + 'severity' => ($phase === 'runtime') + ? REQUIREMENT_INFO + : REQUIREMENT_WARNING, 'description' => t('Some multilingual features currently do not work well with JSON:API. See the JSON:API multilingual support documentation for more information on the current status of multilingual support.', [ ':jsonapi-docs' => 'https://www.drupal.org/docs/8/modules/jsonapi/translations', ]),