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",
"title": "App Logging Enabled",
"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.",
"title": "Enable App Logs",
"description": "Saves app logs locally on your computer. This enables you to send us crash reports.",
"controllerType": "checkbox",
"controllerProps": {
"value": true
@ -11,7 +11,7 @@
{
"key": "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",
"controllerProps": {
"value": "120000",
@ -19,4 +19,4 @@
"textAlign": "right"
}
}
]
]

View File

@ -94,8 +94,7 @@ const DataFolder = () => {
<h6 className="font-semibold capitalize">Jan Data Folder</h6>
</div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Where messages, model configurations, and other user data are
placed.
Default location for messages and other user data.
</p>
</div>
<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="space-y-1">
<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>
<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
data, including model customizations and conversation history. This
action is irreversible and recommended only if the application is in a
corrupted state.
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.
</p>
</div>
<Button theme="destructive" onClick={() => setModalValidation(true)}>

View File

@ -200,7 +200,7 @@ const Advanced = () => {
<h6 className="font-semibold capitalize">Experimental Mode</h6>
</div>
<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>
</div>
<Switch

View File

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

View File

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