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