fix: jan app copy nits (#3193)

This commit is contained in:
Nicole Zhu 2024-07-24 17:17:43 +08:00 committed by GitHub
parent a36b3fee24
commit c91c755bb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 18 additions and 20 deletions

View File

@ -1,8 +1,8 @@
[ [
{ {
"key": "log-enabled", "key": "log-enabled",
"title": "App Logging Enabled", "title": "Enable App Logs",
"description": "We recommend enabling this setting to help us improve the app. Your data will be kept private on your computer, and you can opt out at any time.", "description": "Saves app logs locally on your computer. This enables you to send us crash reports.",
"controllerType": "checkbox", "controllerType": "checkbox",
"controllerProps": { "controllerProps": {
"value": true "value": true
@ -11,7 +11,7 @@
{ {
"key": "log-cleaning-interval", "key": "log-cleaning-interval",
"title": "Log Cleaning Interval", "title": "Log Cleaning Interval",
"description": "Log cleaning interval in milliseconds.", "description": "Automatically delete local logs after a certain time interval (in milliseconds).",
"controllerType": "input", "controllerType": "input",
"controllerProps": { "controllerProps": {
"value": "120000", "value": "120000",
@ -19,4 +19,4 @@
"textAlign": "right" "textAlign": "right"
} }
} }
] ]

View File

@ -94,8 +94,7 @@ const DataFolder = () => {
<h6 className="font-semibold capitalize">Jan Data Folder</h6> <h6 className="font-semibold capitalize">Jan Data Folder</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Where messages, model configurations, and other user data are Default location for messages and other user data.
placed.
</p> </p>
</div> </div>
<div className="flex items-center gap-x-3"> <div className="flex items-center gap-x-3">

View File

@ -12,13 +12,14 @@ const FactoryReset = () => {
<div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row"> <div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row">
<div className="space-y-1"> <div className="space-y-1">
<div className="flex gap-x-2"> <div className="flex gap-x-2">
<h6 className="font-semibold capitalize">Reset to Factory Default</h6> <h6 className="font-semibold capitalize">
Reset to Factory Settings
</h6>
</div> </div>
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Reset the application to its original state, deleting all your usage Reset the application to its initial state, deleting all your usage
data, including model customizations and conversation history. This data, including conversation history. This action is irreversible and
action is irreversible and recommended only if the application is in a recommended only if the application is in a corrupted state.
corrupted state.
</p> </p>
</div> </div>
<Button theme="destructive" onClick={() => setModalValidation(true)}> <Button theme="destructive" onClick={() => setModalValidation(true)}>

View File

@ -200,7 +200,7 @@ const Advanced = () => {
<h6 className="font-semibold capitalize">Experimental Mode</h6> <h6 className="font-semibold capitalize">Experimental Mode</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Enable experimental features that may be untested and unstable. Enable new features that may be unstable.
</p> </p>
</div> </div>
<Switch <Switch

View File

@ -86,7 +86,7 @@ export default function AppearanceOptions() {
variant={reduceTransparent ? 'outline' : 'solid'} variant={reduceTransparent ? 'outline' : 'solid'}
onClick={() => setReduceTransparent(false)} onClick={() => setReduceTransparent(false)}
> >
Transparency Translucent
</Button> </Button>
</div> </div>
</div> </div>
@ -94,12 +94,10 @@ export default function AppearanceOptions() {
<div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row"> <div className="flex w-full flex-col items-start justify-between gap-4 border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none sm:flex-row">
<div className="w-full space-y-1 lg:w-3/4"> <div className="w-full space-y-1 lg:w-3/4">
<div className="flex gap-x-2"> <div className="flex gap-x-2">
<h6 className="font-semibold capitalize">Spell checking</h6> <h6 className="font-semibold capitalize">Spell Check</h6>
</div> </div>
<p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Disable if you prefer to type without spell checking interruptions Toggle to disable spell checking.
or if you are using non-standard language/terminology that the spell
checker may not recognize.
</p> </p>
</div> </div>
<div className="flex-shrink-0"> <div className="flex-shrink-0">

View File

@ -9,17 +9,17 @@ const availableHotkeys = [
{ {
combination: 'B', combination: 'B',
modifierKeys: [isMac ? '⌘' : 'Ctrl'], modifierKeys: [isMac ? '⌘' : 'Ctrl'],
description: 'Toggle collapsible left panel', description: 'Toggle left panel',
}, },
{ {
combination: 'Shift B', combination: 'Shift B',
modifierKeys: [isMac ? '⌘' : 'Ctrl'], modifierKeys: [isMac ? '⌘' : 'Ctrl'],
description: 'Toggle collapsible right panel', description: 'Toggle right panel',
}, },
{ {
combination: ',', combination: ',',
modifierKeys: [isMac ? '⌘' : 'Ctrl'], modifierKeys: [isMac ? '⌘' : 'Ctrl'],
description: 'Navigate to setting page', description: 'Navigate to settings',
}, },
{ {
combination: 'Enter', combination: 'Enter',