Skip to content
Closed
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 @@ -169,12 +169,9 @@ export const InstallationReviewDialog: React.FC<
<summary>Release</summary>
<Identity>
Pinned to <code>{pending.release.id}</code>
{pending.release.url !== pending.release.id && (
<>
<br />
from {pending.release.url}
</>
)}
</Identity>
<Identity hidden={pending.release.url === pending.release.id}>
from {pending.release.url}
</Identity>
</details>
</Column>
Expand Down Expand Up @@ -228,4 +225,5 @@ const Identity = styled.p`
overflow-wrap: anywhere;
font-size: 0.8rem;
color: ${p => p.theme.colors.textLight};
margin: 0;
`;
22 changes: 16 additions & 6 deletions browser/data-browser/src/locales/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8858,12 +8858,8 @@ msgstr ""
msgid "v"
msgstr ""

#. 0: pending.release.url !== pending.release.id && ( <> <br /> from {pending.release.url} </> )
#. 0: release && release !== releaseId && ( <> <br /> from{' '} {/^https?:\\\\/\\\\//.test(release) ? ( <a href={release} target='_blank' rel='noreferrer'> {release} </a> ) \\: ( release )} </> )
#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/> {0}"
msgstr ""
#~ msgid "Pinned to <0/> {0}"
#~ msgstr ""

#: src/chunks/Plugins/CapabilityList.tsx
msgid "No permissions required"
Expand Down Expand Up @@ -9424,3 +9420,17 @@ msgstr ""
#: src/chunks/AppPage/AppFrame.tsx
msgid "Connect an account"
msgstr ""

#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/>"
msgstr ""

#. 0: pending.release.url
#: src/chunks/Plugins/InstallationReviewDialog.tsx
msgid "from {0}"
msgstr ""

#: src/views/Installation/InstallationPage.tsx
msgid "from"
msgstr ""
22 changes: 16 additions & 6 deletions browser/data-browser/src/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -8869,12 +8869,8 @@ msgstr "Use included AI"
msgid "v"
msgstr "v"

#. 0: pending.release.url !== pending.release.id && ( <> <br /> from {pending.release.url} </> )
#. 0: release && release !== releaseId && ( <> <br /> from{' '} {/^https?:\\\\/\\\\//.test(release) ? ( <a href={release} target='_blank' rel='noreferrer'> {release} </a> ) \\: ( release )} </> )
#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/> {0}"
msgstr "Pinned to <0/> {0}"
#~ msgid "Pinned to <0/> {0}"
#~ msgstr "Pinned to <0/> {0}"

#: src/chunks/Plugins/CapabilityList.tsx
msgid "No permissions required"
Expand Down Expand Up @@ -9442,3 +9438,17 @@ msgstr "This app wants to connect your{0} <0/> account through{1} {2}. The conne
#: src/chunks/AppPage/AppFrame.tsx
msgid "Connect an account"
msgstr "Connect an account"

#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/>"
msgstr "Pinned to <0/>"

#. 0: pending.release.url
#: src/chunks/Plugins/InstallationReviewDialog.tsx
msgid "from {0}"
msgstr "from {0}"

#: src/views/Installation/InstallationPage.tsx
msgid "from"
msgstr "from"
22 changes: 16 additions & 6 deletions browser/data-browser/src/locales/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8858,12 +8858,8 @@ msgstr ""
msgid "v"
msgstr ""

#. 0: pending.release.url !== pending.release.id && ( <> <br /> from {pending.release.url} </> )
#. 0: release && release !== releaseId && ( <> <br /> from{' '} {/^https?:\\\\/\\\\//.test(release) ? ( <a href={release} target='_blank' rel='noreferrer'> {release} </a> ) \\: ( release )} </> )
#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/> {0}"
msgstr ""
#~ msgid "Pinned to <0/> {0}"
#~ msgstr ""

#: src/chunks/Plugins/CapabilityList.tsx
msgid "No permissions required"
Expand Down Expand Up @@ -9424,3 +9420,17 @@ msgstr ""
#: src/chunks/AppPage/AppFrame.tsx
msgid "Connect an account"
msgstr ""

#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/>"
msgstr ""

#. 0: pending.release.url
#: src/chunks/Plugins/InstallationReviewDialog.tsx
msgid "from {0}"
msgstr ""

#: src/views/Installation/InstallationPage.tsx
msgid "from"
msgstr ""
22 changes: 16 additions & 6 deletions browser/data-browser/src/locales/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -8858,12 +8858,8 @@ msgstr ""
msgid "v"
msgstr ""

#. 0: pending.release.url !== pending.release.id && ( <> <br /> from {pending.release.url} </> )
#. 0: release && release !== releaseId && ( <> <br /> from{' '} {/^https?:\\\\/\\\\//.test(release) ? ( <a href={release} target='_blank' rel='noreferrer'> {release} </a> ) \\: ( release )} </> )
#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/> {0}"
msgstr ""
#~ msgid "Pinned to <0/> {0}"
#~ msgstr ""

#: src/chunks/Plugins/CapabilityList.tsx
msgid "No permissions required"
Expand Down Expand Up @@ -9424,3 +9420,17 @@ msgstr ""
#: src/chunks/AppPage/AppFrame.tsx
msgid "Connect an account"
msgstr ""

#: src/chunks/Plugins/InstallationReviewDialog.tsx
#: src/views/Installation/InstallationPage.tsx
msgid "Pinned to <0/>"
msgstr ""

#. 0: pending.release.url
#: src/chunks/Plugins/InstallationReviewDialog.tsx
msgid "from {0}"
msgstr ""

#: src/views/Installation/InstallationPage.tsx
msgid "from"
msgstr ""
28 changes: 15 additions & 13 deletions browser/data-browser/src/views/Installation/InstallationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,24 @@ export const InstallationPage: React.FC<
</Column>
<Column as='section' aria-label='Release'>
<h3>Release</h3>
{/* Two paragraphs, not a <br /> inside one message: a JSX element
passed into a translated message lands in its fragment array
without a key. */}
<Identity>
Pinned to <code>{releaseId}</code>
{release && release !== releaseId && (
<>
<br />
from{' '}
{/^https?:\/\//.test(release) ? (
<a href={release} target='_blank' rel='noreferrer'>
{release}
</a>
) : (
release
)}
</>
)}
</Identity>
{release && release !== releaseId && (
<Identity>
from{' '}
{/^https?:\/\//.test(release) ? (
<a href={release} target='_blank' rel='noreferrer'>
{release}
</a>
) : (
release
)}
</Identity>
)}
</Column>
<Column as='section' aria-label='Grants'>
<h3>Grants</h3>
Expand Down
Loading