made the helptext a bit easier to translate and a bit more accessible

pull/4445/head
Frank Elsinga 3 months ago committed by GitHub
parent ad583cce72
commit ac3cbfd3fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -885,5 +885,6 @@
"Browser Screenshot": "Browser Screenshot",
"What is a Remote Browser?": "What is a Remote Browser?",
"Command": "Command",
"mongodbCommandDescription": "Run a MongoDB command against the database. For information about the available commands check out the MongoDB documentation {0}."
"mongodbCommandDescription": "Run a MongoDB command against the database. For information about the available commands check out the {documentation}",
"documentationOf": "{0} Documentation"
}

@ -440,7 +440,9 @@
<label for="mongodbCommand" class="form-label">{{ $t("Command") }}</label>
<textarea id="mongodbCommand" v-model="monitor.databaseQuery" class="form-control" :placeholder="$t('Example:', [ '{ &quot;ping&quot;: 1 }' ])"></textarea>
<i18n-t tag="div" class="form-text" keypath="mongodbCommandDescription">
<a href="https://www.mongodb.com/docs/manual/reference/command/">{{ $t('here') }}</a>
<template #documentation>
<a href="https://www.mongodb.com/docs/manual/reference/command/">{{ $t('documentationOf', ['MongoDB']) }}</a>
</template>
</i18n-t>
</div>
<div class="my-3">

Loading…
Cancel
Save