Skip to content

Commit

Permalink
feat: add edit alt text label (#154)
Browse files Browse the repository at this point in the history
* feat: adds english version of edit alt-text label

* fix: fixes typo for edit description edit box

* fix: changes to sentence capatilization

* Revert "fix: changes to sentence capatilization"

This reverts commit ab9856d.

* fix: changes to sentence capitalization

Co-authored-by: Alexandre Chau <[email protected]>

---------

Co-authored-by: Alexandre Chau <[email protected]>
  • Loading branch information
MalinSvenberg and Alexandre Chau authored Jun 18, 2023
1 parent 7188bc4 commit cc5f785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const BUILDER = {
EDIT_ITEM_BUTTON: 'EDIT_ITEM_BUTTON',
EDIT_ITEM_ERROR_MESSAGE: 'EDIT_ITEM_ERROR_MESSAGE',
EDIT_ITEM_MODAL_TITLE: 'EDIT_ITEM_MODAL_TITLE',
EDIT_ITEM_IMAGE_ALT_TEXT_LABEL: 'EDIT_ITEM_IMAGE_ALT_TEXT_LABEL',
EMPTY_ITEM_MESSAGE: 'EMPTY_ITEM_MESSAGE',
ERROR_MESSAGE: 'ERROR_MESSAGE',
FAVORITE_ITEM_ADD_TEXT: 'FAVORITE_ITEM_ADD_TEXT',
Expand Down
3 changes: 2 additions & 1 deletion src/langs/en/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
"DOWNLOAD_ITEM_BUTTON": "Download",
"DROP_DOWN_PLACEHOLDER": "Please Choose From List",
"EDIT_BUTTON_TOOLTIP": "Edit",
"EDIT_FOLDER_DESCRIPTION_PLACEHOLDER": "Write the folder decription here…",
"EDIT_FOLDER_DESCRIPTION_PLACEHOLDER": "Write the folder description here…",
"EDIT_ITEM_BUTTON": "Edit",
"EDIT_ITEM_ERROR_MESSAGE": "Item is invalid",
"EDIT_ITEM_MODAL_TITLE": "Edit Item",
"EDIT_ITEM_IMAGE_ALT_TEXT_LABEL": "Alternative text (for accessibility purposes)",
"EMPTY_ITEM_MESSAGE": "This item is empty.",
"ERROR_MESSAGE": "An error occured.",
"FAVORITE_ITEM_ADD_TEXT": "Add to Favorites",
Expand Down

0 comments on commit cc5f785

Please sign in to comment.