diff -u b/src/Entity/Translator.php b/src/Entity/Translator.php
--- b/src/Entity/Translator.php
+++ b/src/Entity/Translator.php
@@ -322,10 +322,9 @@
if ($plugin = $this->getPlugin()) {
return $plugin->checkAvailable($this);
}
- return AvailableResult::no(t('@translator is not available. Make sure it is properly :configured.', [
+ return AvailableResult::no(t('@translator is not available. Make sure it is properly configured.', [
'@translator' => $this->label(),
- ':configured' => $this->link(t('configured')
- )
+ ':configured' => $this->url()
]));
}
diff -u b/src/TranslatorPluginBase.php b/src/TranslatorPluginBase.php
--- b/src/TranslatorPluginBase.php
+++ b/src/TranslatorPluginBase.php
@@ -13,6 +13,7 @@
use Drupal\tmgmt\Entity\Translator;
use Drupal\tmgmt\Translator\AvailableResult;
use Drupal\tmgmt\Translator\TranslatableResult;
+use Drupal\views\Plugin\views\field\Url;
/**
* Default controller class for service plugins.
@@ -53,7 +54,10 @@
// one of the supported languages.
return TranslatableResult::yes();
}
- return TranslatableResult::no(t('@translator can not translate from @source to @target.', array('@translator' => $translator->label(), '@source' => $job->getSourceLanguage()->getName(), '@target' => $job->getTargetLanguage()->getName())));
+ return TranslatableResult::no(t('@translator is not available. Make sure it is properly configured.', [
+ '@translator' => $translator->label(),
+ ':configured' => $translator->url()
+ ]));
}
/**