Skip to content
Snippets Groups Projects
Commit 40ca7963 authored by Dan Feder's avatar Dan Feder Committed by NuCivic Devops
Browse files

Use preferred practice for string translation with links

parent 6aaae8fd
No related branches found
No related tags found
No related merge requests found
......@@ -391,8 +391,7 @@ class DkanDatastore extends Datastore implements DatastoreForm {
$output .= '<p>' . l($url, $url) . '</p>';
$output .= '<p>' . t('Query this datastore and return first five results') . '</p>';
$output .= '<h3>' . t('Documentation') . '</h3>';
$doc_link = l(t('DKAN Datastore API'), 'http://docs.getdkan.com/docs/dkan-documentation/dkan-api/datastore-api');
$output .= '<p>' . t('See DKAN API documentation for more details: ') . $doc_link . '</p>';
$output .= '<p>' . t('See DKAN API documentation for more details: <a href="http://docs.getdkan.com/docs/dkan-documentation/dkan-api/datastore-api">DKAN Datastore API</a>') . '</p>';
}
}
return $output;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment