Skip to content

Commit

Permalink
moved to strings from the protocol generator instead of hard coded ones
Browse files Browse the repository at this point in the history
  • Loading branch information
connected-znaim committed Oct 21, 2024
1 parent de523b6 commit 4c2f7de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ai": "AI",
"api": "API: An API level is 2.15",
"application": "Application: Your protocol's name, describing what it does.",
"commands": "Commands: List the protocol's steps, specifying quantities in microliters (uL) and giving exact source and destination locations.",
Expand All @@ -15,6 +16,7 @@
"make_sure_your_prompt": "Write a prompt in a natural language for OpentronsAI to generate a protocol using the Opentrons Python Protocol API v2. The better the prompt, the better the quality of the protocol produced by OpentronsAI.",
"modules_and_adapters": "Modules and adapters: Specify the modules and labware adapters required by your protocol.",
"notes": "A few important things to note:",
"opentrons": "Opentrons",
"opentronsai": "OpentronsAI",
"ot2_pipettes": "OT-2 pipettes: Include volume, number of channels, and generation.",
"pcr_flex": "PCR (Flex)",
Expand Down
6 changes: 3 additions & 3 deletions opentrons-ai-client/src/molecules/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export function Header(): JSX.Element {
<HeaderBar>
<HeaderBarContent>
<Flex>
<HeaderTitle>{'Opentrons'}</HeaderTitle>
<HeaderGradientTitle>{'AI'}</HeaderGradientTitle>
<HeaderTitle>{t('opentrons')}</HeaderTitle>
<HeaderGradientTitle>{t('ai')}</HeaderGradientTitle>
</Flex>
<LogoutButton onClick={() => logout()}>{t('Log out')}</LogoutButton>
<LogoutButton onClick={() => logout()}>{t('logout')}</LogoutButton>
</HeaderBarContent>
</HeaderBar>
)
Expand Down

0 comments on commit 4c2f7de

Please sign in to comment.