Consistent casing for titles
This commit is contained in:
@ -44,35 +44,35 @@ export function CardMenu(props: CardMenuProps): JSX.Element {
|
||||
onSelect={() => {
|
||||
props.actionHandler('set-labels')
|
||||
}}
|
||||
title="Set Labels"
|
||||
title="Set labels"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
props.actionHandler('open-notebook')
|
||||
}}
|
||||
title="Open Notebook"
|
||||
title="Open notebook"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.actionHandler('showOriginal')}
|
||||
title="Open Original"
|
||||
title="Open original"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.actionHandler('editTitle')}
|
||||
title="Edit Metadata"
|
||||
title="Edit metadata"
|
||||
/>
|
||||
{props.item.readingProgressPercent < 98 ? (
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
props.actionHandler('mark-read')
|
||||
}}
|
||||
title="Mark Read"
|
||||
title="Mark read"
|
||||
/>
|
||||
) : (
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
props.actionHandler('mark-unread')
|
||||
}}
|
||||
title="Mark Unread"
|
||||
title="Mark unread"
|
||||
/>
|
||||
)}
|
||||
<DropdownOption
|
||||
|
||||
@ -107,7 +107,7 @@ function BarContent(props: HighlightBarProps): JSX.Element {
|
||||
<Button
|
||||
key={`color-${color}`}
|
||||
style="highlightBarIcon"
|
||||
title={`Create Highlight (${color})`}
|
||||
title={`Create highlight (${color})`}
|
||||
onClick={() => {
|
||||
if (!props.isNewHighlight && props.highlightColor != color) {
|
||||
props.handleButtonClick('updateColor', color)
|
||||
@ -151,7 +151,7 @@ function BarContent(props: HighlightBarProps): JSX.Element {
|
||||
{!props.isNewHighlight && (
|
||||
<>
|
||||
<Button
|
||||
title={`Set Labels`}
|
||||
title={`Set labels`}
|
||||
style="highlightBarIcon"
|
||||
onClick={() => props.handleButtonClick('setHighlightLabels')}
|
||||
onMouseEnter={() => {
|
||||
@ -174,7 +174,7 @@ function BarContent(props: HighlightBarProps): JSX.Element {
|
||||
)}
|
||||
|
||||
<Button
|
||||
title={props.isNewHighlight ? `Create Highlight w/note` : 'Add Note'}
|
||||
title={props.isNewHighlight ? `Create highlight w/note` : 'Add note'}
|
||||
style="highlightBarIcon"
|
||||
onClick={() => props.handleButtonClick('comment')}
|
||||
onMouseEnter={() => {
|
||||
|
||||
@ -58,7 +58,7 @@ export const LibraryHoverActions = (props: LibraryHoverActionsProps) => {
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
title="View Notebook (t)"
|
||||
title="View notebook (t)"
|
||||
style="hoverActionIcon"
|
||||
onClick={(event) => {
|
||||
props.handleAction('open-notebook')
|
||||
|
||||
@ -19,11 +19,11 @@ export function ReaderDropdownMenu(props: DropdownMenuProps): JSX.Element {
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.articleActionHandler('setLabels')}
|
||||
title="Edit Labels (l)"
|
||||
title="Edit labels (l)"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.articleActionHandler('showEditModal')}
|
||||
title="Edit Info (i)"
|
||||
title="Edit info (i)"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.articleActionHandler('delete')}
|
||||
|
||||
@ -282,7 +282,7 @@ export function UploadModal(props: UploadModalProps): JSX.Element {
|
||||
>
|
||||
<VStack distribution="start">
|
||||
<ModalTitleBar
|
||||
title="Upload File"
|
||||
title="Upload file"
|
||||
onOpenChange={props.onOpenChange}
|
||||
/>
|
||||
<Dropzone
|
||||
|
||||
@ -213,7 +213,7 @@ export function AddBulkLabelsModal(
|
||||
<VStack distribution="start" css={{ height: '100%' }}>
|
||||
<SpanBox css={{ pt: '0px', px: '16px', width: '100%' }}>
|
||||
<ModalTitleBar
|
||||
title="Add Labels to selected items"
|
||||
title="Add labels to selected items"
|
||||
onOpenChange={props.onOpenChange}
|
||||
/>
|
||||
</SpanBox>
|
||||
|
||||
@ -112,7 +112,7 @@ export function ArticleActionsMenu(
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
title="View Notebook (t)"
|
||||
title="View notebook (t)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => props.articleActionHandler('showHighlights')}
|
||||
css={{
|
||||
@ -127,7 +127,7 @@ export function ArticleActionsMenu(
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
title="Edit Info (i)"
|
||||
title="Edit info (i)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => props.articleActionHandler('showEditModal')}
|
||||
css={{
|
||||
|
||||
@ -137,13 +137,13 @@ export function NotebookModal(props: NotebookModalProps): JSX.Element {
|
||||
onSelect={() => {
|
||||
exportHighlights()
|
||||
}}
|
||||
title="Export Notebook"
|
||||
title="Export notebook"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
setShowConfirmDeleteNote(true)
|
||||
}}
|
||||
title="Delete Article Note"
|
||||
title="Delete article note"
|
||||
/>
|
||||
</Dropdown>
|
||||
<CloseButton close={handleClose} />
|
||||
|
||||
@ -52,7 +52,7 @@ export function VerticalArticleActionsMenu(
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
title="Open Notebook (t)"
|
||||
title="Open notebook (t)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => props.articleActionHandler('showHighlights')}
|
||||
css={{
|
||||
@ -70,7 +70,7 @@ export function VerticalArticleActionsMenu(
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
title="Edit Info (i)"
|
||||
title="Edit info (i)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => props.articleActionHandler('showEditModal')}
|
||||
css={{
|
||||
@ -142,7 +142,7 @@ export function VerticalArticleActionsMenu(
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
title="Display Settings (d)"
|
||||
title="Display settings (d)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => props.articleActionHandler('editDisplaySettings')}
|
||||
css={{
|
||||
|
||||
@ -584,5 +584,5 @@ function EditButton(props: EditButtonProps): JSX.Element {
|
||||
{props.title}
|
||||
</SpanBox>
|
||||
</Link>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ function ControlButtonBox(props: ReaderHeaderProps): JSX.Element {
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
title="Reader Preferences (d)"
|
||||
title="Reader preferences (d)"
|
||||
style="articleActionIcon"
|
||||
onClick={() => {
|
||||
props.showDisplaySettingsModal(true)
|
||||
|
||||
Reference in New Issue
Block a user