hotfix: localize msg string throwing error
Created https://github.com/webrecorder/browsertrix-cloud/issues/495 to catch issues before merge
This commit is contained in:
parent
b0745a63f7
commit
7a476e31ed
0
frontend/src/__generated__/.keep
generated
0
frontend/src/__generated__/.keep
generated
@ -1329,15 +1329,14 @@ https://example.net`}
|
|||||||
|
|
||||||
private renderConfirmSettings = () => {
|
private renderConfirmSettings = () => {
|
||||||
const errorAlert = when(this.formHasError, () => {
|
const errorAlert = when(this.formHasError, () => {
|
||||||
|
const crawlSetupUrl = `${window.location.href.split("#")[0]}#crawlSetup`;
|
||||||
const errorMessage = this.hasRequiredFields()
|
const errorMessage = this.hasRequiredFields()
|
||||||
? msg(
|
? msg(
|
||||||
"There are issues with this crawl configuration. Please go through previous steps and fix all issues to continue."
|
"There are issues with this crawl configuration. Please go through previous steps and fix all issues to continue."
|
||||||
)
|
)
|
||||||
: msg(html`There is an issue with this crawl configuration:<br /><br />Crawl
|
: msg(html`There is an issue with this crawl configuration:<br /><br />Crawl
|
||||||
URL(s) required in
|
URL(s) required in
|
||||||
<a
|
<a href="${crawlSetupUrl}" class="bold underline hover:no-underline"
|
||||||
href="${`${window.location.href.split("#")[0]}#crawlSetup`}"
|
|
||||||
class="bold underline hover:no-underline"
|
|
||||||
>Crawl Setup</a
|
>Crawl Setup</a
|
||||||
>. <br /><br />
|
>. <br /><br />
|
||||||
Please fix to continue.`);
|
Please fix to continue.`);
|
||||||
|
@ -704,7 +704,7 @@ export class CrawlTemplatesList extends LiteElement {
|
|||||||
class="underline hover:no-underline"
|
class="underline hover:no-underline"
|
||||||
href="/archives/${this
|
href="/archives/${this
|
||||||
.archiveId}/crawls/crawl/${data.started}#watch"
|
.archiveId}/crawls/crawl/${data.started}#watch"
|
||||||
@click=${this.navLink.bind(this)}
|
@click="${this.navLink.bind(this)}"
|
||||||
>Watch crawl</a
|
>Watch crawl</a
|
||||||
>`
|
>`
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user