Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
fix: make PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Feb 14, 2024
1 parent a3f57f3 commit 0e0b3ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/item/form/DocumentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const DocumentExtraForm = ({
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
<TabList
onChange={(_, value) => handleChangeEditorMode(value)}
aria-label="lab API tabs example"
aria-label={t(BUILDER.DOCUMENT_EDITOR_MODE_ARIA_LABEL)}
>
<Tab
label={t(BUILDER.DOCUMENT_EDITOR_MODE_RICH_TEXT)}
Expand All @@ -137,7 +137,6 @@ export const DocumentExtraForm = ({
</TabPanel>
<TabPanel value={EditorMode.Raw.toString()} sx={{ minHeight: '0px' }}>
<TextField
sx={{ height: '100%', overflow: 'scroll' }}
multiline
fullWidth
minRows={5}
Expand Down
1 change: 1 addition & 0 deletions src/langs/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const BUILDER = {
DOWNLOAD_ITEM_BUTTON: 'DOWNLOAD_ITEM_BUTTON',
DOCUMENT_EDITOR_MODE_RICH_TEXT: 'DOCUMENT_EDITOR_MODE_RICH_TEXT',
DOCUMENT_EDITOR_MODE_RAW: 'DOCUMENT_EDITOR_MODE_RAW',
DOCUMENT_EDITOR_MODE_ARIA_LABEL: 'DOCUMENT_EDITOR_MODE_ARIA_LABEL',
DROP_DOWN_PLACEHOLDER: 'DROP_DOWN_PLACEHOLDER',
EDIT_BUTTON_TOOLTIP: 'EDIT_BUTTON_TOOLTIP',
EDIT_FOLDER_DESCRIPTION_PLACEHOLDER: 'EDIT_FOLDER_DESCRIPTION_PLACEHOLDER',
Expand Down
1 change: 1 addition & 0 deletions src/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"DOCUMENT_FLAVOR_WARNING": "Warning",
"DOCUMENT_EDITOR_MODE_RICH_TEXT": "Rich Text",
"DOCUMENT_EDITOR_MODE_RAW": "HTML",
"DOCUMENT_EDITOR_MODE_ARIA_LABEL": "Switch document editor mode",
"DOWNLOAD_ITEM_BUTTON": "Download",
"DROP_DOWN_PLACEHOLDER": "Please Choose From List",
"EDIT_BUTTON_TOOLTIP": "Edit",
Expand Down

0 comments on commit 0e0b3ce

Please sign in to comment.