Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make monitoring admin help panel more translatable #9702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions web/html/src/manager/admin/config/monitoring-admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,27 @@ const HelpPanel = (props: HelpPanelProps) => {
<div className="col-sm-3 hidden-xs" id="wizard-faq">
<h4>{t("Server Monitoring")}</h4>
<p>
{t("The server uses ")}
<a href="https://prometheus.io" target="_blank" rel="noopener noreferrer">
{t("Prometheus")}
</a>
{t(" exporters to expose metrics about your environment.")}
{t("The server uses <link>Prometheus</link> exporters to expose metrics about your environment.", {
link: (str: string) => (
<a href="https://prometheus.io" target="_blank" rel="noopener noreferrer" key={str}>
{str}
</a>
),
})}
</p>
<p>
{t("Refer to the ")}
<a
href={"/docs/" + docsLocale + docsDirectory + "/administration/monitoring.html"}
target="_blank"
rel="noopener noreferrer"
>
{t("documentation")}
</a>
{t(" to learn how to consume these metrics.")}
{t("Refer to the <link>documentation</link> to learn how to consume these metrics.", {
link: (str: string) => (
<a
href={"/docs/" + docsLocale + docsDirectory + "/administration/monitoring.html"}
target="_blank"
rel="noopener noreferrer"
key={str}
>
{str}
</a>
),
})}
</p>
</div>
);
Expand Down
Loading