feat: improve preference copy and case consistency
This commit is contained in:
@@ -185,7 +185,7 @@ export const GeneralAccountMenu: FunctionComponent<Props> = observer(
|
||||
}}
|
||||
>
|
||||
<Icon type="signOut" className={iconClassName} />
|
||||
Sign out and clear local data
|
||||
Sign out workspace
|
||||
</MenuItem>
|
||||
</>
|
||||
) : null}
|
||||
|
||||
@@ -43,8 +43,8 @@ export const ConfirmSignoutModal = observer(
|
||||
<div className="sk-panel">
|
||||
<div className="sk-panel-content">
|
||||
<div className="sk-panel-section">
|
||||
<AlertDialogLabel className="sk-h3 sk-panel-section-title capitalize">
|
||||
End your session?
|
||||
<AlertDialogLabel className="sk-h3 sk-panel-section-title">
|
||||
Sign out workspace?
|
||||
</AlertDialogLabel>
|
||||
<AlertDialogDescription className="sk-panel-row">
|
||||
<p className="color-foreground">
|
||||
|
||||
@@ -105,7 +105,7 @@ export const Listed = observer(({ application }: Props) => {
|
||||
type="normal"
|
||||
disabled={requestingAccount}
|
||||
label={
|
||||
requestingAccount ? 'Creating account...' : 'Create New Author'
|
||||
requestingAccount ? 'Creating account...' : 'Create new author'
|
||||
}
|
||||
onClick={registerNewAccount}
|
||||
/>
|
||||
|
||||
@@ -41,12 +41,15 @@ const SignOutView: FunctionComponent<{
|
||||
</div>
|
||||
</PreferencesSegment>
|
||||
<PreferencesSegment>
|
||||
<Subtitle>This device</Subtitle>
|
||||
<Text>This will delete all local items and preferences.</Text>
|
||||
<Subtitle>This workspace</Subtitle>
|
||||
<Text>
|
||||
Remove all data related to the current workspace from the
|
||||
application.
|
||||
</Text>
|
||||
<div className="min-h-3" />
|
||||
<Button
|
||||
type="danger"
|
||||
label="Sign out and clear local data"
|
||||
label="Sign out workspace"
|
||||
onClick={() => {
|
||||
appState.accountMenu.setSigningOut(true);
|
||||
}}
|
||||
@@ -67,12 +70,14 @@ const ClearSessionDataView: FunctionComponent<{
|
||||
return (
|
||||
<PreferencesGroup>
|
||||
<PreferencesSegment>
|
||||
<Title>Clear session data</Title>
|
||||
<Text>This will delete all local items and preferences.</Text>
|
||||
<Title>Clear workspace</Title>
|
||||
<Text>
|
||||
Remove all data related to the current workspace from the application.
|
||||
</Text>
|
||||
<div className="min-h-3" />
|
||||
<Button
|
||||
type="danger"
|
||||
label="Clear Session Data"
|
||||
label="Clear workspace"
|
||||
onClick={() => {
|
||||
appState.accountMenu.setSigningOut(true);
|
||||
}}
|
||||
|
||||
@@ -213,7 +213,7 @@ export const DataBackups = observer(({ application, appState }: Props) => {
|
||||
<div class="flex flex-row items-center mt-3">
|
||||
<Button
|
||||
type="normal"
|
||||
label="Import Backup"
|
||||
label="Import backup"
|
||||
onClick={handleImportFile}
|
||||
/>
|
||||
<input
|
||||
|
||||
@@ -222,7 +222,7 @@ export const PasscodeLock = observer(({ application, appState }: Props) => {
|
||||
|
||||
{!showPasscodeForm && (
|
||||
<Button
|
||||
label="Add Passcode"
|
||||
label="Add passcode"
|
||||
onClick={handleAddPassCode}
|
||||
type="primary"
|
||||
/>
|
||||
|
||||
@@ -52,7 +52,7 @@ export function StringEmptyTrash(count: number) {
|
||||
export const STRING_ACCOUNT_MENU_UNCHECK_MERGE =
|
||||
'Unchecking this option means any of the notes you have written while you were signed out will be deleted. Are you sure you want to discard these notes?';
|
||||
export const STRING_SIGN_OUT_CONFIRMATION =
|
||||
'This will remove all notes, tags, and other data from this device.';
|
||||
'This action will remove this workspace and its related data from the application.';
|
||||
export const STRING_ERROR_DECRYPTING_IMPORT =
|
||||
'There was an error decrypting your items. Make sure the password you entered is correct and try again.';
|
||||
export const STRING_E2E_ENABLED =
|
||||
|
||||
Reference in New Issue
Block a user