Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
@if (isBackTranslation) {
<h1>{{ t("generate_back_translation_drafts_header") }}</h1>
} @else {
<h1>
{{ t("generate_forward_translation_drafts_header") }}
</h1>
<h1>{{ t("generate_forward_translation_drafts_header") }}</h1>
}

@if (showDraftOptionsNotice) {
<app-notice type="primary" mode="fill-dark" icon="info">
{{ t("draft_options_message") }}
<a href="https://help.scriptureforge.org/format-a-draft/" target="_blank">{{ t("learn_more") }}</a>
</app-notice>
}

<section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export class DraftGenerationComponent extends DataLoadingComponent implements On

currentPage: 'initial' | 'steps' = 'initial';

showDraftOptionsNotice = new Date() < new Date('2025-12-01 00:00:00Z');

/**
* Once true, UI can proceed with display according to status of fetched job.
* This is needed as an undefined `draftJob` could mean that no job has ever been started.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@
"sign_up_for_drafting": "Sign up for drafting",
"temporarily_unavailable": "Generating drafts is temporarily unavailable.",
"warning_generation_faulted": "Last generation attempt failed. Click [em]\"{{ generateButtonText }}\"[/em] below to try again.",
"click_book_to_preview": "Click a book below to preview the draft and add it to your project."
"click_book_to_preview": "Click a book below to preview the draft and add it to your project.",
"draft_options_message": "Generated Drafts now come with formatting options to make editing easier.",
"learn_more": "Learn more"
},
"draft_generation_steps": {
"back": "Back",
Expand Down
Loading