Skip to content

Commit

Permalink
Merge pull request #106 from guardian/ljh-text-changes-oct24
Browse files Browse the repository at this point in the history
Minor changes to user-facing text
  • Loading branch information
philmcmahon authored Oct 11, 2024
2 parents 8a79e0b + 4df4c32 commit 90dc0ab
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions packages/client/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ export default function RootLayout({
<div className="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8">
<div className="flex items-center space-x-2">
<h1 className="text-3xl font-bold tracking-tight text-gray-900">
Guardian Transcription Tool
Guardian transcription tool
</h1>
<span className="bg-green-100 text-green-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-green-900 dark:text-green-300">
Beta
</span>
</div>
<p className={'italic pt-1 font-light '}>
This a new tool developed by the Digital Investigations and
Reporting team. Any feedback would be very welcome -
digital.investigations@theguardian.com
This is a tool developed for GNM by the Investigations
and Reporting engineering team. Please email feedback / bug reports
to digital.investigations@theguardian.com
</p>
</div>
</header>
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const Home = () => {
return (
<>
<p className={' pb-3 font-light'}>
Use the form below to upload your files for transcription. You will
receive an email when the transcription process is complete.
Use the form below to upload audio or video files. You will
receive an email when the transcription is ready.
</p>
<UploadForm></UploadForm>
</>
Expand Down
10 changes: 5 additions & 5 deletions packages/client/src/components/UploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ export const UploadForm = () => {
<p>
{' '}
The service can take a few minutes to start up, but thereafter
the transcription process is typically shorter than the length
the transcription process is typically shorter than the duration
of the media file.{' '}
</p>
<p>
If you have requested a translation, you will receive 2 emails
- one for the transcription in the original language, another
If you have requested a translation, you will receive 2 emails:
one for the transcription in the original language, another
for the english translation. The emails will arrive at
different times
different times.
</p>
</div>
<button
Expand Down Expand Up @@ -296,7 +296,7 @@ export const UploadForm = () => {
<Label htmlFor="shipping">Request English translation</Label>
<div className="text-gray-500 dark:text-gray-300">
<span className="text-xs font-normal">
You will receive two documents - a transcript in the
You will receive two documents: a transcript in the
original language and a translation in English.
</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions packages/output-handler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const successMessageBody = (
const exportUrl = `${rootUrl}/export?transcriptId=${transcriptId}`;
return `
<h1>${isTranslation ? 'English translation ' : 'Transcription'} for ${originalFilename} ready</h1>
<p>Click <a href="${exportUrl}">here</a> to export to a google doc.</p>
<p><b>Note:</b> transcripts will expire after 7 days. Export your transcript to a doc now if you want to keep it. </p>
<p>Click <a href="${exportUrl}">here</a> to export to a Google doc.</p>
<p><b>Note:</b> transcripts will be deleted from this service after 7 days. Export your transcript to a Google doc now if you want to keep it. </p>
`;
};

Expand All @@ -45,7 +45,7 @@ const failureMessageBody = (
return `
<h1>${isTranslation ? 'English translation ' : 'Transcription'}for ${originalFilename} has failed.</h1>
<p>Please make sure that the file is a valid audio or video file.</p>
<p>Contact the digital investigations team for support.</p>
<p>Contact digital.investigations@guardian.co.uk for support.</p>
<p>Transcription ID: ${id}</p>
`;
};
Expand Down

0 comments on commit 90dc0ab

Please sign in to comment.