Skip to content

Commit

Permalink
Merge pull request janhq#3694 from janhq/copyfix
Browse files Browse the repository at this point in the history
chore: Copyfix
  • Loading branch information
freelerobot authored Sep 19, 2024
2 parents ba3c07e + 8fe3763 commit 17be901
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const TableActiveModel = () => {
) : (
<tbody>
<tr className="text-[hsla(var(--text-secondary))]">
<td className="p-4">No on-device model running</td>
<td className="p-4">No models are loaded into memory</td>
</tr>
</tbody>
)}
Expand Down
2 changes: 1 addition & 1 deletion web/screens/LocalServer/LocalServerLeftPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const LocalServerLeftPanel = () => {
{serverEnabled && (
<Button variant="soft" asChild>
<a href={`http://localhost:${port}`} target="_blank">
API Reference <ExternalLinkIcon size={20} className="ml-2" />
API Playground <ExternalLinkIcon size={20} className="ml-2" />
</a>
</Button>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const ModalConfirmReset = () => {
content={
<div>
<p className="text-[hsla(var(--text-secondary))]">
It will reset the application to its original state, deleting all
your usage data, including model customizations and conversation
history. This action is irreversible.
Restore app to initial state, erasing all models and chat history.
This action is irreversible and recommended only if the application
is corrupted.
</p>

<div className="my-4">
Expand Down
6 changes: 3 additions & 3 deletions web/screens/Settings/Advanced/FactoryReset/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const FactoryReset = () => {
</h6>
</div>
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Reset the application to its initial state, deleting all your usage
data, including conversation history. This action is irreversible and
recommended only if the application is in a corrupted state.
Restore app to initial state, erasing all models and chat history.
This action is irreversible and recommended only if the application is
corrupted.
</p>
</div>
<Button
Expand Down
3 changes: 1 addition & 2 deletions web/screens/Settings/CancelModelImportModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ const CancelModelImportModal = () => {
<div>
<p className="text-[hsla(var(--text-secondary))]">
The model import process is not complete. Are you sure you want to
cancel all ongoing model imports? This action is irreversible and
the progress will be lost.
cancel?
</p>
<div className="mt-4 flex justify-end gap-x-2">
<ModalClose asChild onClick={onContinueClick}>
Expand Down

0 comments on commit 17be901

Please sign in to comment.