Skip to content

Commit 7c76dcd

Browse files
committed
fixes links (#49)
1 parent 4e251f4 commit 7c76dcd

File tree

4 files changed

+20
-22
lines changed

4 files changed

+20
-22
lines changed

src/components/pages/guides/CreateMonitor.astro

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const { t } = Astro.locals;
2222
<Card title={t`guides.create_monitor.card_title`}>
2323
<ol>
2424
<li>{t`guides.create_monitor.opensource.step1`}</li>
25-
<li>{t`guides.create_monitor.opensource.step2`}</li>
25+
<li set:html={t`guides.create_monitor.opensource.step2`}></li>
2626
</ol>
2727
</Card>
2828

@@ -31,7 +31,7 @@ const { t } = Astro.locals;
3131
<p>{t`guides.create_monitor.opensource.copy_url_desc`}</p>
3232
<p>{t`guides.create_monitor.opensource.url_format`}</p>
3333
<p>
34-
[https://-_your-organization-name-_.atlassian.net/jira/software/projects/-_your-project-name_-/boards/1](https://-_your-organization-name-_.atlassian.net/jira/your-work)
34+
<a href="https://-_your-organization-name-_.atlassian.net/jira/your-work">https://-<em>your-organization-name-</em>.atlassian.net/jira/software/projects/-<em>your-project-name</em>-/boards/1</a>
3535
</p>
3636

3737
<blockquote cite="Propromo">
@@ -40,25 +40,23 @@ const { t } = Astro.locals;
4040

4141
<h2>{t`guides.create_monitor.opensource.visit_title`}</h2>
4242

43-
<p>
44-
{t`guides.create_monitor.opensource.step2`} and paste the url in the input field.
45-
</p>
43+
<p set:html={t`guides.create_monitor.opensource.visit_desc`}></p>
4644
</TabItem>
4745

4846
<TabItem label="PrivateDomain">
4947
<Card title={t`guides.create_monitor.card_title`}>
5048
<ol>
5149
<li>{t`guides.create_monitor.private.step1`}</li>
5250
<li>{t`guides.create_monitor.private.step2`}</li>
53-
<li>{t`guides.create_monitor.private.step3`}</li>
51+
<li set:html={t`guides.create_monitor.private.step3`}></li>
5452
</ol>
5553
</Card>
5654

5755
<h2>{t`guides.create_monitor.private.pat_token_title`}</h2>
5856

5957
<p>{t`guides.create_monitor.private.pat_token_desc`}</p>
6058

61-
<p>{t`guides.create_monitor.private.pat_token_create`} [github.com/settings/tokens](https://github.com/settings/tokens).</p>
59+
<p>{t`guides.create_monitor.private.pat_token_create`} <a href="https://github.com/settings/tokens">github.com/settings/tokens</a>.</p>
6260

6361
<p>{t`guides.create_monitor.private.pat_token_scopes`}</p>
6462

@@ -72,7 +70,7 @@ const { t } = Astro.locals;
7270

7371
<p>
7472
{t`guides.create_monitor.private.copy_url_desc`}
75-
{t`guides.create_monitor.private.url_format`} [https://github.com/-_users or orgs_\-/\-_login-name_\-/projects/\-_id_\-/views/\-_id_\-](https://github.com/orgs/propromo-software/projects/1/views/6)
73+
{t`guides.create_monitor.private.url_format`} <a href="https://github.com/orgs/propromo-software/projects/1/views/6">https://github.com/-<em>users or orgs</em>-/-<em>login-name</em>-/projects/-<em>id</em>-/views/-<em>id</em>-</a>
7674
</p>
7775

7876
<blockquote cite="Propromo">
@@ -82,7 +80,7 @@ const { t } = Astro.locals;
8280

8381
<h2>{t`guides.create_monitor.private.visit_title`}</h2>
8482

85-
<p>{t`guides.create_monitor.private.visit_desc`}</p>
83+
<p set:html={t`guides.create_monitor.private.visit_desc`}></p>
8684
</TabItem>
8785
</Tabs>
8886
</StarlightPage>

src/components/pages/guides/JoinMonitor.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { t } = Astro.locals;
55
---
66

77
<StarlightPage frontmatter={{ title: t`guides.join_monitor.title`, description: t`guides.join_monitor.description` }}>
8-
<p>{t`guides.join_monitor.main_text`}</p>
8+
<p set:html={t`guides.join_monitor.main_text`}></p>
99

1010
<p><strong><b>{t`guides.join_monitor.examples_title`}</b></strong></p>
1111

@@ -14,9 +14,9 @@ const { t } = Astro.locals;
1414
<li>URL: <a href="propromo.duckdns.org/monitors/join/$2y$12$yS.ALofurRO3lc5oC6QmSuxzKwsYTPO.s67YaqVxkzKQS.K5A584C">propromo.duckdns.org/monitors/join/$2y$12$yS...</a></li>
1515
</ul>
1616

17-
<h2>{t`guides.join_monitor.monitor_id_title`}</h2>
17+
<h2 set:html={t`guides.join_monitor.monitor_id_title`}></h2>
1818

19-
<p>{t`guides.join_monitor.monitor_id_desc`}</p>
19+
<p set:html={t`guides.join_monitor.monitor_id_desc`}></p>
2020

2121
<h2>{t`guides.join_monitor.link_title`}</h2>
2222

src/content/i18n/de.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
"card_title": "Einen Monitor zu erstellen ist einfach!",
1818
"opensource": {
1919
"step1": "Kopieren Sie Ihre Projekt-URL.",
20-
"step2": "Besuchen Sie create-monitor",
20+
"step2": "Besuchen Sie <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a>",
2121
"copy_url_title": "1. Kopieren Sie die Projekt-URL",
2222
"copy_url_desc": "Gehen Sie zum Projekt-Dashboard, das Sie anzeigen möchten, und kopieren Sie dessen URL.",
2323
"url_format": "Die URL hat das folgende Format:",
2424
"url_note": "Die Board-Nummer spielt keine Rolle, propromo ruft nur die Grunddaten ab, nicht die Board-Informationen.",
2525
"visit_title": "2. Besuchen Sie create-monitor",
26-
"visit_desc": "Besuchen Sie create-monitor und fügen Sie die URL in das Eingabefeld ein."
26+
"visit_desc": "Besuchen Sie <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a> und fügen Sie die URL in das Eingabefeld ein."
2727
},
2828
"private": {
2929
"step1": "Erstellen Sie ein neues Github PAT Token.",
3030
"step2": "Kopieren Sie Ihre Projekt-URL.",
31-
"step3": "Besuchen Sie create-monitor",
31+
"step3": "Besuchen Sie <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a>",
3232
"pat_token_title": "1. Erstellen Sie ein neues Github PAT Token",
3333
"pat_token_desc": "Wenn Sie einen Monitor erstellen möchten und das anzuzeigende Projekt privat ist, benötigen Sie zuerst ein Github PAT Token mit Leseberechtigungen.",
3434
"pat_token_create": "Sie können ein solches Token erstellen unter",
@@ -40,7 +40,7 @@
4040
"url_note_1": "Der View-Teil spielt keine Rolle, propromo kann nur die Meilensteine und Issues abrufen, nicht die Views.",
4141
"url_note_2": "(Version `2022-11-28` (aktuell) der github-rest-api unterstützt das nicht).",
4242
"visit_title": "3. Besuchen Sie create-monitor",
43-
"visit_desc": "Besuchen Sie create-monitor und fügen Sie die URL und das Token in die Eingabefelder ein."
43+
"visit_desc": "Besuchen Sie <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a> und fügen Sie die URL und das Token in die Eingabefelder ein."
4444
}
4545
},
4646
"join_monitor": {
@@ -49,7 +49,7 @@
4949
"main_text": "Wenn Sie einem Monitor beitreten möchten, benötigen Sie zuerst dessen `monitor_id`. Die ID liegt entweder in Form eines Links oder einer langen Zeichenkette vor.",
5050
"examples_title": "Beispiele:",
5151
"monitor_id_title": "`monitor_id`",
52-
"monitor_id_desc": "Fügen Sie sie in das Eingabefeld auf [propromo.duckdns.org](https://propromo.duckdns.org) ein und drücken Sie Enter oder den Beitritts-Button. Alternativ können Sie dem Projekt unter [propromo.duckdns.org/monitors/join](propromo.duckdns.org/monitors/join) beitreten.",
52+
"monitor_id_desc": "Fügen Sie sie in das Eingabefeld auf <a href=\"https://propromo.duckdns.org\">propromo.duckdns.org</a> ein und drücken Sie Enter oder den Beitritts-Button. Alternativ können Sie dem Projekt unter <a href=\"propromo.duckdns.org/monitors/join\">propromo.duckdns.org/monitors/join</a> beitreten.",
5353
"link_title": "Link",
5454
"link_desc": "Öffnen Sie einfach den Link in Ihrem bevorzugten Webbrowser."
5555
}

src/content/i18n/en.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
"card_title": "Creating a monitor is easy!",
1818
"opensource": {
1919
"step1": "Copy your project url.",
20-
"step2": "Visit [create-monitor](https://propromo.duckdns.org/create-monitor)",
20+
"step2": "Visit <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a>",
2121
"copy_url_title": "1. Copy the project url",
2222
"copy_url_desc": "Go to the project dashboard, you want to display, and copy it's url.",
2323
"url_format": "The url has the following format:",
2424
"url_note": "The board number doesn't matter, propromo does only fetch the basic data, not the board information.",
2525
"visit_title": "2. Visit create-monitor",
26-
"visit_desc": "Visit [create-monitor](https://propromo.duckdns.org/create-monitor) and paste the url in the input field."
26+
"visit_desc": "Visit <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a> and paste the url in the input field."
2727
},
2828
"private": {
2929
"step1": "Create a new github pat token.",
3030
"step2": "Copy your project url.",
31-
"step3": "Visit [create-monitor](https://propromo.duckdns.org/create-monitor)",
31+
"step3": "Visit <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a>",
3232
"pat_token_title": "1. Create a new github pat token",
3333
"pat_token_desc": "If you want to create a monitor and the project you want to display is private, you need a Github pat token with read scopes first.",
3434
"pat_token_create": "You can create such token at",
@@ -40,7 +40,7 @@
4040
"url_note_1": "The view part does not matter, propromo can only fetch the milestones and issues, not the views.",
4141
"url_note_2": "(version `2022-11-28` (latest) of the github-rest-api does not support that).",
4242
"visit_title": "3. Visit create-monitor",
43-
"visit_desc": "Visit [create-monitor](https://propromo.duckdns.org/create-monitor) and paste the url and the token in the input fields."
43+
"visit_desc": "Visit <a href=\"https://propromo.duckdns.org/create-monitor\">create-monitor</a> and paste the url and the token in the input fields."
4444
}
4545
},
4646
"join_monitor": {
@@ -49,7 +49,7 @@
4949
"main_text": "If you want to join a monitor, you need it's `monitor_id` first. The id is either in form of a link or a long string.",
5050
"examples_title": "Examples:",
5151
"monitor_id_title": "`monitor_id`",
52-
"monitor_id_desc": "Paste it in the input field at [propromo.duckdns.org](https://propromo.duckdns.org) and hit enter, or press the join button. Alternatively you could join the project at [propromo.duckdns.org/monitors/join](propromo.duckdns.org/monitors/join).",
52+
"monitor_id_desc": "Paste it in the input field at <a href=\"https://propromo.duckdns.org\">propromo.duckdns.org</a> and hit enter, or press the join button. Alternatively you could join the project at <a href=\"propromo.duckdns.org/monitors/join\">propromo.duckdns.org/monitors/join</a>.",
5353
"link_title": "Link",
5454
"link_desc": "Just open the link in your web-browser of choice."
5555
}

0 commit comments

Comments
 (0)